About the Programming category

Questions about implementing logic using IEC 61131-3 programming languages, ST OOP, C/C++, libraries, and solving programming challenges in automation projects.

:white_check_mark: Why should people use this category? What is it for?

This category is for discussing logic implementation and programming techniques used in industrial automation. It covers IEC 61131-3 standard languages such as Structured Text (ST), Ladder Diagram (LD), and Function Block Diagram (FBD), as well as object-oriented ST (ST OOP), C/C++, and the use of standard or custom libraries.

:magnifying_glass_tilted_left: How exactly is this different than the other categories we already have?

Unlike categories focused on software tools or hardware configuration, Programming is dedicated to the actual logic that drives machine behavior. It’s about how automation systems are programmed, not how they’re configured or visualized.

:pushpin: What should topics in this category generally contain?

  • Programming language and environment (e.g., ST, C++, AS version)

  • Description of the logic or challenge

  • Code snippets or error messages

  • Steps already taken and expected behavior

  • Optional test cases or unit testing setup

Adding a reply so that this post will not appear as an unsolved topic in the channel!