dvalerio Posted January 26, 2017 Share Posted January 26, 2017 Hi..! I am working with DAQFactory, and I want to know if it's possible to make a channel with ModbusRS485 Device Type to be an Read/Set Register at the same time. In the control I have, I can do it local, with a COM Tester, but with DAQFactoty I have reading channel or writing channel, but not both. Is there any way to establish a Channel to be readable and writable? Help..! Thanks.! Link to comment Share on other sites More sharing options...
AzeoTech Posted January 27, 2017 Share Posted January 27, 2017 If you create a Read Holding type of channel you can both read and write to it. Link to comment Share on other sites More sharing options...
dvalerio Posted January 27, 2017 Author Share Posted January 27, 2017 I stablish my Read Holding U16 (3) type of channel, but when I try to write in it from DAQConnect, the Command / Alert window displays: Quote Tried to set an input register or an unsupported data type (U16). I have this type of Channel: Quote Device Type: Serial_RS_485 I/O Type: Read Holding U16 (3) DAQConn?: (Yes) I am sending a "1" to the register to enable a LED. I have the sequence OnDCSet with this: if (key == "edoSalidasR") edoSalidasR = strtodouble(val) endif And the control in DAQConnect like this: system.sendCommand("test608.edoSalidasR",1) What can I do? Help! Thanks! Link to comment Share on other sites More sharing options...
AzeoTech Posted January 31, 2017 Share Posted January 31, 2017 Sorry, the U16 is the one data type that doesn't support it. Use S16 instead. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.