The SLC password protects the configuration on the Safety Logic Controller against unauthorized access and unauthorized switching of the operating mode.
If you are connecting the first time to a non-configured Safety Logic Controller, you have to define an SLC password. If a password has already been defined (for example in an earlier session or via the SlcRemoteController visualization), enter this password and click to log on.
The minimum password length is six characters. The password is case-sensitive and can be a mix of up to 10 characters. Refer to Password Protection for Projects and Safety Logic Controller in the EcoStruxure Machine Expert - Safety - User Guide for detailed information.
The Safety Logic Controller can run in two different operating modes. The operating can be controlled via the dialog. To open this control dialog, click the icon on the main toolbar.
Refer to the section Safety Logic Controller Password for details on the logon procedure and password definition.
Description of the operating modes:
SLC operating mode |
Meaning |
---|---|
The safe mode restricts operations in the project that would otherwise influence the state or mode of operation of the SLC. In safe mode, it is possible to:
In safe mode, the dialog is red. The button is available in the dialog to switch to debug mode. |
|
Switching to debug mode means leaving the safe mode of operation. This is only possible after entering the correct SLC password (see section Safety Logic Controller Password for details).
NOTE: Switching to debug mode does not stop the program execution on the SLC.
In debug mode it is possible to:
In debug mode, the dialog is gray. The button is visible in the dialog to switch to safe mode. |
After you have clicked the
or button to activate the other mode, you must confirm the mode transition to activate the desired mode.If the SLC runs in debug mode and the connection between Machine Expert - Safety and SLC is interrupted, or the control dialog is closed and the variable status is deactivated, a debug watchdog timer starts. If the connection to the SLC can be reestablished and you continue debugging or switch the target back to safe mode within 10 minutes, the debug watchdog is reset. If the debug watchdog timer exceeds 10 minutes, the SLC sets the state to STOP [Debug] and writes an error to the error stack. The machine is signaled to assume the defined safe-state. You cannot switch to safe mode again. In this case, you have to restart the SLC.
The state machine of the Safety Logic Controller knows several different states. The current state is displayed in the dialog. You can open this control dialog by clicking the icon on the main toolbar.
Possible states are:
SLC state |
Meaning |
---|---|
On |
SLC power supply on, no program downloaded. |
Program downloaded, start up in progress. |
|
Program loaded but not executing. I/O images are not updated. |
|
Program is executing. Variable status possible. |
|
Program is not executing. Download possible. |
|
Program is executing. Variable status and forcing/overwriting/single cycle mode possible. |
|
Program is halted in single cycle mode. |
After you have compiled your project without errors (see section Compiling the Safety-Related Project), you must download it to the Safety Logic Controller. The download includes the machine-readable application code as well as the parameterization data.
WARNING | |
---|---|
Download procedure in Machine Expert - Safety:
Step |
Action |
---|---|
1 |
Before downloading the project, ensure that you have set the SLC communication path (see section Defining the Communication Path) and the SLC is connected, and switched on. |
2 |
Click the icon on the toolbar. Result:
|
3 |
If you are connecting the first time to an unconfigured Safety Logic Controller, you have to define a Safety Logic Controller password. Refer to the section Safety Logic Controller Password for details. Result: The control dialog appears.
NOTE: If the simulation mode is activated and safe mode is simulated, the dialog only shows a red border instead of a red background. In debug mode, no difference is visible between simulation and Safety Logic Controller. Make certain that the desired target (Safety Logic Controller or simulation) is connected when working with the dialog. Refer to Using the Simulation in the EcoStruxure Machine Expert - Safety - User Guide for information how to activate/deactivate the simulation mode.
|
4 |
In the control dialog, click the button to switch the Safety Logic Controller to debug mode (if not yet activated). Result: A confirmation message box appears. |
5 |
Observe the message and confirm the dialog within 30 seconds. Result:
|
6 |
In the control dialog, click the button.Result:
|
7 |
Confirm this message. Result: The SLC is restarted and then transitions to a RUN [Safe] state automatically. Depending on the configuration, this may take some time. Observe the note below the table. For detailed information on the possible SLC states, refer to Safety Logic Controller States in the EcoStruxure Machine Expert - Safety - User Guide. |
8 |
Perform a functional test on the project and monitor the application. |
After you have downloaded the project to the SLC, followed by the automatic transition to RUN [Safe] state, you must perform a functional test to ensure that the SLC is working correctly and, therefore, that the safety logic and the wiring are working correctly as well. The functional test must also include the positioning of the safety equipment and the verification of the correctly set safety response time.
WARNING | |
---|---|
When testing and commissioning the system, unintentional system states or incorrect responses must be anticipated.
WARNING | |
---|---|
To support you in functional testing, Machine Expert - Safety enables you to open code/variables worksheets in online mode and display the variable status. This means that the variables values are cyclically read from the SLC and displayed in the worksheets as they are stored in the I/O image at the end of an execution cycle. The variable status corresponds to online monitoring of worksheets.
Variable status is possible while the SLC is running in safe mode and in debug mode.
Online monitoring of the safety application:
Step |
Action |
---|---|
1 |
Click the icon on the toolbar or press .Result:
|
2 |
If open function block code worksheets are instantiated several times and you want to display the variable status for these worksheets, a message appears. This dialog indicates that you must use the menu command to call these worksheets in online mode. |
Refer to Monitoring: Displaying the Variable Status in the EcoStruxure Machine Expert - Safety - User Guide for details on the layout and colors used in online worksheets. This applies also to the watch window which you can use for collecting variables from different worksheets and displaying their online values (help chapter Monitoring: Using the Watch Window).
As a supplement to the functional system test, you can use the debug mode in Machine Expert - Safety while commissioning the application. In debug mode, you can force and overwrite variables.
Forcing and overwriting means assigning a new value to a variable. Overwriting is possible for variables without assigned signal (only memory variables but not I/O variables). The value is overwritten (set) only once at the beginning of the task execution cycle. Then, the variable is processed normally. Thus, the new value of the variable remains until a write access is performed within the application. Forcing is only possible for variables connected to process data items (I/O variables). Forcing means setting the I/O variable to the force value, regardless of the logic of the I/O image until forcing is manually reset.
WARNING | |
---|---|
WARNING | |
---|---|
Forcing/overwriting a variable in graphical FBD/LD code:
Step |
Action |
---|---|
1 |
Click the SLC. See section Downloading and Starting the Safety Application for details. icon on the toolbar and log-on to the |
2 |
In the control dialog, click the button. |
3 |
Observe the appearing message and confirm the dialog within 30 seconds. |
4 |
Open the worksheet to be debugged in variable status by clicking the icon on the toolbar or pressing . |
5 |
Double-click the variable to be forced or overwritten. Result: The dialog appears. |
6 |
In the dialog, enter the desired value for a non-Boolean variable or select TRUE or FALSE for a Boolean variable. |
7 |
Click or depending on the desired operation and variable type.Result: The forcing/overwriting is applied as described at the beginning of this section. Forced variables are shown on a pink background. |
Unforcing variables:
Step |
Action |
---|---|
1 |
Select from the context menu of the variable (in variable status).Result: The dialog appears. |
2 |
Click to unforce the selected variable.Click to unforce each forced variable. |
In debug mode, Machine Expert - Safety provides an additional debug function referred to as single cycle operation. In single cycle operation, the Safety Logic Controller interrupts the continuous cyclic processing.
Refer to Debugging: Forcing, Overwriting, Single Cycle Operations in the EcoStruxure Machine Expert - Safety - User Guide for details on forcing/overwriting and single cycle mode.