Hello,
I am looking if it is possible de change the slave_IP_address and slave_TCP_port by software.
I am writing a application for a customer, where we need to install a few identical configuration but to request information each on a specific PLC by modbus master.
I am expecting to give the PCL IP address by a config file read a the start of the program.
I am working with a Kunbus Pi Core 3
Many thanks in advance for you answer
Regards
Maxence
change slave_IP_address / slave_TCP_port
Re: change slave_IP_address / slave_TCP_port
Hi Maxence, in PiCtory there are values which cannot be changed dynamically, e.g. "MEM".
A workaround is to edit the "_config.rsc", e.g. with "sed". Then use "piTest -x" to make this change live.
A workaround is to edit the "_config.rsc", e.g. with "sed". Then use "piTest -x" to make this change live.