Direct Variable Read
- Updated2025-07-30
- 3 minute(s) read
Reads from an I/O variable or I/O variable container using direct access.

Inputs/Outputs
shared variable refnum in
—
data type
—
data type specifies the data type of the shared variable or I/O variable container. For I/O variable containers, you must specify an array data type. This input is available only if the data type has not been previously specified. You can specify a data type by placing a checkmark in the Specify Data Type checkbox on the Configuration page of the Properties dialog box for the variable refnum. If you specify the data type upon opening the connection, this terminal is unavailable on subsequent read and write functions.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
shared variable refnum out
—
data out
—
data out is the data read from the shared variable or I/O variable container.
error out
—
error out contains error information. This output provides standard error out functionality.
timestamp
—
timestamp is the timestamp indicating when the current data was written to the shared variable. This output is available only if you place a checkmark in the Read Timestamp checkbox on the Configuration page of the Properties dialog box for the variable refnum. I/O variable containers do not support timestamps. |
shared variable refnum in
—
data type
—
error in (no error)
—
shared variable refnum out
—
data out
—
error out
—
timestamp
—