It's hard to describe here but I'll try... sounds like you need a timer 
and based on the value of the timer you assign a value to your output 
pin. you have to arrange your rungs... this would be so much easier on 
the forum I could upload a screenshot...

John

8/18/2012 11:08 AM, Viesturs Lācis wrote:
> 2012/8/18 John Thornton <[email protected]>:
>> The variable assignment along with your input logic should work.
>>
>> http://linuxcnc.org/docs/html/ladder/classic_ladder.html#_variable_assignment
> Thanks!
> I already found that part.
>
> The question is:
> Can I assign different values to _one and the same_ s32 output pin?
>
> I need something like this:
> 1) initial value of classicladder.0.s32out-00 is 0
> 2) on rising edge of input-1 set classicladder.0.s32out-00 to 10
> 3) 2 seconds later set classicladder.0.s32out-00 to 50
> 4) another 5 seconds later set classicladder.0.s32out-00 to 20
> 5) on rising edge of input-2 set classicladder.0.s32out-00 back to 0
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to