Chapter 6 Instruction Details
XBC E-Type Main Unit 6-258 Ve r. 1
6.35 Special Functional Instruction
6.35.1 SIN, SINP
Instruction
Step
P M K F L T C S Z D.x
R.x
U N D R
SIN(P)
2~4 - - -
Operand Description Data Size
S Input angle value (Radian) of Sine operation LREAL
Device number to save operation result in
1) SIN (Sine)
(1) Performs SIN operation of data value in specified area S to save in D. Data type of S and D is Double real
and internal operation will be processed after conversion to Double real data.
(2) Input value is of radian. Refer to RAD for details on Conversion of angle to radian.
(3) If S’s value is 1.047…(π/3 rad = 600), operation result is 0.8660… (
).
2) Program Example
P00001
P00000
RAD M0008 M0000
SIN M0000 M0004
Converts the degree inputted at M0008, M0009 into radian value, and saves them at M0000, M0001. It
executes SIN operation and saves them at M0004, M0005 by conversion value.