scarbroughm372
Member
Currently, I have a 1769-L36ERM that is being using to control a machine with 15 servos. Due to the nature of the process, the code is very intensive in calculations and conversions that are then passed to the various drives for motor control. Obviously, this is very process intensive. I have been looking for a way to reduce the size of the code that the PLC has to process, and came across the following: up to 25% of the code is just initial calculation that are part of the main routine. Most of the rungs have tied to them the same bit to turn them on for. My question is this. Could I put most of these into a JSR that the internal bit then triggers as needed? If so, would that speed up processing time?