PART 1: CX-Programmer
OMRON
CHAPTER 4 – Reference
CX-Programmer _Page 59
Enter the Start Address, the Size in channels (16 bit words) then select the Data types that can be allocated in
that area. On pressing the OK button, the address range is checked for validity and an appropriate error message
in a message box is displayed. On closing the message box the user is returned to this dialog and the first field
that is considered to be in error.
Note that it is not possible to select types until the restricted radio button has been selected otherwise the type
selection list box is greyed out. The type selection list box is a multiple selection list box.
Limitations
Timer/Counter memory areas are not available for address auto allocation.
It is not possible to have bit types in an area that is only word addressable.
The length of the address range must be less than or equal to the size of that memory area.
It is not possible to have auto allocation areas that overlap other areas.
The length of the address range must be greater than zero.
Copying Auto Allocated Symbols
When symbols are copied, any symbol with a fixed address is marked as being used if it occurs within an auto
allocated area. Auto allocated symbols that are copied across from one PLC to another will be assigned new
addresses within the auto allocation areas allowed on the PLC they are being transferred to. These symbols will
be assigned in alphabetical order rather than the order that they are copied across. If they have been assigned an
address by the PLC that they are being transferred from, they will not necessarily keep the same address.
Instructions
When contacts, coils, instructions and any symbols (auto allocated or not) are deleted, the address space they
occupied is freed for use by other elements as and when they are entered. Existing symbols that are auto
allocated but without an address are not updated and either needs to be re-entered or the auto allocation areas
need to be edited. Automatically allocated symbols are only allocated addresses when they are first entered or
when the auto allocation ranges are added/edited.
Rules for Auto Allocation
When the OK button is pressed and there are auto allocation areas to use, each of the programs is searched in the
order it appears in the tree. Each program is searched first for contacts, coils and instructions with fixed
addresses. If any of these fixed addresses are within an auto allocation area then those addresses are marked as
used and cannot be further auto allocated to other symbols. After this, non auto allocated symbols (symbols
with fixed addresses) within each program are checked. If any of these fixed symbols are within an auto
allocation area, then those symbol addresses are marked as used and cannot be further auto allocated to other
symbols. Finally, auto allocated symbols are allocated an address from the remaining addresses in an auto
allocation area, whether they already have an address or not. The symbols are allocated according to their
alphabetical order in the symbol table.
From then on, anytime that user enters a new contact, coil, instruction or symbol with a fixed address, then that
address is immediately marked as being used if it occurs within an auto allocation area. Any symbols that the
user enters that don’t have a fixed address are immediately auto allocated an address if available. The exception
to this is if symbols are entered directly as operands in the instruction dialog. These symbols cannot be auto
allocated. If these symbols are to be auto allocated they should entered either in the symbol table first, or by
using the browse button on the instruction dialog.
Summary of Contents for Sysmac WS02-CXPC1-EV3
Page 1: ...Cat No W414 E1 01 SYSMAC...
Page 2: ......
Page 3: ...SYSMAC WS02 CXPC1 EV3 CX Programmer Ver 3 1 Operation Manual Revised November 2002...
Page 4: ......
Page 6: ......
Page 7: ...PART1 CX Programmer...
Page 8: ......
Page 24: ......
Page 34: ......
Page 106: ......
Page 130: ......
Page 131: ...PART 2 CX Server PLC Tools...
Page 132: ......
Page 136: ......
Page 158: ......
Page 168: ......
Page 194: ......
Page 206: ......
Page 250: ......
Page 298: ......
Page 304: ......
Page 305: ...PART 3 CX Server Runtime...
Page 306: ......
Page 310: ......
Page 338: ......
Page 344: ......
Page 378: ......
Page 384: ......
Page 388: ......