EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R2 - Page 186

Mitsubishi Electric MELSEC iQ-RJ71C24-R2
574 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
184
7 COMMUNICATIONS BY THE MODEM FUNCTION
7.4 Startup of the Modem Function
Program example
An example of a program used for writing data for connection is shown below.
Example of writing data for connection to the registration number 8002H area
Category Label name Description Device
Module label C24_1.bSts_UnitReady Module READY X1E
C24_1.bSts_WatchdogTimerError Watchdog timer error X1F
C24_1.wnForUserRegistrationNo8002H_D[0] For user registration number 8002H U0\G6953
Label to be defined Define the global label as shown below.
(0) Turn the READY flag ON.
(3) Issue the registration command of data for connection.
(6) Set the number of registered data bytes.
Clear the storage device of data for connection.
Set the connection target telephone number.
Set the external line outgoing number (send 0).
Set the line type to 'Tone'.
Write the data for connection to buffer memory.
Turn the data for connection registration completion flag ON.
䢪䢲䢫
䣅䢴䢶䣡䢳䢰䣤䣕䣶䣵䣡䣗䣰䣫䣶䣔
䣧䣣䣦䣻
䣚䢳䣇
䣅䢴䢶䣡䢳䢰䣤䣕䣶䣵䣡䣙䣣䣶䣥
䣪䣦䣱䣩䣖䣫䣯䣧䣴䣇䣴䣴䣱䣴
䣚䢳䣈
䣤䣗䣰䣫䣶䣃䣥䣥䣧䣵䣵䣫䣤䣮䣧䣈䣮䣣䣩
䣏䢲
䢪䢵䢫
䣤䣔䣧䣳䣡䣋䣰䣫䣶䣫䣣䣮䣫䣼䣣䣶䣫䣱䣰
䣆䣣䣶䣣䣔䣧䣩䣫䣵䣶䣴䣣䣶䣫䣱䣰
䣚䢴䢹
䣒䣎䣕
䣤䣔䣧䣳䣡䣅䣱䣰䣰䣧䣥䣶䣫䣱䣰䣆䣣䣶䣣䣔䣧
䣩䣫䣵䣶䣴䣣䣶䣫䣱䣰
䣏䢴䢲
䢪䢸䢫
䣤䣔䣧䣳䣡䣅䣱䣰䣰䣧䣥䣶䣫䣱䣰
䣆䣣䣶䣣䣔䣧䣩䣫䣵䣶䣴䣣䣶䣫䣱䣰
䣏䢴䢲
䣏䣑䣘
䣍䢺䢲
䣹䣔䣧䣩䣫䣵䣶䣴䣣䣶䣫䣱䣰䣆䣣䣶䣣䣄䣻䣶䣧䣅
䣱䣷䣰䣶
䣆䢲
䣈䣏䣑䣘
䣍䢲
䣹䣰䣅䣱䣰䣰䣧䣥䣶䣫䣱䣰䣆䣣䣶䣣䣝䢲䣟
䣆䢳
䣍䢶䢲
䢦䣏䣑䣘
䢤䢲䢷䢴䣰䣰䣰䣰䣰䣰䣰䢢䢢䢢䢢䢢䢢䢢䢢䢢䢢䢤
䣹䣰䣅䣱䣰䣰䣧䣥䣶䣫䣱䣰䣆䣣䣶䣣䣝䢳䣟
䣆䢴
䣏䣑䣘
䣊䢲
䣹䣰䣅䣱䣰䣰䣧䣥䣶䣫䣱䣰䣆䣣䣶䣣䣝䢳䢲䣟
䣆䢳䢳
䣏䣑䣘
䣍䢳
䣹䣰䣅䣱䣰䣰䣧䣥䣶䣫䣱䣰䣆䣣䣶䣣䣝䢳䢳䣟
䣆䢳䢴
䣤䣗䣰䣫䣶䣃䣥䣥䣧䣵䣵䣫䣤䣮䣧䣈
䣮䣣䣩
䣏䢲
䣄䣏䣑䣘
䣹䣔䣧䣩䣫䣵䣶䣴䣣䣶䣫䣱䣰䣆䣣䣶
䣣䣄䣻䣶䣧䣅䣱䣷䣰䣶
䣆䢲
䣅䢴䢶䣡䢳䢰䣹䣰䣈䣱䣴䣗䣵䣧䣴䣔䣧䣩䣫
䣵䣶䣴䣣䣶䣫䣱䣰䣐䣱䢺䢲䢲䢴䣊䣡䣆䣝䢲䣟
䣗䢲䣞䣉䢸䢻䢷䢵
䣍䢶䢳
䣕䣇䣖
䣤䣅䣱䣰䣰䣧䣥䣶䣫䣱䣰䣆䣣䣶䣣䣔䣧䣩䣫䣵䣶䣴
䣣䣶䣫䣱䣰䣅䣱䣯䣲䣮䣧䣶䣫䣱䣰
䣏䢴
䢪䢴䢷䢫
䣇䣐䣆
D0 80 80
D1
D22
D23
D40
(Item name) Data register (Address) Buffer memory
Area for registration No. 8002H
Number of registration
data bytes
Un\G6953
Un\G6954
to
(Connection data) (Connection data)
to
Un\G6975
Data for connection
Un\G6976
(Open) (Open)
to
to
Un\G6993

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R2

Related product manuals