On Mon, Jun 1, 2015, at 11:06 AM, Ralph Stirling wrote:
> I've been puzzling for a long time how one would create sequential state
> machines in hal logic, and it finally dawned on me that you guys are doing
> that in things like pyvcp or axis.  It would be nice if hal itself could have 
> a
> good mechanism for defining states and state transition logic.  Have I
> missed something?
> 
> -- Ralph

"hal itself" is really just a framework for interconnecting components.  It
is the components that do the work.  We have simple components like 
and gates and summers, medium components like software step 
generators and software encoder counters, hardware drivers like parport
and Mesa, and we have very complex components like the LinuxCNC
motion controller and the Classicladder PLC.

Classicladder can certainly do state machines.

A component specifically designed to execute state machines would be
a nice addition.  I think the biggest problem is probably coming up with a
way to specify the states and transitions, and passing that information to
the component.


-- 
  John Kasunich
  [email protected]

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to