User`s manual
173
CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION
3
3.5 Sample Programs
P3
P2
P1
Write the data for initialization
Set the telephone number
Set the external line dialing number (0)
Set the line type (tone)
Write the data for connection
Modem initialization processing subroutine
Set the initialization request signal
Initialization request execution flag is set
Set the initialization command
Convert the reset command of various
request signal into pulse
To the various request signal and
the complete signal OFF subroutine
Output the various complete flag status
(LED display)
Data registration processing for initialization
subroutine
Set the number of bytes of
the registration data
Set the user control data (control number)
(Data No. 8001H)
(Registration to buffer memory)
Data registration complete flag
for initialization is set
Data registration processing for connection
subroutine
Set the number of bytes of
the registration data
Clear the data storage device
for connection
Set the pager receiver designation
(Notification is not executed)
Set the space to the remainder of
the telephone number designation area
(Data No.8002H)
(Registration to buffer memory)
Data registration complete flag
for connection set
When the initialization complete
signal ON, the initialization complete flag
is set and the request signal is reset
When the initialization/connection
abnormal complete signal ON,
the error code is read and the request
signal is reset
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•