CODESYS Development System
Mapping a Hardware Structure in the Device Tree You map the hardware that you control with your application in the Devices view (device tree). To do this, insert device objects into this tree structur
CODESYS Development System
Configuring Devices and I/O Mapping Configuring devices You can configure the device objects inserted into the device tree in the associated device editor. The possibilities depend on the device descr
CODESYS Development System
Programming of Applications To create an application program which can be run on the controller, you fill POUs with declarations and implementation code (source code), establish the link from the cont
CODESYS Development System
Designating Identifiers Identifiers are names of variables and programming objects (for example programs, function blocks, and methods) and names of other objects of the application and project. There
CODESYS Development System
UTF-8 Encoding Basics Applications in CODESYS can process a wide variety of characters, for example, to output an error message in various languages. Or to display visualizations in a language selecte
CODESYS Development System
Declaration of Variables Variable declaration: Where and how? You can declare variables at the following locations: Declaration part of a POU The Declare Variable dialog helps you with this. Tip If yo
CODESYS Development System
Using the Declaration Editor The declaration editor is used for declaring variables in the variable lists and POUs. The declaration editor offers two possible views: textual view and tabular view. In
CODESYS Development System
Dialog: Using the Declare Variable Requirement: A programming object (POU or GVL) of a project is open. Click Edit → Auto Declare . The Declare Variable dialog opens. Select the desired scope for the
CODESYS Development System
Declaring Arrays Requirement: A programming object (POU or GVL) of a project is open. Click Edit → Auto Declare . The Declare Variable dialog opens. Select the desired scope for the array from the Sco
CODESYS Development System
Declaring Global Variables Declaring global variables which are available within the application Requirement: A project is open. In the Device tree of your project, select the application in which the