Function Block Specifications - Omron SYSMAC CP Series User Manual

Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

4 Understanding Programming
4-3-3

Function Block Specifications

Defining and creat-
ing function blocks
Creating instances
FB Program Area
Storing function
blocks as files
4-10
Item
Number of function
64 max.
block definitions
Function block
32 characters max.
names
Variables
Variable names
Variable types
Number of variables used in a
function block (not including
internal variables, external vari-
ables, EN, and EN0)
Allocation of addresses used by
variables
Actual address specification
Array specifications
Language
Function blocks can be created in ladder programming language or
structured text.
Number of
128 max.
instances
Instance names
15,000 characters max.
E
Project files
The project file (.cxp/cxt) Includes function block definitions and
instances.
Program symbol
The file memory program file (*.obj) includes function block defini-
files
tions and instances.
Function block
Each function block definition can be stored as a single file (.cxf) for
library files
reuse in other projects.
Specifications
-type: 4K steps, S
-type: 8K steps, N
CP2E CPU Unit Software User's Manual(W614)
15,000 characters max.
Input variables (Inputs), output
variables (Outputs), internal vari-
ables (Internals), and external
variables (Externals)
Maximum number of variables
per function block definition
• Input-output variables: 16
max.
• Input variables + input-output
variables: 64 max.
• Output variables + input-out-
put variables: 64 max.
Automatic allocation (The alloca-
tion range can be set by the
user.)
Supported
Supported (one-dimensional
arrays only and only for internal
variables)
-type: 10K steps

Advertisement

Table of Contents
loading

Table of Contents