
174
Part 2 Programs
z
MVDI (Move relatively via direct value specification)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional
MVDI
Travel
distance
(Axis pattern)
PE
[Function] Move the axis specified by the axis pattern in operand 2 from its current position by the travel
distance corresponding to the value specified in operand 1. If operand 2 is not specified, all
axes will be moved.
The output will turn OFF at the start of axis movement, and turn ON when the movement is
complete.
The travel distance is set in mm, and the set value is valid to the third decimal place.
(Note) If the specified travel distance is equal to or less than the travel distance per encoder pulse [mm/pulse], the
axis may not move.
[Calculation formula of travel distance per encoder pulse]
Rotary
encoder
Travel distance per encoder pulse [mm/pulse] =
(Screw lead [0.001 mm] x Gear ratio numerator)
/ (Encoder resolution [pulses/rev] x Gear ratio denominator
/ (2 ^ Encoder division ratio)
Linear
encoder
Travel distance per encoder pulse [mm/pulse] =
Encoder resolution (0.001
P
m/pulse) x 1000
/ (2 ^ Encoder division ratio)
(Reference) Use the values of the following parameters for the above calculation formulas:
Encoder resolution:
Axis-specific parameter No. 42
Encoder division ratio: Axis-specific parameter No. 43
Screw lead:
Axis-specific parameter No. 47
Gear ratio numerator:
Axis-specific parameter No. 50
Gear ratio denominator: Axis-specific parameter No. 51
[Example 1]
MVDI
30
11
Move all axes from the current position by 30 mm in the
positive direction.
[Example 2]
LET
1
-100
Assign -100 to variable 1.
MVDI
*1
1
Move axis 1 from the current position in accordance with the
content of variable 1 (-100), or by 100 mm in the negative
direction.
Summary of Contents for PSEL
Page 2: ......
Page 10: ......
Page 18: ...8 Part 1 Installation ...
Page 37: ...27 Part 1 Installation 2 2 axis specification with battery ...
Page 382: ...372 Appendix Micro cylinder RCL Series Current limiting value ratio Push force N ...
Page 476: ...466 Appendix ...
Page 480: ...470 ...
Page 485: ...475 ...
Page 487: ...INTELLIGENT ACTUATOR SEL Language Programming Manual Eighth Edition ...
Page 488: ......
Page 490: ......
Page 494: ......
Page 518: ...24 ...
Page 526: ...32 ...
Page 831: ... 11 Actuator Control Declaration 337 Example DFIF 1 170 ...
Page 1060: ......
Page 1061: ......