9
- 48
9.6 JP/GP.SWRITE
9
DEDICATED INSTRUCTIONS
(c) Checking the execution status of the SWRITE instruction
The execution status of the SWRITE instruction (Executing, Normal completion,
Error completion) can be checked with the following devices specified in the
setting data.
1) Completion device (D2)
Turns ON in the END processing for the scan after completion of the SWRITE
instruction, and goes OFF in the next END processing.
2) Completion status indication device ((D2)+1)
Turns ON or OFF depending on the completion status of the SWRITE
instruction.
• When completed normally
It remains OFF.
• When failed
It turns ON in the END processing for the scan after completion of the
SWRITE instruction, and goes OFF in the next END processing.
(d) Operation in SWRITE instruction execution
1) Operation of the own station
2) Operation of the target station
Figure 9.44 Operation in SWRITE instruction execution (own station)
Figure 9.45 Operation in SWRITE instruction execution (target station)
Program of own station
Completion device of
own station (D2)
Completion status indication
device ((D2)+1)
SWRITE instruction
SWRITE instruction execution
Writing to the device specified
by SWRITE completed
Start contact
OFF
ON
ON
ON
END processing END processing
END processing
END processing
OFF
OFF
When failed
Normal completion
1 scan
Write notification device (D3)
Program of target station
OFF
ON
END processing END processing
END processing
END processing
1 scan
Writing to the device specified
by SWRITE completed
Содержание QJ71GP21-SX
Страница 1: ......
Страница 2: ......
Страница 644: ...App 94 Appendix 6 External Dimensions Appendix 6 2 QJ71GP21S SX APPENDICES Memo ...
Страница 649: ......
Страница 650: ......