Good to Know

CODESYS Tipp
Connection to a gateway server of a different computer

The connection from the CODESYS Development System installed on a PC to the controller is established via the CODESYS Gateway Server, which is installed during setup. The Gateway Server service is started automatically. Typically, you can use the local gateway server on your own PC to connect to the available devices.

You can also connect to any gateway server via its IP address, for example if a device is connected to a remote PC via serial interfaces. In order to do this, simply add a new...

Online Config Mode CODESYS
Online Config Mode
With the Online Config Mode you can test the wiring and function of configured I/Os or drives before having written a real application. Right-click on the device tree and select "Online Config Mode".
Tipp CODESYS
Editing column by column

Press the ALT key and use the mouse to select columns in the declaration part or in text editors. Texts marked in this way can be deleted or edited in one go, e.g. by typing in new variable names.

Tipp CODESYS
Quick declaration of variables with standard data types
To quickly create BOOL variables, use [Variable Name] <Ctrl> + <Enter> in the declaration part of the program editors.
Tipp CODESYS
Visualization styles
In case you want to be able to quickly and easily switch the look and feel of a visualization to quite different requirements, use visualization styles.
Tipp CODESYS
F4 Key

If the project cannot be translated due to syntactic errors or if there are other messages in the message window, you can systematically process the list of messages by pressing F4. CODESYS immediately jumps to the place in the source code belonging to the message.