
Chapter 9 User-defined Communication
9-18
9.5.2 XGK Instruction
(1) SNDUDATA
Instruction
Area Available
Step
Flag
PMK F
L
T
C
S
Z
D.x R.x Const U N D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
SNDUDATA
sl
-
-
-
-
-
-
-
-
-
O
- -
-
-
4~7
O
-
-
S1
O
-
O
-
-
-
O
-
-
O
O O O
O
S2
O
-
O
-
-
-
O
-
-
-
O O O
O
S3
O
-
O
-
-
-
O
-
-
-
O O O
O
D
O
-
O
-
-
-
O
-
-
-
O O O
O
[Area Setting]
Operand
Description
Data type
sl
Base and slot number
WORD
S1
Channel (1 or 2)
WORD
S2
Data area to send
WORD
S3
Data size to send (maximum 1024 Byte)
WORD
D
Temporary device that used in instruction
WORD
[Flag Setting]
Flag
Description
Device
Number
Error
If sl value is not matched with CNET module installed.
F110
(a) SNDUDATA
1) SNDUDATA instruction sends user defined data(UDATA).
2) sl is base and slot number of CNET module installed.
3) S1 is channel number (1 or 2).
4) S2 is start device to send UDATA
5) S3 is size of UDATA, instruction sends the number of S3 from S2(Maximum 1024 Byte).
6) D is temporary device area to save instruction information. Initial value is 0 and If user change that value,
instruction is not operated normally.
CPU Device
Data size
Information
D
WORD
State code
D+1
WORD
Reserved area
(Prohibition on Use)
D+2
WORD
D+3
WORD
SNDUDATA
COMMAND
SNDUDATA
S2 S3
sl S1
D
Содержание XGL-C22A
Страница 74: ...Chapter 6 Communication Parameter 6 22 4 Click I O Sync 6 Read the message If there is no problem click OK ...
Страница 172: ...Chapter 8 Modbus Communication 8 23 ...
Страница 246: ...Chapter 10 Program Examples 10 40 XG 5000 program Sequence Program 1 2 3 4 ...
Страница 247: ...Chapter 10 Program Examples 10 41 Sequence Program 5 6 ...
Страница 289: ...Appendix A 23 Sub procedure module When port open event occurs perform the next module ...
Страница 291: ...Appendix A 25 The lower code shows BCC check setting ...
Страница 296: ...Appendix A 30 4 Example Register monitor X 5 Example execution monitor Y Address of server Monitor result ...
Страница 297: ...Appendix A 31 A 4 Dimension Unit mm XGL C22A CH2A C42A H W version Less than V2 0 H W version V2 0 or Later ...