Command ‘Online Config Mode’

Function: This command is for switching the online configuration mode on and off. At switch-on it establishes a connection to the PLC and loads an implicitly created application HiddenOnlineConfigModeApp to the PLC. Depending on the device, CODESYS goes into simple online configuration mode or a dialog box appears 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 correctly set.

Simple online configuration mode:

This command creates the implicit application HiddenOnlineConfigModeApp and loads it to the controller. The application automatically initializes all inputs and outputs of the controller once. After that you can access the I/Os as follows:

Advanced online configuration mode (parameter mode):

If there are already applications on the PLC and the controller supports it, the command first opens the dialog box Devices, which displays the applications existing on the controller. From this dialog you can connect via the button Parameter mode to the PLC and then access the values of the device parameters without having to log in with a real application.

Note

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 to the way it works in real online mode. The outputs are written immediately after insertion into the table. There is no Prepared value column; instead, the initial values can be changed directly after a double-click on the column Current value.

Dialog box ‘Config application mode’

This dialog box appears after the command Online Config Mode if the device supports the advanced online configuration mode and there are already real applications on the controller.

Parameter mode The controller configuration in the project is compared with that on the device. If they correspond, CODESYS establishes a connection to the PLC. Unlike the simple online configuration mode it permits the reading and – if supported by the driver – the writing of parameters in the generic device editor. The applications already loaded to the device remain unchanged in this case!
Config Application Mode CODESYS switches to the ‘simple online configuration mode’.

See also