Mitsubishi — 5.10.4 Relative Two-speed Motion

Chapter 5 Applied Instructions 5-151 Input pin Name Function Data Setting value Time when a value is valid type Distance2 Relative distance for which the second motion moves DWORD K-2,147,483,646~ K2,147,483,646 (If the value of the Distance1 input pin is a positive value, the value of the Distance2 input pin must be a positive value. If the value of the Distance1 input pin is a negative value, the value of the Distance2 input pin must be a negative value.) The value of the Distance2 input pin is valid when there is a transition in the Execute input pin’s signal from low to high.

Velocity2 Target speed of the second motion DWORD K1~K2,147,483,647 The value of the Velocity2 input pin is valid when there is a transition in the Execute input pin’s signal from low to high. Output pin Name Function Data type Time when there is Time when there is a transition in an output pin’s signal from high to low a transition in an output pin’s signal from low to high Done The execution of the motion control function block is complete. BOOL  There is a transition in the Done output pin’s signal when motion is complete.  There is a transition in the Done output pin’s signal from high to low when there is a transition in the Execute input pin’s signal from high to low.

 If the Execute input pin is set to False when motion is complete, the Done output pin will be set to False in the next cycle.