
Chapter 7 XGT Dedicated Communication
7-40
7.6 Communication Command
7.6.1 XGK command
(1) P2PSN
command
Available area
Step
Flag
PMK F
L
T
C
S
Z D.x R.x
Cons
tant
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
P2PSN
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
(a) Area setting
Operand
Setting
Data size
N1
P2P number ( 1 ~8 )
Word
N2
Block number ( 0 ~ 63 )
Word
N3
Station number ( 0 ~ 63 )
Word
(b) Flag set
Flag
Contents
Device
number
Error
When N1, N2, N3 exceeds the range.
F110
(c) Function
1) By using the P2PSN instruction, the user can change destination station number of P2P service during RUN.
2) Changes destination station number of block index N2 of P2P N1 into N3
3) Applicable communication module: FDEnet, Cnet
(d) Error
If each parameter exceeds the range (N1(1~8), N2(0~63), N3(0~63)), it sets the error flag (F110).
(e) Program example
P00000
P2PSN P1000 P1100 P1200
P2PSN
COMMAND
P2PSN
N1
N3
N2
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 ...