efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
204
Conversion Instructions
FRD - Convert from
Binary Coded Decimal
(BCD)
FRD
FRD
From BCD
Source
S:0
0000h<
Dest
N7:0
0<
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
Source
•
•
•
Destination
•
•
(1) See Important note about indirect addressing.
(2) See FRD Instruction Source Operand on page 204.
Publication 1763-RM001C-EN-P - October 2009
Instruction Type: output
Execution Time for the FRD Instructions
Controller
MicroLogix 1100
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:
Data Files
•
•
•
•
•
•
•
•
You cannot use indirect addressing with: S, ST, MG, PD,
IMPORTANT
RTC, HSC, PTO, PWM, STI, EII, BHI, MMI, CS, IOS, and
DLS files.
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.
When Rung Is:
True
False
29.87 μs
0.87 μs
Function Files
Address
Address Level
(1)
Mode
(2)
•
•
•
•
•
•
Need help?
Do you have a question about the MicroLogix 1100 and is the answer not in the manual?