Good to Know

Preview CODESYS Pragma Region
Better overview of ST code via Pragma

In objects with ST (Structured Text) code, use the "region" pragma to expand and collapse lines of code to increase the overview.


CODESYS Clip: Better overview of ST code via Pragma

Screenshot video clip CODESYS Visualization
Turn your visualization objects into reusable visualization elements

To do this, create your own variables for the visualization in the Interface editor of the visualization. Use these variables for the animation. When inserting an object prepared in this way into a new visualization, you can connect the visualization variables with the real variables of the control application. In this way, you can use newly created elements several times and even store them in libraries.

CODESYS Clip: Turn your visualization objects into reusable visualization elements

Screenrecord CODESYS Visualization Multiselect
Create your visualizations faster by using multiple selection

Press and hold the shift key to multi-select the visu elements you want to edit. CODESYS automatically filters all common properties that can be modified and displays them. This way you can change several settings in one go.

CODESYS Clip: Create your visualizations faster by using multiple selection

Accelerate your workflow in the CODESYS Development System. Use keyboard shortcuts.

Instead of expanding or collapsing element by element in your device, navigator or test script trees, simply use your numpad. The video explains how.

CODESYS Clip: Use keyboard shortcuts in CODESYS

Screenshot CODESYS Funktionsblöcke function blocks
CODESYS Development System - Customize your function blocks

In graphical editors you can use your own images to be displayed on boxes. Watch the video to learn how.

CODESYS Clip: Customize your function blocks

Screenshot CODESYS array transfer
Array transfer with variable lengths

Create functions (FUN) or function blocks (FB) according to IEC 61131-3 3rd Edition, to which you transfer arrays with variable lengths. Declare a VAR_IN_OUT with the star operator "*" in FUN/FB and read out the transferred array boundaries with the global functions "LOWER_BOUND" and "UPPER_BOUND". FUN/FB created in this way can be called and used with arrays of different lengths.

Larger Arrays

The CODESYS Development System displays a maximum of 1000 fields of arrays in the online view in the declaration part. If you use larger arrays, you can freely select the area of the 1000 displayed fields by double-clicking on the array.

CODESYS Clip: Use larger arrays

Preview CODESYS KOP Clip
LD: Change from contacts to coils or vice versa

In the LD editor, drag a coil into the left part of the network to make a contact out of it. Or drag a contact to the right to make it a coil.

CODESYS Clip: LD: Change from contacts to coils or vice versa

Screenshots CODESYS Hotkeys
The most important hotkeys

F1: Online Help: With Internet connection: Display in browser (version and language freely selectable). Without Internet connection: Display in the integrated help tool (for the specific version of the tool).
F2: Input help for the simplified declaration of variables, instances, arrays etc. or their editing
F4: Step-by-step jumping (from top to bottom) of the messages in the message window, simultaneously direct jumping to referenced code positions
F5: Start execution of the application
F8:...

Protect your CODESYS project against unauthorized changes or access

Under Project/Project Settings in the category "Security" you will find settings for project signing and encryption. Make sure, however, that you secure your password, dongle or certificate against loss in order not to lose access to the project.

CODESYS Clip: Protect your CODESYS project

Jobs @ CODESYS