Programming style

This section of PLC programming conventions covers the following topics.

Font and editor settings

  1. Use same font settings [+]

Language

  1. Use English language [+]
  2. Observe valid characters [+]

Project structure

  1. Modular project structure [+]
  2. Folder structure [+]
  3. Sorting schema in the project tree [+]
  4. No unused declarations/objects or useless code [+]

Program structure

  1. Object-orientated programming [+]
  2. Structure of program elements [+]
  3. Structure of text blocks [+]
  4. Comments [+]