Pico Pico LAB#4

Embed Size (px)

DESCRIPTION

Pico Pico LAB#4. 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

Text of Pico Pico LAB#4

  • Pico Pico LAB#4Starting & 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 connection2.Inputs connections3.Keypad4.Communication Cable, Memory module interface cover5.Outputs connections6.LCD Display7. Write-On Surface2134576

  • Pico Overview, Operating Buttons1.Del- Delete object in the circuit diagram2.Alt- Special functions in the circuit diagram3.Cursor Buttons- Move cursor Select menu itemsChoose contact numbers, values, times, etcP-button function (when enabled)Left arrow, Input P1Up arrow, Input P2Right arrow, Input P3Down arrow, Input P44.Ok- Next menu level, store your entry5.Esc- Previous menu level, cancel your entry

    21345

  • Pico Overview, Circuit Diagram Symbols1. Input Field2. Output Coil FieldCircuit Diagram SymbolsP- Cursor button as input I - Contact for input Q - Contact for outputM - 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

  • 12-Point Status Display

  • Creating a new Program1. Change ModeThe PICO must be in the Stop mode to delete the resident program. From the Status Display screen Press OK to display next menu screen. If this screen is displaying RUN The PICO is in STOP mode. Proceed to next page and delete programIf this screen is displaying STOP The PICO is in RUN mode continue with next stepPress Down arrow once to highlight STOPSelect STOP by pressing the Ok key when STOP is flashing The display will change to RUN The PICO is now in the Stop mode

    Note left/right arrows: Move cursorup/down arrows: Change valuesThe after a menu listing refers to a second level of menus.PROGRAM...STOPPARAMETERSET CLOCK...PROGRAM...RUNPARAMETERSET CLOCK...

  • Delete existing Program2. Delete ProgramPress Up arrow once to highlight ProgramSelect PROGRAM by pressing the Ok key when PROGRAM is flashing.Press Down arrow to select DELETE PROGPress Ok to accept DELETE PROGPress Ok to accept DELETE?Press Esc to exit back one menu screen

    PROGRAM...RUNPARAMETERSET CLOCK...DELETE ?

    PROGRAMDELETE PROG

    PROGRAM...RUNPARAMETERSET CLOCK...

  • Setting Day/Time3. Setting Day / TimePress Down arrow three times to highlight SET CLOCK... Press Ok to select SET CLOCKPress Ok to edit SET CLOCK

    SET CLOCKSUMMER TIME

    PROGRAM...RUNPARAMETERSET CLOCK...PROGRAM...RUNPARAMETERSET CLOCK...WINTER TIMEDAY : SUTIME : 12:00

  • Setting Day/Time4. Setting Day / TimePress Left or Right arrow once to move to the Day of weekPress Up or Down arrow to select the Day of weekPress Left or Right arrow to move to the Time of day. Time of day is displayed in militaryPress Up or Down arrow to select correct Time of day Press Ok to accept editsPress Ok to exit SET CLOCK displayPress Esc twice to exit back to Status Display screen

    PROGRAMRUNPARAMETERSET CLOCKSET CLOCKSUMMER TIME

    WINTER TIMEDAY :SUTIME :12:00

    WINTER TIMEDAY : SUTIME : 12:00

  • Enable the Cursor Push Button5.Enable cursor buttonsFrom the Status Display screen press the Del and Alt keys simultaneouslyPress Down arrow to highlight the SYSTEM MenuPress Ok to selectPress Down arrow to select P ON flashingPress Ok to enable push buttons P OFF is flashing. Push buttons are now enabledPress Esc twice to exit to Status Display screen

    Note: Once the cursor push buttons are enabled the user must have logic in the program addressed to the pushbuttons in order for the P to be displayed in the Status Screen. PASSWORDSYSTEMGB D F E I

    DEBOUNCE OFFP ONMODE: STOPRETENTION ONDEBOUNCE OFFP OFFMODE: STOPRETENTION ON

  • Creating Ladder Logic6.Create a New ProgramFrom the Status Display screen press OK to display next screenSelect PROGRAM by pressing the Ok key when PROGRAM is flashing Select PROGRAM by pressing the Ok key when PROGRAM is flashingYou are now ready to start programming the PICO

    PROGRAMRUNPARAMETERSET CLOCKPROGRAMDELETE PROG

  • Creating the 1st Rung of Ladder LogicProgram rung 1 :

    6.Add I/O instructionsPress Ok to insert inputPress UP arrow once to select the P inputPress Ok to accept the input P Press Ok to accept the input address 1Press Alt to activate the draw functionPress Right arrow twice to draw the connectionPress Alt to exit the draw functionPress Ok to insert outputPress Ok to accept output QPress Ok to accept output address 1Press Ok to accept the output. This will start the next rung.P1-------------[Q1

    P1

    P1-------------

    P1------------[Q1

    P1-----------[Q1

  • Creating the 2nd Rung of Ladder LogicProgram this 2nd rung:

    7.Add Input instructionsPress Ok to insert inputPress UP arrow once to select the P inputPress Alt to select break contact function (Normally Closed). Press Ok to acceptPress UP arrow to select the input address 2 Press Ok to accept input P2Press Ok to select the next inputPress UP once to select PPress OK to accept P Press UP arrow to select the input address of 3 Press Ok to accept input P3Press Alt to activate the draw functionPress Right arrow once to draw the connectionPress Alt to exit the draw function

    P1-------------[Q1P2

    P1-------------[Q1P2P3

    P1-------------[Q1P2--P 3-------

    8

  • Creating the 2nd Rung of Ladder Logic, cont.Program this 2nd rung:

    8.Add Output instructionPress Ok to insert outputPress Ok to accept output QPress Up arrow to select 2Press Ok to accept output Q2. This will start the next rung9.Add BranchPress Right arrow once to move under the P3Press Ok to select inputPress Down once to select QPress Ok to accept QPress Up arrow to select the input address of 2 Press Ok to accept input Q2.Press Alt to activate the draw functionPress Up arrow once to draw branch

    8P1-------------[Q1P2---P3-------[Q2

    P1-------------[Q1P2---P3-------[Q2 -Q2-

  • Creating the 2nd Rung of Ladder Logic, cont.Program this 2nd rung:

    10.Add BranchPress Left arrow once to move to the left side of I3Press Alt to activate the draw functionPress Down arrow once to draw branchPress Alt to exit the draw functionPress Leftarrow once and Down arrow once. This will start the new rung

    8

  • Creating the 3rd Rung of Ladder Logic, cont.Program this 3rd rung:

    11. Add Input instructionsPress Ok to insert inputPress Down arrow to select QPress Ok to accept input QPress Ok to accept the input address of Q1Press Ok to insert 2nd inputPress Down arrow to select QPress Ok to accept input Q Press Up arrow to select 2Press Ok to accept the input address of Q2Press Alt to activate the draw functionPress Right arrow once to draw connectionPress Alt to exit draw function8

  • Creating the 3rd Rung of Ladder Logic, cont.Program this 3rd rung:

    12. Add Output instructionPress Ok to insert outputPress Ok to accept output QPress Up arrow to select 3Press Ok to accept output address Q3

    8

  • Monitor the program.13. Change ModePress Esc to exit back to the 2nd Menu screenPress Esc to exit back to the 1st Menu screenPress Down arrow to Highlight (Flashing) RUN Press Ok to accept the RUN modeThe PICO is now runningPress Esc to exit back to the Status Display. In this screen you can monitor the I/O and verify the P in the upper right corner of the screen.

    14. Monitor the LadderThe P-buttons are only recognized as switch contacts in the Status menu and not in any other displayPress OK twice to enter the ladder programPROGRAMRUNPARAMETERSET CLOCKPROGRAMDELETE PROG

  • Monitor the ProgramPROGRAM OPERATION

    RUNG 0-Press cursor pushbutton # P1 output #Q1 will turn ON release the pushbutton and output #Q1 will turn OFF. This output is dependent on the input condition. Verify this from the status screen. The P will display P1 and the Q1 will enable.

    RUNG 1-Press cursor pushbutton # P3 (start button) output # Q2 will latch ON. Press input pushbutton # P2 (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.

    P1P4P3P2

    Given everything Ive told you thus far, how can you practically apply the Pico?The Pico is ideal for relay replacement. You can use the Pico to cost-effectively replace 3-4 relays or a single timing relay. And if you want to change system functions, all you have to do is reprogram the Pico. No rewiring is necessary.Again, the Picos real time clock makes it ideal for applications that must control outputs based upon the time of day or day of the week. For example, you can schedule lights to turn on and off throughout the day or throughout the week. You can even use the Pico to restrict building access based upon a certain schedule.The Pico is better than a single-board controller in many ways, because its a standard product thats ready to go right off the shelf. And because its from Rockwell Automation, you have access to support and programming knowledge anywhere in the world.Finally, the Pico is so much easier to use than a PLC. Theres no complex software package to learn, and learning to program the Pico is as simple as working with the built in display.