Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aux Relay Outputs? #14

Open
mlewus opened this issue May 21, 2021 · 7 comments
Open

Aux Relay Outputs? #14

mlewus opened this issue May 21, 2021 · 7 comments

Comments

@mlewus
Copy link

mlewus commented May 21, 2021

Does anyone know if there is any standard mapping for the use of the Aux 0, 1, & 2 relay outputs in GRBL on the breakout board?

@raenji-sk
Copy link

http://linuxcnc.org/docs/html/gcode/m-code.html#mcode:m62-m65
I use theese to control one of the aux pins. Had to modify the postprocessor for fusion 360 so that it triggers it. I use it to turn on/off the vacuum independently of the spindle.

@ericspooner
Copy link

For anyone finding this, I found based on the above:

M64 P0 = Aux 0
M65 P0 =Aux 0 off

M64 P1 = Aux 1
M65 P1 =Aux 1 off

M64 P2 = Aux 2
M65 P2 =Aux 2 off

I'm guessing M62PX and M63 PX Spindle On/Off and Vac On/Off, but I didn't get +5V out of them, though I haven't spent much time with the board yet.

@phil-barrett
Copy link
Owner

phil-barrett commented Jul 12, 2022

Spindle (and Vac) are controlled by M3 (on, forward), M4 (on, reverse) and M5 (off).

FWIW, M7 turns Mist on, M8 turns Flood on and M9 turns them both off.

The LinuxCNC GCode manual describes M62-M65 behavior. Relevant section. [Edit: I saw that raenji-sk already posted this.]

@ericspooner
Copy link

Thanks for the response! I got my board this weekend, and I did notice those turned on, but wasn't sure if you could separate them to use the M62's or not. Looking forward to more testing with the board!

@cuishuang413
Copy link

For anyone finding this, I found based on the above:

M64 P0 = Aux 0 M65 P0 =Aux 0 off

M64 P1 = Aux 1 M65 P1 =Aux 1 off

M64 P2 = Aux 2 M65 P2 =Aux 2 off

I'm guessing M62PX and M63 PX Spindle On/Off and Vac On/Off, but I didn't get +5V out of them, though I haven't spent much time with the board yet.

Hello everyone, I tried M64 and M65, it doesn't look like it's doing anything. I'm using a custom grblHAL firmware, is there some config I need to define to enable it?

Thanks,

@phil-barrett
Copy link
Owner

phil-barrett commented Jan 20, 2024

Where are you testing the voltage? At the screw terminals or the pin headers?

The pin headers should show +5V when turned on.

The screw terminals are open collector outputs so will not show a voltage. These essentially act like a switch. This describes it in more detail. By the way, you need to jumper the relay voltage selection header, as well.

For more info on using the open collector screw terminals, check here.

@cuishuang413
Copy link

I was testing them on the pin headers. And it turns out that I didn't have the correct board selected. Thanks anyways!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants