Appendix 3 Processing Time - Mitsubishi Electric QJ71C24N User Manual

Q corresponding serial communication module
Table of Contents

Advertisement

APPENDICES

Appendix 3 Processing Time

Sequence program
Transmission command
Output instruction
Output instruction
complete device
Q series C24 side
External device side
App. - 16
(1) Time required to process communication using the non procedure
protocol (guideline)
The processing time for the Output and Input instructions can be estimated by
the following formula. Note, however, that the processing time may become
longer depending on other communication functions (e.g., communication using
the MC protocol) and special functions (e.g., ASCII-binary conversion,
transmission control) that are used at the same time.
The value obtained from the following formula should be used as a guideline for
the processing time when reception or transmission only is performed using only
CH1 (RS-232 connection).
(a)
Output instruction
Tp = St + (D
1
Tp (
) : The time from the start of execution of the Output instruction
St
D
le
Cr
Ds
T1
1 This stands for the time range of processing (Tp).
Start of the Output
instruction execution
Step 0
[Calculation example]
Estimate the time required to process the Output instruction when
transmitting 100 bytes of data using the non procedure protocol with the
QJ71C24N. (Unit: ms)
• Scan time
• Data length
• Communication rate : 19200 bps
10 + (10/19200
/Cr
1000 + 0.07)
le
to the End processing of the sequence scan at the
completion of the Output instruction execution (ms)
: Scan time
: Data length of 1 byte at data transmission (number of bits)
: Communication rate (bps)
: Number of bytes of transmission data
: QJ71C24N (-R2/R4)
QJ71C24 (-R2)
Tp
END
OUTPUT
Transmission data
: 10 ms
: 10 bits (1 start bit, 8 data bits, 1 stop bit, no parity
bit)
1000 + 0.07)
MELSEC-Q
Ds + T1
T1 = 3.0
T1 = 4.86
Start of the End processing of
the scan at the completion of
the Output instruction execution
One scan
100 + 3.0
72.08 (ms)
App. - 16

Advertisement

Table of Contents
loading

Table of Contents