Yann, You are welcome..
Try putting Classic Ladder into stop mode via the stop button before editing the logic. Then once you are done editing, always save it with the save button, then push the run button to start the logic engine. I think some instability make sneak into CL if you try to do an edit while the logic engine is running. If you see the "stop" button then you are running, as it changes to a "run" button when you are stopped. I have never tried to print from CL. Although I thought I saw it written someplace that there are some bugs that prevent the print function from working properly. I have CL running ladder logic with EMC2 v 2.4.1 on Ubuntu 10.4 and also with the current development master 2.5_pre and the ladder logic is quite stable if I stick to doing edits in stop mode. Hal can be a powerful interface for EMC2 but I find it a lot more difficult to configure and debug than CL. Ask questions if you don't understand the logic. Hopefully I did not make any errors in the example. Dave On 7/7/2010 3:32 PM, yann jautard wrote: > > Dave wrote: > >> Yann, >> >> So you are saying that the sequential editor in Classic Ladder Grafcet >> freezes up? >> >> >> > yeah it does strange things, crash when printing, freezes up sometimes, > or don't save anything... > > > >> I use the Classic Ladder - Ladder editor quite a bit and I don't have >> any freezing problems with that. >> >> The only recent Classic Ladder changes that I am aware of are Modbus >> related, not logical editor related. >> >> What you need to do is to establish a "state" engine in Ladder. That >> gets around racing issues for the most part. >> >> > Yeah, this is exactly why I wanted to use grafcet : it is dedicated to > implement state machines. > > >> There are some other techniques to avoid race issues but I will skip >> those now for clarity.. >> >> A program that you need might look like the following: (Look at this in >> fixed width type) >> (snip) >> > wow ! thanks for that detailled answer ! I will try tomorow to figure > out how what you suggest work. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users