This diagram describes the controller operating mode:
ALL-CAPS BOLD: Controller states
Bold: User and application commands
Italics: System events
Normal text: Decisions, decision results, and general information
(1) For details on STOPPED to RUNNING state transition, refer to Run Command.
(2) For details on RUNNING to STOPPED state transition, refer to Stop Command.
The outputs assume their hardware initialization states. The encoder power supply is not enabled. The voltage is 0. The alarm relay is closed.
In some cases, when a system error is detected, it causes the controller to reboot automatically into the EMPTY state as if no Boot application were present in the non-volatile memory. However, the Boot application is not deleted from the non-volatile memory. In this case, the ERR LED (red) flashes fast and regularly.
After verification of a valid Boot application the following events occur:
The application is loaded into RAM.
The Post Configuration file settings (if any) are applied.
During the load of the boot application, a Check context test occurs to verify that the Remanent variables are valid. If the Check context test is invalid, the boot application loads but the controller transitions to the STOPPED state.
When a power interruption occurs, the controller continues in the RUNNING state for at least 4 ms before shutting down. If you have configured and provide power to the Run/Stop input from the same source as the controller, the loss of power to this input is detected immediately, and the controller behaves as if a STOP command was received. Therefore, if you provide power to the controller and the Run/Stop input from the same source, your controller reboots normally into the STOPPED state after a power interruption when is set to .
During a successful application download the following events occur:
The application is loaded directly into RAM.
By default, the Boot application is created and saved into the non-volatile memory.
The default behavior after downloading an application program is for the controller to enter the STOPPED state irrespective of the Run/Stop input setting, the Run/Stop switch position or the last controller state before the download.
However, there are two considerations in this regard:
Online Change |
An online change (partial download) initiated while the controller is in the RUNNING state returns the controller to the RUNNING state if successful and provided the Run/Stop input is configured and set to Run or Run/Stop switch is set to Run. Before using the Login with online change option, test the changes to your application program in a virtual or non-production environment and confirm that the controller and attached equipment assume their expected conditions in the RUNNING state.
NOTE: Online changes to your program are not automatically written to the Boot application, and are overwritten by the existing Boot application at the next reboot. If you wish your changes to persist through a reboot, manually update the Boot application by selecting in the online menu (the controller must be in the STOPPED state to achieve this operation).
|
||||
Multiple Download |
EcoStruxure Machine Expert has a feature that allows you to perform a full application download to multiple targets on your network or fieldbus. One of the default options when you select the command is the option, which restarts all download targets in the RUNNING state, provided their respective Run/Stop inputs are commanding the RUNNING state, but irrespective of their last controller state before the multiple download was initiated. Deselect this option if you do not want all targeted controllers to restart in the RUNNING state. In addition, before using the Multiple Download option, test the changes to your application program in a virtual or non-production environment and confirm that the targeted controllers and attached equipment assume their expected conditions in the RUNNING state.
NOTE: During a multiple download, unlike a normal download, EcoStruxure Machine Expert does not offer the option to create a Boot application. You can manually create a Boot application at any time by selecting in the on all targeted controllers.
|
The EcoStruxure Machine Expert software platform allows many powerful options for managing task execution and output conditions while the controller is in the STOPPED or HALT states. Refer to Controller States Description for further details.
To exit the HALT state it is necessary to issue one of the Reset commands (Reset Warm, Reset Cold, Reset Origin), download an application or cycle power.
In case of non-recoverable event (hardware watchdog or internal error), a power cycle is mandatory.
The RUNNING state has two exception conditions:
RUNNING with External Error: this exception condition is indicated by the I/O LED, which displays solid red. You may exit this state by clearing the external error (probably changing the application configuration). No controller commands are required, but may however include the need of a power cycle of the controller. For more information, refer to I/O Configuration General Description.
RUNNING with Breakpoint: this exception condition is indicated by the RUN LED, which displays a single green flash. Refer to Controller States Description for further details.