PART 1: CX-Programmer
OMRON
CHAPTER 4 – Reference
CX-Programmer _Page 55
Sharing Symbols with Other Applications
Some OMRON applications may be able to share symbol definitions with other packages. CX-Programmer
supports this feature.
In order to allow sharing of symbols, it is necessary to link a CX-Server file with the project, which holds a copy
of the desired symbols. This is set up using the Project Properties dialogue. Once this is done, it is necessary to
indicate which symbols are to be shared. Only global symbols may be linked with other applications. Refer to
Chapter 5 - Advanced Topics
for further information.
Adding Symbols
It is possible to add a symbol from several places – from the project workspace, within a symbol table or a
program window. In each case, the Insert Symbol dialogue is used.
Use the following procedure to add a symbol.
1, 2, 3…
1. From
the
Insert
menu select
Symbol
or right click on the symbols folder and select
Insert Symbol
. The New Symbol dialogue 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.
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.
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 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.
Содержание Sysmac WS02-CXPC1-EV3
Страница 1: ...Cat No W414 E1 01 SYSMAC...
Страница 2: ......
Страница 3: ...SYSMAC WS02 CXPC1 EV3 CX Programmer Ver 3 1 Operation Manual Revised November 2002...
Страница 4: ......
Страница 6: ......
Страница 7: ...PART1 CX Programmer...
Страница 8: ......
Страница 24: ......
Страница 34: ......
Страница 106: ......
Страница 130: ......
Страница 131: ...PART 2 CX Server PLC Tools...
Страница 132: ......
Страница 136: ......
Страница 158: ......
Страница 168: ......
Страница 194: ......
Страница 206: ......
Страница 250: ......
Страница 298: ......
Страница 304: ......
Страница 305: ...PART 3 CX Server Runtime...
Страница 306: ......
Страница 310: ......
Страница 338: ......
Страница 344: ......
Страница 378: ......
Страница 384: ......
Страница 388: ......
Страница 390: ...Cat No W414 E1 01 Note Specifications subject to change without notice Printed in Japan Authorized Distributor...