◆ Reset()

virtual void Reset ( )
pure virtual

Reset (power cycle) the controller.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
This resets the controller, which cycles the power on the controller and resets the SynqNet network.
Sample Code:
Reset (power cycle) the controller if the controller is in a ASYNQ state
// -- C++ -- //
if (controller->SynqNetStateGet() == RSISynqNetStateASYNQ)
{
controller->Reset();
}
// -- C# -- //
if (controller.SynqNetStateGet() == (int) RSISynqNetState.RSISynqNetStateASYNQ)
{
controller.Reset();
}
Note
All the configurations stored in the controller's flash memeory will be restored.