34. Using the Omron Demo Package

• This software is a limited version of the full software package. Omron distributes it for marketing purposes, but we may use it to practice PLC usage. The limitations for the software are,

Data Creation Libraries cannot be created.

Nothing can be saved on disk.

Only the first two pages of printouts can be done.

The maximum connection time to the PLC is 10 minutes.

• The software will run on IBM compatible computers with 640 KB of memory and 2M of disk space.

34.1 Installation

• The disk has an installation program on it. The steps to follow are,

1. Put the disk in the drive (A:), after the computer is on.

2. Change to the A: drive, - cd A:

3.(color displays) Run the install program, - install

3.(black and white displays) Run the install program, - install /B

4. Answer all questions (or hit return for defaults) and when done remove the disk from the computer.

34.2 Basic Use

1. Run the software,

cd c:\lssdemo

lss

2. The setup menu should be displayed. The first step is to ensure the menu displays the correct values.

PC Model (C200H)

Host Link Unit (00)

Network Address (NET000)(NODE001)(BIN)

Data Disk Drive (A)

PC Interface (HostLink)(Port1)(9600)

Coil Comments (Circmnt)

Printer (Wide carriage graphics)

Eprom Interface (Port1)(9600)

Display Type (Color)

To change one of these values you may,

a) use the cursor keys to move to it, then press return.

b) select the letter in front of the choice, using the keyboard.

3. Some options for programming control are,

<CNTL>H help

<ESC> backs up or ends

<END> brings up programming menu

4. Clear the programming menu. At this point the software is NOT connected to the PLC. After selecting the choices below, the memory will be cleared, and there will be no old PLC programs in memory.

[Programming]

C: Clear Memory<ENTER>

O<ENTER>

(Note: the way the menu is laid out the [] brackets are a main menu, the line below is a choice from the menu, and any following choices will be listed after these two.)

5. To create a new program we must put the PLC in write mode, press <F2>. Attention should be drawn to the top, and bottom of the screen, the bottom will show function key based commands, and the top of the screen will show the user the current operation mode.

6. We will enter the following ladder,

 

a) Look at the bottom of the screen. Notice a NO contact is <F4>, press this to start. Next enter ‘100’ and watch the symbol at the bottom of the screen. When you press return the symbol at the bottom of the screen will be added to the ladder logic. The cursor will now move to the next position that the next ladder logic element will be added at. (If you have made a mistake, please continue for now, and we will learn how to correct these later.)

b) To make the NC contact, we must first select a NO <F4> and then use a NOT <F9>. Notice the NC on the bottom of the screen. Now enter the address ‘105’ and accept the contact. (Note: <ENTER> is not always specified, and is often assumed.)

c) Create an output coil by pressing <F7> and enter ‘200’. A full ladder rung will now appear on the screen, and the cursor will appear on the next free line.

d) Start entering the next line of ladder with,

<F4>102

<F4>108

<F7>201

This will result in all but the branched NO contact. To put this in, use the branched contact symbol,

<F5>201

7. Next, an end line MUST be entered (always end all programs with this, if it is not present, many problems will occur.

move the cursor to the start of the next line.

<F10>01

The END is considered one of many special functions, refer to the special function number table for more codes. (Note: Although this appraoch is awkward, it would be more difficult to do most other ways.)

8. A mistake was intentionally made during entry. To correct this we use the cursor keys to move back to the problem element. When it is highlighted by the cursor it may be changed (it will also appear at the bottom of the screen).

a) move to NO108, this should be NO106.

b) if 00108 is shown at the bottom of the screen, type,

00106<ENTER>

9. The program should now be complete. Whenever a program has been changed, it must be stored first.

<F3><ENTER>

While storing, logic is checked, and the top of the screen flashes. If the program has stored correctly, the main screen will go blank. You can put the LSS software in read mode and look at the logic.

<F1>

<PGUP><PGUP><PGUP>

34.2.1 Connecting to the PLC

[an error occurred while processing this directive]

• Up to this point the program has been running by itself. Next we must connect to the PLC, and send our program,

<CNTL>O

• A new menu appears at the bottom of the screen. From this select PC connect.

<F!>

• The top of the screen will indicate that you are connected, and the PLC mode.

• The PLC may, or may not, be running a program. But, to send a new program, the PLC must be in programming mode.

<CNTL>O<F4>

• Next, you must send the program to the PLC. Bring up the main menu,

<CNTL>M

P: Tranfer Program

R: PC->Computer

E: Send to end

• At this point the program should be in the PLC and can be run,

<CNTL>O

<F2>

• If <PGUP> is pressed a few times, the ladder will appear on the screen. And, as inputs and outputs are activated, it will be shown on the screen.

 

[an error occurred while processing this directive]