EasyManuals Logo

Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION User Manual

Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION
183 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #50 background imageLoading...
Page #50 background image
35
Instance Specifications Section 2-2
(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.
2-2-3 Operating Specifications
Calling Instances The user can call an instance from any location. The instance will be executed
when the input to EN is ON.
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)
0.0
1.0
D10
EN ENO
A B
D0
Instance
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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION Specifications

General IconGeneral
BrandOmron
ModelCX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION
CategorySoftware
LanguageEnglish

Related product manuals