Mitsubishi — 5.10.13 Reading the Present Position/Speed of an Axis

Chapter 5 Applied Instructions 5.10.13 Reading the Present Position/Speed of an Axis 1. Motion control function block The motion control function block T_MotionObserve is used to read the present position/speed of an axis. The value of the Axis input pin indicates an axis number. After the motion control function block is started, users can read the present position of the axis specified through the Position output pin, and the speed of the axis specified through the Velocity output pin. 2.

Input pins/Output pins 5-179 Input pin Name Function Data Setting value Time when a value is valid type Axis Motion axis number WORD K1~K16 The value of the Axis input pin is valid when there is a transition in the Enable input pin’s signal from low to high. Enable Enabling the reading of the present position/speed of the axis specified BOOL True/False - State of 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 Valid An output value is valid.

BOOL  There is a transition in the Valid output pin’s signal from low to high when there is a transition in the Enable input pin’s signal from low to high.  There is a transition in the Valid output pin’s signal from high to low when there is a transition in the Enable input pin’s signal from high to low.  There is a transition in the Valid output pin’s signal from high to low when there is a transition in the Error input pin’s signal from low to high.