Operating Specifications - Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION Operation Manual

Function blocks
Table of Contents

Advertisement

Instance Specifications
Input
Contents
variable
data type
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
2-2-3

Operating Specifications

Calling Instances
Size
Parameter value input
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.
The user can call an instance from any location. The instance will be executed
when the input to EN is ON.
Instance
1.0
0.0
EN
ENO
D0
D10
A
B
method
&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)
In this case, the input to EN is bit 0.0 at the left of the diagram.
• When the input to EN is ON, the instance is executed and
the execution results are reflected in bit 1.0 and word D10.
• When the input to EN is OFF, the instance is not executed,
bit 1.0 is turned OFF, and the content of D10 is not changed.
Section 2-2
Setting range
38
to −1.175494 ×
− 38
, 0, 1.175494 × 10
to
38
308
to
− 308
, 0,
− 308
,
308
data type
35

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Cx-programmer 5.0Sysmac ws02-cxpc1-e-v50Cs1-hCj1-hCj1m

Table of Contents

Save PDF