Hello
Guest
it is
June 03, 2023, 04:53:37 AM
Guest
Login
Register
Menu
Home
Help
Search
Calendar
Members
Members
View the memberlist
Search For Members
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
General Mach Discussion
/
Selecting pulley under Vb or Brains
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: Selecting pulley under Vb or Brains (Read 1553 times)
0 Members and 1 Guest are viewing this topic.
TadyTheFish
21
Selecting pulley under Vb or Brains
«
on:
February 21, 2016, 05:16:18 PM »
is it possible to select pulley1 or pulley2 in Brains or VB?
i have a lathe with a gearbox and i can switch between two gears. I need to tell mach in what gear is the gearbox so it can apply a proper PWM pulse on the output.
Thank you!
Logged
Overloaded
4,918
Re: Selecting pulley under Vb or Brains
«
Reply #1 on:
February 21, 2016, 10:03:18 PM »
M101 (for example)
SetOEMDRO(56,1)
M102
SetOEMDRO(56,2)
You could also mount a switch so Mach3 will see which gear its in without having to enter the info manually or by code.
! input either off or on.
«
Last Edit: February 21, 2016, 10:05:59 PM by Overloaded
»
Logged
TadyTheFish
21
Re: Selecting pulley under Vb or Brains
«
Reply #2 on:
February 22, 2016, 12:29:11 AM »
I was going for that theiry. The lathe has switches to see in witch gear it is. I made some macros and the operator has two buttons with leds on top. First gear an second gear. If a gear is selected mach waits for the proper input to go high. Until that it waits and it turns the head at about 10 rpm. That way the gear really engages and it can't get stuck between gears
i was looking troughthe list of oem codes. It seems i overlooked the 56 code. I wil try i!
Thank you so much!!!
Logged
Print
Pages:
1
Go Up
« previous
next »