Technical FAQs

Ask a Question

Can WRITE_VAR of SoMachine be used to execute write request to modbus slave device that only supports standard modbus request with function code 6 (16#6)means write single register.

Write request sent with WRITE_VAR incorporates standard modbus function code 16 (16#10) means write multiple
register and it is not suitable to use with slave device that only supports standard modbus request with function code 6 (16#6)
means write single register.
 
Making use of WRITE_VAR with such device possibly could result in BAD response from slave device and Operation error
of WRITE_VAR.
 
For such slave device “SINGLE_WRITE” function block is there with SoMachine that send write request with standard modbus
function code 6 (16#6) means write to single register should be used.
Was this helpful?
What can we do to improve the information ?