Chapter 6 Instruction Details
XBC E-Type Main Unit
6-115
Ver. 1
6.21.5 R2L, R2LP
Instruction
Area Available
Step
Flag
P M K F L T C S Z D.x R.x
Co
nst.
U N D R
Error
(F110)
Zero
(F111)
Carry
(F112)
R2L(P)
S O O O O O O O -
-
-
- O O O O O
2~4
-
-
-
D O O O - O O O -
-
-
-
- O O O O
Operand
Description
Data Type
S
Area Number where Real Data is saved, or Long Real Data
REAL
D
Area Number where Long Real Data is saved, or Long Real Data
LREAL
[Flag Set]
Flag
Description
Device
Number
Error
To be set, in case of FPU operation error flag F0057E, F0057C, F0057B,
F0057A are Set.
F110
1) R2L (Real to Long Real)
(1) R2L converts S+1,S specified Real Number (32-bit) to Long real (64-bit) to save in D+3, D+2, D+1, D.
2) Error
Operation error occurs when input data is not Real number.
3) Program Example
R2L 45688.8123 P1100
P00000
R2L
means R2L
P
S
D
R2LP
S
D
(12345678)
S+1,S
h614E
h4B3C
D
D+3
b31
b0
b15
h8C29
h4167
b63
b32
b48
hC000
h0000
b16
b0
D+2
D+1
Содержание 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...