Precautions During Programming
FP0
8
−
21
8.7 Rewrite Function During RUN
Instructions which do not allow rewriting during RUN
Step ladder instructions (
SSTP/STPE
)
Subroutine instructions (
SUB/RET
)
Interrupt instructions (
INT/IRET
)
Control instructions (
ED/LBL
)
(LBL instructions allow insertion and writing, but not deletion and clearing.)
Instructions which do not allow rewriting to subprograms
The following instructions do not allow rewriting during subroutines or interrupt
programs.
Jump/label instructions (
JP/LBL
)
Loop/label instructions (
LOOP/LBL
)
Master control relay/master control relay end instructions (
MC/MCE
)
Cases where rewriting is not possible during RUN
When a syntax error has occurred.
During 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 following problems may occur. Exercise caution.
Interrupt programs will be disabled. Enable by executing an
ICTL
instruction once
again.
Example:
Using R9034 (rewrite during RUN completed flag)
R9013
ICTL, S1, S2
R9034
The high-speed counter will continue to count.
At 2.5 kHz or higher during one
−
phase, one channel counting or 1.25 Hz or higher
during one
−
phase, two channel counting, miscounts may occur.
Target value match on/off instructions (
F166/F167
) will continue.
Coincidence programs will be disabled.
Pulse output and PWM output will be stopped. The
F168
instruction (positioning control)
will continue to operate.
However, when the maximum output frequency is higher than 2.5 kHz during
one
−
phase, one channel counting or 1.25 Hz during one
−
phase, two channel counting,
the output pulse number may differ from the set number.
Summary of Contents for FP0 Series
Page 14: ...Table of Contents FP0 xii ...
Page 16: ...Overview FP0 1 2 ...
Page 82: ...S LINK Control Unit FP0 4 2 ...
Page 95: ...Chapter 5 I O Allocation 5 1 I O Number 5 3 5 2 Control Unit 5 4 5 3 Expansion I O Unit 5 5 ...
Page 96: ...I O Allocation FP0 5 2 ...
Page 100: ...I O Allocation FP0 5 6 5 3 Expansion I O Unit ...
Page 102: ...Installation FP0 6 2 ...
Page 112: ...Installation FP0 6 12 6 5 Installation Using FP0 Flat Type Mounting Plate ...
Page 114: ...Wiring FP0 7 2 ...
Page 198: ...High speed Counter Pulse Output PWM Output FP0 9 34 9 5 PWM Output Function ...
Page 200: ...General use Serial Communications FP0 10 2 ...
Page 210: ...Self Diagnostic and Troubleshooting FP0 11 2 ...
Page 220: ...Specifications FP0 12 2 ...
Page 234: ...Dimensions FP0 13 2 ...
Page 243: ...Chapter 14 Appendix ...
Page 380: ...14 138 14 7 ASCII Codes ...