Function: The command is for switching the online configuration mode on and off. When switching on, it establishes a connection to the PLC and downloads an implicitly created “HiddenOnlineConfigModeApp” application to the PLC. Depending on the device, CODESYS goes into simple online configuration mode or a dialog opens for selecting between simple and advanced online configuration mode.
Call: Context menu of the PLC object in the device tree
Requirement: The communication settings for the PLC device are set correctly.
Simple online configuration mode
The command creates the implicit HiddenOnlineConfigModeApp
application and downloads it to the controller. The application automatically initializes
all inputs and outputs of the controller one time. After that you can access the I/Os as follows:
-
Read I/Os
-
Write outputs
-
Diagnosis (in the device tree and on the “Status” tab of the device editor)
-
Scan (of the current hardware)
-
Interactive online functions, if available (for example, writing asynchronous messages)
Advanced online configuration mode (parameter mode)
If there are already applications on the PLC and the controller supports it, the command first opens the “Devices” dialog, which displays the applications existing on the controller. In this dialog, you can click the “Parameter Mode” button to connect to the PLC and then access the values of the device parameters without having to log in with a real application.
Writing and forcing in the I/O mapping
Writing and forcing in the I/O mapping
In online configuration mode, the writing and forcing of values on the “I/O Mapping” tab works differently as in real online mode. The outputs are written immediately after insertion into the table. There is no “Prepared Value” column, but the initial values can be changed directly after you double-click the “Current Value” column.
-
Dialog: Select config mode