24
AUTOMATED CAR WASH BY- Koyya Shiva Karthik Reddy Dept. Of Electrical and Microelectronics Rochester Institute of Technology INRTODUCTION As a part of the course requirement an automated car wash system was designed On RSLOGICS 5000 taking into consideration scenarios which were close enough to real world car wash system. The entire system was divided into two zones namely zone 1 which included operations pre-soak, foam applicator and scrubbing and zone two had operations rinsing, wax applicator and drying, both the zone were implemented on two different controllers which communicated via Ethernet . The program was designed such that it can handle cars arriving at random interval and can also speed up the process of all operations in both the zones if the waiting queue was long. Most of the logics were written in ladder digrams. INPUT AND OUTPUTS USE TO SIMULATE THE OPERATIONS IN ZONES OUTPUTS Type Zone1 use Zone2 use Cylinder Entrance door Exit door Light Pre-soak operation Wax applicator Dc motor Scrubbing operation Rinse Fan Foam applicator Dryer Stepper motor Car mover Car mover DISPLAY BCD display Cars in queue waiting Cars washed INPUTS Selector switch System start Cylinder sensors Indicators Indicators UDT: UDT was made to transfer data between the zones (produced and consumed tags) ZONE1_STATUS BOOL SYSTEM_STATUS BOOL MODE DINT (1 OR 2)

automated carwash system

Embed Size (px)

