Appendix 3 processing time, Melsec-q, A) output instruction – MITSUBISHI ELECTRIC QJ71C24N User Manual

Page 308

Advertising
background image

App. - 14 App. - 14

MELSEC-Q

APPENDIX

Appendix 3 Processing Time

(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

le

/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

D

le

: 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).

Sequence program

Transmission command

Output instruction

Output instruction
complete device

OUTPUT

Step 0

END

Tp

One scan

Q series C24 side

External device side

Transmission data

Start of the Output
instruction execution

Start of the End processing of
the scan at the completion of
the Output instruction execution

[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)

Advertising
This manual is related to the following products: