node-modbus-serial icon indicating copy to clipboard operation
node-modbus-serial copied to clipboard

i am trying to communicate node js with plc delta but i have this error..

Open Hrmalek opened this issue 3 years ago • 1 comments

Hrmalek avatar Apr 08 '22 00:04 Hrmalek

Hi @Hrmalek

This error is more related to modbus mapping registers from Delta. Last year I was in the same trouble but with a PHP script, let me try to explain about:

  • First you need to move your data on the PLC memory to some adequate registers according to your needs. Then you will need to find his hex address according to Modbus address table from Delta. (i.e. D10 is mapped to 1000 on HEX and 4106 on DEC)
  • Maybe need to also enable "Data Exchange" with the Delta DCI Software.. just in case.
  • Modify the example according to your addresses and verify the callback response from client instance.

Screenshot Modbus

Please let me know if you could resolve this issue, I will be happy to help you!

Note: for this controller is not required to use connectTcpRTUBuffered instead of connectTCP

modbus-address-table-delta-plc.pdf

francisco-natareno avatar Jan 19 '23 05:01 francisco-natareno