
Chapter 9 User-defined Communication
9-23
(c) State Information
State code
State
Information
00
Initial state
Before excute instruction
01
Done
Instruction excute complete
02
Modlue setting error If sl value is not matched with CNET module installed
03
Channel setting
error
S1 value is not 1 or 2
04
DTR level setting
error
S2 DTR setting value is not 0 or 1
05
Communication
parameter setting
error
If parameter of CNET module is not set as user defined data, or when
Link enable is not set
06
Timeout error
No response casue of abnormal CNET module
07
Verseion mismatch
CNET OS version is below V3.2
(If CPU version is below V4.2, program download in not operated )
(d) Program Example
1) If Input signal M00002, Order to send DTR(Data Terminal Ready) up to SIZE with CNET module
attached to BASE, SLOT
Remark
(1) Devices D+1 ~ D+3 set in operand D are the areas to be saved with instruction information. So users must not
change that areas. If change that areas, instruction is not operated normally.
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 ...