Mcv_Readservoparameter Class - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MCv_ReadServoParameter class

Reads the parameter value of the servo parameter No. of the specified axis.
class MCv_ReadServoParameter : public MC_FunctionBlock
Member
■Input
Name
Variable name
Axis information
Axis
Execution
Execute
command
Object index
ObjectIndex
■Output
Name
Variable name
Execution
Done
completion
Error
Error
Error code
ErrorID
Read value
Value
Timing chart
■Normal completion
Execute
Value
Done
Error
ErrorID
■Abnormal completion
Execute
Value
Done
Error
0
ErrorID
Data type
Fetch
AXIS_REF*
bool
Startup only
unsigned short
Startup only
Data type
Initial value
bool
OFF
bool
OFF
unsigned short
0
unsigned short
0
Hexadecimal
0
Error code
Valid range Description
Specifies the pointer to the axis information class object.
ON/OFF
Executes the function block when ON.
2001H to
Specifies an object index No. of the servo parameter.
25A0H
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.
Outputs the value read from the specified parameter.
5 API LIBRARY DETAILS (FUNCTION BLOCK)
5.1 MC_FunctionBlock Class
5
185

Advertisement

Table of Contents
loading

Table of Contents