EasyManua.ls Logo

Allen-Bradley SLC 500 Series - Page 8

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
Loading...
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

Related product manuals