User`s manual

160
(4) Program for notification example
An example of program for notification is shown below.
*1
*1 When the initialization and connection data have been registered from GX Configurator-SC or from the programmable
controller CPU
*2 Page 139, Section 3.4.4
*3 Page 134, Section 3.4.3, Page 139, Section 3.4.4
*4 Page 144, Section 3.4.5
*4
*3
• Data for initialization registration
• Data for connection registration
• Modem/TA initialization
Notification command
Turns the ready flag ON
Turns the notification enable
flag ON
Sets the notification-issued
request signal
Resets the notification-issued
request signal (notification-issued)
Sets the notification-issued
request flag
Sets the flag at notification
normal completion
Reads the error code at
notification completion
Resets the flag with the clear
command
X10: Initialization complete signal
X1E: Ready signal
X1F: WDT error signal
M0: Accessible flag
M2: Data registration complete flag for
connection
*2
M3: Initialization complete flag
M40: Notification enable flag