PART 1: CX-Programmer
CHAPTER 3 – Project Reference
OMRON
CX-Programmer _Page 60
For the choice of 'Addresses', type in the address or addresses which are to be found in the 'Find What' field. A
range of addresses may be input by using a dash ('-' or minus) between two addresses. e.g. 'A100-A200' will find
addresses 'A100' 'A110' and 'A200'.
When a CHANNEL address has been entered, a choice of 'Include BOOLs' is available. If this is checked, then
bit addresses within the channel will also be matched. e.g. If a 'find' of A100 is input, and 'Include BOOLs' is
selected, then addresses 'A100', 'A100.00' and 'A100.15' will be matched.
Moving Addresses
: It is possible to move a range of addresses. To do this, enter a range in the 'Find What'
field, and enter a new start address for the start of the range in the 'Replace' field. Note that a dash must be
included at the end of the 'Replace' field, indicating that a new range is given. e.g. 'Find What' of 'A100-A200'
and 'Replace With' of 'B100-' will move the range of addresses 'A100-A200' inclusive to a new start address of
'B100'. 'A100' will move to 'B100', and 'A101' will move to 'B101' etc. If the 'Include BOOLs' option is selected,
then bit addresses will be moved along with channel addresses (e.g. 'A100.0' will move to 'B100.0' etc),
otherwise bit addresses will not be affected.
Finding and Replacing Values
This search and replace operates the same as for Text but applies only to the 'Look At' choice of 'Values'.
When operating on values, it is necessary to choose whether floating point or integer numbers are to be
manipulated. Numbers used in program operands are either floating point or integer type. e.g. Numbers used in
TIM/CNT instructions to indicate the timer/counter are integers. Any operand value starting '+', '-' or containing
a decimal point is a floating point value. A value beginning in ‘#’ is a hexadecimal integer value.
Note:
BCD operands are shown in the programming windows with a ‘#’ on the front, but are
decimal values. When searching for a value in the find dialog, a ‘#’ prefix means hexadecimal.
Therefore, a find of ‘#10’ will actually match a BCD operand of ‘#16’. A replacement of
‘#10’ will actually show as ‘#16’ back in the program display for a BCD operand.
It is possible to move a range of integers to a new starting point, using the same method as 'Moving Addresses'.
Changing TIM/CNT Operands
It is possible to change the first operand of a TIM/CNT instruction easily, at the same time as changing the
address used for its status bit. To do this, use the ‘Address’ look-at type, and type in the address of the status
bit/s to operate on (e.g. T0001). This will also find the first operand of a timer/counter instruction (e.g. If T0001
is looked for, then ‘1’ will also be found in the TIM instructions).
Therefore, it is possible to change a range of TIM numbers to another offset.
Finding and Replacing Symbols
It is possible to perform a replace on 'Symbol Names' within a program, but this only updates the program, so
that the new name is inserted as the operand. The replacement within the program does not affect the underlying
symbol definition.
When a symbol name is updated in the symbol table, the programs using the symbol will also be updated to use
the new name.
Note:
It is not possible to change the definition of a symbol from within a program. i.e. A symbol's
comment or name cannot be changed unless the replace is happening within the symbol table.
Switching between NO and NC Contacts
Contacts for a specified address can be switched between normally open (NO) and normally closed (NC), either
individually or collectively.
1. Select
Invert Open/Closed Bit
from the Edit Menu.
2. Select
PLC, Program
, or
Current View
in the
Scope
Field.
3. In the
Invert Open/Close Bit in PLC
Input Box, enter the address for which contacts are to be switched
between normally open and normally closed.
4. Click the
Find Next
Button to search for the next occurrence.
Click the
Replace
Button to switch the contact that was found between normally open and normally closed.
Click the
Replace All
Button to switch all contacts for the specified address between normally open and
normally closed.
Summary of Contents for CX-Programmer 9
Page 1: ...Cat No W446 E1 10 CX Programmer Ver 9 SYSMAC WS02 CXPC_ V9 OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC WS02 CXPC V9 CX Programmer Ver 9 Operation Manual Revised December 2009...
Page 4: ......
Page 6: ......
Page 19: ...CX Programmer_Page xvi Unit Versions and Lot Numbers...
Page 30: ......
Page 31: ...PART 1 CX Programmer...
Page 32: ......
Page 100: ......
Page 120: ......
Page 198: ...PART 1 CX Programmer CHAPTER 4 Reference OMRON CX Programmer _Page 118...
Page 224: ...PART 1 CX Programmer Keyboard Shortcuts CX Programmer OMRON CX Programmer _Page 144...
Page 240: ......
Page 241: ...PART 2 CX Server PLC Tools...
Page 242: ......
Page 250: ......
Page 256: ......
Page 268: ...PART 2 CX Server PLC Tools CHAPTER 2 PLC Memory Component OMRON CX Server PLC Tools_Page 18...
Page 286: ......
Page 338: ......
Page 382: ......
Page 414: ......
Page 430: ......
Page 436: ......
Page 437: ...PART 3 CX Server Runtime...
Page 438: ......
Page 482: ......
Page 488: ......
Page 504: ......
Page 530: ......
Page 540: ......
Page 541: ......
Page 542: ......