351
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
11
FN
C30-
FN
C39
R
o
ta
tion and
Sh
ift
12
FNC
4
0
-FNC49
D
a
ta
Op
e
ra
tio
n
13
FNC5
0
-FNC5
9
H
igh Speed
Pr
ocessi
ng
14
FM
C6
0
-F
NC6
9
H
and
y
In
st
ru
cti
o
n
15
FNC7
0
-FNC7
9
Ex
te
rn
a
l F
X
I
/O
D
evi
ce
16
FNC8
0
-FNC8
9
Ext
e
rnal
FX
D
evi
ce
17
F
N
C1
00
-F
NC
10
9
Da
ta
Tr
ansf
e
r 2
18
FN
C
110-FN
C
13
9
Fl
oat
ing P
o
in
t
19
FN
C
140-FN
C
149
Da
ta
O
per
at
io
n
2
20
FN
C
15
0-F
N
C
159
P
o
si
tioni
ng
C
ont
ro
l
2. 32-bit operation (DPLSY)
A pulse train at the frequency [
+1,
] is output by the quantity [
+1,
] from the output (Y)
.
• Specify the frequency in [
+1,
].
Allowable setting range: 1 to 200,000 (Hz)
• Specify the generated pulse quantity in [
+1,
].
Allowable setting range: 1 to 2,147,483,647 (PLS)
• Specify the output (Y) number from which pulses are output in
.
Allowable setting range: Y000, Y001
→
For the method to output pulses without any limitation,
refer to the program example later.
Related devices
1. Instruction execution complete flag
The instruction execution complete flag M8029 used for PLSY instruction can be used also for other
instructions. When using other instructions, setting the M8029 flag to ON or OFF, or using two or more PLSY
instructions, make sure to use each M8029 flag just after an instruction to be monitored.
→
For the instruction execution completer flag use method,
refer to Subsection 6.5.2.
Device
Name
Description
M8029
Instruction execution
complete
ON: Generation of specified number of pulses is completed.
OFF: Generation of pulses is paused before the specified number of pulses is
reached or the continuous pulse generation operation is stopped.
S
1
S
1
S
2
S
2
D
FNC 57
DPLSY
[
]
[
]
S
1
S
2
Pulse quantity
Frequency
S
1
D
S
2
D
+ 1,
S
2
+ 1,
S
1
Command
input
S
1
S
1
S
2
S
2
D
FNC 57
PLSY
K1000
K0
Y000
FNC 57
DPLSY
K1000
K0
Y001
M8029
M8029
°
Changes by DPSLY
instruction corresponding to
the command input 2.
Command
input 1
Command
input 2
Command
input 1
Command
input 2
FNC 57
PLSY
K1000
K0
Y000
FNC 57
DPLSY
K1000
K0
Y000
M8029
M8029
Command
input 1
Command
input 2