Hi,
I have a control system that requires a Modbus RTU Master to communicate on power up.
The only way I can get the extended data to start transmitting on power up is to "file save as start-config" and then "tools reset driver" via PiCtory, then everything works.
Is there any other way (maybe programmatically?).
Cheers,
Martin
Rev Pi Connect Modbus RTU Master Initialisation
Re: Rev Pi Connect Modbus RTU Master Initialisation
Hi Martin,
I'm not sure if I understood your questions correct, but you can do the driver reset via `piTest -x` programmatically.
-Nicolai
I'm not sure if I understood your questions correct, but you can do the driver reset via `piTest -x` programmatically.
-Nicolai
Re: Rev Pi Connect Modbus RTU Master Initialisation
Hi Nicolai,
I know I can probably look in the code for piTest (-x), but what's the 'C' command to do that, I have a program running that I can add the command to.
Cheers,
Martin
I know I can probably look in the code for piTest (-x), but what's the 'C' command to do that, I have a program running that I can add the command to.
Cheers,
Martin
Re: Rev Pi Connect Modbus RTU Master Initialisation
Found it
piControlReset();
Cheers,
Martin
piControlReset();
Cheers,
Martin