Mitsubishi Electronics FX3G User Manual

Page of 964
556
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
20 Positioning Control – FNC150 to FNC159
20.6 FNC157 – PLSV / Variable Speed Pulse Output
20.6
FNC157 – PLSV / Variable Speed Pulse Output
Outline
This instruction outputs variable speed pulses with an assigned rotation direction.
→ For explanation of the instruction, refer to the Positioning Control Edition manual.
→ For cautions on using special high-speed output adapters,
refer to the Positioning Control Edition manual.
1. Instruction format
2. Set data
*1.
Setting range:
−32768 to −1, +1 to +32767 (except 0) Hz
*2
 for 16-bit operation
Following range for 32-bit operation
*2.
When operation without acceleration/deceleration (M8338 = OFF), setting range of FX
3S
/FX
3G
/FX
3GC
 PLC is 
-32,768 to -10 Hz, +10 to 32,767 Hz.
*3.
When operation without acceleration/deceleration (M8338 = OFF), setting range of FX
3S
/FX
3G
/FX
3GC
 PLC is 
-100,000 to -10 Hz, +10 to 100,000 Hz.
3. Applicable devices
S1 : Specify Y000, Y001 or Y002
*4
 transistor output from the main unit, or specify Y000, Y001, Y002
*6
 or Y003
*6
from a high-speed output special adapter
*5
.
*4.
002 is not available in FX
3G
 PLC (14-point and 24-point type) and FX
3S
/FX
3GC
 PLC.
*5.
High-speed output special adapters can be connected only to FX
3U
 PLC.
*6.
To use Y002 or Y003 with a high-speed output special adapter, connected a second high-speed output
special adapter.
Points                                                                                       
• When using a relay output type or triac output type FX
3U
 PLC, a special high-speed output adapter is required.
• Outputs of special high-speed output adapters work as differential line drivers.
S2 : When using a special high-speed output adapter for the pulse output destination in an FX
3U
 PLC, the rotation
direction signal must be used by the following table output.
When using a built-in transistor output for the pulse output destination in an FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
PLCs, the rotation direction signal must use transistor output.
Operand type
Description
Data type
Device number for output pulse frequency
*1
16- or 32-bit binary
Device number (Y) from which pulses are to be output
Bit
Device number to which rotation direction signal is output
Pulse output destination
Setting range
FX
3U
 PLC
Special high-speed output adapter
−200,000 to −1, +1 to 200,000 (Hz)
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 PLCs Main unit (transistor output)
−100,000 to −1, +1 to 100,000 (Hz)
*3
Oper-
and 
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special 
Unit
Index
Con-
stant
Real 
Number
Charac-
ter String
Pointer
X Y M T C S D .b KnX KnY KnM KnS T C D
R
U \G
V Z Modify K H
E
" "
P
S4
S5
S
1
S
2
S3
Special high-speed output adapter No.
Pulse output
Rotation direction output
No. 1 (1st unit)
=Y000
=Y004
=Y001
=Y005
No. 2 (2nd unit)
=Y002
=Y006
=Y003
=Y007
FNC 157
PLSV
D
PLSV
16-bit Instruction
7 steps
Mnemonic
Operation Condition
Continuous
Operation
DPLSV
32-bit Instruction
13 steps
Mnemonic
Operation Condition
Continuous
Operation
  
S
1
  
D
1
  
D
2
  
S
1
  
D
1
  
D
2
  
D
1
  
D
2
  
D
1
  
D
2
  
D
1
  
D
2
  
D
1
  
D
2