Mmc_Controller::getslaveio (C++) - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Controller::GetSlaveIo (C++)

Gets I/O class object.
unsigned long GetSlaveIo(
unsigned long stationNumber,
MMC_Io **slaveIo
);
Detailed description
■Parameter
Argument
stationNumber [in]
slaveIo [out]
■Return value
Value
MMC_OK
MMERR_DEV_UNOPEN
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_CREATE_OBJECT
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 objects gotten by this method are automatically deleted at the time of controller class object delete, calling the
Delete method of the I/O class is not necessary.
■Supported version
API version
1.00
■Reference
None.
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
36
3.2 MMC_Controller Class
Description
Station No. (1 to 120)
Pointer to the I/O 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.
The READY signal [X0] is OFF.
Software version
01

Advertisement

Table of Contents
loading

Table of Contents