◆ Create()

static MotionController* Create ( )

Initialize and start the RMP EtherCAT controller.

ℹ This function is avaliable in RapidCode

Part of the Create and Initialize RapidCode Objects method group.

Create returns a pointer to the MotionController object it represents, and starts RMP.rta if it is not already running
(MotionController*) A static pointer to the controller specified.
Sample Code:
Initialize the RMP EtherCAT motion controller.
// -- C++ -- //
MotionController *controller = MotionController::Create();
// -- C# -- //
MotionController myController = MotionController.Create();
The controller is initialized when this function is called. During the initialization process, if RMP.rta is not running, it will be started. The EtherCAT network is NOT started.
See also
NetworkStart, NetworkStateGet, Delete