Programming a PLC project
To create an application program that can run on the controller, fill POUs with declarations and implementation code (source code), link the I/Os of the controller to program variables, and configure a task assignment. After checking and debugging, the compiler creates the program code that can be loaded onto the controller.
Programming of the project blocks (POUs) is supported by the programming language editors and certain further functionalities such as pragmas and refactoring, and the application of ready-made function blocks from TwinCAT 3 PLC libraries.
Tools exist for syntax checking and code analysis, for creating data persistence and for encrypting the program code that is loaded onto the controller.
See also:
Further Information
- Assigning identifiers
- Declaring variables
- Creating user-specific data types
- Creating programming objects
- Creating source code in IEC
- Creating a referenced task
- Creating a class diagram
- Configuring the memory reserve for Online Change
- Calling a function block, function or method with external implementation
- Using the input wizard
- Using pragmas
- Managing text in a text list
- Using image pools
- Checking the syntax and analyzing the code
- Orientation and navigation
- Find and Replace in the entire project
- Refactoring
- Data persistence
- Using function blocks for implicit checks
- Object-oriented programming