Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
12 Applied Instructions (High Speed Processing)
297
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11
Applied Instructions
(Data Operation)
12
Applied Instructions
(High Speed
Processing)
13
Applied Instructions
(Handy
Instruction)
14
Applied Instructions
(External FX I/O
Device)
15
Applied Instructions
(External Device
(optional device))
16
Applied Instructions
(External Device)
17
Applied Instructions
(Data Transfer 2)
18
Applied Instructions
(Floating Point)
19
Applied Instructions
(Data Operation 2)
20
Applied Instructions
(Positioning
Control)
12.8 PLSY / Pulse Y Output
Function and operation explanation
1. 16-bit operation (PLSY)
A pulse train of frequency specified by is output in the quantity specified by from the output (Y)
specified by .
2. 32-bit operation (DPLSY)
A pulse train of frequency specified by is output in the quantity specified by from the output (Y)
specified by .
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, be sure to use each M8029 flag just after an instruction to be monitored.
For the method of using the instruction execution complete flag, refer to the following manual.
FX Structured Programming Manual [Device & Common]
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.
Command
input
Pulse quantity
Frequency
PLSY
EN
s1
s2
ENO
d
d
s1
s2
Frequency
data
Pulse quantity
data
Bit device (Y) from which
pulses are output
For setting , and , refer to the "cautions".
s1 s2 d
Command
input
DPLSY
EN
s1
s2
ENO
d
Frequency
data
Bit device (Y) from which
pulses are output
Pulse quantity
data
For setting , and , refer to the "cautions".
s1 s2 d
s2
+1, Pulse quantity]
+1, Frequency]
[
[
d
s1
s2
s1
Command
input 1
Command
input 2
M8029
M8029
PLSY
EN
s1
s2
ENO
d
DPLSY
EN
s1
s2
ENO
d
K1000
K0
Y000
Y000
K1000
Command
input 1
Command
input 2
M8029
M8029
Changes by DPLSY instruction
corresponding to the command
input 2.
Command
input 1
Command
input 2
PLSY
EN
s1
s2
ENO
d
DPLSY
EN
s1
s2
ENO
d
K1000
K0
Y000
Y001
K0
K1000
K0