Toshiba V Series User Manual page 61

Integrated controller
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

(2) Classification of variables by the definition method
Two types of variables are provided. One type of variables is that the user can define their
names and types freely (user variables) and the other type is the variables whose names
and data types are already defined (standard variables).
The variables that the user can define are instance variables and temporary variables of
local variables, user variables of controller global variables, and station global variables.
Variable types are shown in the table below.
Notation
BOOL
INT
DINT
UINT
REAL
TIME
WORD
DWORD
(3) Classification by usage
Controller global variables and local variables are classified as described below
depending on their usage.
• Classification of controller global variables
Controller global variables are classified into system variables which are used to refer to
time information and error information, tag instrument variables which are used to refer
to parameters and data of tag instruments, user variables which can be used freely by
the user, and so on.
• Classification of local variables
Local variables are classified into temporary variables which are used temporarily when
program is executed and instance variables which are used in a prearranged manner
(statically) regardless whether program is executed or not.
6F8C1135
Table 3-3 Variable Types
Type
Bits
Boolean type
1
Integer type
16
Double precision
32
integer type
Unsigned integer type
16
Real number type
32
Timer type
32
Word type
16
Double word type
32
Effective data range
0, 1
− 32768 to 32767
− 2147483648 to 2147483647
0 to 65535
38
− 3.40282 × 10
to 3.40282 ×
38
10
Data type conforms to IEEE754.
0 to 2147483647ms
(24d20h31m23s647ms)
0000 to FFFF
00000000 to FFFFFFFF
3.2 Variables
3
39

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

L1 1000L1 lc511L1 lc512

Table of Contents