wbzhong Posted January 14, 2022 Share Posted January 14, 2022 The S code subprog is called when 0 <= code value <= 1000. Otherwise it only sets Ldata.D[53], but the subprog is not called. Is it a feature or bug? Firmware: 2.4.0.180 Coord[1].Sprog = 1004 Subprog implementation: open subprog 1004 P0 = Ldata.D[53] return close In the buffered program, commands S-1 or S1001 only updates the Coord[x].Ldata.D[53] value, but P0 is left unchanged. Commands S0 to S1000 work correctly. Quote Link to comment Share on other sites More sharing options...
steve.milici Posted January 17, 2022 Share Posted January 17, 2022 This mechanism does not have any “known” bugs. We will need to see the full context of your top level program. Please contact ODT's direct technical support at “ODT-Support@omron.com” with your program details. Your full project would be best. Quote Link to comment Share on other sites More sharing options...
wbzhong Posted January 19, 2022 Author Share Posted January 19, 2022 Thanks Steve. Initially, we would like to use S code to change the spindle command speed to any value, such as S5000. But it turns out that S code works like G/M code, the code value range is limited rather than an arbitrary value. We will find another way to implement this function. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.