kanber Posted May 7, 2014 Share Posted May 7, 2014 Hello, I have a project which I am using daqfactory on 10 PC's. I need to control of these PC's over MODBUS TCP with another software. I will need to read and write the all channels of daqfactory. For that I tried to setup daqfactory Modbus TCP Slave. But I can only read value from dqfactory. How can I setup also for write channel from Master PC. Link to comment Share on other sites More sharing options...
AzeoTech Posted May 8, 2014 Share Posted May 8, 2014 Modbus slave only supports function 16 for setting values. The tag number must be between 1 and 4999 for signed integer, and 10000 and 14999 for floating. Even though the signed integer form could use function 6, the slave protocol only supports function 16. Link to comment Share on other sites More sharing options...
kanber Posted May 8, 2014 Author Share Posted May 8, 2014 It worked. Thank you, Link to comment Share on other sites More sharing options...
kanber Posted May 8, 2014 Author Share Posted May 8, 2014 Hi, I tried withyour modbus advanced scanner sample program. I attached master and slave channels on attached pictures. I have some problem; 1- When I was open modbus slave on program six variable show X on the tags. It is not updating. When I update all channels on master it is showing value. but I need when the program is open all value must be show on slave program.(modbus slave first opening.bmp) 2- I am getting socket error every ten seconds. Link to comment Share on other sites More sharing options...
AzeoTech Posted May 12, 2014 Share Posted May 12, 2014 I'm sorry, the screenshots didn't come through, so I'm not clear what you are asking. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.