![background image](http://html1.mh-extra.com/html/omron/sysmac-cx-programmer-9/sysmac-cx-programmer-9_operation-manual_744241068.webp)
42
Instance Specifications
Section 2-3
2-3
Instance Specifications
2-3-1
Composition of an Instance
The following table lists the items that the user must set when registering an
instance.
Instance Name
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.
Function Block
Instance Areas
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.
Item
Description
Instance name
Name of the instance
Language
Variable definitions
The programming and variables are the same as in
the function block definition.
Function block instance areas The ranges of addresses used by the variables
Comments
A comment can be entered for each instance.
CLOCK PULSE
EN
ENO
ON_TIME
OFF_TIME
Pulse_2sON_2sOFF
Instance name
&20
&10
Summary of Contents for SYSMAC CX-Programmer 9
Page 2: ......
Page 4: ...iv ...
Page 6: ...vi ...
Page 8: ......
Page 16: ...xvi ...
Page 20: ...xx ...
Page 26: ...xxvi Application Precautions 4 ...
Page 27: ...Part 1 Function Blocks ...
Page 28: ......
Page 154: ...128 Procedures Section 3 2 ...
Page 155: ...Part 2 Structured Text ST ...
Page 156: ......
Page 160: ...134 CX Programmer Specifications Section 4 2 ...
Page 206: ...180 Procedures Section 6 1 ...
Page 208: ...182 System defined external variables supported in function blocks Appendix A ...
Page 230: ...204 Revision History ...
Page 231: ......