![Omron CX-PROGRAMMER V8.1 Скачать руководство пользователя страница 73](http://html1.mh-extra.com/html/omron/cx-programmer-v8-1/cx-programmer-v8-1_operation-manual_744203073.webp)
48
Instance Specifications
Section 2-3
(2) The size of function block input variables and output variables must
match the size of program symbols (global and local), as shown in the fol-
lowing table.
Note
The program symbol NUMBER can be set only in the input param-
eters. The value that is input must be within the size range for the
function block variable data type.
INT
Integer
16 bits
Positive value: & or + followed
by integer
Negative value:
−
followed by
integer
−
32,768 to 32,767
DINT
Double integer
32 bits
−
2,147,483,648 to 2,147,483,647
LINT
Long (8-byte) integer
64 bits
−
9,223,372,036,854,775,808 to
9,223,372,036,854,775,807
UINT
Unsigned integer
16 bits
Positive value: & or + followed
by integer
&0 to 65,535
UDINT
Unsigned double integer
32 bits
&0 to 4,294,967,295
ULINT
Unsigned long (8-byte)
integer
64 bits
&0 to 18,446,744,073,709,551,615
REAL
Real number
32 bits
Positive value: & or + followed
by real number (with decimal
point)
Negative value:
−
followed by
real number (with decimal
point)
−
3.402823
×
10
38
to
−
1.175494
×
10
−
38
, 0, 1.175494
×
10
−
38
to
3.402823
×
10
38
LREAL
Long real number
64 bits
−
1.79769313486232
×
10
308
to
−
2.22507385850720
×
10
−
308
, 0,
2.22507385850720
×
10
−
308
,
1.79769313486232
×
10
308
WORD
16-bit data
16 bits
# followed by hexadecimal
number (4 digits max.)
& or + followed by decimal
number
#0000 to FFFF or &0 to 65,535
DWORD
32-bit data
32 bits
# followed by hexadecimal
number (8 digits max.)
& or + followed by decimal
number
#00000000 to FFFFFFFF or &0 to
4,294,967,295
LWORD
64-bit data
64 bits
# followed by hexadecimal
number (16 digits max.)
& or + followed by decimal
number
#0000000000000000 to
FFFFFFFFFFFFFFFF or &0 to
18,446,744,073,709,551,615
Input
variable
data type
Contents
Size
Parameter value input
method
Setting range
Size
Function block variable data
type
Program symbol (global, local)
data type
1 bit
BOOL
BOOL
16 bits
INT, UINT, WORD
INT, UINT, UINT BCD, WORD
32 bits
DINT, UDINT, REAL, DWORD
DINT, UDINT, UDINT BCD, REAL,
DWORD
64 bits
LINT, ULINT, LREAL, LWORD
LINT, ULINT, ULINT BCD, LREAL,
LWORD
More than 1
bit
Non-boolean
CHANNEL, NUMBER (see note)
Содержание CX-PROGRAMMER V8.1
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ......
Страница 15: ...xvi...
Страница 19: ...xx...
Страница 25: ...xxvi Application Precautions 4...
Страница 26: ...Part 1 Function Blocks...
Страница 27: ......
Страница 153: ...128 Procedures Section 3 2...
Страница 154: ...Part 2 Structured Text ST...
Страница 155: ......
Страница 159: ...134 CX Programmer Specifications Section 4 2...
Страница 205: ...180 Procedures Section 6 1...
Страница 207: ...182 System defined external variables supported in function blocks Appendix A...
Страница 229: ...204 Revision History...
Страница 230: ......