If you don't load your ladder at start up it won't be there...

The variable assignment along with your input logic should work.

http://linuxcnc.org/docs/html/ladder/classic_ladder.html#_variable_assignment

On 8/18/2012 10:44 AM, Viesturs Lācis wrote:
> 2012/8/18 John Thornton <[email protected]>:
>> Are you loading the user part of classicladder?
>>
>> loadusr classicladder --nogui hardinge.clp
>>
> I have only these 2 lines in HAL:
> loadrt classicladder_rt
> addf classicladder.0.refresh servo-thread
>
> I can open Ladder editor from LinuxCNC menu.
>
> I think that I found the solution:
> I added my own section in "section manager" window.
> Now after closing LinuxCNC and opening it again and then opening my
> clp file in Ladder editor has all the things I had previously put in
> there.
> Unfortunately I do not see in explained in this page:
> http://www.linuxcnc.org/docs/html/ladder/classic_ladder_fr.html
>
> Anyway, that one is solved.
> I have another question:
> Is there a way to assign different values to s32 output pin?
>
> In my case I want that s32 output pin to have velocity command for
> stepgen. And I need different velocities based on status of input
> switches. Instead of creating 3 or even 4 s32 output per stepgen I
> would like to set the value in classicladder, but I do not see, how to
> do that.
>
> Can anyone more experienced with classicladder advice me, if that is
> actually possible?
>


------------------------------------------------------------------------------
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