Instance Specifications
2-3
Instance Specifications
2-3-1
Composition of an Instance
Instance Name
Function Block
Instance Areas
42
The following table lists the items that the user must set when registering an
instance.
Item
Instance name
Language
Variable definitions
Function block instance areas The ranges of addresses used by the variables
Comments
This is the name of the instance.
• Instance names can be up to 30,000 characters long.
• Instance names cannot contain spaces or any of the following characters:
! " # $ % & ' ( ) = - ~ ^ \ | ' @ { [ + ; * : } ] < , > . ? /
• Instance names cannot start with a number (0 to 9).
There are no other restrictions.
The instance name is displayed above the instance in the diagram.
Pulse_2sON_2sOFF
CLOCK PULSE
EN
ENO
&20
ON_TIME
&10
OFF_TIME
To use a function block, the system requires memory to store the instance's
internal variables, input variables, output variables, and input-output variables.
These areas are known as the function block instance areas and the user
must specify the first addresses and sizes of these areas. The first addresses
and area sizes can be specified in 1-word units.
When the CX-Programmer compiles the function, it will output an error if there
are any instructions in the user program that access words in these areas.
Description
Name of the instance
The programming and variables are the same as in
the function block definition.
A comment can be entered for each instance.
Instance name
Section 2-3
Need help?
Do you have a question about the CX-PROGRAMMER V8.1 and is the answer not in the manual?
Questions and answers