Quantcast
Channel: Allen Bradley / Rockwell Automation Latest Topics
Viewing all articles
Browse latest Browse all 3721

CPT instructions on a PLC-5/40

$
0
0

I'm working to fix/improve the functioning of a program running on an a PLC5/40E.  I think high Scan Times are a big problem with this current program.  ((Backstory:  someone added some quasi motion control, and it sort of worked for a while.  Now that it's broken, the operators of this machine want it back. ))  I'll keep my question simple, PLC5's are new to me:

There are 36 rungs with CPT instructions as the sole output, a third of these instruction are executed every scan.  I'm going to replace them with MOV instructions.

My question is, is there any sneaky PLC5 reason to do a CPT instead of a MOV?  Is there a better way to do this?

The CPT instructions that execute move integer values to a data file used by the HMI to control the coloration of touchscreen buttons.

  Thank you for your time.

PS: I'm new-ish to this forum, please feel free to let me know if my question was asked correctly or not.

Using CPT when not necessary.png


Viewing all articles
Browse latest Browse all 3721

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>