Mc_Readstatus Class - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MC_ReadStatus class

Returns the detailed state of the state diagram of the specified axis.
class MC_ReadStatus : public MC_FunctionBlock
Member
■Input
Name
Variable name
Axis information
Axis
Enable
Enable
■Output
Name
Variable name
Output value valid
Valid
Error
Error
Error code
ErrorID
ErrorStop state
ErrorStop
Disabled state
Disabled
Stopping state
Stopping
Homing state
Homing
Standstill state
Standstill
DiscreteMotion state
DiscreteMotion
ContinuousMotion state
ContinuousMotion
SynchronizedMotion state
SynchronizedMotion
Data type
Fetch
Valid range Description
AXIS_REF*
bool
Startup only
ON/OFF
Data type
Initial
value
bool
OFF
bool
OFF
unsigned short
0
bool
OFF
bool
OFF
bool
OFF
bool
OFF
bool
OFF
bool
OFF
bool
OFF
bool
OFF
Specifies the pointer to the axis information class object.
Executes the function block when ON.
Description
While this device is ON, this indicates that the output value is
valid.
When ON, this indicates an error occurrence in the function
block.
Returns the error code of the error that occurred in the function
block.
Indicates that the axis is in the ErrorStop state.
(Page 147 Axis information class state diagram)
Indicates that the axis is in the Disabled state.
(Page 147 Axis information class state diagram)
Indicates that the axis is in the Stopping state.
(Page 147 Axis information class state diagram)
Indicates that the axis is in the Homing state.
(Page 147 Axis information class state diagram)
Indicates that the axis is in the Standstill state.
(Page 147 Axis information class state diagram)
Indicates that the axis is in the DiscreteMotion state.
(Page 147 Axis information class state diagram)
Indicates that the axis is in the ContinuousMotion state.
(Page 147 Axis information class state diagram)
Indicates that the axis is in the SynchronizedMotion state.
(Page 147 Axis information class state diagram)
5 API LIBRARY DETAILS (FUNCTION BLOCK)
5.1 MC_FunctionBlock Class
5
179

Advertisement

Table of Contents
loading

Table of Contents