User`s manual

147
CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION
3
3.4 Start-up of the Modem Function
(b) Modem/TA initialization program example
An example of the modem/TA initialization program on the Q series C24 side by the programmable controller
CPU is shown below.
*1
*1 When the initialization data has been registered from GX Configurator-SC or from the programmable controller CPU.
X1E: Ready signal
Modem initialization command
Sets the initialization request flag
Turns the ready flag ON
X12: Connection in progress signal
X1F: WDT error signal
M0: Accessible flag
M1: Data registration complete flag
for initialization
M30: Initialization enabled flag
Turns the modem initialization enabled
flag ON
Sets the initialization request signal
Sets the initialization completed flag
Reads the error code at initialization
abnormal completion
Resets the flag with the clear command