12-12
Cases where rewriting is not possible during RUN
1. When the result of rewriting is a syntax error.
<Example>
When executing the rewriting which does not form the following pair of instructions.
1. Step ladder instructions (SSTP/STPE)
2. Subroutine instructions (SUB/RET)
3. Interrupt instructions (INT/IRET)
4. JP/LBL
5. LOOP/LBL
6. MC/MCE
Also, rewriting is not possible during RUN in case of other syntax error.
2. During the forced input/output operation
Interrupt restrictions
When using interrupt, high-speed counter, pulse output or PWM output functions, do not perform a
rewrite during RUN.
If a rewrite during RUN is executed, the operation as below will be performed. Exercise caution.
1. Interrupt programs will be disabled.
Enable by executing an ICTL instruction once again.
<Example> Using R9034 (rewrite during RUN completed flag)
2. The high-speed counter will continue to count.
Target value match on/off instructions (F166/F167) will continue.
Coincidence interrupt programs will be disabled when the F166/F167 instruction is running.
3. The pulse output/PWM output stops when the rewriting is performed. The operation after the
completion of the rewriting during RUN varies depending on each instruction.
Mode Instruction
Name Operation after the completion
compatibility
mode
Pulse output (Trapezoidal control)
The operation before rewriting
continues.
F168(SPD1) Pulse output (Home return) The operation before rewriting
Pulse output (JOG operation)
Pulse output (Trapezoidal control)
Pulse output(JOG positioning)
Pulse output (JOG operation)
Pulse output (Selectable data table
control operation)
The operation before rewriting
continues.
F175(SPSH) Pulse output (Linear interpolation) The operation before rewriting
Pulse output (Home return)
The operation before rewriting
continues.
4. The regular sampling trace will not stop.