19
1 Starting & Stopping Motors Pico Pico LAB#1

Pico Pico LAB#1

  • Upload
    blithe

  • View
    40

  • Download
    1

Embed Size (px)

DESCRIPTION

Pico Pico LAB#1. Starting & Stopping Motors. What we are going to do:. Program a series of three basic ladder logic rungs. These basic rungs are the most common rungs found in every ladder program. Each of these rungs will help you to “Frame” how a Pico is programmed, and how they operate. - PowerPoint PPT Presentation

Citation preview

Page 1: Pico Pico LAB#1

1

Starting & Stopping Motors

Pico Pico LAB#1

Page 2: Pico Pico LAB#1

2

• Program a series of three basic ladder logic rungs. These basic rungs are the most common rungs found in every ladder program.

• Each of these rungs will help you to “Frame” how a Pico is programmed, and how they operate.

What we are going to do:

Page 3: Pico Pico LAB#1

3

Pico Overview, Features

1. Incoming Power connection2. Inputs connections3. Keypad4. Communication Cable,

Memory module interface cover

5. Outputs connections6. LCD Display7. Write-On Surface

21

3

4

5

7

6

Page 4: Pico Pico LAB#1

4

Pico Overview, Operating Buttons

1.Del- Delete object in the circuit diagram

2.Alt- Special functions in the circuit diagram

3.Cursor Buttons- – Move cursor – Select menu items– Choose contact numbers, values,

times, etc– P-button function (when enabled)

• Left arrow, Input P1• Up arrow, Input P2• Right arrow, Input P3• Down arrow, Input P4

4.Ok- Next menu level, store your entry

5.Esc- Previous menu level, cancel your entry

21

3

4

5

Page 5: Pico Pico LAB#1

5

Pico Overview, Circuit Diagram Symbols

1. Input Field2. Output Coil FieldCircuit Diagram Symbols

– P- Cursor button as input – I - Contact for input – Q - Contact for output– M - Contact for internal marker relay – T - Contact for timer relay – C - Contact for counter relay – - Contact for real time clock contact – A - Analog comparator contact

