6 - 4 6 - 4
MELSEC-Q
6 PROGRAMMING
6.1.2 Program example
Interlocks should be applied to the programs according to the link status of the host
and other stations.
The following example shows an interlock in the communication program that uses the
link status of the host (SB0047, SB0049) and the link status of station number 2 (bit 1
of SW0070 and bit 1 of SW0074).
(Example)
Set the values listed below for timer constant K .
Baton pass status
(T0, T2)
(Sequence scan time
4) or more
Cyclic transmission status
Parameter communication status
(T1, T3, T4)
(Sequence scan time
3) or more
Reason: This is to prevent occasional errors due to cable conditions or electrical noise
from stopping control.
Also, the multipliers of 4 and 3 should only be considered as a guideline.