Changing The Send Monitoring Time (Timer 2) - Mitsubishi Electric MELSEC iQ-R Series User Manual

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

Advertisement

■Data communications using nonprocedural protocol or bidirectional protocol
• While waiting for the end of transmission of a message, C24 stores the error code to the 'Data transmission result'
(Un\G599/615) for the target interface and completes the transmission processing abnormally.
If message transmission was terminated midway, C24 does not transmit the remaining data.
• If waiting for the end of transmission of a response message, C24 stores the error code to the 'Data reception result'
(Un\G600/616) for the target device and turns ON the 'CH reception abnormal detection' (X4, XB).
data read processing completes, C24 turns OFF the 'CH reception abnormal detection' (X4, XB) and waits to receive the
next command.
If transmission of the response message was terminated midway, C24 does not transmit the remaining data.
*1 When communicating using bidirectional protocol, it stores the error code in the data reception result storage area for the target
interface. (The reception abnormal detection signal does not turn ON.)

Changing the send monitoring time (timer 2)

The send monitoring time (timer 2) is set in "Send monitoring time (timer 2) designation" of the parameter.
Navigation window  [Parameter]  [Module Information]  "Module Name"  [Module Parameter]  "Basic Settings"
 "Various control specification"
The send monitoring time (timer 2) monitors the transmission termination time in the condition below.
• When DTR/DSR signal control is used and the DR (DSR) signal is turned OFF (Page 237 Control Contents of DTR/
DSR (ER/DR) Signal Control)
• When DC1/DC3 receive control is used and DC3 is received (Page 239 Control Contents of DC Code Control)
• When the RS-232 interface CS (CTS) signal is turned OFF (MELSEC iQ-R Serial Communication Module User's
Manual (Startup))
Remarks
■When changing the send monitoring time (time 2) setting
Find the send monitoring time (timer 2) from the maximum delay time for the message reception processing or response
message transmission processing on the target device side and the transmission time per one-byte (t), and change the setting
value. However, the value should be rounded to the nearest 100 ms above.
• Number of bytes transmitted per second (n) = Transmission rate/number of bits transmitted per byte
• Transmission time per byte (t) = 1000 (ms)/number of bytes transmitted per second (n)
• Send monitoring time (timer 2) = (Maximum processing delay time of target device) + (Transmission time per one-byte (t) 
Number of transmission bytes)
Under the following conditions, the send monitoring time (timer 2) is set to 300 ms.
• Transmission rate : 9600 bps
• Number of transmit bits/byte : 11 (start bit: 1, data bits: 8, stop bits: 2)
• Maximum processing delay time : 200 ms
• Number of transmission bytes: 3 bytes
10 CHANGING DATA COMMUNICATION MONITORING TIME
234
10.3 Send Monitoring Time (timer 2) Setting
*1
When the receive

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents