PART 1: CX-Programmer
CHAPTER 4 – Reference
OMRON
CX-Programmer _Page 94
2. Enter an instruction, either by name or by number. When a correct number has been
entered (of the correct number of digits for the PLC type), the instruction name is
automatically substituted. To insert an instruction with Immediate Refresh properties,
apply an exclamation mark (‘!’) to the beginning of the instruction. To insert a
differentiated instruction, apply a ‘@’ symbol to differentiate up or a ‘%’ symbol to
differentiate down at the beginning of the instruction.
Alternatively,
click
the
Find Instruction
pushbutton. The Find Instruction dialog is
displayed providing a list of possible instructions. Those instructions not available for the
selected PLC are displayed in brackets. Select an Instruction by using the
Groups
and
Instruction
fields and select the
OK
pushbutton to return to the Edit Instruction dialog.
The
Availability
pushbutton on the Find Instruction dialog displays the PLC Instruction
Support dialog that lists all PLCs for which the selected instruction in the Find Instruction
dialog is available. Select the Close pushbutton to remove the PLC Instruction Support
dialog.
The
Expansion Table
pushbutton on the Edit Instruction dialog displays the Expansion
Instruction Mapping dialog and is only available to certain PLCs. This dialog allows
certain instructions to be assigned to an expansion slot.
Select
an
Expansion Slot
, select an
Instruction
and select the
Set
pushbutton. To remove
an instruction, select the
Expansion Slot
and select the
Remove
pushbutton. Alternatively,
select the
Set Defaults
pushbutton to apply default instruction assignments. Select the
OK
pushbutton to return to the Edit Instruction dialog.
3. If required, use the
Instruction Help
button, which shows a help topic for the chosen
instruction.
4. Enter the instruction operands (see below).
5. Select
the
OK
pushbutton from the Edit Instruction dialog to complete the operation.
Select the
Cancel
pushbutton to abort the operation.
Modifiers can be set for contact instructions (LD, AND, OR and NOT) – either differentiate up or differentiate
down. Contact and coil instructions OUT and OUT NOT can be set to immediate update. The availability of
modifiers depends upon the type of PLC being used.
Non-differentiated instructions execute each time they are scanned, but differentiated instructions execute only
once after their execution condition switches from OFF to ON or from ON to OFF.
Entering Operands
An instruction operand can either be entered as a symbol, address or literal value. When entering an operand in
the detailed dialog mode, the dialog shows the valid address ranges and types of operands that are allowed.
When entering an operand, a prefix character may be used to add a meaning:
* An indirect address (the contents of the given address are used as the address to find the data).
Can be used in front of a symbol name.
# A hexadecimal value. Also used for operands that must take a BCD number.
& A decimal or BCD-format number.
+ or - A signed, decimal, floating point value.
Note that a symbol can hold a value – the NUMBER data type is used.
It is possible to search for a symbol from the operand box by pressing the ‘…’ button to its right (or by pressing
F2). This presents a dialog that allows a symbol to be selected or created.
Symbol Information
Whenever CX-Programmer finds a symbol associated with the typed operand, (except number types) symbol
information is displayed in this box. The name, address/value and comment are shown, together with the data
type of the symbol and its scope, global or local.
Specifying Address Offsets
When using a CJ2 CPU Unit, offsets can be set for addresses when specifying operand addresses for input
conditions, output instructions, or special instructions in ladder diagrams. The offset is placed into brackets [ ]
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: ......