Allen-Bradley Logix5000 Reference Manual page 507

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Example:
Source
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
array_dint1
Reference (before compare)
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0
array_dint2
Result
array_dint3
Reference (after compare)
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
array_dint2
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
When enabled, the DDT instruction compares the source array_dint1 to the
reference array_dint2 and stores the locations of any mismatches in the result
array_dint3. The controller also changes the mismatched bits in the reference
array_dint2 to match the source array_dint1.
Special Instructions (FBC, DDT, DTR, PID)
Chapter 13
5 3
507

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents