PART 1: CX-Programmer
CHAPTER 4 – Reference
OMRON
CX-Programmer _Page 84
4. Choose one or more data types that are to be allocated in this area. By default, all
applicable data types will be allocated from within this area. A restriction can be made, so
that for example, a separate memory area can be set to allocate BOOLs and CHANNELs.
5. Use
the
Remove
button to remove the selected allocation range from the list.
6. Use
the
Move Up
and
Move Down
buttons to move a selected range up and down in the
priority order for the PLC.
Note:
CJ2 CPU Units, we recommend that you use the required number of banks from the highest
bank numbers for automatic allocation.
•
Either one or two automatic allocation areas can be set. Any area with continuous
addresses is counted as one area. (For example, the addresses in E0_0 to E0_32767 and
E1_0 to E1_32767 are continuous, and so they could be set together as one area.)
•
To use force-setting/resetting, you must set words in the EM Area for which force-
setting/resetting is supported.
With CJ2H CPU Units with unit version 1.2 or later,
PLC - Memory Allocation - EM
Memory Settings
can be used to specify the EM Area banks for which bits can be force-
set/reset. (The first bank is specified and force-setting/resetting bits is possible in that bank
and all banks following it.) This is called the EM Area force-setting/resetting function.
Refer to the note on page 14 of CX-Server PLC Tools for details.
•
Automatic allocation cannot be set if part of the EM Area is converted to trace memory or
file memory using
PLC - Memory Allocation - EM Memory Settings
.
Note:
With CJ-series CJ2 CPU Units, an error will occur if an address within the range set as the
reserved PLC memory area for automatic PLC address allocation is input directly.
•
The address will be displayed in red in the ladder view.
•
In the program check, a message will be displayed indicating that an error occurred
because operand x is out of range.
Note:
The status of the EM Area is held when the power supply is turned back ON or the operating
mode is changed. Be careful if you use BOOL data in the EM Area for inputs in the program.
Allocation of Symbols
Symbols can be defined to use automatic allocation simply by leaving their addresses blank. CX-Programmer
then allocates the symbol address during compilation. The actual address allocated is shown against the symbol,
but the address is marked as ‘Auto’ to show that the address has not been assigned by the user.
CX-Programmer allocates addresses within PLCs by trying to find space in the PLCs allocation areas (set as
above). The areas are searched in order, and addresses are only allocated within a particular range if its data type
is allowed within the range.
If automatic allocation is changed for a PLC (an allocation area is changed, or an area is removed), then all
automatically-allocated addresses for the PLC are reallocated.
If automatic allocation is removed for the PLC (i.e. the Enable automatic allocation for this PLC option is
removed), then any symbols that have been auto-allocated have their address removed.
Adding and Editing Automatic Allocation Areas
Selecting the
Edit
or
Add
button on the Automatic Allocation dialog opens the Memory Range dialog. This
dialog is used to either edit an existing auto allocation area or add a new one.
Содержание CX-Programmer 9
Страница 1: ...Cat No W446 E1 10 CX Programmer Ver 9 SYSMAC WS02 CXPC_ V9 OPERATION MANUAL...
Страница 2: ......
Страница 3: ...SYSMAC WS02 CXPC V9 CX Programmer Ver 9 Operation Manual Revised December 2009...
Страница 4: ......
Страница 6: ......
Страница 19: ...CX Programmer_Page xvi Unit Versions and Lot Numbers...
Страница 30: ......
Страница 31: ...PART 1 CX Programmer...
Страница 32: ......
Страница 100: ......
Страница 120: ......
Страница 198: ...PART 1 CX Programmer CHAPTER 4 Reference OMRON CX Programmer _Page 118...
Страница 224: ...PART 1 CX Programmer Keyboard Shortcuts CX Programmer OMRON CX Programmer _Page 144...
Страница 240: ......
Страница 241: ...PART 2 CX Server PLC Tools...
Страница 242: ......
Страница 250: ......
Страница 256: ......
Страница 268: ...PART 2 CX Server PLC Tools CHAPTER 2 PLC Memory Component OMRON CX Server PLC Tools_Page 18...
Страница 286: ......
Страница 338: ......
Страница 382: ......
Страница 414: ......
Страница 430: ......
Страница 436: ......
Страница 437: ...PART 3 CX Server Runtime...
Страница 438: ......
Страница 482: ......
Страница 488: ......
Страница 504: ......
Страница 530: ......
Страница 540: ......
Страница 541: ......
Страница 542: ......