Initialization Of Modem/Ta (Terminal Adapter) - Mitsubishi Electric MELSEC iQ-R Series User Manual

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Initialization of modem/TA (terminal adapter)

This section explains the initialization of the modem/TA connected to C24, used for communicating data with the target device
with the modem function.
Requirements for initialization
Complete the following settings and registration beforehand.
• C24 initial settings (Page 174 Initial settings of Serial communication module)
• Registration of data for initialization when initializing with the data for initialization set by the user (Page 177 Register/
read/delete data for initialization)
Initialization and connection can be performed at the same time by performing the connection processing by designating data
for initialization and connection. (Page 190 Line connection)
Registering data for initialization using Engineering tool
Registration of the number of data for initialization to initialize the modem connected to the C24 side is performed with
Engineering tool.
The following explains the number designated by the "Initialization data number" item and the related buffer memory when "0"
is designated as the number of data for initialization.
Used buffer memory
Name
Address (CH1/CH2)
Hexadeci
mal
Data No. for initialization
34H
designation
Sending user frame number
B6H/156H
CR/LF output designation
B7H/157H
Output start pointer
B8H/158H
*1
designation
*2
Output quantity designation
B9H/159H
Send frame
1st
BAH/15AH
number
2nd
BBH/15BH
designation
to
to
100th
11DH/1BDH
*1 'Output start pointer designation' (Un\G184/344)
The head position (nth) in the send frame number designation area to write the registration number of data for initialization to be
transmitted is designated.
1 (transmitting from the 1st) to 100 (transmitting from the 100th)
*2 'Output quantity designation' (Un\G185/345)
How many data for initialization is transmitted form the designated position in the output start pointer designation area is designated.
1 (transmitting 1) to 100 (transmitting 100)
*3 The registration number of data for initialization to be used is designated.
7D0H to 7DDH (2000 to 2013) : Data registered by the operating system
9C4H to 9E1H (2500 to 2529) : Data registered in the flash ROM by the user
8001H to 801FH (–32767 to –32737): Data registered in the buffer memory by the user
Considerations for modem/TA initialization
If the DSR signal from the modem/ TA turns OFF when modem/TA initialization is completed (X10 turns ON), C24 executes
initialization processing automatically in accordance with the following.
• When the auto modem initialization is specified
Modem/TA initialization processing is executed in the initialization/connection timeout time interval while the DSR signal is
OFF regardless of the ON/OFF status of the 'Modem initialization request' (Y10).
• When the auto modem initialization is not specified
The modem/TA initialization processing is executed when the DSR signal restarts regardless of the ON/OFF status of the
'Modem initialization request' (Y10).
The number of data for initialization used and buffer memory designated
value
Decimal
When number of data used = 1
52
7D0H to 801FH :Registration number of data
*3
for initialization
182/342
(Not used)
183/343
184/344
185/345
186/346
187/347
to
285/445
When number of data used = 2 or
more
0H
(During initialization, the registration number
of data currently being transmitted is stored.)
0 (default value)
*1
1 to 100
*2
1 to 100
7D0H to 801FH :Registration number of data
for initialization
7 COMMUNICATIONS BY THE MODEM FUNCTION
7.4 Startup of the Modem Function
*3
185
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents