
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-258
Ver. 1
6.35 Special Functional Instruction
6.35.1 SIN, SINP
Instruction
Area Available
Step
Flag
P M K
F
L
T
C
S
Z D.x R.x
Con
st
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
SIN(P)
S
O O O
-
O O O
-
-
-
-
O O O O O
2~4
-
-
-
D
O O O
-
O
-
-
-
-
-
-
-
O O O O
Operand
Description
Data Size
S
Input angle value (Radian) of Sine operation
LREAL
D
Device number to save operation result in
LREAL
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
3
).
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.
SIN
SINP
S
D
SINP
SIN
S
D
Содержание XBC-DN10E
Страница 1: ......
Страница 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...
Страница 52: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 24 Ver 1 3 7 2 XBC DR10E 4 point relay output...
Страница 54: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 26 Ver 1 3 7 3 XBC DN10E 4 point transistor output...
Страница 56: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 28 Ver 1 3 7 4 XBC DR14E 6 point relay output...
Страница 58: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 30 Ver 1 3 7 5 XBC DN14E 6 point transistor output...
Страница 60: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 32 Ver 1 3 7 6 XBC DR20E 8 point relay output...
Страница 62: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 34 Ver 1 3 7 7 XBC DN20E 8 point transistor output...
Страница 64: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 36 Ver 1 3 7 8 XBC DR30E 12 point relay output...
Страница 66: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 38 Ver 1 3 7 9 XBC DN30E 12 point transistor output...