Modbus form Omron CP1E and a Danfoss drive

blima

Member
Join Date
Aug 2010
Location
Lisbon
Posts
96
Hello!

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

Attached you will find the demo project that I'm using. I want to read the register 2910 wich is B5F in HEX base minus one.

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

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/crc-calculation.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
 
Hello Gclshortt!

I have already gone throw the examples that you have pointed out on your link but still no sucess!

I have hardwire the omron cp1w-cif11 in the following way:
All dip switchs ON expect number except numer 4.

- Terminal 68 from Danfoss connected to RDB+ and SDB+ pins
- Terminal 69 from Danfoss connected to RDB- and SDB- pins
 
Another thing that perhaps could make the diference is that this optional board is connected on the right port of the CP1E PLC. The system bits for starting RS485 are still the same?
 
Last edited:
Hmm, I'm a little confused now! lol

Looking at the table on the last link, I can see some system bits for serial communication on RS232. Correct? Or this are the bits that I have to use also for RS485?

In that case, wich bit substitute for A640.0/A640.1/A640.2?

Thanks for the help. It's my first time that I work on a project with Modbus!
 
First (this is of no consequense for your question), the FC301 is an Automation Drive and the FC202 is the Aqua drive ;-)

0x0B5F is 2911, I think it should be 2909 (0xB5D) instead.

Does the PLC add 40000 hex to the Holding register by itself? Otherwise this might be a try as well.
 

Similar Topics

Hello, I am trying to implement some data coming from an Compressor Controller, but cant quite figure out what i am supposed to put into the...
Replies
0
Views
130
I am using system platform and MBTCP to read and control 48 discrete outputs on a phoenix contact ethernet based controller. The first 16 outputs...
Replies
3
Views
3,012
Hello I'm trying to read a register from a Modbus device into Wonderware System Platform. In object viewer it shows the status of being "Good"...
Replies
1
Views
1,918
Dear all, as far as my past experience this forum as help me alot as indicated above the MCM 3150 SLC is been installed in site i have to use...
Replies
0
Views
2,535
Apologies for not being the best IDEC programmer. I recently was doing some inspections on a site that had 3 FC6A IDEC processors. The issue is...
Replies
0
Views
36
Back
Top Bottom