I'm trying to figure out the best way to do things...
I have a spindle control (VFD) with a Modbus interface, and a PLC for controlling the tool changer, also with modbus. Is there any way to talk to them both? Note that one is RS-232 only (no RS485). It is simple enough to have two serial ports on the PC, but is there any way to get Mach to use them? What is the "Port/Address" entry in the modbus plugin spreadsheet? Is this a Com port setting? If so, how can I set the baud rate separately for each port?
When writing new M6 code, is there a way to directly access Modbus plugin I/Os from the VB Script? Does one need to use a brain to stuff values into DRO's, and then read them from the VB script?
Is there any documentation for this stuff? It seems to be all scattered around newsgroups, a wiki, and some very outdated pdf files that don't really get into the modbus stuff... I'm happy to read manuals, I just can seem to find them :'-(
Thanks for any help!
Best Regards,
-Peter