352
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
13 High Speed Processing – FNC 50 to FNC 59
13.8 FNC 57 – PLSY / Pulse Y Output
2. Monitoring of the current value of 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 is started from the beginning.
• When a special auxiliary relay (M) shown below is set to ON, the pulse output is stopped.
For outputting pulses again, set to OFF the device (M8349 or M8359) corresponding to the output signal, and
then drive the pulse output instruction again.
Cautions
1. When a word device is specified as
or
When the value of the word device is changed while the instruction is executed, the following operation
results:
• When the data of
is changed, the output frequency changes accordingly.
• When the data of
is changed, the contents of change (new value) become valid when the instruction
is driven at the next time.
2. Frequency
When using transistor outputs in the main unit, set the output frequency
to "100,000 Hz" or less.
If the load is operated using pulses at a frequency more than 100,000 Hz, PLC may be damaged.
3. Pulse output
• Only a transistor output in the main unit or Y000 or Y001 in a special high speed output adapter
*1
can be
specified in
.
When using PLSY (FNC 57) instruction in a relay output type FX
3U
PLC, a special high speed output
adapter is required.
*1. Special high speed output adapters cannot be connected to the FX
3UC
-32MT-LT.
• The duty of the ON/OFF duration of pulses is 50% (ON = 50%, OFF = 50%).
• The pulse output is controlled by the dedicated hardware not affected by the sequence program (operation
cycle).
• If the command input is set to OFF while continuous pulses are output, the output from
turns OFF.
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
M8349
Immediately stops pulse output from Y000.
M8359
Immediately stops pulse output from Y001.
FNC 12
DMOV
K0
Low-order device shown in
above table
Command
input
S
1
S
2
S
1
S
2
S
1
S
1
D
D