Page 1 of 1

Modbus form Omron CP1E and a Danfoss drive

Posted: Fri Feb 10, 2017 12:05 pm
by BLima
Hello!

I have tried to communicate with a Danfoss drive Aqua FC301 over RS485 but I had no sucess!

I have used the following registers:
d1300- node id - #0001

d1301- function code of read - #0003

d1302 - number of bytes to read - #0004 (Want to read two registers, each one has one word so I have 4 bytes to read the two registers: status word and main actual value)

d1303 - address of register to read - 1 - #0B5F - I want to read the register 2910 wich is B5F in HEX base minus one.

d1304 - Number of address to read - #0002 (Want to read 2 registers: status word and main actual value)

d1305 - CRC - #4A2D

To calculate the CRC I have used the following link:
https://www.lammertbies.nl/comm/info...lculation.html

I have put all the zeros to calculate the CRC, since I have seen that if I do not put them the number is different.

Can anyone point to me where is the problem?

Thanks,
Bruno

Re: Modbus form Omron CP1E and a Danfoss drive

Posted: Sun Feb 19, 2017 2:31 pm
by Evgeny
To simplify the task, you can use the FB for modbus from site Omron France support. https://www.support-omron.fr/Programmes.php