LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview error -389112 (I can't write modbus holding registers)

Hello to everyone,

 

I'm trying to communicate a cRIO-9039 with a S7-300 using modbus tcp. The thing is that I can read the values from the input registers in the PLC, but when I try to write in the holding registers, I obtain this error:

 

"Error -389112 the modbus slave does not accept the data address contained in the query. Function 16"

 

I add the function block on the snapshots.

 

Do you have any suggestions?

Download All
0 Kudos
Message 1 of 3
(4,238 Views)

Not all register addresses have to exist on a modbus slave, so you obviously try to send data to an invalid register address. Or you try to write to a address that you are not allowed to write to.

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 2 of 3
(4,218 Views)

Hello Jens,

 

I've tried to communicate with qmod Master and I obtain an error also (images attached). I've tried to write single and multiple registers, but it says that the data is invalid. Could it be that the registers are write-protected?

0 Kudos
Message 3 of 3
(4,212 Views)