Am 12.11.2011 07:44, schrieb Farzin Kamangar:
> Hello, dear EMC users;
>      I checked all the manuals but I did not find anything regarding
> generation of user error messages. I need to show a message when one of my
> axis drives have an alarm and
> cannot move the axis. I have connected one of the drive outputs to one of
> parallel port inputs. When the drive has faulted and its output shows its
> condition, the controller feels
> it through the parport input pin. Now I need to show a message on the
> notifications area that this drive has a fault. This way the user knows why
> the axis is not moving actually.
> Could you please let me know how I can do that. I think something should be
> done in the HAL files, so I could show my message with respect to the level
> of one of the input pins.
> Thanks a lot,
> Farzin

Maybe the if/else conditional execution [1] in combination with an
status message [2][3] could work.
But i never tried this way of conditional messages.

Ciao,
     Rainer

[1] http://www.linuxcnc.org/docview/html/gcode_main.html#r3_3
[2] http://www.linuxcnc.org/docview/html/gcode_main.html#sub:Messages
[3]
http://www.linuxcnc.org/docview/html/gcode_main.html#sub:Debugging-messages

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to