199k views
3 votes
Write PLC program that uses two up counters to turn on an output when a count is equal to 10 and will turn of the output when a count is equal to 20. A NO reser push-button input will reset the counters, and another NO push-button will cause the counters to increment. You must use only needed counter bits. Use correct SLC500 counter addresses

User AlexVestin
by
8.5k points

1 Answer

6 votes

Final answer:

To write a PLC program that uses two up counters to turn on an output when a count is equal to 10 and turn off the output when a count is equal to 20, you can use ladder logic programming language.

Step-by-step explanation:

To write a PLC program that uses two up counters to turn on an output when a count is equal to 10 and turn off the output when a count is equal to 20, you can use ladder logic programming language. Here is the ladder diagram:

Network 1:

  • Parallel branch:
    • Contact: Counter 1 "DN"
    • Coil: Output

Network 2:

  • Normally Open (NO) branch:
    • Contact: Input1 or Increment Push-button
    • Coil: Counter 1

Network 3:

  • Normally Open (NO) branch:
    • Contact: Reset Push-button
    • Coil: Counter 1 "PRE"

Remember that SLC500 counter addresses are in the format N7:x, where x represents the counter number you are using. For example, if you are using Counter 1, the address would be N7:0.

User Gent Ahmeti
by
8.0k points