Add Variables to a Ladder Diagram
Each value that is read or written by your Ladder Diagram is represented by a variable or a constant. Constant values are fixed values and are described in Add a Constant Value to a Ladder Diagram. Variable values change according to the data that is stored in your system and the calculations that are performed on it.
There are 2 types of variable:
- Internal variables are values that are used by the program but are not written to an item in the database. For example, values that are used in a conversion.
- Direct variables are values that are stored in the database, for example, a point value.
The following sections explain how to add variables to your Ladder Diagram: