Mmc_Controller::getfbaxisrefio - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Controller::GetFbAxisRefIo

Gets the object of the axis information class (I/O mode) used in the function block class.
unsigned long GetFbAxisRefIo(
unsigned long stationNumber,
AXIS_REF **axisRef
);
Detailed description
■Parameter
Argument
stationNumber [in]
axisRef [out]
■Return value
Value
MMC_OK
MMERR_DEV_UNOPEN
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_CREATE_OBJECT
MMERR_LINK_DEVICE_SETTING
MMERR_CONDITION_READY_SIGNAL_OFF
■Point
• Call this method after setting the parameter, calling the SetUserProgramReady method, and turning ON the user program
READY signal [Y0].
• Because the axis information class objects gotten by this method are automatically deleted at the time of controller class
object delete, deleting this method is not necessary.
• This method gets the object of the axis information class (I/O mode). To get the axis information class (Motion mode), use
the GetFbAxisRef method.
■Supported version
API version
1.10
■Reference
None.
Description
Station No. (1 to 120)
Pointer to the axis information class object pointer.
Description
Function succeeded
The Open method of the device driver class has not been called.
The argument is outside the set range.
Failed to generate object.
Either RX/RY or RWw/RWr setting in network configuration settings incorrect.
The READY signal [X0] is OFF.
Software version
01
5 API LIBRARY DETAILS (FUNCTION BLOCK)
191
5.2 MMC_Controller Class
5

Advertisement

Table of Contents
loading

Table of Contents