7 Applied Instructions
7.6 High Speed Processing
319
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of 
Instruction
4
How to Read 
Explanation of 
Instructions
5
Basic Instruction
6
Step Ladder 
Instructions
7
Applied 
Instructions
8
Interrupt Function 
and Pulse Catch 
Function
A
Relationships 
between devices 
and addresses
Related devices
1. Instruction execution complete flag
2. Monitoring the number of generated pulses
The number of pulses output from Y000 or Y001 is stored in the following special data registers:
The contents of each data register can be cleared using the following program.
3. How to stop the pulse output
• When the command input is set to OFF, the pulse generation is immediately stopped. When the command 
input is set to ON again, pulse generation operation restarts from the beginning.
• When the special auxiliary relays (M) shown below are set to ON, the pulse output is stopped.
To restart pulse output again, set the device corresponding to the output number to OFF, and then drive
the pulse output instruction again.
Cautions
1. Maximum frequency 
When using transistor outputs on the main unit, set the maximum frequency specified by   as follows.
•For FX
3U and FX3UC PLCs: 10 to 100,000 Hz or less (200,000 Hz or less when using special high speed 
adapter.)
•For FX
3G PLC : 10 to 100,000 Hz or less
•For FX
2N and FX2NC PLCs : 10 to 20,000 Hz
•For FX
1S and FX1N PLC : 10 to 100,000 Hz
•For FX
1NC PLC : 10 to 10,000 Hz
Device Name Description
M8029
Instruction execution 
complete
OFF :The command input is OFF, or pulses are being output. (This flag does not turn ON if the pulse
output is interrupted in the middle of output.)
ON :Output of the number of pulses set in   is completed.
Device
Description Contents of data
High 
order
Low 
order
D8141 D8140
Accumulated number of pulses 
output from Y000
Accumulated number of pulses output from Y000 by PLSY and PLSR 
instructions
D8143 D8142
Accumulated number of pulses 
output from Y001
Accumulated number of pulses output from Y001 by PLSY and PLSR 
instructions
D8137 D8136
Total accumulated number of 
pulses output from Y000 and Y001
Total accumulated number of pulses output from Y000 and Y001 by PLSY and 
PLSR instructions
Device
Description
FX3U, FX3UC FX3G FX1S, FX1N, FX1NC
M8349 M8145, M8349 M8145 Immediately stops pulse output from Y000.
M8359 M8146, M8359 M8146 Immediately stops pulse output from Y001.
Command 
input
DMOV
EN
s
ENO
d
*1. This defines K0.
*2. This defines the low order device in the table above.
Label 1
*1
Label 2
*2