6. BASIC INSTRUCTIONS
6 − 78
MELSEC-A
(3) When the A3H, A3M, A3A, A3U, A4U and Q06H are used, execution contents
are always same.
Ladder example
The following program is written at step 0 of the main and subsequence programs.
Timing chart
OFF C0 count value remains unchanged.
ON
C0 count value is incremented by 1 after END (FEND, CHG) is executed during the first scan of the program
selected by the CHG instruction executed after X0 is switched on.
Operation
depending on
X0 ON/OFF
status
OFF
↓
ON
C0 count value is incremented by 1 after END (FEND, CHG) is executed.
(
)
X000
K10
C0
1 scan
Main sequence
program run
CHG instruction execution
Subsequence
program run
X0 OFF
ON
C0 coil
OFF
ON
C0 count value 1 20
CHG instruction execution