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

CPT Instruction "freeze"

$
0
0

I'm quite puzzled today when I went online with a PLC and found the four (4) Compute (CPT) instructions in this periodic task were "frozen" at the values displayed in the picture.  In the case of all of them the "FI####" variable is real and the "FTI####" variable is a DINT.  The "freexe" number just happens to be greater than or equal to  2^28 in all four cases.  And before anyone asks, yes the task is periodic and scanning.  

Doing the math on rung 0 - 25440.0/3600 = 7.06  and 268455840 + 7 should equal 268455847 but the addition never happens.

Forcing a reset to zero (0) started all counter working again.

625056e3e0d92_EACOPLC.thumb.PNG.886cad00

 


Viewing all articles
Browse latest Browse all 3758

Trending Articles



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