You are on page 1of 90

CX-Programmer

Basic Training
0930-1230
1400-1630 ELCOMP
Be resourceful

ELCOMP CX-Training
Omron PLC Software

- Compact
CP1E, CP2E, CP1L, CP1H, CPM1A

- Modular
CJ2M, CJ2H, CQM1H

ELCOMP CX-Training ELCOMP CX-Training


Software History before CX-Programmer

ELCOMP CX-Training
ELCOMP CX-Training
Now let’s open your CX-Programmer!
Create New Project file
1. Choose PLC model (PLC type + CPU type).

ELCOMP CX-Training
2. Decide

network type

for cx-programmer to online


with PLC.

ELCOMP CX-Training
3. Decide what mode will PLC start with every a) Program mode
time power recycles. - PLC program is not executed.
- to insert/modify program

b) Monitor mode
- PLC program is executed
- Online editing, force triggering is
possible

c) Run mode
- PLC program is executed
- No changes can be made

ELCOMP CX-Training
Now, let’s create an input and an output!

Rung Comment

Rung Input Output

Comment

ELCOMP CX-Training
1. Choose Classic Input Mode. 2. Click on whitespace at rung 0 and press “C”
on keyboard for input contact.

address = 0.00
comment = Switch 0

ELCOMP CX-Training
3. Ctrl + right/left/up/down arrow key to draw 5. Double click on Rung to add comment.
circuit line.
Ctrl + Enter to go to next line.

4. At right side, press “O” for output.


address = 100.00
comment = Lamp 0

ELCOMP CX-Training
3. Go to Program and Compile the program. 4. Go to Simulation and Work Online Simulator.

Compilation is necessary before transferring program Simulation is useful to mimic real application and for
to plc in order to check for errors. testing sequence.
Screen turns Grey which is exactly how it will be when CX-
Programmer online with PLC.

ELCOMP CX-Training
Ctrl + J = Force On

Ctrl + K = Force Off

Ctrl + L = Cancel Force

ELCOMP CX-Training
Exercise 1: Everyone is requested to create program exactly as below.
Save the program with your company + name and run it in Simulation.

ELCOMP CX-Training
Self-Holding

Condition : No extra addresses can be added.

*hint : we are doing ladder logic(AND, OR, etc), use one of them!

ELCOMP CX-Training
ELCOMP CX-Training
Now, how to cut off a self-holding circuit/output?

ELCOMP CX-Training
Using a normally-closed contact.

ELCOMP CX-Training
Use addresses out of output range for RELAY.

Then relay to self-hold and trigger output

ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
Transfer Program to PLC.

ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
i for instruction, click i then TIM 000 #0100
ELCOMP CX-Training
Instructions that we need example or
explanation,

select it on top row, right click and choose


Instruction Help .

ELCOMP CX-Training
Not sure what instruction to use for your
program?

Check for instructions available for that


particular PLC model.

ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
Find instruction MOV

ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
EXERCISE 2:

Create a program where pushbutton is pressed(and


released), the system starts.

When systems starts, output(oil pump) will ON.


After system starts for 10 seconds(changeable),
output will OFF.

When reset pushbutton is pressed, system resets.

*2 rungs only
ELCOMP CX-Training
ELCOMP CX-Training
EXERCISE 3:

Change the timer set value


to D0 using online edit.

Control D0 using watch


window, ALT + 3

ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
EXERCISE 4:

Create a program where we ON input to start


system, the output will only be turned on after 20
minutes.

Only one Timer (TIM) is allowed!

as long as your program makes sense, we aint going to wait 20 minutes to see
the result

ELCOMP CX-Training
ELCOMP CX-Training
Initialize PLC

ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
EXERCISE 5:

ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
EXERCISE 6:

1) &65535 seconds = ? Hour ? Minute ? Second

ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
2) How to make Question 1 in Exercise 6 the Hour: Minute:
Second counting down?

ELCOMP CX-Training
ELCOMP CX-Training
PLC I/O Table
(User Define Address Allocation
Only Applicable on CS/CJ series)

ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
ELCOMP CX-Training
Thank You

ELCOMP CX-Training

You might also like