Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep 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
Joined
Feb 19, 2003
Messages
2
Location
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?
 
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