[?]: Sample Program of Unity Pro

другие контроллеры
Post Reply
leofarhan
Posts: 122
Joined: Fri May 01, 2009 8:50 am

[?]: Sample Program of Unity Pro

Post by leofarhan » Fri Nov 13, 2009 11:22 am

I need a sample program for unity pro in which I need to use a loop in the loop using increment function. I noticed that the loop is not working.

Need help.

WH_Mike
Posts: 59
Joined: Sun Feb 17, 2008 10:14 pm
Location: Russian Federation

Re: [?]: Sample Program of Unity Pro

Post by WH_Mike » Mon Nov 23, 2009 5:58 pm

Hi!
Waths loop do you mean?
- in SFC section with STEP connection;
- in LD or FBD section with block connection;
- in ST section - cycle (FOR, REPEAT, WHILE).
What exactly?

leofarhan
Posts: 122
Joined: Fri May 01, 2009 8:50 am

Re: [?]: Sample Program of Unity Pro

Post by leofarhan » Tue Nov 24, 2009 6:00 pm

Thanks for reply dear.

I need an example of loop & Nested loops in Ladder.
I tried myself but got few problems, sometimes the watchdog overflow, i.e. loop does not terminate. and some time operator does not work properly.

My Basic requirement is to find a value from an array of registers by comparing that value with all the elements of array one by one using loop in Unity Pro.

Looking forward for your reply.

Regards

LEO

WH_Mike
Posts: 59
Joined: Sun Feb 17, 2008 10:14 pm
Location: Russian Federation

Re: [?]: Sample Program of Unity Pro

Post by WH_Mike » Sun Nov 29, 2009 1:06 am

Hi!
Your task is much easyer to make in ST language, but it possible in Ladder too (with Jump label).
Test project you may find here
If you try somthing else, post here url to your sample. I'll look at them.

Good luck!

WH_Mike
Posts: 59
Joined: Sun Feb 17, 2008 10:14 pm
Location: Russian Federation

Re: [?]: Sample Program of Unity Pro

Post by WH_Mike » Sun Nov 29, 2009 11:22 am

In previous post was sample with loop blocks placed in different nets.
Here is project with two sample of LD loop placed in single net. I think that you mean this way.

Good luck!

mech962784
Posts: 217
Joined: Mon Nov 12, 2007 12:10 pm

Re: [?]: Sample Program of Unity Pro

Post by mech962784 » Thu May 20, 2010 9:00 am

Dear WH_Mike

Kindly repost the sample programs.

WH_Mike
Posts: 59
Joined: Sun Feb 17, 2008 10:14 pm
Location: Russian Federation

Re: [?]: Sample Program of Unity Pro

Post by WH_Mike » Thu Jul 15, 2010 7:55 pm

Reposted sample programm is here.

Post Reply