To create a PLC program for a headworks process in a wastewater treatment plant using a…
- User
To create a PLC program for a headworks process in a wastewater treatment plant using a Micrologix 1100 Series B PLC and RSLogix 500 software. The system will be programmed to operate both manually and automatically with appropriate fail-safe mechanisms.
Materials and Equipment: Micrologix 1100 Series B PLC RSLogix 500 programming software RSLinx Classic software Motor starter and motor feedback (auxiliary contact) Start and stop push buttons Auto/Manual toggle switch Solenoid spray valve (Simulated by a light) Wiring tools Wire and lever wire nuts Safety glasses and insulated gloves Description: In a wastewater treatment plant, the first process is known as "Headworks," where large debris is removed using a rotating screen. The screen is driven by a motor. This lab requires you to create a PLC program that controls the screen motor in both manual and automatic modes, including a fail-to-start alarm.
Requirements: In manual mode, the motor will start and stop using the start and stop push buttons, without any automated logic. In automatic mode, the PLC will control the screen motor as follows: The screen remains stationary for 10 seconds to allow debris to accumulate. After 10 seconds, the motor turns on for 3 seconds to rotate the screen, then stops for another 10 seconds. This process repeats 2 more times, for a total of 3 cycles. After the third cycle, the motor will run continuously for 20 seconds, during which the solenoid spray valve will turn on to clean the screen. After the 20 seconds of continuous rotation, the cycle repeats from the beginning. If the motor fails to start within 1 second of being commanded to do so, a fail-to-start alarm will trigger, stopping the sequence. Hints: Identify all physical inputs and outputs to the PLC, including the motor starter feedback (auxiliary contact). Work incrementally by first programming the auto/manual switch and backbone logic before implementing the automatic control. Checklist for Submission (100 points total): Ladder Diagram (40 points): Correct implementation of manual and automatic control logic (30 points). Fail-to-start alarm logic (10 points). Wiring Diagrams (30 points): Correct wiring diagram for motor starter and auxiliary contact (15 points). Correct wiring for start/stop buttons and solenoid valve (15 points). Demonstrations (20 points): Confirmation of manual and automatic operation demonstrated to the instructor (10 points). Confirmation of fail-to-start alarm functionality demonstrated to the instructor (10 points). Comments (10 points): Meaningful comments on every rung of the ladder diagram (5 points). Clear and meaningful tag names and descriptions (5 points).
- Assistant
Certainly! It sounds like you're working on a PLC programming assignment to control a headworks process in a wastewater treatment plant using a Micrologix 1100 Series B PLC and RSLogix 500 software. I'd be happy to help you break down the requirements and provide guidance on how to approach each part of the assignment.
1. Identify Physical Inputs and Outputs
Inputs:
- Start Push Button: Manual start command.
- Stop Push Button: Manual stop command.
- Auto/Manual Toggle Switch: Selects between automatic and manual modes.
- Motor Starter Feedback (Auxiliary Contact): Indicates whether the motor is actually running.
Outputs:
- Motor Starter Coil: Controls the motor that drives the screen.
- Solenoid Spray Valve (Simulated by a Light): Activates the spray to clean the screen.
2. Programming the Manual Mode Logic
In manual mode, the motor should be started and stopped using the start and stop push buttons without any automated sequences.
Approach:
-
Rung 1: Manual Mode Selection
- Use the Auto/Manual Toggle Switch to determine if the PLC is in manual mode.
- Implement a contact that is closed when the switch is in manual mode.
-
Rung 2: Manual Motor Control
- Use a latching (seal-in) circuit with the Start Push Button to energize the motor starter coil.
- Use the Stop Push Button to break the seal-in circuit and de-energize the motor.
- Ensure these controls are only active when in manual mode by including the manual mode contact in the rung.
3. Programming the Automatic Mode Logic
In automatic mode, the PLC controls the motor and solenoid according to a specified timing sequence.
Sequence Breakdown:
- Motor Off for 10 Seconds:
- Allow debris to accumulate on the screen.
- Motor On for 3 Seconds:
- Rotate the screen to remove debris.
- Repeat Steps 1 and 2 Two More Times:
- Total of 3 cycles.
- Motor On Continuously for 20 Seconds & Solenoid On:
- Clean the screen thoroughly.
- Repeat the Entire Sequence:
- Cycle starts over.
Approach:
-
Rung 3: Automatic Mode Selection
- Use the Auto/Manual Toggle Switch to select automatic mode.
-
Rungs 4-10: Timing Sequence Implementation
-
Timers:
- Timer T4:0 (Accumulation Delay): 10-second off delay.
- Timer T4:1 (Motor On Duration): 3-second on time.
- Timer T4:2 (Continuous Run): 20-second run for motor and solenoid.
- Timer T4:3 (Fail-to-Start Timer): 1-second delay to check motor start.
-
Counters:
- Counter C5:0 (Cycle Counter): Counts the number of cycles (up to 3).
-
-
Sequence Flow:
- Initial Delay:
- Start with Timer T4:0 to count 10 seconds while motor is off.
- Motor On for 3 Seconds:
- After T4:0 is done, energize the motor starter coil.
- Start Timer T4:1 for a 3-second duration.
- Implement the fail-to-start logic here (explained in section 4).
- Cycle Counter:
- After T4:1 is done, increment Counter C5:0.
- If Counter C5:0 is less than 3, reset T4:0 and repeat the cycle.
- Continuous Run and Solenoid Activation:
- Once Counter C5:0 reaches 3, start Timer T4:2.
- Keep the motor and solenoid on during T4:2's 20-second timing.
- Reset Sequence:
- After T4:2 is done, reset Counter C5:0 and timers to repeat the sequence.
- Initial Delay:
4. Implementing the Fail-to-Start Alarm Logic
If the motor fails to start within 1 second of the command, trigger an alarm and stop the sequence.
Approach:
-
Rung 11: Fail-to-Start Detection
- When the motor is commanded to start (motor coil energized), start Timer T4:3.
- Use the Motor Starter Feedback (Auxiliary Contact) to detect if the motor has actually started.
- If the auxiliary contact doesn't close within 1 second (T4:3 done), set a Fail-to-Start Alarm Bit.
-
Rung 12: Alarm Handling
- If the Fail-to-Start Alarm Bit is set, stop all operations.
- Prevent the sequence from continuing or restarting until the alarm is acknowledged/reset.
- Optionally, implement an Alarm Reset Button to clear the alarm after the issue is resolved.
5. Comments and Tag Names
-
Comments:
- Provide clear comments on each rung explaining its purpose.
- Example: "Rung 4: Starts 10-second timer for debris accumulation in automatic mode."
-
Tag Names and Descriptions:
- Use descriptive names for all inputs, outputs, timers, and counters.
- Example:
Start_PB- Start Push ButtonStop_PB- Stop Push ButtonAuto_Manual_SW- Auto/Manual SwitchMotor_Starter_Coil- Output to motor starterMotor_Aux_Contact- Motor feedback inputSolenoid_Valve- Output to solenoid valveFail_to_Start_Alarm- Alarm bit for motor failure
6. Wiring Diagrams
-
Motor Starter and Auxiliary Contact:
- Show the connection from the PLC output to the motor starter coil.
- Include the auxiliary contact wired back to a PLC input for feedback.
-
Start/Stop Buttons and Solenoid Valve:
- Start/Stop Push Buttons:
- Typically Normally Open (NO) contacts wired to PLC inputs.
- Solenoid Valve (Light):
- PLC output wired to the solenoid valve (or light in simulation).
- Start/Stop Push Buttons:
-
Safety Considerations:
- Ensure all wiring follows appropriate standards.
- Include any necessary fuses or circuit breakers.
- Use proper grounding and shielding as required.
7. Demonstrations
-
Manual and Automatic Operation:
- Show that in manual mode, the motor responds directly to the start and stop push buttons.
- In automatic mode, demonstrate the timing sequence and how the system cycles through the steps.
-
Fail-to-Start Alarm Functionality:
- Simulate a motor failure by opening the auxiliary contact.
- Show that the alarm triggers after 1 second, stopping the sequence.
- Explain how the system prevents further operation until the alarm is reset.
8. Additional Tips
-
Incremental Development:
- Start by programming the manual mode and testing it thoroughly.
- Add the automatic mode logic and test each part of the sequence step by step.
-
Testing:
- Use simulation tools if available in RSLogix 500 to test your logic before hardware implementation.
- Monitor timers, counters, and status bits to ensure they behave as expected.
-
Documentation:
- Keep your program organized with rungs grouped logically.
- Provide a header in your program with your name, date, and a brief description of the program.
Feel Free to Ask for Help
If you have any specific questions or need further clarification on any part of the assignment, don't hesitate to ask. I'm here to help you understand and succeed in your project!