learner
Lifetime Supporting Member
Hi guys,
I heard that in PLC programming, RSLOGIX 5000, if you have 20 motors, it is better to have one routine for all the commands bits and one routine for all the status of all the motors. the way I do it is that for each motor there is a routine that contains all the control, status, communication with HMI, and etc for that specific motor in a neat order with appropriate RUNG comment. the reason I do this is that I found it easier to troubleshoot each motor. I found it hard to put all the commands for 20 motors in one routine and then go back and forth between status and command and etc routines. Please advise if you see any advantage or dis advantage between the two methods.
Regards
I heard that in PLC programming, RSLOGIX 5000, if you have 20 motors, it is better to have one routine for all the commands bits and one routine for all the status of all the motors. the way I do it is that for each motor there is a routine that contains all the control, status, communication with HMI, and etc for that specific motor in a neat order with appropriate RUNG comment. the reason I do this is that I found it easier to troubleshoot each motor. I found it hard to put all the commands for 20 motors in one routine and then go back and forth between status and command and etc routines. Please advise if you see any advantage or dis advantage between the two methods.
Regards