PART 1: CX-Programmer
CHAPTER 2 – Quick Start Guide
OMRON
CX-Programmer _Page 26
The global/local, name, address/value, and I/O comment fields for the symbol at the cursor position can be
displayed in the symbol bar below the Ladder Section window (CX-Programmer Ver. 4.0 or later). Enable this
function by selecting
Show symbol bar
in the Diagrams Tab in the
Options
Dialog Box of the
Tools
Menu (the
default setting is ON: display). Therefore, while increasing the program display density, the text in particularly
long I/O comments can be checked, thereby improving the readability of the program.
Mnemonics View
The Mnemonics view is a formatted editor for programming in mnemonic instructions. This view is made up of
a table of six columns containing the rung number, step number, instruction, operands, value and comment.
Mnemonic instructions are a ‘low-level’ view of a PLC program, whilst ladder is higher. Since the ladder
program is just a higher-level representation of the mnemonic instructions, it is possible to type in mnemonics
and see the ladder program update.
Select the
View Mnemonics
button from the toolbar. The Mnemonics view is displayed in the
Diagram Workspace.
1, 2, 3…
1. To program in mnemonics, open the mnemonic view and place the cursor on the desired
instruction.
2. Press ENTER – this will enter the editing mode.
3. Edit or type the new instruction lines. A mnemonic instruction consists of an instruction
name followed by a set of operands separated by spaces (e.g. ‘MOV #1 A2’).
4. Either press ENTER to move to the next line, or press ‘down’ or ‘up’ on the keyboard to
move to another line – the updated line is still kept.
The newly entered information is separated out over the columns in the table.
5. When finished with editing, press ‘Esc’ to come out of editing mode.
Whilst entering a program in the mnemonics view, the ladder view shows the instructions in the new rung as
statement list. Once enough instructions have been entered to enable its drawing in ladder format it is redrawn.
Instructions can be transferred to and from the Mnemonics view using the standard Microsoft Windows Cut or
Copy and paste functions. For example, it is possible to paste a large amount of program from a text editor.
Refer to
Chapter 3 - Project Reference
for further information.
Introducing Symbols and the Symbol Table
PLC addresses, which are used as operands in a PLC program, can be assigned a symbolic name and/or a
comment for the purpose of reference during programming. An address with a name or comment is known as a
Symbol.
A symbol table is an editable list of symbol definitions – the names, addresses and comments. This list also
provides information on the following:
♦
Rack location
. If the address is contained within the PLC IO table, this shows the address’ rack location.
♦
Usage
. If the address is contained within the PLC IO table, this shows the physical hardware type (i.e.
‘Input’ or ‘Output’) that is mapped to the address. If no hardware is mapped, ‘Work’ is shown, meaning that
the symbol is for general use.
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: ......