Citation preview

  • AUTOMATED CAR WASH BY- Koyya Shiva Karthik Reddy

    Dept. Of Electrical and Microelectronics

    Rochester Institute of Technology

    INRTODUCTION

    As a part of the course requirement an automated car wash system was designed On RSLOGICS

    5000 taking into consideration scenarios which were close enough to real world car wash

    system. The entire system was divided into two zones namely zone 1 which included

    operations pre-soak, foam applicator and scrubbing and zone two had operations rinsing, wax

    applicator and drying, both the zone were implemented on two different controllers which

    communicated via Ethernet . The program was designed such that it can handle cars arriving at

    random interval and can also speed up the process of all operations in both the zones if the

    waiting queue was long. Most of the logics were written in ladder digrams.

    INPUT AND OUTPUTS USE TO SIMULATE THE OPERATIONS IN ZONES

    OUTPUTS Type Zone1 use Zone2 use

    Cylinder Entrance door Exit door

    Light Pre-soak operation Wax applicator

    Dc motor Scrubbing operation Rinse

    Fan Foam applicator Dryer

    Stepper motor Car mover Car mover

    DISPLAY BCD display Cars in queue waiting Cars washed

    INPUTS Selector switch System start

    Cylinder sensors Indicators Indicators

    UDT: UDT was made to transfer data between the zones (produced and consumed tags)

    ZONE1_STATUS BOOL

    SYSTEM_STATUS BOOL

    MODE DINT (1 OR 2)

  • AOI: A random number generator was used to generate cars at random interval

    Structured text: Seq_operation in zone 2

    ZONE 1 FLOW

    Once the system was started cars were generated at random intervals and the numbers of cars

    in the queue were checked to determine the mode of operation (mode 1 or mode 2 indicating

    normal or fast operation respectively) once the mode was decided the cars was taken in and

    the sequence of operations were performed and once all the operations in zone 1 were over

    zone1 waited for a indicator from zone 2 saying its ready before moving cars to zone2.

    ZONE 2 FLOW

    Once the car was moved to zone to it would carry out sequence of operations based on the

    mode received from zone 1 , and once the operations of zone 1 are over it moves the car out of

    the car wash and indicates it ready to except new car in into the zone.

    system start

    gate open

    belt control

    gateclose display cars

    waiting

    sequnce operations

    presoak

    foam applicator

    scrubber

    move car to zone 2

  • SYSTEM FLOW

    check status of system

    start zone 2

    sequence

    operations rinse

    waxing

    drying belt contol

    move car out of car wash

    dispaly number of cars washed

    zone 1

    zone 2

  • CHALLENGES

    The project was basically simple but the main problem I faced was to understand how the scan

    in the program goes on, when there is a control shift from main to subroutine and as a result of

    this problem I wasnt able to use my AOI which was random car generator as I wanted it to be

    scanned only once every program but it used to be scanned continues and kept adding cars.

    LADDER LOGIC DIGRAMS

    Structed text zone 2 sequential operation couldnt be added with rest of the rungs

  • MainRoutine - Ladder Diagram Page 1PLC_CARWASH_PROJECT:MainTask:MainProgram 12/12/2015 10:32:41 PMTotal number of rungs in routine: 9 C:\Users\kxr3779\Documents\PLC_CARWASH_PROJECT.ACD

    RSLogix 5000

    Koyya Shiva Karthik ReddyPLC FINAL PROJECT CAR WASH SYSTEM

    Zone 1(Presoak, FoamApplicator , Scrubber)

    This rung shows the start of the entire system, when the START switch is turned on the the system is ACTIVATED and ready to start. SYSTEM_STATUS is a produced tag which is used by zone 2.

    0

    START PTAG.SYSTEM_STATUS

    BELT_ENABLE

    Koyya Shiva Karthik ReddyPLC FINAL PROJECT CAR WASH SYSTEM

    Zone 1(Presoak, FoamApplicator , Scrubber)

    This rung shows the start of the entire system, when the START switch is turned on the the system is ACTIVATED and ready to start. SYSTEM_STATUS is a produced tag which is used by zone 2.

    this rung shows the random arival of cars

    1

    PB1

    CU

    DN

    Count UpCounter CARS_WATINGPreset 1000Accum 0

    CTUMoveSource CARS_WATING.ACC

    0Dest CARS_IN_QUEUE

    0

    MOV

    this rung shows the random arival of cars

    this is the initial state or stae of the system when the START switch is closed.

    2 /PTAG.SYSTEM_STATUS

    Z2_STATUS.0 SCRUB_OPERATION_DONE

    MoveSource 0

    Dest BELT_MOVED0

    MOV

    this is the initial state or stae of the system when the START switch is closed.

  • MainRoutine - Ladder Diagram Page 2PLC_CARWASH_PROJECT:MainTask:MainProgram 12/12/2015 10:32:50 PMTotal number of rungs in routine: 9 C:\Users\kxr3779\Documents\PLC_CARWASH_PROJECT.ACD

    RSLogix 5000

    this rung check if there is a car waitng in the queqe and if yes determines which mode to run the system in and openes the entrace gate. MODE HERE IS A PRODUCED TAG USED BY ZONE 2.

    3PTAG.SYSTEM_STATUS

    Limit Test (CIRC)Low Limit 1

    Test CARS_IN_QUEUE0

    High Limit 5

    LIMMoveSource 1

    Dest PTAG.MODE0

    MOV

    Greater Than (A>B)Source A CARS_IN_QUEUE

    0Source B 5

    GRTMoveSource 2

    Dest PTAG.MODE0

    MOV

    EqualSource A BELT_MOVED

    0Source B 0

    EQUENTRANCE_GATE_OPEN

    this rung check if there is a car waitng in the queqe and if yes determines which mode to run the system in and openes the entrace gate. MODE HERE IS A PRODUCED TAG USED BY ZONE 2.

    as soon as the agte is open the control shifts to the belt which moves the car into zone 1

    4

    GATE_OPEN_SENSOR

    MoveSource 1

    Dest STEPS_COUNTERS.PRE0

    MOVJump To SubroutineRoutine Name BELT_CONTROL

    JSR

    as soon as the agte is open the control shifts to the belt which moves the car into zone 1

    as soon as thecar is moved into zone 1 by the belt the entrance gate is closed.

    5 /

    ENTRANCE_GATE_OPEN

    EqualSource A BELT_MOVED

    0Source B 1

    EQU

    /PTAG.SYSTEM_STATUS

    ENTRANCE_GATE_CLOSE

    as soon as thecar is moved into zone 1 by the belt the entrance gate is closed.

  • MainRoutine - Ladder Diagram Page 3PLC_CARWASH_PROJECT:MainTask:MainProgram 12/12/2015 10:32:52 PMTotal number of rungs in routine: 9 C:\Users\kxr3779\Documents\PLC_CARWASH_PROJECT.ACD

    RSLogix 5000

    as soon as the gate is closed the required sequence of operations in zone 1 are performed.

    6

    GATE_CLOSE_SENSOR

    SubtractSource A CARS_IN_QUEUE

    0Source B 1

    Dest CARS_IN_QUEUE0

    SUBJump To SubroutineRoutine Name SEQ_OPERATIONS

    JSR

    as soon as the gate is closed the required sequence of operations in zone 1 are performed.

    This is essentilly a display which shows the number of cars waiting in the queue

    7 To BCDSource CARS_IN_QUEUE

    0Dest DISPLAY

    0

    TODMasked MoveSource DISPLAY

    0Mask MASK

    2#0000_0000_0000_0000_1111_1111_1111_1111Dest CARS_WAITING

    0

    MVMThis is essentilly a display which shows the number of cars waiting in the queue

    once the zone 1 operation is donezone 1 waiys for aindication from one 2 indicationg is ready to exept a car and if it recives that indicator it moves the belt to move the car into zone 2

    8 EqualSource A WHICH_STAGE

    0Source B 4

    EQU INDICATING_ZONE2_STATUS.0

    Jump To SubroutineRoutine Name BELT_CONTROL

    JSR

    once the zone 1 operation is donezone 1 waiys for aindication from one 2 indicationg is ready to exept a car and if it recives that indicator it moves the belt to move the car into zone 2

    (End)

  • BELT_CONTROL - Ladder Diagram Page 1PLC_CARWASH_PROJECT:MainTask:MainProgram 12/12/2015 10:35:14 PMTotal number of rungs in routine: 7 C:\Users\kxr3779\Documents\PLC_CARWASH_PROJECT.ACD

    RSLogix 5000

    thsi is belt control which eentally moves the car into zone 1 and out of zone 1 when all operations in zone 1 are done.

    0PULSE_OFF_TIME.DN

    CU

    DN

    Count UpCounter STEPS_COUNTERSPreset 0Accum 0

    CTUthsi is belt control which eentally moves the car into zone 1 and out of zone 1 when all operations in zone 1 are done.

    rungs 1 2 3 4 are essentally providing necessary logics for belt to move .

    1PTAG.SYSTEM_STATUS

    /PULSE_OFF_TIME.DN

    Greater Than (A>B)Source A STEPS_COUNTERS.PRE

    0Source B 0

    GRT

    /STEPS_COUNTERS.DN

    EN

    DN

    Timer On DelayTimer PULSE_ON_TIMEPreset 2000Accum 0

    TON

    rungs 1 2 3 4 are essentally providing necessary logics for belt to move .

    2PULSE_ON_TIME.DN

    EN

    DN

    Timer On DelayTimer PULSE_OFF_TIMEPreset 2000Accum 0

    TON

    3PULSE_ON_TIME.TT

    /STEPS_COUNTERS.DN

    BELT

    4PULSE_OFF_TIME.DN

    MoveSource 1

    Dest BELT_MOVED0

    MOV

    5 /PTAG.SYSTEM_STATUS

    RESSTEPS_COUNTERS

    WHEN ZONE 1 OPERATION IS DONE A INDICATIONIS SEND TO ZONE 2

    6 EqualSource A WHICH_STAGE

    0Source B 4

    EQU PULSE_OFF_TIME.DN PTAG.ZONE1_STATUSWHEN ZONE 1 OPERATION IS DONE A INDICATIONIS SEND TO ZONE 2

    (End)

  • SEQ_OPERATIONS - Ladder Diagram Page 1PLC_CARWASH_PROJECT:MainTask:MainProgram 12/12/2015 10:36:06 PMTotal number of rungs in routine: 4 C:\Users\kxr3779\Documents\PLC_CARWASH_PROJECT.ACD

    RSLogix 5000

    this subroutie callsother sub routiens which carry out the required actions in zone 1

    0 Jump To SubroutineRoutine Name PRESOAKInput Par PTAG.MODE

    JSRthis subroutie callsother sub routiens which carry out the required actions in zone 1

    1PRESOAK_OPERATION_DONE

    Jump To SubroutineRoutine Name FOAM_APPLICATORInput Par PTAG.MODE

    JSR

    2FOAM_OPERATION_DONE

    Jump To SubroutineRoutine Name SCRUBBERInput Par PTAG.MODE

    JSR

    ONCE ZONE 1 OPERATIONS ARE COMPLETED system is ready to except new car in zone one and after it moves current car in zone 1

    3SCRUB_OPERATION_DONE

    MoveSource 0

    Dest BELT_MOVED0

    MOVMoveSource 4

    Dest WHICH_STAGE0

    MOV

    ONCE ZONE 1 OPERATIONS ARE COMPLETED system is ready to except new car in zone one and after it moves current car in zone 1

    (End)

  • PRESOAK - Ladder Diagram Page 1PLC_CARWASH_PROJECT:MainTask:MainProgram 12/12/2015 10:44:17 PMTotal number of rungs in routine: 9 C:\Users\kxr3779\Documents\PLC_CARWASH_PROJECT.ACD

    RSLogix 5000

    this routine carries out the presoak operationthe rungs 1 and 2 set the required speed based upon the mode( number of cars waiting in the queue)

    0 EqualSource A PTAG.MODE

    0Source B 1

    EQUMoveSource 1500

    Dest M1_PRESOAK_T2.PRE0

    MOV

    MoveSource 1500

    Dest M1_PRESOAK_T1.PRE0

    MOV

    this routine carries out the presoak operationthe rungs 1 and 2 set the required speed based upon the mode( number of cars waiting in the queue)

    1 EqualSource A PTAG.MODE

    0Source B 2

    EQUMoveSource 1000

    Dest M2_PRESOAK_T1.PRE0

    MOV

    MoveSource 1000

    Dest M2_PRESOAK_T2.PRE0

    MOV

    the rungs 2-7 controls the presoak oepration with help of couple of timers

    2M1_PRESOAK_T2.DN

    M2_PRESOAK_T2.DN

    CU

    DN

    Count UpCounter NO_OF_PRESOAKPreset 5Accum 0

    CTU

    the rungs 2-7 controls the presoak oepration with help of couple of timers

    3PTAG.SYSTEM_STATUS

    EqualSource A PTAG.MODE

    0Source B 1

    EQU/

    M1_PRESOAK_T2.DN

    GATE_CLOSE_SENSOR

    EN

    DN

    Timer On DelayTimer M1_PRESOAK_T1Preset 0Accum 0

    TON

  • PRESOAK - Ladder Diagram Page 2PLC_CARWASH_PROJECT:MainTask:MainProgram 12/12/2015 10:44:21 PMTotal number of rungs in routine: 9 C:\Users\kxr3779\Documents\PLC_CARWASH_PROJECT.ACD

    RSLogix 5000

    4M1_PRESOAK_T1.DN

    EN

    DN

    Timer On DelayTimer M1_PRESOAK_T2Preset 0Accum 0

    TON

    5PTAG.SYSTEM_STATUS

    EqualSource A PTAG.MODE

    0Source B 2

    EQU/

    M2_PRESOAK_T2.DN

    GATE_CLOSE_SENSOR

    EN

    DN

    Timer On DelayTimer M2_PRESOAK_T1Preset 0Accum 0

    TON

    6M2_PRESOAK_T1.DN

    EN

    DN

    Timer On DelayTimer M2_PRESOAK_T2Preset 0Accum 0

    TON

    7M1_PRESOAK_T1.DN

    /M1_PRESOAK_T2.DN

    M2_PRESOAK_T1.DN/

    M2_PRESOAK_T2.DN

    /NO_OF_PRESOAK.DN

    PRESOAK_RUNNING

    8NO_OF_PRESOAK.DN PRESOAK_OPERATION_DONE

    (End)

  • FOAM_APPLICATOR - Ladder Diagram Page 1PLC_CARWASH_PROJECT:MainTask:MainProgram 12/12/2015 10:44:51 PMTotal number of rungs in routine: 5 C:\Users\kxr3779\Documents\PLC_CARWASH_PROJECT.ACD

    RSLogix 5000

    THSI ROUTIE CARRY OUT THE FOAM APPLICAATION OERATION BASED ON THE MODE AND ONCE THE OERATION IS DONE ITS INDICATED FOR THE NEXT ZONE

    0PTAG.SYSTEM_STATUS

    /PULSE_OFF_TIME.DN

    /STEPS_COUNTERS.DN

    EN

    DN

    Timer On DelayTimer PULSE_ON_TIMEPreset 2000Accum 0

    TON

    THSI ROUTIE CARRY OUT THE FOAM APPLICAATION OERATION BASED ON THE MODE AND ONCE THE OERATION IS DONE ITS INDICATED FOR THE NEXT ZONE

    1PTAG.SYSTEM_STATUS

    EqualSource A PTAG.MODE

    0Source B 1

    EQUMoveSource 8000

    Dest M1_FOAM_DURATION.PRE0

    MOV

    PRESOAK_OPERATION_DONEEN

    DN

    Timer On DelayTimer M1_FOAM_DURATIONPreset 0Accum 0

    TON

    2PTAG.SYSTEM_STATUS

    EqualSource A PTAG.MODE

    0Source B 2

    EQUMoveSource 5000

    Dest M2_FOAM_DURATION.PRE0

    MOV

    PRESOAK_OPERATION_DONEEN

    DN

    Timer On DelayTimer M2_FOAM_DURATIONPreset 0Accum 0

    TON

    3M1_FOAM_DURATION.TT

    M2_FOAM_DURATION.TT

    FOAM_APPLICATOR_RUNNING

    4M1_FOAM_DURATION.DN

    M2_FOAM_DURATION.DN

    FOAM_OPERATION_DONE

  • FOAM_APPLICATOR - Ladder Diagram Page 2PLC_CARWASH_PROJECT:MainTask:MainProgram 12/12/2015 10:44:54 PMTotal number of rungs in routine: 5 C:\Users\kxr3779\Documents\PLC_CARWASH_PROJECT.ACD

    RSLogix 5000

    (End)

  • SCRUBBER - Ladder Diagram Page 1PLC_CARWASH_PROJECT:MainTask:MainProgram 12/12/2015 10:45:30 PMTotal number of rungs in routine: 10 C:\Users\kxr3779\Documents\PLC_CARWASH_PROJECT.ACD

    RSLogix 5000

    THIS ZONE CARRYS OUT THE SCRUBBING OPERATION AND ONCE THIS OPERATION IS DONE IT MARKS THE END OF ZONE ONE OPERATION AND WAIT AND MAKES THE WHICH SATE WHICH INDICATES THE END OF

    ZONE 1

    0M2_SCRUB_T2.DN

    M1_SCRUB_T2.DN

    CU

    DN

    Count UpCounter NO_OF_SCRUBSPreset 5Accum 0

    CTU

    THIS ZONE CARRYS OUT THE SCRUBBING OPERATION AND ONCE THIS OPERATION IS DONE IT MARKS THE END OF ZONE ONE OPERATION AND WAIT AND MAKES THE WHICH SATE WHICH INDICATES THE END OF

    ZONE 1

    1 EqualSource A PTAG.MODE

    0Source B 1

    EQUMoveSource 2000

    Dest M1_SCRUB_T1.PRE0

    MOVMoveSource 2000

    Dest M1_SCRUB_T2.PRE0

    MOV

    2 EqualSource A PTAG.MODE

    0Source B 2

    EQUMoveSource 1000

    Dest M2_SCRUB_T1.PRE0

    MOVMoveSource 1000

    Dest M2_SCRUB_T2.PRE0

    MOV

    3PTAG.SYSTEM_STATUS

    /NO_OF_SCRUBS.DN

    EqualSource A PTAG.MODE

    0Source B 1

    EQU/

    M1_SCRUB_T2.DN

    FOAM_OPERATION_DONEEN

    DN

    Timer On DelayTimer M1_SCRUB_T1Preset 0Accum 0

    TON

    4M1_SCRUB_T1.DN

    EN

    DN

    Timer On DelayTimer M1_SCRUB_T2Preset 0Accum 0

    TON

  • SCRUBBER - Ladder Diagram Page 2PLC_CARWASH_PROJECT:MainTask:MainProgram 12/12/2015 10:45:34 PMTotal number of rungs in routine: 10 C:\Users\kxr3779\Documents\PLC_CARWASH_PROJECT.ACD

    RSLogix 5000

    5PTAG.SYSTEM_STATUS

    /NO_OF_SCRUBS.DN

    EqualSource A PTAG.MODE

    0Source B 2

    EQU/

    M2_SCRUB_T2.DN

    FOAM_OPERATION_DONEEN

    DN

    Timer On DelayTimer M2_SCRUB_T1Preset 0Accum 0

    TON

    6M2_SCRUB_T1.DN

    EN

    DN

    Timer On DelayTimer M2_SCRUB_T2Preset 0Accum 0

    TON

    7M1_SCRUB_T1.TT

    M2_SCRUB_T1.TT

    /PTAG.SYSTEM_STATUS

    SCRUB_ACTION_1

    8M1_SCRUB_T2.TT

    /PTAG.SYSTEM_STATUS

    M2_SCRUB_T2.TT

    SCRUB_ACTION2

    9NO_OF_SCRUBS.DN SCRUB_OPERATION_DONE

    (End)

  • MainRoutine - Ladder Diagram Page 1PCL_CAR_WASH_PROJECT_ZONE2:MainTask:MainProgram 12/12/2015 10:50:24 PMTotal number of rungs in routine: 8 C:\Users\kxr3779\Documents\PCL_CAR_WASH_PROJECT_ZONE2.ACD

    RSLogix 5000

    Koyya Shiva Karthik ReddyZONE2 (Rinse , Wax Applicator, Dryer)

    this run recives system status and the status of zone one itself to start sone 2.

    0CTAG.SYSTEM_STATUS CTAG.ZONE1_STATUS

    /ZONE2_STATUS.0 ZONE2_IN_OPERATION.0

    Koyya Shiva Karthik ReddyZONE2 (Rinse , Wax Applicator, Dryer)

    this run recives system status and the status of zone one itself to start sone 2.

    as zone 2 starts sequence of opeartions are done. THE seq_operation is in structured text language.

    1ZONE2_IN_OPERATION.0

    Jump To SubroutineRoutine Name seq_operation

    JSRas zone 2 starts sequence of opeartions are done. THE seq_operation is in structured text language.

    once all operations of the zone 2 are done the exit gate is opened and car is moved out and and exit gate is then closed (indicated in rungs 2 3 4 )

    2DRYING_OPERATION_DONE

    EXIT_GATE_OPEN

    once all operations of the zone 2 are done the exit gate is opened and car is moved out and and exit gate is then closed (indicated in rungs 2 3 4 )

    3

    GATE_OPENED

    Jump To SubroutineRoutine Name BELT_CONTROL

    JSR

    4 /CTAG.SYSTEM_STATUS

    EqualSource A BELT_MOVED

    0Source B 1

    EQU

    CLOSE_EXIT_GATE

    as zone 2 c ar is movedout its sends a incicator to zone 1 that it is reay to except new car into zone 2. and also it dispalys the cars washed ( indicated in rungs 5-end)

    5

    GATE_CLOSED ZONE2_STATUS.0

    CU

    DN

    Count UpCounter NUMBER_OF_CARS_WASHEDPreset 10000Accum 0

    CTU

    as zone 2 c ar is movedout its sends a incicator to zone 1 that it is reay to except new car into zone 2. and also it dispalys the cars washed ( indicated in rungs 5-end)

  • MainRoutine - Ladder Diagram Page 2PCL_CAR_WASH_PROJECT_ZONE2:MainTask:MainProgram 12/12/2015 10:50:28 PMTotal number of rungs in routine: 8 C:\Users\kxr3779\Documents\PCL_CAR_WASH_PROJECT_ZONE2.ACD

    RSLogix 5000

    6 To BCDSource NUMBER_OF_CARS_WASHED.ACC

    0Dest DISPLAY

    0

    TOD

    Masked MoveSource DISPLAY

    0Mask MASK

    2#0000_0000_0000_0000_0000_0000_0000_0000Dest CARS_WASHED

    0

    MVM

    7 /CTAG.SYSTEM_STATUS

    Masked MoveSource 0

    Mask MASK2#0000_0000_0000_0000_0000_0000_0000_0000

    Dest CARS_WASHED

    0

    MVM

    (End)

  • BELT_CONTROL - Ladder Diagram Page 1PCL_CAR_WASH_PROJECT_ZONE2:MainTask:MainProgram 12/12/2015 10:50:49 PMTotal number of rungs in routine: 5 C:\Users\kxr3779\Documents\PCL_CAR_WASH_PROJECT_ZONE2.ACD

    RSLogix 5000

    his routie controls the moment of car outside the car wash by controlling the belt movement

    0PULSE_OFF_TIME.DN

    CU

    DN

    Count UpCounter STEPS_COUNTERSPreset 0Accum 1

    CTUhis routie controls the moment of car outside the car wash by controlling the belt movement

    1 /PULSE_OFF_TIME.DN

    EN

    DN

    Timer On DelayTimer PULSE_ON_TIMEPreset 1000Accum 0

    TON

    2PULSE_ON_TIME.DN

    EN

    DN

    Timer On DelayTimer PULSE_OFF_TIMEPreset 1000Accum 0

    TON

    3ZONE2_IN_OPERATION.0 PULSE_ON_TIME.TT

    /STEPS_COUNTERS.DN

    BELT

    4PULSE_OFF_TIME.DN

    MoveSource 1

    Dest BELT_MOVED0

    MOV

    (End)

  • SEQ_OPERATIONS - Ladder Diagram Page 1PCL_CAR_WASH_PROJECT_ZONE2:MainTask:MainProgram 12/12/2015 10:51:30 PMTotal number of rungs in routine: 3 C:\Users\kxr3779\Documents\PCL_CAR_WASH_PROJECT_ZONE2.ACD

    RSLogix 5000

    this subroutine call all other sub routies to perform the required sequense of operations

    0 Jump To SubroutineRoutine Name RINSE

    JSRthis subroutine call all other sub routies to perform the required sequense of operations

    1RINSE_DONE

    Jump To SubroutineRoutine Name WAX_APPLICATOR

    JSR

    2WAXING_OPERATION_DONE

    Jump To SubroutineRoutine Name DRYERInput Par PTAG.MODE

    JSR

    (End)

  • RINSE - Ladder Diagram Page 1PCL_CAR_WASH_PROJECT_ZONE2:MainTask:MainProgram 12/12/2015 10:55:13 PMTotal number of rungs in routine: 10 C:\Users\kxr3779\Documents\PCL_CAR_WASH_PROJECT_ZONE2.ACD

    RSLogix 5000

    THIS routine controls the rinsing operation and as soon as the operation is done it indicats that its done rinsing

    0M2_RINSE_T2.DN

    M1_RINSE_T2.DN

    CU

    DN

    Count UpCounter NO_OF_RINSE_CYCLEPreset 5Accum 0

    CTU

    THIS routine controls the rinsing operation and as soon as the operation is done it indicats that its done rinsing

    1 EqualSource A CTAG.MODE

    0Source B 1

    EQUMoveSource 5000

    Dest M1_RINSE_T1.PRE0

    MOVMoveSource 5000

    Dest M1_RINSE_T2.PRE0

    MOV

    2 EqualSource A CTAG.MODE

    0Source B 2

    EQUMoveSource 3000

    Dest M2_RINSE_T1.PRE0

    MOVMoveSource 3000

    Dest M2_RINSE_T2.PRE0

    MOV

    3 /NO_OF_RINSE_CYCLE.DN

    EqualSource A CTAG.MODE

    0Source B 1

    EQU/

    M1_RINSE_T2.DN

    EN

    DN

    Timer On DelayTimer M1_RINSE_T1Preset 0Accum 0

    TON

    4M1_RINSE_T1.DN

    EN

    DN

    Timer On DelayTimer M1_RINSE_T2Preset 0Accum 0

    TON

    5 /NO_OF_RINSE_CYCLE.DN

    EqualSource A CTAG.MODE

    0Source B 2

    EQU/

    M2_RINSE_T2.DN

    EN

    DN

    Timer On DelayTimer M2_RINSE_T1Preset 0Accum 0

    TON

  • RINSE - Ladder Diagram Page 2PCL_CAR_WASH_PROJECT_ZONE2:MainTask:MainProgram 12/12/2015 10:55:17 PMTotal number of rungs in routine: 10 C:\Users\kxr3779\Documents\PCL_CAR_WASH_PROJECT_ZONE2.ACD

    RSLogix 5000

    6M2_RINSE_T1.DN

    EN

    DN

    Timer On DelayTimer M2_RINSE_T2Preset 0Accum 0

    TON

    7ZONE2_IN_OPERATION.0 M1_RINSE_T1.TT

    M2_RINSE_T1.TT

    RINSE_ACTION1

    8ZONE2_IN_OPERATION.0 M1_RINSE_T2.TT

    M2_RINSE_T2.TT

    RINSE_ACTION2

    9NO_OF_RINSE_CYCLE.DN RINSE_DONE

    (End)

  • WAX_APPLICATOR - Ladder Diagram Page 1PCL_CAR_WASH_PROJECT_ZONE2:MainTask:MainProgram 12/12/2015 10:55:48 PMTotal number of rungs in routine: 9 C:\Users\kxr3779\Documents\PCL_CAR_WASH_PROJECT_ZONE2.ACD

    RSLogix 5000

    this routie controls the waxing operation and once its done waxing it indicates that its done waxing.

    0 EqualSource A CTAG.MODE

    0Source B 1

    EQUMoveSource 1500

    Dest M1_WAX_T1.PRE0

    MOVMoveSource 1500

    Dest M1_WAX_T2.PRE0

    MOVthis routie controls the waxing operation and once its done waxing it indicates that its done waxing.

    1 EqualSource A CTAG.MODE

    0Source B 2

    EQUMoveSource 1000

    Dest M2_WAX_T1.PRE0

    MOVMoveSource 1000

    Dest M2_WAX_T2.PRE0

    MOV

    2M1_WAX_T2.DN

    M2_WAX_T2.DN

    CU

    DN

    Count UpCounter WAX_APPLICATOR_COUNTERPreset 5Accum 0

    CTU

    3 EqualSource A CTAG.MODE

    0Source B 1

    EQU/

    M1_WAX_T2.DN RINSE_DONEEN

    DN

    Timer On DelayTimer M1_WAX_T1Preset 0Accum 0

    TON

    4M1_WAX_T1.DN

    EN

    DN

    Timer On DelayTimer M1_WAX_T2Preset 0Accum 0

    TON

    5 EqualSource A CTAG.MODE

    0Source B 2

    EQU/

    M2_WAX_T2.DN RINSE_DONEEN

    DN

    Timer On DelayTimer M2_WAX_T1Preset 0Accum 0

    TON

    6M2_WAX_T1.DN

    EN

    DN

    Timer On DelayTimer M2_WAX_T2Preset 0Accum 0

    TON

    7ZONE2_IN_OPERATION.0 M1_WAX_T1.DN

    /M1_WAX_T2.DN

    M2_WAX_T1.DN/

    M2_WAX_T2.DN

    WAX_APPLICATOR_RUNNIMG

  • WAX_APPLICATOR - Ladder Diagram Page 2PCL_CAR_WASH_PROJECT_ZONE2:MainTask:MainProgram 12/12/2015 10:55:53 PMTotal number of rungs in routine: 9 C:\Users\kxr3779\Documents\PCL_CAR_WASH_PROJECT_ZONE2.ACD

    RSLogix 5000

    8WAX_APPLICATOR_COUNTER.DN WAXING_OPERATION_DONE

    (End)

  • DRYER - Ladder Diagram Page 1PCL_CAR_WASH_PROJECT_ZONE2:MainTask:MainProgram 12/12/2015 10:57:03 PMTotal number of rungs in routine: 4 C:\Users\kxr3779\Documents\PCL_CAR_WASH_PROJECT_ZONE2.ACD

    RSLogix 5000

    THIS routine controls the drying operation and the duration based on mode and indicated once the drying operation is done

    0 EqualSource A CTAG.MODE

    0Source B 1

    EQUMoveSource 10000

    Dest M1_DRYER_DURATION.PRE0

    MOV/

    M1_DRYER_DURATION.DN

    WAXING_OPERATION_DONEEN

    DN

    Timer On DelayTimer M1_DRYER_DURATIONPreset 0Accum 0

    TON

    THIS routine controls the drying operation and the duration based on mode and indicated once the drying operation is done

    1 EqualSource A CTAG.MODE

    0Source B 2

    EQUMoveSource 5000

    Dest M2_DRYER_DURATION.PRE0

    MOV/

    M2_FOAM_DURATION.DN

    WAXING_OPERATION_DONEEN

    DN

    Timer On DelayTimer M2_DRYER_DURATIONPreset 0Accum 0

    TON

    2ZONE2_IN_OPERATION.0 M1_DRYER_DURATION.TT

    M2_DRYER_DURATION.TT

    DRYER_RUNNING

    3M1_DRYER_DURATION.DN

    M2_DRYER_DURATION.DN

    DRYING_OPERATION_DONE

    (End)