Omron CX-PROGRAMMER V8.1 Operation Manual page 73

Function blocks/ structured text
Table of Contents

Advertisement

Instance Specifications
Input
Contents
variable
data type
INT
Integer
DINT
Double integer
LINT
Long (8-byte) integer
UINT
Unsigned integer
UDINT
Unsigned double integer
ULINT
Unsigned long (8-byte)
integer
REAL
Real number
LREAL
Long real number
WORD
16-bit data
DWORD
32-bit data
LWORD
64-bit data
48
Size
Parameter value input
16 bits
Positive value: & or + followed
by integer
32 bits
Negative value:
64 bits
integer
16 bits
Positive value: & or + followed
by integer
32 bits
64 bits
32 bits
Positive value: & or + followed
by real number (with decimal
point)
Negative value:
64 bits
real number (with decimal
point)
16 bits
# followed by hexadecimal
number (4 digits max.)
& or + followed by decimal
number
32 bits
# followed by hexadecimal
number (8 digits max.)
& or + followed by decimal
number
64 bits
# followed by hexadecimal
number (16 digits max.)
& or + followed by decimal
number
(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.
Size
Function block variable data
1 bit
BOOL
16 bits
INT, UINT, WORD
32 bits
DINT, UDINT, REAL, DWORD
64 bits
LINT, ULINT, LREAL, LWORD
More than 1
Non-boolean
bit
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.
method
−32,768 to 32,767
−2,147,483,648 to 2,147,483,647
followed by
−9,223,372,036,854,775,808 to
9,223,372,036,854,775,807
&0 to 65,535
&0 to 4,294,967,295
&0 to 18,446,744,073,709,551,615
−3.402823 × 10
−38
10
3.402823 × 10
followed by
−1.79769313486232 × 10
−2.22507385850720 × 10
2.22507385850720 × 10
1.79769313486232 × 10
#0000 to FFFF or &0 to 65,535
#00000000 to FFFFFFFF or &0 to
4,294,967,295
#0000000000000000 to
FFFFFFFFFFFFFFFF or &0 to
18,446,744,073,709,551,615
Program symbol (global, local)
type
BOOL
INT, UINT, UINT BCD, WORD
DINT, UDINT, UDINT BCD, REAL,
DWORD
LINT, ULINT, ULINT BCD, LREAL,
LWORD
CHANNEL, NUMBER (see note)
Section 2-3
Setting range
38
to −1.175494 ×
−38
, 0, 1.175494 × 10
to
38
308
to
−308
, 0,
−308
,
308
data type

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-PROGRAMMER V8.1 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sysmac ws02-cxpc1-v8Sysmac cx-programmer 8.1

Table of Contents

Save PDF