Use the "info", "text", "warning" and "error" pragmas in objects with ST code (Structured Text) to generate compiler messages manually.
Use the "displaymode" pragma with the "bin", "dec" or "hex" parameters to always display individual variables in binary, decimal or hexadecimal format.
In objects with ST (Structured Text) code, use the "region" pragma to expand and collapse lines of code to increase the overview.
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.
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.
Instead of expanding or collapsing element by element in your device, navigator or test script trees, simply use your numpad. The video explains how.
In graphical editors you can use your own images to be displayed on boxes. Watch the video to learn how.
Use the backup/restore mechanism integrated in CODESYS to be prepared for unforeseen controller breakdowns. Open the device dialog of the connected controller by double-clicking on the device in the project tree and switch to the category "Backup and Restore". In the tab "Backup" you can read out the application information of the controller, select the desired scope and save it in a file. In the tab "Restore" you can open stored backup files, write them to the controller and in case of an...
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.
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.