PART 1: CX-Programmer
OMRON
CHAPTER 5 – Advanced Topics
CX-Programmer _Page 83
Note:
The linkage between CX-Programmer and another application operates both ways. It is
possible for the other application to change the definitions of linked symbols, and to create
them. When CX-Programmer opens its project again, the ‘.CDM’ file is checked for any
changes made to the linked symbols within CX-Programmer. Optionally (depending upon the
PLC
Confirm Changes in Linked Global Symbols
setting), each change is indicated and
confirmed. Any new symbols present in the linked file are also read into the PLC’s global
symbol table.
CX-Programmer stores the necessary PLC definitions inside the CX-Server file as well as the linked symbols.
Therefore, the other application also has a PLC object of the same name in order to share the information.
Note:
When
the
name
of a linked symbol is changed, the link to it in the other application is lost.
The name is used as the link between the definitions. The other application actually treats it as
a new symbol. Similarly, if the PLC name is changed, the linkage to its symbols is lost.
Importing and Exporting Symbols
CX-Programmer has the ability to import and export symbol definitions to or from another package, such as a
spreadsheet. The information is transferred in a text format, so it is also possible to use a word processor to
define a set of symbols and use them within CX-Programmer.
Exporting
Use the following procedure to export a set of symbol definitions to a spreadsheet or word-processor:
1, 2, 3…
1. Select a set of symbols in a symbol table, or select a complete symbol table from the
project workspace.
2. Perform a copy operation.
3. Activate the other application.
4. Perform a paste operation (this may be done differently according to the application, but is
generally done using the Paste command under the Edit menu).
Note:
For the paste to work successfully, it may be necessary to indicate to the other application
what the format of the data is. See below for the format information.
Importing
Use the following procedure to import a set of symbol definitions from a spreadsheet or word-processor:
1, 2, 3…
1. Select the information in the source application - ensure that it is of the correct format (see
Information Format below).
2. Perform a copy operation.
3. Activate
CX-Programmer.
4. Paste the information into the correct symbol table by either opening the table or pasting
when a symbol table is selected in the project workspace.
Note:
If errors are encountered in the information when pasting symbols, a dialogue is shown which
allows the information to be modified. This dialogue lists all symbols in the information that
contain errors (i.e. Symbol with invalid names or invalid addresses). Each symbol may be
modified or removed from the list before retrying the operation.
Information Format
The information is in a tabbed format of text.
Column Format
For supplying symbols complete with data-type, use format of 4 columns, which consists of
<Symbol Name>
tab
<Symbol Data-type>
tab
<Symbol Address>
tab
<Comment>
The items in < > brackets are the data. e.g. A supplied piece of text such as:
"Name BOOL 1.1
this is a comment" is valid (without the ").
Each item should be on a new line.
Содержание 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...