Onsys_JHLEE Posted December 8, 2022 Share Posted December 8, 2022 Hi Some time Some motor not moving because coordinate feed 0%. This problem is reproduced in the following situations: - Incorrect command is issued to show the value of array data 'h' is included in the name of the array , and is recognized as this "Hold" command. - It is same when I using terminal ( feed will go to zero) So I didn't use parameter information. but the function is very useful. Is there a solution? Thank you. jaehyuk Quote Link to comment Share on other sites More sharing options...
Alex Anikstein Posted December 8, 2022 Share Posted December 8, 2022 "- Incorrect command is issued to show the value of array data" As you stated, if the correct name (with index--"gHomeEna(0)" instead of "gHomeEna") is issued, this should not cause problem. However, if you are concerned about user issuing wrong command, you can set Sys.NoShortCmds = 1. This will disable the "short" version of all commands, so "H" will no longer be valid, and instead "Hold" must be used. However, it will also disable short versions of other commands. There is no way to only disable "H" command, so it would either be all short commands or none. Quote Link to comment Share on other sites More sharing options...
Onsys_JHLEE Posted December 9, 2022 Author Share Posted December 9, 2022 Thanks you reply. Change "Sys.NoShortCmds=1" seems to have more to lose than before. Is it difficult to automatocally read array variable from IDE? Thanks jaehyuk Quote Link to comment Share on other sites More sharing options...
steve.milici Posted December 9, 2022 Share Posted December 9, 2022 You could use a “watch window” but you must still use the full array syntax: “gHomeEna(0)”, “gHomeEna(1)”, … 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.