558
33 PROGRAMMING
33.2 Cautions for Program Creation
Restrictions on simultaneous execution of the high-speed comparison table and high-
speed comparison instructions
There is a limit in the number of simultaneous executions of the high-speed comparison table and high-speed comparison
instructions (DHSCS, DHSCR, DHSZ instruction). Shown below are the conditions included in the number of the
simultaneous executions. For high-speed comparison table, refer to the following.
Page 257 High-speed comparison table
For high-speed comparison instructions and HIOEN/DHIOEN instruction, refer to MELSEC iQ-F FX5 Programming
Manual (Instructions, Standard Functions/Function Blocks).
• For the high-speed comparison table, only the tables driven by the HIOEN/DHIOEN instruction are included
in the number of the simultaneous executions.
• When the positioning function setting is made, high-speed comparison table becomes occupied and is
included in the number of simultaneous executions.
Correction of backlash
Complete flag and completion of positioning operation
If the complete flag of a positioning instruction is turned on, then the execution of the instruction (such as pulse outputting
operation) is complete (Page 417 Complete flag). However, it is not certain whether the servo motor has stopped or not.
Check the "positioning completion" signal of the servo amplifier (drive unit) to determine whether the servo motor has
stopped.
Item CPU module High-speed pulse input/output module
Maximum
executions
32 15
High-speed counter
function
• Drive high-speed comparison table (Drive HIOEN/DHIOEN
instruction)
• Drive DHSCS, DHSCR, DHSZ instruction)
• Drive high-speed comparison table (Drive HIOEN/DHIOEN
instruction)
Positioning function • Interrupt input signal 1 (High-speed mode) setting is enabled • OPR setting is enabled (1 axis occupies 2 simultaneous
executions.)
• Interrupt input signal 1 (High-speed mode) setting is enabled
The positioning function cannot correct mechanical backlash (clearance/
play). If it is necessary to correct the backlash, set the number of output
pulses taking into account the backlash that may be caused when
reversing the transfer direction beforehand.
Turntable
Feed screw
Backlash
(clearance/play)