INITIALISATION AND ON - OFF - STOPPING THE SIMULATOR

CONTROLLER INITIALISATION AND ON - OFF

Once an M2 controller connected to CLS M2 is loaded with a user program via the Controller/Write to the controller command, it can be started up using the "Controller / Controller On/Off / Initialise and on" command.

The program initialises all its non-conencted inputs, outputs and internal data specific to certain fuction blocks (for example: internal counter value) then starts program execution.

The operation of an M2 controller connected to CLS M2 can be stopped using the "Controller / Controller On/Off / Off" command. The electrical outputs of the controller are frozen in an inactive state: 0V.

RESTARTING THE CONTROLLER ON A POWER BREAK

In the event of a power break the program is stopped immediately and certain internal function block data is saved. This internal data is the data associated with the "initialisation on power break" or "save on power break" type parameters. If the internal link between CLS M2 and the controller is broken, this is signalled by a message in the application. If CLS M2 is in monitoring mode, it returns to edit mode.

When the power returns, the controller automatically sends an initialisation and switch on command but does not initialise the data the user configured to be saved in the event of a power break.

To re-establish the link between CLS M2 and the controller, simply send any command relating to the controller, such as Monitoring or Controller/Controller diagnostics.

RESTARTING THE CONTROLLER AFTER AN ERROR WHICH HAS BLOCKED THE CONTROLLER

In the event of an error which blocks the controller (for example, interruption of or interference on the controller <-> extension(s) link), the controller automatically changes to stop mode. The cause of the blockage can be found in the controller display dialogue boxes or via the front panel window.

To restart the controller once the cause of the blockage has been removed, use the "Controller / Controller On/Off / Initialise and On" command.

SIMULATION MODE: INITIALISATION AND ON - OFF - STOPPING THE PROGRAM AND POWER FAILURE

During the execution of a program in simulation mode, the program having been started directly after an initialisation, it can be stopped using the "Controller / Controller On/Off / Off" command.

It can be restarted using the "Controller / Controller On/Off / Initialise and On" command.

Via the simulation bar it is possible to:

  1. Freeze program simulation by clicking on the Stop button. Clicking on this button again will restart simulation at the point at which it was frozen.
  2. Simulate a power failure by clicking on the Power Supply button. Clicking on this button again will restart simulation, restoring the data saved at the user's request.

Back to Contents