33 PROGRAMMING
33.2 Cautions for Program Creation
555
33
33.2 Cautions for Program Creation
The following describes cautions for program creation.
User interrupt program
Only CPU module
*1
can be executed in an interrupt program. If the high-speed pulse input/output module (axis 5 to axis 12) is
executed in an interrupt program, an error occurs.
*1 FX5S/FX5U/FX5UC CPU module: Axis 1 to Axis 4
FX5UJ CPU module: Axis 1 to Axis 3
Interrupt input signal 1
If the standard mode is used for interrupt signal input 1 for the high-speed pulse input/output module, approximately 2ms
variance occurs before the start of the operation after the detection of interrupt input signal 1, so there is variance in travel
distance after the detection of the interrupt input (changes depending on the interrupt request module). If this variance is not
acceptable, use the high-speed mode or the CPU module.
Positioning instructions in the same axis
• Do not activate multiple positioning instructions in the same axis. Another positioning instruction for the same axis cannot
be driven until the pulses for the currently driven positioning operation are stopped and its drive contact is turned off.
• When the pulse output monitor is on, a positioning instruction that uses the corresponding axis cannot be used. (Page
415 Pulse output monitor) While the pulse output monitor is on, even if the instruction drive contact is turned off, do not
execute a positioning instruction that specifies the same axis number.
Number of programmed positioning instructions
There is no limitation on the number of programmed positioning instructions. Programming one instruction two or more times
does not cause any problems.
External start signal
When the external start signal is enabled and off, a positioning instruction that uses the corresponding axis cannot be used.
(Page 398 External Start Signal) To use such a positioning instruction, turn on the drive contact of the instruction and then
turn on the external start signal.