HJTrost Posted April 4, 2023 Share Posted April 4, 2023 I have made my first download attempts with my Power PMAC Clipper and am encountering a few strange errors in setting up my motors. The attached file shows the complete list that I want to use. There are issues with three of the parameters; they are commented out in the file. When I activate them (one at a time), I get the following error messages: Motor[1].JogSpeed=6.6666 C:\DeltaTau\PowerPMAC2\PowerPMAC2\PMAC Script Language\Global Includes\PTDEV.30.00.pmh(430,1) : Error : ( error #21) ILLEGAL PARAMETER : Motor[1].p63=6.66666 Motor[1].MotorNode=0 C:\DeltaTau\PowerPMAC2\PowerPMAC2\PMAC Script Language\Global Includes\PTDEV.30.00.pmh(475,1) : Error : ( error #21) ILLEGAL PARAMETER : Motor[1].MotorNode=0 Motor[1].pPhaseEnc=0 C:\DeltaTau\PowerPMAC2\PowerPMAC2\PMAC Script Language\Global Includes\PTDEV.30.00.pmh(501,20) : Error : ( error #70) Struct Write Data Error : Motor[1].pPhaseEnc=0 The motor settings reside in a global include file (,pmh) that is designed to be the only machine-specific file in my whole program package for the controller. What is wrong with these parameters? Jochen Motor1Setup.txt Quote Link to comment Share on other sites More sharing options...
Omron Forums Support Posted April 4, 2023 Share Posted April 4, 2023 It looks like somewhere you have "JogSpeed" defined as "p63", i.e. a #define JogSpeed p63. That would change Motor[1].JogSpeed to Motor[1].p63, which is an "invalid parameter". I believe that should be Motor[1].MotorMode, not Motor[1].MotorNode. Try setting Motor[1].pPhaseEnc=sys.pushm instead of =0. 1 Quote Link to comment Share on other sites More sharing options...
HJTrost Posted April 4, 2023 Author Share Posted April 4, 2023 Gregs, thanks a lot for the suggestions. You are right on both "p63" and "MotorMode". I will check the pPhaseEnc tomorrow but expect that you got that one right, too. Jochen 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.