180
7 COMMUNICATIONS BY THE MODEM FUNCTION
7.4 Startup of the Modem Function
■Program example
The following shows an example of a program used to write (register) data for initialization.
Writing data for initialization to the area of which registration number 8001H
Category Label name Description Device
Module label C24_1.bSts_UnitReady Module READY X1E
C24_1.bSts_WatchdogTimerError Watchdog timer error X1F
C24_1.wnForUserRegistrationNo8001H_D[0] For user registration number 8001H U0\G6912
Label to be defined Define the global label as shown below.
(0) Turn the READY flag ON.
(3) Designate initialization data registration.
(6) Set the registration data byte count.
Set the user control data (control number).
Set the AT command for initialization to buffer memory.
Set the initialization flag.
30
1
30
1
D0
D1
D2
D13
(Item name) Data register (Address) Buffer memory
Area for registration
No. 8001H
Number of registered data bytes
Un\G6912
User control data
Un\G6913
Data for initialization
Un\G6914
Initialization
command
Initialization
command
to
to
Initialization command
Un\G6925
to
Un\G6952