Exclusive Control between Tasks
You can restrict writing to global variables to a single task to prevent changes to the values of
global variables during processing. Specify this as a task setting, not as a variable attribute.
Attributes Supported by Each Type of Variable
The Data Type attribute defines the type of data and range of data that is expressed by a variable.
The amount of memory that is allocated when you declare a variable depends on the data type of that
variable. The more memory allocated, the larger the range of values that the variable can express.
The data types for the input, output, and in-out variables of instructions depend on the instruction. Set
the data types of input, output, and in-out parameters for the instruction arguments according to the
data types of the input, output, and in-out variables for that instruction.
Edge
An Edge attribute allows you to detect
when the input parameter of a function
block changes to TRUE or changes to
FALSE. This can be used only on BOOL
input variables.
• None
• Change to TRUE
• Change to FALSE
None
Type of variable
Variable
Name
Data
Type
AT Spec-
ification
Retain
Initial
Value
Constant
Network
Publish
Edge
Global variables
Sup-
ported.
Sup-
ported.
Sup-
ported.
Sup-
ported.
Sup-
ported.
Sup-
ported.
Sup-
ported.
Not sup-
ported.
Programs
Internal
variables
Sup-
ported.
Sup-
ported
Sup-
ported
Sup-
ported
Sup-
ported
Sup-
ported
Not sup-
ported.
Not sup-
ported.
External
variables
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
Function
blocks
Internal
variables
Sup-
ported.
Sup-
ported.
Sup-
ported.
Sup-
ported.
Sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
Input vari-
able
Sup-
ported.
Sup-
ported.
Not sup-
ported.
Sup-
ported.
Sup-
ported.
Sup-
ported.
Not sup-
ported.
Sup-
ported.
Output
variables
Sup-
ported.
Sup-
ported.
Not sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
In-out
variables
Sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
External
variables
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
Functions
Internal
variables
Sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
Sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
Input vari-
ables
Sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
Sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
Output
variable
Sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
In-out
variables
Sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
External
variables
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Not sup-
ported.
Sup-
ported.
Not sup-
ported.
Not sup-
ported.
6-3-5 Data Types
Attribute Description Specification Default