APPENDIX

Appendix 3 Processing Time

MELSEC-Q

(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 + (Dle/Cr 1000 + 0.07)

Ds + T1

Tp (

1)

: The time from the start of execution of the Output instruction

 

 

 

to the End processing of the sequence scan at the

 

 

 

completion of the Output instruction execution (ms)

St

 

: Scan time

 

 

 

 

 

 

Dle

 

: Data length of 1 byte at data transmission (number of bits)

Cr

 

: Communication rate (bps)

Ds

 

: Number of bytes of transmission data

T1

 

: QJ71C24N (-R2/R4)

T1 = 3.0

 

 

 

QJ71C24 (-R2)

 

T1 = 4.86

1

This stands for the time range of processing (Tp).

Start of the Output

 

 

 

Start of the End processing of

instruction execution

Tp

 

 

the scan at the completion of

 

 

 

 

 

 

 

 

 

 

 

the Output instruction execution

Step 0

END

 

 

 

 

 

 

 

 

 

Sequence program

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transmission command

 

 

 

 

 

 

 

 

 

 

 

 

Output instruction

 

 

 

 

OUTPUT

 

 

 

One scan

Output instruction

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

complete device

 

 

 

 

 

 

 

 

 

 

 

 

Q series C24 side

Transmission data

External device side

[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

:

10 ms

• Data length

:

10 bits (1 start bit, 8 data bits, 1 stop bit, no parity

 

 

bit)

• Communication rate :

19200 bps

10 + (10/19200

1000 + 0.07) 100 + 3.0

 

72.08 (ms)

 

 

App. - 14

 

 

 

App. - 14