Mc_Power Class - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MC_Power class

Changes the servo amplifier of the specified axis to an operable state.
class MC_Power : public MC_FunctionBlock
Member
■Input
Name
Variable name
Axis information
Axis
Enable
Enable
■Output
Name
Variable name
Operable
Status
Error
Error
Error code
ErrorID
Timing chart
■Normal completion
Enable
Status
Error
ErrorID
■Abnormal completion
Enable
Status
Error
ErrorID
Error code
Value
MMERR_FB_READY_SIGNAL_OFF
MMERR_FB_SERVO_POWER_OFF
MMERR_FB_AXIS_NUMBER
MMERR_FB_UNIT
MMERR_FB_SERVO_PARAMETER_INACCESSIBLE
MMERR_FB_LINK_DEVICE_INACCESSIBLE
Data type
Fetch
Valid range Description
AXIS_REF*
bool
Startup only
ON/OFF
Data type
Initial value
bool
OFF
bool
OFF
unsigned short
0
0
Error code
Description
The READY signal [X0] is OFF.
The control circuit power supply of the servo amplifier is OFF, or the servo amplifier is not
connected.
A value outside the range is set to the axis No.
A value outside the range is set to the unit.
The servo parameter setting cannot be referred to.
Access to the link devices is disabled.
Specifies the pointer to the axis information class object.
While Enable is turned ON, axis control is enabled.
Description
Indicates an operable state.
When ON, this indicates an error occurrence in the function
block.
Returns the error code of the error that occurred in the function
block.
5 API LIBRARY DETAILS (FUNCTION BLOCK)
5.1 MC_FunctionBlock Class
5
153

Advertisement

Table of Contents
loading

Table of Contents