Sign in to follow this  
dvalerio

Set and Read Register

Recommended Posts

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.!

Share this post


Link to post
Share on other sites

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!

Device Type.png

Error.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this