Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
373
FX3G/FX3U/FX3UC 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
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
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, ].
- When special high speed output adapters are used
Allowable setting range: 1 to 200,000 (Hz)
- When the FX
3G/FX3U/FX3UC PLC main unit is used
Allowable setting range: 1 to 100,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 complete flag use method, refer to Subsection 6.5.2.
Device Name Description
M8029
Instruction execution com-
plete
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