Chapter
12
12-1
Data Manipulation and
Comparison Instructions
In this chapter, you will read about two types of instructions used to
transfer and compare data and how to use these instructions to perform
operations of data that is stored in the data table. These types of
instructions are:
transfer
instructions
compare
instructions
A Get instruction accesses all 16 bits of one word in the data table. It
displays a three digit hexadecimal value of the lower 12 bits (bits 0 – 13)
of the chosen word.
The Get instruction is programmed in the condition area of the ladder
diagram rung and it can be located at the beginning of a rung or with one
or more conditions preceding it.
A Get instruction always accesses the word which it addresses. It is not a
“condition” that determines rung logic continuity and it is always true
and intensified.
111
11
PUT
040
000
G
130
238
value
address
In a selectable timed interrupt, the Get instruction is the first instruction in
the subroutine area. See chapter 22 for more information.
ATTENTION: Use the Get instruction in the subroutine area
carefully because unintended subroutine execution can cause
unexpected machine operation.
Chapter Objectives
Get