559
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
20 Positioning Control – FNC150 to FNC159
20.7 FNC158 – DRVI / Drive to Increment
11
FN
C30
-FN
C3
9
R
ota
tion and
Shi
ft
12
FN
C40-FN
C49
D
ata O
perati
on
13
FNC
50-FNC
59
High-Speed
Proc
essing
14
FM
C60-FN
C69
H
andy
In
struction
15
FN
C70-FN
C79
E
xternal
F
X
I/O
De
vice
16
FNC
80-FNC
89
External
FX
Dev
ice
17
FNC1
00-
FNC10
9
Dat
a
Transfer 2
18
FNC1
10-
FNC139
Fl
oa
ting Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
Operation 2
20
FNC1
50-
FNC159
Pos
itioning
Control
20.7
FNC158 – DRVI / Drive to Increment
Outline
This instruction executes one-speed positioning by incremental drive. The movement distance from the present
position can be specified, positive or negative.
→
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 +32767 (except 0) for 16-bit operation
−
999,999 to +999,999 (except 0) for 32-bit operation
*2.
Setting range: 10 to 32767 Hz for 16-bit operation
Following range for 32-bit operation
3. Applicable devices
S
1 : Specify Y000, Y001 or Y002
*1
transistor output from the main unit, or specify Y000, Y001, Y002
*3
, or Y003
*3
from a high-speed output special adapter
*2
.
*1.
Y002 is not available in 14-point and 24-point type FX
3G
PLC.
*2.
High-speed output special adapters can be connected only to FX
3U
PLC.
*3.
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.
Operand type
Description
Data type
Number of output pulses (relative address)
*1
16- or 32-bit binary
Output pulse frequency
*2
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
10 to 200,000 (Hz)
FX
3G
/FX
3U
/FX
3UC
PLC
Main unit (transistor output)
10 to 100,000 (Hz)
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
3
3
3
3
3 3 3 3
S
4
3 3
3
3 3
3
3
3
3
3 3 3 3
S
4
3 3
3
3 3
S
1
3
S
2
3
3
S
3
3
FNC 158
DRVI
D
DRVI
16-bit Instruction
9 steps
Mnemonic
Operation Condition
Continuous
Operation
DDRVI
32-bit Instruction
17 steps
Mnemonic
Operation Condition
Continuous
Operation
S
1
S
2
D
1
D
2
S
1
S
2
D
1
D
2