Description:
Arithmetic Status Flags:
Fault Conditions:
Condition
Prescan
Rung-condition-in is false
Rung-condition-in is true.
Source < 0
Yes
S:V is set to 1.
Rung-condition-in is true
Postscan
BCD is the Binary Coded Decimal number system that expresses individual
decimal digits (0...9) in a 4-bit binary notation.
If you enter a negative Source, the instruction generates a minor fault and clears
the Destination.
Arithmetic status flags are affected.
A minor fault will occur if
Source < 0
Execution:
Relay Ladder
Action
The rung-condition-out is set to false.
The rung-condition-out is set to false.
No
Source > 99,999,999
Yes
The controller converts the Source to BCD and places the result in the Destination.
The rung-condition-out is set to true.
The rung-condition-out is set to false.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Math Conversion Instructions (DEG, RAD, TOD, FRD, TRN, TRUNC)
Fault Type
4
No
Convert source
Rung-condition-out is
set to true.
End
Chapter 16
Fault Code
4
565