
Chapter 9 User-defined Communication
9-17
(4) SEND_RTS
SEND_RTS
Availability
Flags
RTS signal send
XGI, XGR
-
Function Block
Description
Input REQ: requires to execute the function block
BASE : base number
SLOT: slot number
CH: channel(1 or 2)
RTS: 0 or 1
Output DONE: maintains 1 after operation
STAT: completion and ERR info
(a) Function
1) SEND_DTR instruction send DTR(Data Terminal Ready) signal that means communication ready complete.
2) If 1 is output by Done and STAT, it accomplished normally and If an error is produced, state information
is displayed by STAT
(b) ERROR
STAT
Message
Description
0
Initial state
Initial state before instruction operation
1
No error
normal operation
2
Module setting error
Module is not installed or CNET module trouble
3
Channel setting error
Input range(1, 2) is exceeded
4
RTS setting error
Input range(0, 1) is exceeded
5
Parameter setting error
CNET module’s parameter is not set as User defined or link enable is
not set
6
Instruction timeout error
No response from module or maximum scan time is exceeded(10 scan)
7
Version mismatch error
XGI CPU version is under V3.9, XGR CPU version is under V2.6 or
CNET module version is under V3.2
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 ...