×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

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

Jobs

Ladder Logic w/ loops or subroutines?

Ladder Logic w/ loops or subroutines?

Ladder Logic w/ loops or subroutines?

(OP)
I am currently programming an IDEC OpenNet PLC, which uses the WindLDR software.  My question is, if I want to repeat a process several times, is there a way to program a subroutine or a loop with a counter by using index addressing in the ladder logic programming?  If so, how do I do this?  If it is not possible, can I write the program in C++ and then compile it into the ladder software language?  

RE: Ladder Logic w/ loops or subroutines?

I do not know the PLC you mention, but almost any PLC supports FOR-NEXT type loops, conditional jumps, subroutines and indexed addressing.
A certain type PLC may miss one of the mentioned.
For instance, discontinued Mitsubishi FX0 series did not support subroutines.

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!


Resources