Igor Chudov wrote:
> I have a large number of machine controls that are on my Bridgeport
> Interact mill, such as jog controls, spindle
> forward/reverse/start/stop, brake etc.
>
> I would like to wire them all through EMC/PPMC.
>
> Where I am very concerned is producing a configuration that I will be
> able to understand 3-5-10 years from now.
>   
You have to document it.  Make a schematic of the actual wiring, once 
you get it working the way you want.
With numbered wires and terminals, that makes it easier to trace later.

Then, add comments for each HAL line that assigns an input pin to a 
specific function.
> I looked into HALUI and HAL files and logical elements. While I think
> that I understand why things were done the way they were, I am very
> concerned that a while later, I will not be able to make any sense of
> the config and logical elements. That would spell doom for long term
> use of this mill.
>   
No, it just isn't that complicated.  I can go back to EMC configs I 
haven't worked on in years and figure out what everything does in a few 
minutes.
> I read almost all EMC docs yesterday and it would appear that classic
> ladder may be a better, more documentable way of looking  at control
> logic.
>   
I'm not sure Classic Ladder is any better at documentation that HAL, 
unless you've spent your life in the industrial controls world and 
ladder diagrams look like road maps to you.  If you have very complex 
controls, like toolchangers with several arms and many many sensors, 
then CL may be attractive.  But, I think you can do what you want very 
concisely with HAL, too.  Some of these connections can be just ONE 
single line of HAL, linking an input pin to some function in EMC or 
pyvcp.  Others may need a latch, multiplexer or something.

Jon

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to