19
4 System variables
4 System variables
The system variables include the input and output variables as well as the internal variables.
The input and output variables can be used to exchange values of different data types between the de-
vice and the ST module integrated in the device. The internal variables are only relevant within the ST
module and can be used to implement certain functions.
4.1 Input variables
The input variables provide device values for use in the ST module.The input variables provide device
values for use in the ST module.
The values are assigned to the input variables in the setup program by selecting the respective signals
from the selectors (analog selector or digital selector).
Variables with fixed assignment in the device are not available in the selectors.
bool_in
real_in
dword_in
rtc.cdt
Designation Designation in the setup
program
Description
bool_in01
...
bool_in40
bool_in01
...
bool_in40
Boolean input variables; flexible assignment in the
setup program (digital selector)
Designation Designation in the setup
program
Description
real_in01
...
real_in40
real_in01
...
real_in40
Real input variables; flexible assignment in the set-
up program (analog selector)
Designation Designation in the setup
program
Description
dword_in01
...
dword_in08
(no designation, no assign-
ment)
These double-word input variables are not avail-
able on the device side. They can be used as a
buffer in the ST code.
Designation Designation in the setup
program
Description
rtc.cdt (no designation, fixed assign-
ment)
This input variable of type DT supplies the current
date and time of the device.
chapter 8.8 "Date and time", page 45