EasyManuals Logo

Allen-Bradley SLC 500 Series User Manual

Allen-Bradley SLC 500 Series
694 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 #8 background imageLoading...
Page #8 background image
Publication 1747-RM001G-EN-P - November 2008
iv Table of Contents
Chapter 5
Data Handling Instructions
Convert to BCD (TOD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Updates to the Math Register, S:13 and S:14 . . . . . . . . . . . . . . . . 5-3
Convert from BCD (FRD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . . 5-5
Changes to the Math Register, S:13 and S:14 . . . . . . . . . . . . . . . . 5-6
Radian to Degrees (DEG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
Entering Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . . 5-9
Degrees to Radians (RAD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
Entering Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . 5-10
Decode 4 to 1 of 16 (DCD). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
Entering Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Encode 1 of 16 to 4 (ENC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Entering Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . 5-12
Copy File (COP) and Fill File (FLL) Instructions . . . . . . . . . . . . . . 5-13
Using COP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13
Using FLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14
Move and Logical Instructions Overview. . . . . . . . . . . . . . . . . . . . . 5-16
Entering Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16
Using Indexed Word Addresses . . . . . . . . . . . . . . . . . . . . . . . . . 5-16
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . 5-16
Using Indirect Word Addresses . . . . . . . . . . . . . . . . . . . . . . . . . 5-16
Updates to the Math Register, S:13 and S:14 . . . . . . . . . . . . . . . 5-17
Entering Mask Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17
Move (MOV) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17
Entering Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . 5-17
Masked Move (MVM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-18
Entering Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-18
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . 5-18
And (AND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . 5-20
Or (OR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-21
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . 5-21
Exclusive Or (XOR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-22
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . 5-22
Not (NOT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-23
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . 5-23
Negate (NEG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-24
Updates to Arithmetic Status Bits. . . . . . . . . . . . . . . . . . . . . . . . 5-24
FIFO and LIFO Instructions Overview. . . . . . . . . . . . . . . . . . . . . . 5-25
Entering Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25

Table of Contents

Other manuals for Allen-Bradley SLC 500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley SLC 500 Series and is the answer not in the manual?

Allen-Bradley SLC 500 Series Specifications

General IconGeneral
Programming SoftwareRSLogix 500
SeriesSLC 500
CategoryController
ManufacturerAllen-Bradley (Rockwell Automation)
I/O CapacityUp to 4096 I/O points
Communication PortsDH-485
Programming LanguagesLadder Logic
Operating Temperature0 to 60 °C (32 to 140 °F)
Relative Humidity5% to 95% (non-condensing)
Memory4K to 64K words (depending on the processor)
Power SupplyAC or DC (depending on the module)

Related product manuals