• Scam Alert. Members are reminded to NOT send money to buy anything. Don't buy things remote and have it shipped - go get it yourself, pay in person, and take your equipment with you. Scammers have burned people on this forum. Urgency, secrecy, excuses, selling for friend, newish members, FUD, are RED FLAGS. A video conference call is not adequate assurance. Face to face interactions are required. Please report suspicions to the forum admins. Stay Safe - anyone can get scammed.
  • Several Regions have held meetups already, but others are being planned or are evaluating the interest. The Ontario GTA West area meetup is planned for Saturday April 26th at Greasemonkeys shop in Aylmer Ontario. If you are interested and haven’t signed up yet, click here! Arbutus has also explored interest in a Fraser Valley meetup but it seems members either missed his thread or had other plans. Let him know if you are interested in a meetup later in the year by posting here! Slowpoke is trying to pull together an Ottawa area meetup later this summer. No date has been selected yet, so let him know if you are interested here! We are not aware of any other meetups being planned this year. If you are interested in doing something in your area, let everyone know and make it happen! Meetups are a great way to make new machining friends and get hands on help in your area. Don’t be shy, sign up and come, or plan your own meetup!

Weiss VM32 CNC Conversion

Picking up a Lenovo i5-6500/16GbRAM/256Gb SSD tonight. Private seller so far as I can tell.
How much in the end?
BTW, I've pulled off the ini and hal files from the Tormach install. They don't appear to support an encoder or step/dir. But that's easy to fix. Just becomes a customized Linux CNC install.
 
How much in the end?
BTW, I've pulled off the ini and hal files from the Tormach install. They don't appear to support an encoder or step/dir. But that's easy to fix. Just becomes a customized Linux CNC install.
$130. He didn't have a $109 one left and the other $99 dollar ones were in Vancouver.
 
I'm also making progress with the Path Pilot. This is from my windows network. @gerritv provided the info on how to disable automatic running of Path Pilot so now I have a standard Linux Mint interface and with that access to SAMBA (smb.conf) to set up my windows workgroup. Which means I can now drag and drop G-Code files onto the machine.

Now to read up on accessing the MESA board so I can get a dump of how all the I/O is set up and not just for the TMC1100-3. Theoretically I should be able to rewrite the HAL file to use the same I/O I have hard wired on my mill.

1747870946485.png
 
That's fantastic progress John!
Couldn't do it without @gerritv He's been the real brains behind all this.

Here's mine as far as configuring the MESA 7i92H:
board_ip="192.168.1.121" config=" num_encoders=2 num_pwmgens=1 num_stepgens=6"

Here's the Path Pilot version:
board_ip=10.10.10.10 config=num_encoders=0 num_pwmgens=1 num_3pwmgens=0 num_stepgens=5

Likely the BIT file for the 7i92 used by Path Pilot doesn't have encoders so a few other things have to be changed to make this all come together. For example in the ini file there is:
BITFILE0=mesa/tormach_mill3_7i92.bit

I can put the .bit file I use for my system in place of this but then I also have to make sure I name the appropriate I/O in the hal file to match. Looks like they are using the standard parallel port pin numbers as used for MACH3. This is all a lot of work but it looks possible.

# Configuration pin-out:
#
# IO Connections for P3
# Mill Function Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
#
# Spindle Speed 1 0 IOPort StepGen 4 Step/Table1 (Out)
# Coolant 14 1 IOPort None (Out)
# X Direction 2 2 IOPort StepGen 0 Dir/Table2 (Out)
# Estop Reset 15 3 IOPort None (In)
# X Step 3 4 IOPort StepGen 0 Step/Table1 (Out)
# Spindle Dir 16 5 IOPort None (Out)
# Y Direction 4 6 IOPort StepGen 1 Dir/Table2 (Out)
# Charge Pump 17 7 IOPort PWM 0 PWM (Out)
# Y Step 5 8 IOPort StepGen 1 Step/Table1 (Out)
# Z Direction 6 9 IOPort StepGen 2 Dir/Table2 (Out)
# Z Step 7 10 IOPort StepGen 2 Step/Table1 (Out)
# A Direction 8 11 IOPort StepGen 3 Dir/Table2 (Out)
# A Step 9 12 IOPort StepGen 3 Step/Table1 (Out)
# X Limit 10 13 IOPort None (In)
# Y Limit 11 14 IOPort None (In)
# Z Limit 12 15 IOPort None (In)
# Probe In 13 16 IOPort None (In)
#

