1421
General Mach Discussion / Re: Mach & windows7
« on: October 24, 2010, 07:10:00 AM »
Thanks Gerry
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
What did not work about the send serial, that is an 8bit transfer.??
IAN look in the Mach wiki under Mach subfunctions it gives the basic VB commands and syntax to talk to a modbus device. It shold be what you need.I'm currently ploughing through this BUT there doesn't seem to be anything other than using autopolling. There are hints that direct access is possible but no explanation of how. I'll keep reading.
(;-) TP
Direct access to Modbus registers
There are occasions when a VB Script writer needs direct access to Modbus device registers. This is provided by an interface which allows reading and writing of a block of one or more registers into Mach3 buffers (distinct from the autopoller buffers) and routines for accessing data in the buffers.
Which function are you talking about?
what I'm referring to is the more simplistic anti-dive that comes out of the box with Mach - i.e. a software thing rather than hardware. The problem it's meant to prevent is that when you slow down round (say) a sharp corner, this causes the torch volts to rise. This fools the THC into thinking the torch to work distance has increased so the THC sends torch DOWN to Mach. Ouch - Crash.
So to get round this you can set an anti dive speed in Mach (OEM 82) which basically says if you go slower than this then ignore the UP/DOWN signals from the THC. It's enabled/disabled with OEM 221 or with OEM 222,223.
in the mach2 mill manual on the downloads page section 6.2.13.1.