PART 1: CX-Programmer
OMRON
CHAPTER 4 – Reference
CX-Programmer _Page 87
Use the following procedure to edit a rung in statement list format.
1, 2, 3…
1. Select a rung. Choose the
Show as Rung Statement List
option from the context menu of
the rung.
The rung is shown in statement list format.
Move the cursor to a line on the list, and press ‘Enter’. It is then possible to edit the
instructions. Move up and down with the cursor keys, and amend the text.
There is no restriction on the length of a statement list program apart from that which
Windows may apply.
2. Entries in the statement list block are compiled continuously and the rung may be shown
in error (the error bar on the rung margin).
3. To complete the editing, press ‘Escape’ which will exit from editing mode.
4. It may be possible to show the rung back in ladder format. Choose the
Show as Rung
Ladder
option to toggle back to ladder format. It may not be possible to show the
instructions in a ladder form.
Program Reusability
Parts of the program (single or multiple rungs, or a single program section) can be saved as a file (.cxr: text file)
by selecting
File
−
Reusable File
−
Save As
(CX-Programmer Ver. 4.0 or later). The file can then be read and
inserted in a user-set location in the program of another project by selecting
File
−
Reusable File
−
Add to
Project
. In the same way, specified variables in a symbol table can be saved as files, and then read and inserted
in a symbol table of another project. Multiple reusable files can also be inserted all together in a specified order.
The order used to insert multiple reusable files can also be saved in the list of reusable files added to the project.
This allows the group of reusable files to be managed as a single unit of data.
Compile
When a program is completed, a full program check is performed and object code is produced.
In addition to allowing the inclusion of multiple programs in a PLC, CX-Programmer also allows all programs
to be compiled at the same time. Individual programs can also be selected and compiled separately. Use the
following procedure to compile programs.
1, 2, 3…
1. Select the PLC object in the project workspace.
2. Select
the
Compile PLC Programs
button from the toolbar. Alternatively, select the
Compile Program
button from the toolbar to compile one program.
A dialog is displayed showing the compilation status. The results are shown in the
Compile
tab of the Output
window.
Note:
For a CS/CJ/CP-series PLC, a check is made for duplicates of SBN, MCRO and BPRG
numbers.
The checks that are performed during compilation can be set by selecting
Program Check Options
option from
the
PLC
menu. The Program Check Options dialog is displayed.
It is possible to choose between three levels of checking (‘A’ is the most strict, ‘C’ is the least strict), or to
define a custom set of checks. Select the appropriate
Check Level
setting.
For the
Custom
setting, the Checks field is enabled, allowing each individual check to be set or cleared. The
scroll bar reveals further checks. Select the
OK
pushbutton to complete the operation. Select the
Cancel
pushbutton to abort the operation.
Note:
When performing program checks for Pre-Ver. 2.0 CPU Units, select
None
from the Unit Ver.
Pull-down list.
Summary of Contents for CX-PROGRAMMER V9
Page 1: ...Cat No W446 E1 12 CX Programmer Ver 9 CXONE AL_C V4 AL_D V4 SYSMAC OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC CX Programmer Ver 9 CXONE AL C V4 AL D V4 Operation Manual Revised July 2010...
Page 4: ......
Page 6: ......
Page 32: ......
Page 33: ...PART 1 CX Programmer...
Page 34: ......
Page 91: ......
Page 111: ......
Page 191: ...PART 1 CX Programmer CHAPTER 4 Reference OMRON CX Programmer _Page 108...
Page 217: ......
Page 233: ......
Page 234: ...PART 2 CX Server PLC Tools...
Page 235: ......
Page 243: ......
Page 249: ......
Page 261: ...PART 2 CX Server PLC Tools CHAPTER 2 PLC Memory Component OMRON CX Server PLC Tools_Page 18...
Page 280: ......
Page 333: ......
Page 377: ......
Page 409: ......
Page 430: ......
Page 431: ...PART 3 CX Server Runtime...
Page 432: ......
Page 476: ......
Page 482: ......
Page 498: ......
Page 524: ......
Page 534: ......
Page 535: ......
Page 536: ......