Keywords
Every programming language has keywords. Keywords are reserved words for a programming language that performs certain tasks. For example, keywords are used to declare control statements, function blocks, functions, datatypes for tags, variable blocks, and so much more. In other words, keywords are commands. When a keyword is used, it will signal to the PLC to do something such as compare two numbers or create a variable.
Keywords cannot be used to name variables, functions, function blocks, or anything else; as such, they are referred to as reserved words. Keywords in a decent programming editor will change color to let you know that you are using a reserved word. Keywords will vary greatly from language to language as well as their functionality.
Dos and don’ts of learning keywords and syntax
Keywords and syntax can pose a major pitfall to developing programmers. Many inexperienced developers feel they have to memorize a language’s syntax and keywords...