Mitsubishi Electronics FX3G ユーザーズマニュアル

ページ / 964
376
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
13 High-Speed Processing – FNC 50 to FNC 59
13.8 FNC 57 – PLSY / Pulse Y Output
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
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 PLCs 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
 
S
2
 
+ 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