Machsupport Forum

Third party software and hardware support forums. => Modbus => Topic started by: stirling on January 10, 2012, 08:33:58 AM

Title: where are serial with plugin modbus settings stored
Post by: stirling on January 10, 2012, 08:33:58 AM
Mach has unfortunatley suffered one of it's spells of amnesia and lost my modbus settings. Fortunately my memory is marginally better than Mach's so I could redo them. Just for if it happens again though does anyone know where these values are persisted? I'm talking about the modbus config settings (see attached modpic2) which applies to serial modbus with plugin support as set on the ports n pins dialog (see attached modpic1). I can't see anything in the backup XMLs.

Thanks

Ian
Title: Re: where are serial with plugin modbus settings stored
Post by: poppabear on January 10, 2012, 09:46:11 AM
Hey Ian,

     Look in the "Macros" folder for you profile, (yes, I know, it doesn't make sense), at any rate in the macro folder.
you will see up to TWO files, depending on if you have serial or tcp or both modbus'es configured.

Here are the file names:

1). "ModBus.cfg"   This is the Serial Plugin Modbus config file for your profile.
2). "TCPModBus.cfg"   This is the TCP Modbus config file for your profile.

Once you have all your Modbus settings done (and varified to work), copy these two (if you use both serial and tcp), where ever you thing the
Giant Grey Space Ants can't break the molecular bonds of your files.......

Scott
Title: Re: where are serial with plugin modbus settings stored
Post by: stirling on January 10, 2012, 11:24:24 AM
Hi Scott

Perfect - thanks. Never even crossed my addled mind to look there...

Thanks again

Ian