PART 1: CX-Programmer
OMRON
CHAPTER 2 – Quick Start Guide
CX-Programmer _Page 17
Step Include
Determine PLC essential parameters
PLC series, PLC type, CPU (where applicable),
communications interface, choice of editor and project type.
Determine allocation of PLC memory
Where applicable. For example, C-series PLCs require
working out the balance required between program memory
and expansion data memory.
Determine PLC setup parameters
PLC configuration data.
Create appropriate IO Table
List all related IO devices and addresses. Some C-series
PLCs do not support this function.
Decide how to input and edit the program
CX-Programmer offers two languages: ladder and mnemonic.
A mixture may be used.
Starting a New Project
Once the project requirements have been worked out on paper, the first step is to create a project and define the
device entries for that project. A project can have multiple PLCs. CS/CJ-series PLCs are multi-tasking and can
therefore have more than one program associated with them in the project; CV-series PLCs and C-series PLCs
can only have one program associated with the device.
Use the following procedure to create a new project.
1, 2, 3…
1. Select
the
New
button from the toolbar.
2. Define the device entries for the project. Refer to the
CX-Server PLC Tools User Manual
for further information. For this tutorial, set the PLC type as CS1H with CPU type
CPU67.
3. Save the project. Select the
Save Project
button from the toolbar. The Save CX-
Programmer File dialogue is displayed.
4. Type a valid file name in the
File Name
field. Select the
Save
pushbutton to save the new
project. Select the
Cancel
pushbutton to abort the operation.
When a new PLC is added to a project, the following empty tables are created:
♦
Empty local symbol table;
♦
Global symbol table containing pre-set symbols;
♦
IO Table;
♦
PLC Memory data;
♦
PLC Settings data.
The project workspace is populated with the contents of the newly created project and a Ladder program is
displayed in the Diagram Workspace ready for programming to begin.
A description of each object in the project hierarchy is provided in
Chapter 4 - Reference
.
Within the Ladder program, the current position is indicated by a highlighted rectangular block, known as the
cursor. Using the mouse or the arrow keys, the cursor can be positioned at any point within the diagram. An
element can be placed at the current cursor position by either selecting it from the
Insert
menu, selecting it from
the toolbar or by pressing its assigned shortcut key. An element can be placed in any empty grid position, or
may overwrite a horizontal element.
Task and program types depend on the PLC type, defined in the program properties.
Use the following procedure to change properties for a program at any time.
1, 2, 3…
1. Click on the Program object in the project workspace.
2. Select
the
Show Properties
button from the toolbar. The Program Properties dialogue is
displayed.
3. Select a Task type setting from the
Task Type
field. Since this program is written for a
cyclic task, set this to ‘Cyclic Task 00’. The icon to the left of the program name changes
to reflect the task type, and the task number is shown on the right of the program name.
4. Set
the
Operation Start
setting so the program starts on PLC start-up.
Note:
Programs that have their tasks assignment set to “unassigned” are effectively excluded from
the project. This means that the program will not be compiled or downloaded to the PLC.
Summary of Contents for Sysmac WS02-CXPC1-EV3
Page 1: ...Cat No W414 E1 01 SYSMAC...
Page 2: ......
Page 3: ...SYSMAC WS02 CXPC1 EV3 CX Programmer Ver 3 1 Operation Manual Revised November 2002...
Page 4: ......
Page 6: ......
Page 7: ...PART1 CX Programmer...
Page 8: ......
Page 24: ......
Page 34: ......
Page 106: ......
Page 130: ......
Page 131: ...PART 2 CX Server PLC Tools...
Page 132: ......
Page 136: ......
Page 158: ......
Page 168: ......
Page 194: ......
Page 206: ......
Page 250: ......
Page 298: ......
Page 304: ......
Page 305: ...PART 3 CX Server Runtime...
Page 306: ......
Page 310: ......
Page 338: ......
Page 344: ......
Page 378: ......
Page 384: ......
Page 388: ......