
Chapter 7 XGT Dedicated Communication
7-41
(2) P2PWRD
Command
Available area
Step
Flag
PMK
Erro
r
(F11
0)
Erro
r
(F11
0)
S
Z D.x R.x
Cons
tant
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
P2PWRD
N1
O
-
O
O O
-
O
-
-
O
O O O
O
4~6
O
-
-
N2
O
-
O
O O
-
O
-
-
O
O O O
O
N3
O
-
O
O O
-
O
-
-
O
O O O
O
N4
O
-
O
O O
-
O
-
-
O
O O O
O
N5
O
-
O
O O
-
O
-
-
-
O O O
O
(a) Area setting
Operand
Description
Data size
N1
P2P number ( 1 ~ 8 )
Word
N2
Block number ( 0 ~ 63 )
Word
N3
Variable number ( 1 ~ 4 )
Word
N4
Variable size [n byte] ( 0 ~ 1400 )
Word
N5
Device
Word
(b) Flag set
Flag
Contents
Device
number
Error
When N1, N2, N3, N4 exceeds the range.
F110
(c) Function
1) P2PWRD instruction changes variable size of P2P parameter block and destination station’s device area to
read a word device.
2) After selecting P2P parameter, block, and variable by using N1, N2, N3, it changes the variable size and device
into N4, N5.
3) Applicable communication module: FEnet, FDEnet, Cnet
(d) Error
If each parameter exceeds the range (N1(1~8), N2(0~63), N3(1~4), N4(0~1400)), it sets the error flag (F110).
(e) Program example
P00000
P2PWRD P1000 P1100 P1200 P1300 P1400
Note
1) When command type is single, N3 uses 1~4 and N4 doesn’t have a meaning.
2) When command type is continuous, N3 always uses 1 and N4 is applied.
3) Variable size (N4) uses byte unit.
N1
N3
N2
N4
P2PWRD
P2PWRD
COMMAND
N5
Summary of Contents for XGL-C22A
Page 172: ...Chapter 8 Modbus Communication 8 23 ...
Page 246: ...Chapter 10 Program Examples 10 40 XG 5000 program Sequence Program 1 2 3 4 ...
Page 247: ...Chapter 10 Program Examples 10 41 Sequence Program 5 6 ...
Page 289: ...Appendix A 23 Sub procedure module When port open event occurs perform the next module ...
Page 291: ...Appendix A 25 The lower code shows BCC check setting ...