190 likes | 421 Views
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.
E N D
PicoPico 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.
Pico Overview, Features 1. Incoming Power connection 2. Inputs connections 3. Keypad 4. Communication Cable, Memory module interface cover 5. Outputs connections 6. LCD Display 7. Write-On Surface 1 2 3 6 4 7 5
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 2 1 3 4 5
I 1-------------[Q1 I 2--I 3-------[Q2 -Q2- Q1--Q2-------[Q3 Pico Overview, Circuit Diagram Symbols 1. Input Field 2. Output Coil Field Circuit 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 2 1
Real Time Clock • Day of the week • Time Input Status OFF/ON Output Status OFF/ON I12345678 SU 12:00 Q1234 STOP • Mode • RUN/STOP 12-Point Status Display
I12345678 TH 12:00 Q1234 RUN 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... STOP PARAMETER SET CLOCK... PROGRAM... RUN PARAMETER SET CLOCK...
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... RUN PARAMETER SET CLOCK... PROGRAM... RUN PARAMETER SET CLOCK... PROGRAM DELETE PROG DELETE ?
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” PROGRAM... RUN PARAMETER SET CLOCK... PROGRAM... RUN PARAMETER SET CLOCK... SET CLOCK SUMMER TIME WINTER TIME DAY : SU TIME : 12:00
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 WINTER TIME DAY : SU TIME : 12:00 WINTER TIME DAY :SU TIME :12:00 SET CLOCK SUMMER TIME PROGRAM RUN PARAMETER SET CLOCK
I12345678 SU 12:00 Q1234 STOP 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 PROGRAM RUN PARAMETER SET CLOCK PROGRAM DELETE PROG
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-----------[Q1 I 1 I 1------------- I 1-------------[Q1
I 1-------------[Q1 I 2--I 3-------[Q2 -Q2- I 1-------------[Q1 I 2--I 3-------[Q2 -Q2- Creating the 2nd Rung of Ladder Logic 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 8 I 1-------------[Q1 I 2 I 1-------------[Q1 I 2--I 3 I 1-------------[Q1 I 2--I 3-------
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- 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---I3-------[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- I 1-------------[Q1 I 2--I 3-------[Q2 -Q2- 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- Q1--Q2------- 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 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--Q2-------[Q3 I 1-------------[Q1 I 2--I 3-------[Q2 -Q2- Q1--Q2-------[Q3 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 I12345678 TH 12:00 Q1234 RUN 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 PROGRAM DELETE PROG PROGRAM RUN PARAMETER SET CLOCK
I 1-------------[Q1 I 2--I 3-------[Q2 -Q2- Q1--Q2-------[Q3 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.