Mine isn't a lot different for the first port except I'm not using Spindle Speed on #1 and instead use that stepgen for my charge pump where Tormach uses pin 17 PWM for the charge pump. But the stepgens match for the 4 axis. My BoB wants ESTOP on Pin10 where it's an X Limit on the Tormach.
# IO Connections for P2 MESA 7i92_PMDX126Ax2D.pin (modified from pin file)
# DBn.m_PMDX_Jn.m I/O Pri.func Sec. func Chan Pin func Pin Dir System usage

# P1.1_J6.2 0 IOPort None (Out) machine-is-enabled (output)
# P1.14_J6.3 1 IOPort PWM 0 PWM (Out) spindle-vel-cmd-rps PWM (output)
# P1.2_J4.2 2 IOPort StepGen 0 Step/Table1 (Out) x axis step pulse (output)
# P1.15_J12.9 3 IOPort None (In) max-x-y-min-z (input)
# P1.3_J4.3 4 IOPort StepGen 0 Dir/Table2 (Out) x axis dir signal (output)
# P1.16_J6.4 5 IOPort None (Out) spindle-ccw output (output)
# P1.4_J3.2 6 IOPort StepGen 1 Step/Table1 (Out) y axis step pulse (output)
# P1.17_J6.5 7 IOPort StepGen 4 Step/Table1 (Out) Charge Pump frequency (output)
# P1.5_J3.3 8 IOPort StepGen 1 Dir/Table2 (Out) y axis dir signal (output)
# P1.6_J2.2 9 IOPort StepGen 2 Step/Table1 (Out) z axis step pulse (output)
# P1.7_J2.3 10 IOPort StepGen 2 Dir/Table2 (Out) z axis dir signal (output)
# P1.8_J1.2 11 IOPort StepGen 3 Step/Table1 (Out) a axis step pulse (output)
# P1.9_J1.2 12 IOPort StepGen 3 Dir/Table2 (Out) a axis dir signal (output)
# P1.10_J13.4 13 IOPort None (In) estop-external-in (input)
# P1.11_J12.3 14 IOPort QCount 0 Quad-A (In) min home-x (input)
# P1.12_J12.5 15 IOPort QCount 0 Quad-B (In) min home-y (input)
# P1.13_J12.7 16 IOPort QCount 0 Quad-IDX (in) max-home-z (input)

These are all just assignments that are easy enough to change. For example in mine...
setp hm2_7i92.0.stepgen.00.step_type 0
setp hm2_7i92.0.stepgen.00.control-type 1

In the Tormach the macros HOSTMOT2 and BOARD are defined in the INI file
[HOSTMOT2]
BOARD=7i92

turns this into exactly the same thing as mine for the X axis.
# X axis
# step/dir
setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.step_type 0
# velocity control
setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.control-type 1

Confusing yes. But eventually it does start to make sense.
 
BTW, from the concept of embedded CAD into CAM there's NativeCAM which allows drawing simple objects (or maybe not so simple) within the CAM environment.
I suspect it's more powerful than Path Pilot but that like MACH3 Wizards Path Pilot seems to be a tad more graphical.
Here's a video on using NativeCAM.
 
BTW, from the concept of embedded CAD into CAM there's NativeCAM which allows drawing simple objects (or maybe not so simple) within the CAM environment.
I suspect it's more powerful than Path Pilot but that like MACH3 Wizards Path Pilot seems to be a tad more graphical.
Here's a video on using NativeCAM.
OK that's actually pretty cool
 
