![FATEK FBs-CBE Manual Download Page 100](http://html.mh-extra.com/html/fatek/fbs-cbe/fbs-cbe_manual_546538100.webp)
3 -4
FUN
No.
Name
Operand
Derivative
Instruction
Function descriptions
200
I
→
F
S,D
DP
Integer to floating point number conversion
201
F
→
I
S,D
DP
Floating point number to integer conversion
202
FADD
Sa,Sb,D
D
Addition of floating point number
203
FSUB
Sa,Sb,D
D
Subtraction of floating point number
204
FMUL
Sa,Sb,D
D
Multiplication of floating point number
205
FDIV
Sa,Sb,D
D
Division of floating point number
206
FCMP
Sa,Sb
D
Comparison of floating point number
207
FZCP
Sa,Sb
D
Zone comparison of floating point number
208
FSQR
S,D
D
Square root of floating point number
209
FSIN
S,D
D
SIN trigonometric function
210
FCOS
S,D
D
COS trigonometric function
211 FTAN
S,D
D TAN
trigonometric
function
212
FNEG
D
P
Change sign of floating point number
213 FABS
D
P
Take absolute value of floating point number
Logical Operation Instructions
18
AND
Sa,Sb,D
DP
Perform logical AND for Sa and Sb and store the result to D
19
OR
Sa,Sb,D
DP
Perform logical OR for Sa and Sb and store the result to D
35 XOR Sa,Sb,D DP
Take the result of the Exclusive OR logical operation made between
Sa and Sb, and store it in D
36 XNR Sa,Sb,D DP
Take the result of the Exclusive OR logical operation made between
Sa and Sb, and store it in D
Comparison
Instructions
17
CMP Sa,Sb DP
Compare the data at Sa and data at Sb and output the result to
function outputs (FO)
37 ZNCMP S,S
U
,S
L
DP
Compare S with the zones formed by the upper limit S
U
and lower
limit S
L
, and set the result to FO0~FO2