Data Manipulation and
Comparison Instructions
Chapter 12
12-11
Editing the Operation
See the editing Get, Less Than, Equal To, and branching instructions.
The Get Byte instruction addresses either the upper or lower byte of a data
table word. A 1 is entered after the word address for the upper byte; a 0 is
entered for the lower byte.
The Get Byte instruction accesses 1 byte (instead of word) from one
address in the data table. The data is displayed in octal format.
The Get Byte instruction can be programmed with a Limit Test
instruction located in the condition area of the ladder diagram rung.
Do not place compare instructions between the Get Byte and
Limit Test instructions.
Use with a Put instruction to transfer either the upper or lower byte to
the upper or lower byte of the Put instruction address.
Keystrokes
Enter a Get Byte instruction by performing the following steps.
1.
Press -[B]-.
2.
Enter <address>.
3.
Enter <byte designation>.
Editing the Operation
Edit the Get Byte instruction by performing the following steps.
1.
Position the cursor over -[B]-.
2.
Press -[B]-.
3.
Enter <address>.
4.
Enter <byte designation>.
The Get Byte instruction can be programmed either at the beginning of the
rung or with one or more condition instructions preceding it. Condition
instructions, however, should not be programmed after a Get Byte
instruction. When one or more condition instructions precede the Get Byte
instruction, they determine whether the rung is true or false.
Get Byte
Get Byte/Put