EasyManua.ls Logo

FATEK FBs-CB2 - FLOATING POINT NUMBER ADDITION (FUN202 FADD)

FATEK FBs-CB2
348 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Advanced Function Instruction
7-128
FUN202 P
FADD
FLOATING POINT NUMBER ADDITION
FUN202 P
FADD
Sa: Augend
Sb: Addend
D : Destination register to store the results
of the addition
Sa, Sb, D may combine with V, Z, P0~P9 to
serve indirect addressing
HR ROR DR K XR
Range
Operand
R0
R383
9
R5000
R8071
D0
D4095
Floating
point
number
VZ
P0P9
Sa
Sb
D *
Description
z The format of floating point number of Fatek-PLC follows the IEEE-754 standard. For detail explanation of
the format please refer to 5.3 (Numbering System)…page 5-9.
z Performs the addition of the data specified at Sa and Sb and writes the results to a specified register D when
the add control input "EN" =1 or "EN" ( P instruction) from 0 to 1. If the result exceed the range that the
floating point number can be expressed(
±3.4*10
38
) then the error flag FO0 will be set to 1 and the D
register will be intact.
X0
Sa :
R0
Sb :
R10
D :
ERR
R20
202P.FADD

Other manuals for FATEK FBs-CB2

Related product manuals