6. BASIC INSTRUCTIONS
6
−
80
MELSEC-A
Execution of OUT Instruction Used with CHG Instruction
When the CPUs with which the CHG instruction can be used are used, the coil
switched on/off in the main (sub) sequence program remains unchanged during sub
(main) sequence program run even if its input condition changes.
Ladder example
The following program is written after the main sequence program and the same coil is not used in the
subsequence program.
Timing chart
Operation
Y70 is switched on/off when X0 is switched on/off during main sequence program run.
Y70 remains unchanged if X0 is switched on/off during subsequence program run.
X000
Main sequence
program run
Subsequence
program run
X0
Y70
Y070
(
)
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......