Chapter 6 Instruction Details
XBC E-Type Main Unit
6-97
Ver. 1
6.19.7 GBMOV, GBMOVP
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)
GBMOV(P)
S O O O O O O O - O -
- O O O O O
4~7
O
-
-
D O O O - O O O - O -
-
- O O O O
Z
-
-
-
-
-
-
-
- O -
- O O O O O
N
-
-
-
-
-
-
-
- O -
- O O O O O
Operand
Description
Data Type
S
Area Number data is saved in
WORD
D
Destination Area Number
WORD
Z
Format to execute GBMOV(P)
WORD
N
Number to execute GBMOV(P) (0 ~ 32,767)
WORD
[Flag Set]
Flag
Description
Device Number
Error
To be set, if Z’s range exceeds specified area. Applicable instruction result is
not processed.
To be set, if N’s range exceeds specified area.
F110
1) GBMOV (Group Bit Move)
(1) Transmits N words from S’s data to starting D in regular order in group by Z’s format.
(2) If Z is h130A, it transmits S’s 10-bit data from the No.1 bit to D’s No.3 bit in regular order in group.
(3) If area is exceeded while executing, set Error Flag.
2) Program Example
(1) In case of D10000=h2408 and P1200=4 which is saved , If Input contact P00000 is on, GBMOV instruction
will be executed.
(2) This example shows the group bit transmission. The transmitted data are sequentially saved in the 8-bit
data area of P1100 and bit 4 of P1100 receives bit 2 (b02) of P1000 first. 4 word data in the range of P1000
to P1003 are moved to the range of P1100 to P1103 area in the same method.
GBMOV P1000 P1100 D10000 P1200
P00000
GBMOV
GBMOVP
S
D
GBMOVP
GBMOV
S
D
Z
Z
N
N
0 0 0 1 0 0 1 1 0 0 0 0 0 1 0 0
b0
b15
b8
S
’
s start bit
D
’
s start bit
Transmission number (Hex.: 10->h0A)
[Z
’
s format]
h130A
Содержание 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...