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 #204 background imageLoading...
Page #204 background image
Publication 1763-RM001C-EN-P - October 2009
204 Conversion Instructions
FRD - Convert from
Binary Coded Decimal
(BCD)
Instruction Type: output
The FRD instruction is used to convert the Binary Coded Decimal (BCD)
source value to an integer and place the result in the destination.
Addressing Modes and File Types can be used as shown in the following
table:
FRD Instruction Source Operand
The source can be either a word address or the math register. The
maximum BCD source values permissible are:
• 9999 if the source is a word address (allowing only a 4-digit BCD
value)
• 32768 if the source is the math register (allowing a 5-digit BCD value
with the lower 4 digits stored in S:13 and the high order digit in
S:14).
If the source is the math register, it must be directly addressed as S:13.
S:13 is the only status file element that can be used.
FRD
From BCD
Source S:0
0000h<
Dest N7:0
0<
FRD
Execution Time for the FRD Instructions
Controller When Rung Is:
True False
MicroLogix 1100 29.87 μs 0.87 μs
FRD Instruction 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 •••••• • • ••
(2)
Destination • • • • • • • ••
(1) See Important note about indirect addressing.
(2) See FRD Instruction Source Operand on page 204.
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