VA Motion Controller Programming Manual
142
10.1.8 COS (cosine command )
LD, FBD programming language
Function: OS command is used to find the cosine of the input value
Note :
IL, ST
language programming needs to insert variables
IN
and
OUT
or use constants in
the current
POU
variable worksheet
Data type processed by COS instruction
Input, the angle is expressed in radians
Funtion and Action examples
When
the contact
C300
is
ON
time
,
execution
of the instruction;
address
V478
the value , the cosine
deposit to
V479
of
:
Execution result:
COS
(
0
0
)
=1.000
00
10.1.9 DIV (Division Instruction )
LD, FBD
programming language
Function: DIV instruction for division operation