Anyone know how to send a byte or a word or indeed anything from Mach VB to a modbus slave (direct access - not autopolling preferably)? I can happily read/write data from/to my slave's holding registers using the Mach modbus test interface - but how to do with VB?
The wiki teases us with this:
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.
But sadly no mention that I can find of WHERE these elusive VB calls are documented.
Any seasoned modbus gurus out there?
Cheers
Ian