21

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Q1--Q2-------[Q3

Page 6: Pico Pico LAB#1

6

12-Point Status Display

Real Time Clock•Day of the week•Time

Input StatusOFF/ON

Output StatusOFF/ON

Mode•RUN/STOP

I12345678 SU 12:00Q1234 STOP

Page 7: Pico Pico LAB#1

7

Delete existing Program

1. Change Mode– The PICO must be in the Stop mode

to delete the resident program if one exists in the PICO

– From the “Status Display” screen Press “OK” to display next menu screen.

– If this screen is displaying “RUN” The PICO is already in the “STOP” mode. Proceed to next page to delete the resident program

– If this screen is displaying “STOP” The PICO is in “RUN” mode continue with next step

– Press “Down” arrow once to highlight “STOP” the “STOP” is flashing

– Press “Ok” key the display will change to “RUN” The PICO is now in the “STOP” mode. You are now ready to delete the program in the PICO

Note – left/right arrows: Move cursor– up/down arrows: Change values– The “…” after a menu listing refers

to a second level of menus.

PROGRAM...STOPPARAMETERSET CLOCK...

I12345678 TH 12:00Q1234 RUN

PROGRAM...RUNPARAMETERSET CLOCK...

Page 8: Pico Pico LAB#1

8

Delete existing Program

2. Delete Program– From this screen press the “Up”

arrow to select “PROGRAM…”– Press “Ok” key when

“PROGRAM…” is flashing.– Press “Down” arrow to select

“DELETE PROG”– Press “Ok” to accept “DELETE

PROG”– Press “Ok” to accept “DELETE?”– Press “Esc” to exit back one menu

screen

PROGRAM...RUNPARAMETERSET CLOCK...

DELETE ?PROGRAMDELETE PROG

PROGRAM...RUNPARAMETERSET CLOCK...

Page 9: Pico Pico LAB#1

9

Setting Day/Time

3. Setting Day / Time– Press “Down” arrow three times to

highlight “SET CLOCK...” – Press “Ok” to select “CLOCK

SET…”– Press “Ok” to edit “CLOCK SET”

SET CLOCKSUMMER TIME

PROGRAM...RUNPARAMETERSET CLOCK...

PROGRAM...RUNPARAMETERSET CLOCK...

WINTER TIMEDAY : SUTIME : 12:00

Page 10: Pico Pico LAB#1

10

Setting Day/Time

4. Setting Day / Time– Press “Left” or “Right” arrow once

to move to the Day of week– Press “Up” or “Down” arrow to

select the Day of week– Press “Left” or “Right” arrow to

move to the Time of day. Time of day is displayed in military

– Press “Up” or “Down” arrow to select correct Time of day

– Press “Ok” to accept edits– Press “Ok” to exit “SET CLOCK”

display– Press “Esc” twice to exit back to

“Status Display” screen

PROGRAMRUNPARAMETERSET CLOCK

SET CLOCKSUMMER TIME

WINTER TIMEDAY :SUTIME :12:00

WINTER TIMEDAY : SUTIME : 12:00

Page 11: Pico Pico LAB#1

11

Creating Ladder Logic

5.Create a New Program– From the “Status Display” screen

press “OK” to display next menu screen

– Select “PROGRAM…” by pressing the “Ok” key when “PROGRAM” is flashing

– Select “PROGRAM” by pressing the “Ok” key when “PROGRAM” is flashing

– You are now ready to start programming the PICO

PROGRAMRUNPARAMETERSET CLOCK

I12345678 SU 12:00Q1234 STOP

PROGRAMDELETE PROG

Page 12: Pico Pico LAB#1

12

Creating the 1st Rung of Ladder Logic

Program rung 1 :

6.Add I/O instructions– Press “Ok” to insert input– Press “Ok” to accept the input “I” – Press “Ok” to accept the input

address “1”– Press “Alt” to activate the draw

function– Press “Right” arrow twice to draw

the connection– Press “Alt” to exit the draw

function– Press “Ok” to insert output– Press “Ok” to accept output “Q”– Press “Ok” to accept output

address “1”– Press “Ok” to accept the output.

This will start the next rung.

I 1-------------[Q1

I 1 I 1------------- I 1-------------[Q1

I 1-----------[Q1

Page 13: Pico Pico LAB#1

13

I 1-------------[Q1

I 2

Program this 2nd rung:

7.Add Input instructions– Press “Ok” to insert input “I”– Press “Alt” to select break contact

function (normally closed contact). Press “Ok”

– Press “UP” arrow to select the input address “2”

– Press “Ok” to accept input “I2”– Press “Ok” to select the input

instruction “I”. Press “Ok” to accept instruction type

– Press “UP” arrow to select the input address of “3”

– Press “Ok” to accept input “I3”– Press “Alt” to activate the draw

function– Press “Right” arrow once to draw

the connection– Press “Alt” to exit the draw

function

I 1-------------[Q1

I 2--I 3

I 1-------------[Q1

I 2--I 3-------

Creating the 2nd Rung of Ladder Logic

8

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Page 14: Pico Pico LAB#1

14

Creating the 2nd Rung of Ladder Logic, cont.

Program this 2nd rung:

8.Add Output instruction– Press “Ok” to insert output– Press “Ok” to accept output “Q”– Press “Up” arrow to select “2”– Press “Ok” to accept output “Q2”.

This will start the next rung

9.Add Branch– Press “Right” arrow once to move

under the “I3”– Press “Ok” to select input– Press “Down” once to select “Q”– Press “Ok” to accept “Q”– Press “Up” arrow to select the

input address of “2” – Press “Ok” to accept input “Q2”.– Press “Alt” to activate the draw

function– Press “Up” arrow once to draw

branch

8

I 1-------------[Q1

I 2---I 3------[Q2

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

I 1-------------[Q1

I 2---I3-------[Q2

-Q2-

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Page 15: Pico Pico LAB#1

15

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Creating the 2nd Rung of Ladder Logic, cont.

Program this 2nd rung:

10.Add Branch– Press ”Left” arrow once to move to

the left side of “I3”– Press “Alt” to activate the draw

function– Press “Down” arrow once to draw

branch– Press “Alt” to exit the draw

function– Press “Left”arrow once and

“Down” arrow once. This will start the new rung

8

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Page 16: Pico Pico LAB#1

16

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Q1--Q2-------

Creating the 3rd Rung of Ladder Logic, cont.

Program this 3rd rung:

11. Add Input instructions– Press “Ok” to insert input– Press “Down” arrow to select “Q”– Press “Ok” to accept input “Q”– Press “Ok” to accept the input

address of “Q1”– Press “Ok” to insert 2nd input– Press “Down” arrow to select “Q”– Press “Ok” to accept input “Q” – Press “Up” arrow to select “2”– Press “Ok” to accept the input

address of “Q2”– Press “Alt” to activate the draw

function– Press “Right” arrow once to draw

connection– Press “Alt” to exit draw function

8

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Q1--Q2-------[Q3

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Q1

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Q1--Q2

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Q1--Q2-------[Q3

Page 17: Pico Pico LAB#1

17

Creating the 3rd Rung of Ladder Logic, cont.

Program this 3rd rung:

12. Add Output instruction– Press “Ok” to insert output– Press “Ok” to accept output “Q”– Press “Up” arrow to select “3”– Press “Ok” to accept output

address “Q3”

8

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Q1--Q2-------[Q3 I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Q1--Q2-------[Q3

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Q1--Q2-------[Q3

Page 18: Pico Pico LAB#1

18

Monitor the program.

13. Change Mode– Press “Esc” twice to exit back to

the 1st “MENU DISPLAY” screen– Press “Down” arrow to Highlight

“RUN” – Press “Ok” to accept the RUN

mode– The PICO is now running– Press “Esc” to exit back to the

“Status Display. In this screen you can monitor the I/O

14. Monitor the Ladder– Press “OK” twice to enter the

ladder program

PROGRAMRUNPARAMETERSET CLOCK

PROGRAMDELETE PROG

I12345678 TH 12:00Q1234 RUN

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Q1--Q2-------[Q3

Page 19: Pico Pico LAB#1

19

Monitor the Program

PROGRAM OPERATION

– RUNG 0- Because the input simulators have latching pushbuttons. Press input pushbutton # I1 so as not to latch the pushbutton, output #Q1 will turn ON release the pushbutton and output #Q1 will turn OFF. This output is dependent on the input condition.

– RUNG 1-Press input pushbutton # I3 (start button) so as not to latch the pushbutton, output # Q2 will latch ON. Lightly press input pushbutton # I2 (stop button) will turn OFF output #2. This is a simple motor control circuit. This circuit utilizes both AND and OR placement of instructions.

– RUNG 2- The two inputs on rung 2 are conditions of rungs 0 and 1. The output (output #Q3) is a condition of the two inputs. So each outputs of rungs 0 and 1 must be true to turn on output #Q3. This circuit utilizes AND placement of instructions.

I 1-------------[Q1

I 2--I 3-------[Q2

-Q2-

Q1--Q2-------[Q3