EasyManua.ls Logo

FATEK FBs-CB2 - COS TRIGONOMETRIC INSTRUCTION (FUN 210 FCOS)

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-137
FUN 210 P
FCOS
COS TRIGONOMETRIC INSTRUCTION
FUN 210 P
FCOS
S : Source register to be taken COS
D : Register for storing result
(COS value)
S, D may combine with V, Z, P0~P9 to serve
indirect address application
HR ROR DR K XR
Range
Operand
R0
R383
9
R5000
R8071
D0
D4095
Integer
16 Bit
number
VZ
P0P9
S
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 When operation control "EN" = 1 or "EN" ( P instruction) from 0 to 1, take the COS value of the angle data
specified by the S register and store the result into the register D~D+1 in floating point number format. The
valid range of the angle is from –18000 to +18000, unit in 0.01 degree.
z If the S value is not within the valid range, then the S value error flag "ERR" will be set to 1, and do not
execute the operation.
X0
EN
S :
D :
ERR
210P.FCOS
R0
R200
z At left, the example program gets the COS value of 60,
and stores the results the register DR200.

Other manuals for FATEK FBs-CB2

Related product manuals