Omron CX-PROGRAMMER V9 - REV 12-2009 Operation Manual page 160

Table of Contents

Advertisement

PART 1: CX-Programmer
CHAPTER 4 – Reference
Use the following procedure to add a symbol.
1, 2, 3...
Auto Generation of Symbols
It is possible to create symbols without giving them a name, but certain restrictions apply:
This can only be done in the Global Symbol table.
An address and comment must be given.
The data type must be BOOL or CHANNEL.
These are called unnamed symbols, and normally they would appear in the symbol table or ladder diagram with
no name.
However, an option is provided to automatically generate a symbol name for unnamed symbols. The
Tools|Options|Symbols dialog contains a checkbox marked 'Automatically Generate Symbol Names'. If this
option is selected then names are automatically generated for unnamed symbols, and these names have a
standard format of AutoGen_[Address], where 'Address' is replaced with the symbol's address. If two or more
symbols of this type have the same address, a (Copy Of #) is suffixed, where # is a unique number.
CX-Programmer _Page 80
1. From the Insert menu select Symbol or right click on the symbols folder and select
Insert Symbol. The New Symbol dialog is displayed.
2. Enter a symbol name.
3. Enter an address or value in the Address or Value field. For a value (NUMBER data type
symbol), type in a decimal value, or prefix the value with a '#' for hexadecimal. A
positive or negative floating point value may also be entered. Leave the field blank if the
address is to be automatically allocated.
4. Select a data type in the Data Type field. For a numeric value rather than address, select
the data type 'Number'.
5. Enter a comment, if required, in the Comment field.
To specify an array, click the Advanced Settings Button and specify the array in the
Advance Settings Dialog box that is displayed.
6. For global symbols, indicate whether to share the symbol definition with the project's
linked CX-Server file by setting the Link the Definition to a CX-Server file field.
7. Select the OK pushbutton to accept the settings. Select the Cancel pushbutton to abort the
operation.
OMRON

Advertisement

Table of Contents
loading

Table of Contents