Introduction: Safety Online
Like CODESYS Standard, CODESYS Safety Extension also supports an online mode.
The functions of the online mode serve debugging and diagnosis in the development and verification of a safety application.
The online commands can be executed on the selected device object, on the device editors and on the selected or active application object. The online functionality of CODESYS Safety Extension does not differ in principle from the online functionality of CODESYS Standard. The special features of the online functionality of CODESYS Safety Extension are described in this section.
Terminology
Online: In online mode, the programming system is connected to the safety controller. This means that there is a connection either to the application currently loaded to the safety controller or to the boot application on the safety controller. Debug commands can be executed in online mode.
Offline: In offline mode, the programming system is not connected to the controller.
Safe mode: State in which the BA runs without disturbance
Debug mode (unsafe mode): State in which either a download application runs instead of the boot application or in which the running of the boot application was influenced or can be influenced by debug commands. (see: Debug mode)
Download application: Current, error-free translated safety application which is loaded when logging in to the controller. The download application no longer exists on the controller after logging out.
Boot application: A boot application is created from the download application in online mode and stored on the safety controller. It remains on the controller after logging out and starts after restarting the safety controller.
Confirmed Connection: A confirmed connection is required for every online functionality on site between CODESYS Safety Extension and a safety controller. With the connection confirmation, the user confirms that the network connection has connected him with the correct controller.
A confirmed connection is possible in safe mode and debug mode.
Connection for teleaccess: Teleaccess is used for PLC diagnosis and it is possible in safe mode only. The following functionalities are available during teleaccess:
Show and save log
Display PLC details and firmware details
Login for equality to the project (no download)
Monitoring
Danger
The developer is responsible for ensuring the safety of the plant/machine over the entire time period in which the safety controller is in debug mode (e.g. by cordoning off the machine (organizational measure).
Important
In order for the CODESYS online functions and input assistance to work for the safety application, they must fulfill the standard compiler version as well as the safety language subset. If a later compiler version is used in the project, then additional limitations may result for the safety application. For example, there may be new keywords that can no longer be used as identifiers.
You detect a violation of such additional limitations when you log in for the first time, not with the Project environment in the CODESYS Help.
command. A corresponding message appears and login is not possible. For setting the compiler version, see