User`s manual
152
(5) Line connection program example
An example of a line connection program is shown below.
(a) Example of initiating line connection from the Q series C24 side following the
initialization completion
When the data for connection has been registered from GX Configurator-SC or from the programmable
controller CPU.
*1 Page 139, Section 3.4.4
*2 Page 134, Section 3.4.3, Page 139, Section 3.4.4, Page 144, Section 3.4.5
*2
X1E: Ready signal
M0: Accessible flag
M3: Initialization complete flag
Line connection command
Sets connection request signals
Turns the ready flag ON
M2: Data registration complete flag
for connection
*1
X10: Initialization complete signal
X1F: WDT error signal
M40: Connectable flag
Turns the line connectable
flag ON
When the connection in progress
signal ON (normal completion),
sets the connection complete flag
Reads the error code at connection
abnormal completion
Resets the flag with the clear
command
• Data for initialization registration
• Data for connection registration
• Modem/TA initialization