Delta AS Series Programming Manual page 378

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0212
FBCD
Device
X
Y
M
S
D
Data
type
S
D
Symbol
Explanation
1.
This instruction converts thee single-precision floating-point number in the register specified by S into the decimal
floating-point number, and stores the conversion result in the register specified by D.
2.
The floating-point operation in the PLC is based on single-precision floating-point numbers. Use the FBCD
instruction to convert a single-precision floating-point number into a decimal floating-point number.
3.
Instruction flags: SM600 (zero flag), SM601 (borrow flag), and SM602 (carry flag)
When the absolute value of the conversion result is larger than the value that can be represented by the maximum
floating-point number, SM602 is ON.
When the absolute value of the conversion result is less than the value that can be represented by the minimum
floating-point number, SM601 is ON.
When the conversion result is zero, SM600 is ON.
Operand
S, D
P
S
T
C
HC
Pulse instruction
: Data source
S
: Conversion result
D
Ch a pt er 6 A pp l i e d I n s tr uc t io ns
Converting a binary floating-point number
into a decimal floating-point number
D
FR
SM
SR
16-bit instruction
AS
-
Function
E
K
16#
"$"
F
32-bit instruction
AS
6 - 9 9
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents