EasyManuals Logo

Allen-Bradley PLC-2/30 User Manual

Allen-Bradley PLC-2/30
348 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #133 background imageLoading...
Page #133 background image
Data Manipulation Instructions
Chapter 6
610
Table 6.A
Data
Manipulation Instructions
NOTE: Data Manipulation instructions operate upon 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 BCD value is stored in the lower 12 bits of the word address and
can be any value from 000 to 999, except as noted.
Word address displayed will be either 3, 4, or 5 digits depending upon the Data Table size. When entering the word address, use a leading zero, if
necessary.
Keytop Symbol Instruction Name 1770T3 Display Description
-[ 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. See Note.
-(PUT)- PUT XXX
-(PUT)-
YYY
The PUT instruction should be preceded by the GET
instruction.
When the rung is TRUE, all 16 bits of the GET instruction
address are transferred to the PUT instruction address.
See Note.
-[ < ]- 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. See Note.
-[ = ]- 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.
See Note.
-[ B ]- GET BYTE XXX D
-[ B ]-
YYY
D - Designates the upper or lower byte of the word.
1 = upper byte, 0 = lower byte.
YYY - Octal value from 000
8
to 377
8
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. See Note.
-[ L ]- LIMIT TEST XXX AAA
-[ L ]
BBB
AAA - Upper limit of LIMIT TEST, an octal value from 000
8
to 377
8
.
BBB - Lower limit of LIMIT TEST, an octal value from 000
8
to 377
8
.
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 the limits, the rung is ENABLED. See
Note.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley PLC-2/30 and is the answer not in the manual?

Allen-Bradley PLC-2/30 Specifications

General IconGeneral
BrandAllen-Bradley
ModelPLC-2/30
CategoryController
LanguageEnglish

Related product manuals