![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262054.webp)
4 Understanding Programming
4-10
CP2E CPU Unit Software User’s Manual(W614)
4-3-3
Function Block Specifications
Item
Specifications
Defining and creat-
ing function blocks
Number of function
block definitions
64 max.
Function block
names
3
2 characters max.
Variables
Variable names
15,000 characters max.
Variable types
Input variables (Inputs), output
variables (Outputs), internal vari-
ables (Internals), and external
variables (Externals)
Number of variables used in a
function block (not including
internal variables, external vari-
ables, EN, and EN0)
Maximum number of variables
per function block definition
• Input-output variables: 16
max.
• Input var input-output
variables: 64 max.
• Output var input-out-
put variables: 64 max.
Allocation of addresses used by
variables
Automatic allocation (The alloca-
tion range can be set by the
user.)
Actual address specification
Supported
Array specifications
Supported (one-dimensional
arrays only and only for internal
variables)
Language
Function blocks can be created in ladder programming language or
structured text.
Creating instances
Number of
instances
12
8
max.
Instance names
15,000 characters max.
FB Program Area
E
-type: 4K steps, S
-type:
8
K steps, N
-type: 10K steps
Storing function
blocks as files
Project files
The project file (.cxp/cxt) Includes function block definitions and
instances.
Program symbol
files
The file memory program file (*.obj) includes function block defini-
tions and instances.
Function block
library files
Each function block definition can be stored as a single file (.cxf) for
reuse in other projects.
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......