Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ladder Logic w/ loops or subroutines?

Status
Not open for further replies.

bjaminp

Electrical
Feb 19, 2003
2
US
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?
 
Replies continue below

Recommended for you

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top