Welcome, Guest. Please login or register.
Did you miss your activation email?
February 13, 2012, 01:19:00 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Third party software and hardware support forums.
| |-+  Galil (Moderators: smurph, kcrouch)
| | |-+  Galil OE function
Pages: 1   Go Down
Print
Author Topic: Galil OE function  (Read 1572 times)
0 Members and 1 Guest are viewing this topic.
HillBilly
Active Member

Offline Offline

Posts: 181


View Profile
« on: August 17, 2009, 07:26:42 AM »

I would like to use the Galil OE (Off-on-Error) function with the Mach3 Plugin. In Smart Terminal I enabled the axis with the OE command, set error limits with the ER command and did a BN to the Galil memory. It does stop motion when the limit is exceeded but I have no indication in Mach3 what happened other than the stopped motion. Is there a way for the Galil to notify Mach3 in this situation.

One more question, is there a way to get the TE information from the Data Record into a Mach3 OEMDRO?

It would be nice if the OE function was part of the Plugin. It can really protect your system against a crapped out servo drive or motor!

Thanks for the updated Plugin, it made a big difference on my setup!
Darek

Logged
HillBilly
Active Member

Offline Offline

Posts: 181


View Profile
« Reply #1 on: August 21, 2009, 03:39:39 PM »

I hooked the ERROR output of the Galil back into one of the general purpose inputs to signal Mach 3 of the fault.

I would HIGHLY recommend that anyone using the Galil with encoder feedback use the Off-on-Error function.

This is from the Galil command reference manual under the OE command.

Hint: The OE command is useful for preventing system damage due to excessive error.

Darek  
Logged
smurph
Active Member

Offline Offline

Posts: 242


View Profile
« Reply #2 on: August 27, 2009, 08:05:10 PM »

Darek,

If you are using the latest plugin, there is a Notify message tab in the configuration dialog that is capable of sending any command to the controller (Such as TE) and load the result in a DRO.  You can attach the command to a button with the VB NotifyPlugin() function.  Or you could use the error signal in a MACRO to send the notify message to get automatic error codes.

I might add the position error settings into the plugin configuration dialog.  But right now, it is considered like the tuning parameters (KP, KI, KD) and offset voltages (OF), something to be set and burned into the controller.

Steve
Logged
HillBilly
Active Member

Offline Offline

Posts: 181


View Profile
« Reply #3 on: August 29, 2009, 07:38:13 AM »

Steve,

Sounds good.

The example in the GalilPlugin.pdf shows using a DRO to set a Galil variable "SPI=DRO55". Would the command string be "DRO1001=TEA" since I am wanting to set the DRO with the Galil response?

Thanks,
Darek
Logged
smurph
Active Member

Offline Offline

Posts: 242


View Profile
« Reply #4 on: August 29, 2009, 04:07:34 PM »

Darek,

You got it!  That's how it would work.  Of course, this makes many things possible.  Mach/Galil makes for a very powerful solution machine control solution.

Steve

Logged
HillBilly
Active Member

Offline Offline

Posts: 181


View Profile
« Reply #5 on: August 29, 2009, 05:23:02 PM »

Steve,

Yes it does!  

Just to be sure I get the whole picture I would then use NotifyPlugin(3000) in a macro or macropump to trigger the command I have enabled under MessageID 3000 in the Plugin.

Thanks,
Darek
Logged
smurph
Active Member

Offline Offline

Posts: 242


View Profile
« Reply #6 on: August 30, 2009, 12:14:43 AM »

That's it.   Nothing more to it than that.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!