plcforum.uz.ua

International PLC Forum
It is currently Fri Apr 28, 2017 9:16 am

All times are UTC + 3 hours


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Feb 10, 2017 3:05 pm 

Joined: Sun Aug 24, 2008 2:43 am
Posts: 16
Location: Europe
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


Top
 Profile  
 
PostPosted: Sun Feb 19, 2017 5:31 pm 

Joined: Sun Feb 19, 2017 11:27 am
Posts: 2
To simplify the task, you can use the FB for modbus from site Omron France support. https://www.support-omron.fr/Programmes.php


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by International PLCforum® Forum Software © PLCforum
Mobile version