Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


PLC Knightrider programme?

PLC Knightrider programme?

PLC Knightrider programme?

Hi Guys.

Im Programming a knightrider beam light using GX Developer on 8 leds flashing from Y0 to Y7 and back.

Anybody know how to do that?

i have done half the programme where leds are flashing from Y0 to Y7 but i dont know how to go back from Y7 to Y0. the programme also has to run forever until switched off.

I have started with T0 with Y0 as output and timer of T0 K5 and then i closed the loop with T0. this turn on Y0 for 0.5 second and move on to next output. i have done all my steps same like this. I just dont know how to go back from Y7 to Y0.

Pls give clear instructions as im new to plc.


RE: PLC Knightrider programme?

Is this for school?

"Live and act within the limit of your knowledge and keep expanding it to the limit of your life." Ayn Rand, Atlas Shrugged.
Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.

RE: PLC Knightrider programme?

No its not an assignment. im just doing it bcos i want to learn basic plc programming.

RE: PLC Knightrider programme?

A lot will depend on the programming capabilities of your PLC, they are not all created equal. How did you do the half you already figured out?

"Will work for (the memory of) salami"

RE: PLC Knightrider programme?

One solution in Boolean:
Start with a shift register with enough steps to handle all the states, Y0-Y7-Y0
Initialize the register with one flip-flop set (1).
Connect the register tail to head. Step the register with your timer.
Now the one bit should travel around the register.
The first step will use a one shot to turn on Y1.
The second step will use a one shot to turn on Y2.
The seventh step will use a one shot to turn off Y7.
The eighth step will use a one shot to turn off Y6.
Another alternative is to use a variation of a switch-tail ring counter. Assignment; Research switch tail ring counter. It has been called a bi-quinary counter when used for counting in base ten systems.

"Why not the best?"
Jimmy Carter

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close