Rockwell Automation 1772-LS_LSP,D17726.8.6 PROG/OPER MANUAL-MINI PLC-2/05 User Manual
Page 266

Quick Reference
Appendix C
CĆ10
Table C.I
Data Manipulation Instructions
NOTE: Data manipulation instructions operate on BCD values and/or 16 bit data in the data table. The word address, XXX, is
displayed above the instruction; the BCD value or data operated upon, YYY, is displayed beneath it. The data is stored in the
lower 12 bits of the word address and can be any value from 000 to 999 BCD, except as noted.
Word address displayed will be either 3 or 4 digits depending upon the data table size. When entering the word address, use a
leading zero if necessary.
Key Symbol
Instruction Name
1770-T3 Display
Rung Conditions
-[G]-
Get
XXX
-[G]-
YYY
The get instruction is used with other data manipulation or
arithmetic instructions.
When the rung is true, all 16 bits of the get instruction are
duplicated and the operation of the instruction following it is
performed.
-(PUT)-
Put
XXX
-(PUT)-
YYY
The put instruction should be preceded by the get instruction.
When the rung is true, all 16 bits at the get instruction address
are transferred to the put instruction address.
-[<]-
Less Than
XXX
-[<]-
YYY
The less than instruction should be preceded by a get
instruction.
3-digit BCD values at the get and less than word addresses
are compared. If the logic is true, the rung is enabled.
-[=]-
Equal To
XXX
-[=]-
YYY
The equal to instruction should be preceded by a get
instruction.
3-digit BCD values at the get and equal to word addresses are
compared. if equal, the rung is enabled.
-[B]-
Get Byte
XXXD
-[B]-
YYY
D-Designates the upper or lower byte of the word.
1=upper byte, 0=lower byte.
YYY-Octal value from 000 to 377 stored in the upper or lower
byte of the word address.
The get byte instruction should be followed by a limit test
instruction.
A duplicate of the designated byte is made and compared with
the upper and lower limits of the limit test instruction.
-[L]-
Limit Test
XXX AAA
-[L]-
BBB
AAA-Upper limit of limit test, an octal value from 000 to 377.
BBB-Lower limit of limit test, an octal value from 000 to 377.
The limit test instruction should be preceded by a get byte
instruction. Compares the value at the get byte instruction with
the values at the limit test instruction. If found to be between
or equal to the limits, the rung is enabled.