EasyManuals Logo
Home>Allen-Bradley>Controller>MicroLogix 1100

Allen-Bradley MicroLogix 1100 Instruction Set Reference Manual

Allen-Bradley MicroLogix 1100
616 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 #201 background imageLoading...
Page #201 background image
201 Publication 1763-RM001C-EN-P - October 2009
Chapter
10
Conversion Instructions
The conversion instructions multiplex and de-multiplex data and perform
conversions between binary and decimal values.
Using Decode and
Encode Instructions
Addressing Modes and File Types can be used as shown in the following
table:
Instruction Used To: Page
DCD - Decode 4 to 1-of-16 Decodes a 4-bit value (0 to 15), turning on the
corresponding bit in the 16-bit destination.
202
ENC - Encode 1-of-16 to 4 Encodes a 16-bit source to a 4-bit value.
Searches the source from the lowest to the
highest bit and looks for the first set bit. The
corresponding bit position is written to the
destination as an integer.
203
FRD - Convert From Binary
Coded Decimal
Converts the BCD source value to an integer and
stores it in the destination.
204
TOD - Convert to Binary Coded
Decimal
Converts the integer source value to BCD format
and stores it in the destination.
208
Conversion Instructions Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 82.
Parameter
Data Files Function Files
CS - Comms
IOS - I/O
DLS - Data Log
Address
Mode
(1)
Address Level
O
I
S
B
T, C, R
N
F
ST
L
MG, PD
RI/RIX
PLS
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
LCD
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
Source •• ••• • • ••
Destination • • • • • •
• ••
(1) See Important note about indirect addressing.
IMPORTANT
You cannot use indirect addressing with: S, ST, MG, PD,
RTC, HSC, PTO, PWM, STI, EII, BHI, MMI, CS, IOS, and
DLS files.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1100

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley MicroLogix 1100 and is the answer not in the manual?

Allen-Bradley MicroLogix 1100 Specifications

General IconGeneral
BrandAllen-Bradley
ModelMicroLogix 1100
CategoryController
LanguageEnglish

Related product manuals