![background image](http://html1.mh-extra.com/html/omron/cs1-h-series/cs1-h-series_operation-manual_742526050.webp)
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.
Содержание CS1-H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ...viii TABLE OF CONTENTS...
Страница 15: ...xvi Application Precautions 4...
Страница 151: ...136 Procedures Section 3 2...
Страница 153: ...138 Data Types Appendix A...
Страница 177: ...162 External Variables Appendix C...
Страница 181: ...166 Revision History...