
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-108
Ver. 1
6.20.6 GBIN, GBINP
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)
GBIN(P)
S O O O O O O O -
-
-
- O O O O O
4~6
O
-
-
D O O O - O O O -
-
-
-
- O O O O
N O O O - O O O -
-
-
- O O O O O
Operand
Description
Data Type
S
BCD Data to convert to BIN or Device number data is saved in
WORD
D
Device number to save BIN data converted
WORD
N
Total number of data to convert to BIN
WORD
[Flag Set]
Flag
Description
Device Number
Error
If one value among N data is other than BCD 0~9999.
To be set if N’s range exceeds specified area
F110
1) GBIN (Group Binary)
(1) Converts specified S word data of N BCD value to BIN and saves respectively in starting D in regular
order.
(2) Converts specified S device’s BCD data (h0~h9999) to GBIN as many as specified N and saves in D.
(3) Error Flag (F110) will be set if OP1’s value is other than BCD format (h0~h9999).
2) Program Example
(1) If Input signal P00000 is On, 5 word BCD data from P1000 to P1004 is Group BCD respectively converted
and saved in from P1100 to P1104 area.
P00000
GBIN P1000 P1100 5
Remark
1) In Basic Parameter with ‘Continue running when an arithmetic error occurs’, if any value among
specified S’s N datas is other than BCD format, all the n data will not be operated.
GBIN
GBINP
S
D
GBINP
GBIN
S
D
N
N
Содержание 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...