Couldn't do it without @gerritv He's been the real brains behind all this.

Here's mine as far as configuring the MESA 7i92H:
board_ip="192.168.1.121" config=" num_encoders=2 num_pwmgens=1 num_stepgens=6"

Here's the Path Pilot version:
board_ip=10.10.10.10 config=num_encoders=0 num_pwmgens=1 num_3pwmgens=0 num_stepgens=5

........

Confusing yes. But eventually it does start to make sense.
Yes, it's a bit daunting BUT usually there is a solution that you are in control of that lets you customize your system to do what you want it to do. That's what I like about it.
 
Wow, Qtdragon_hd looks great!
View attachment 64815
Nice. I'm becoming disappointed with Path Pilot. Had it working great. On the network. Rebooted back into the system and couldn't restart Path Pilot. Just crashed each time.

When it was working and I had Path Pilot working it showed up reduced in size because the background was full 1080P.

Finally restored from the backup. Now it's back to working but as soon as I enable SAMBA it starts going south. Can't get back to where I was before. Can't find my USB WiFi thingy to see if it's a hardwired ethernet issue although pulling out the additional card didn't fix it.

Time to quit for the night. Brain is dead.
 
Wow, Qtdragon_hd looks great!
View attachment 64815
Qtdragon
Is that one of the standard GUIs you can select during the install?

I do like the look of it. I'm using Axis on both machines and trying the other GUIs is further down my todo list.

HAL and ini files look intimidating but there actually your best friend when you understand how they work. There are a couple of videos that do a great job of explaining how to tweak them.

In simplest terms, they are simple text based files that are read by the main program at startup. Each line is like a wire in a circuit that joins a hardware point for example a limit switch input to the software engine that controls the machine. The syntax has to be perfect. There are a lot of hooks to the main software engine (hundreds) however you only need to define the ones you need. The HAL interface is fantastic it lets you look and monitor any one of those hooks and defines the type of hook it is for example a simple digital input, a float value, an integer etc. The names for those hooks tend to be long and confusing at first glance but there is a reason for that it's because there are a lot of hooks and they all need to have a unique name. Once you get the hang of it it's fantastic for the flexibility it offers.

 
Last edited:
@slow-poke I happened onto Qtdragon because I was looking at using a raspberry Pi on a FlexiHAL and it was the GUI they picked as the default. I quite like the look and feel and it has some rudimentary conversational programming available.

Thanks for the HAL explanation and video link. That's going on my list to watch.
 
Thanks for the HAL explanation and video link. That's going on my list to watch.
When watching the video he often references ladder logic. IMO just ignore any reference to ladder logic I didn't apply to anything I did.

Two important tid bits:
1) Typically you start with one of the configurators that has selections for all the normal things like how many axis, how many limit switches etc. The configurator then generates your HAL and ini files.
2) Most of the "wired links" you create require two lines to form the link that use a shared name that you just make up, it can be anything unique, for example, davids_limit_Switch5. So on one line the name gets linked to something in Linux and the other line links it to the hardware that will likely have a somewhat cryptic name that say is a pin on your mesa board. All those mesa board pins are viewable in HAL show, you can just scroll up and down to find the one you want. The only thing to be careful about is that the thing being linked is of the same type. For example you can link a limit switch to say a digital input, but you can't link say the spindle rpm to a digital output.
 
Last edited:
@slow-poke is dead on with respect to the HAL and INI files. What was immediately obvious too with the Path Pilot is that they only use one of the two 7i92H parallel ports. For the rest of their I/O they use a USB based 16+16 I/O module. Seems they also have the door switch on the cabinet in series with their limit switches but they also limit the spindle speed with the door open. I guess one would have to also read the Tormach 1100 user manual.

Here are the two files from that path pilot installation.
 

Attachments

Back
Top