IPB


Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Modbus Rtu And Danfoss Fc202
Digg this topic · Save to del.icio.us · Slashdot It · Post to Technorati · Post to Furl · Submit to Reddit · Share on Facebook · Fark It · Googlize This Post · Add to ma.gnolia · Tag to Wink · Add to MyWeb · Add to Netscape
marke
post Jul 15 2008, 07:33 PM
Post #1


Posting Freak
******

Group: Moderator
Posts: 2,099
Joined: 24-April 02
From: Christchurch, New Zealand
Member No.: 1



Hi

I have a project requiring serial coms control and monitoring of a Danfoss FC202 using MODBUS RTU.

I have the PLC talking, but can not work out how to access the current readings etc as these are on parameters that can not be mapped into the MODBUS register set.
The parameters below 9.99 map into 40000 - 49999, but how do you access parameters 10.00 and above??
I must be missing something.

Best regards,
Mark


--------------------
Go to the top of the page
 
+Quote Post
Carl
post Jul 17 2008, 07:07 AM
Post #2


Member
****

Group: Full Member
Posts: 67
Joined: 30-May 05
Member No.: 1,115



QUOTE (marke @ Jul 15 2008, 07:33 PM) *
Hi

I have a project requiring serial coms control and monitoring of a Danfoss FC202 using MODBUS RTU.

I have the PLC talking, but can not work out how to access the current readings etc as these are on parameters that can not be mapped into the MODBUS register set.
The parameters below 9.99 map into 40000 - 49999, but how do you access parameters 10.00 and above??
I must be missing something.

Best regards,
Mark

I recently finished a project on modbus I have a pdf files that could possibly help you ....how do I get them to you?
Go to the top of the page
 
+Quote Post
marke
post Jul 17 2008, 08:25 AM
Post #3


Posting Freak
******

Group: Moderator
Posts: 2,099
Joined: 24-April 02
From: Christchurch, New Zealand
Member No.: 1



Hi Carl

Depending on the size of the documents, you can attach them to posts here, otherwise I will PM you with an email address.

Have you done a project with the latest generation Danfoss drives, or a MODBUS project on a different application.
I complete several MODBUS projects per week, but this is my first attempt with an FC202.
It appears that there is a design issue with the parameter set in terms of MODBUS access.
The registers that I want to read are in menu 16, so in modbus are 56000 and upwards which is outside the legal address range for holding registers.

Best regards,
Mark.


--------------------
Go to the top of the page
 
+Quote Post
Carl
post Jul 21 2008, 01:26 PM
Post #4


Member
****

Group: Full Member
Posts: 67
Joined: 30-May 05
Member No.: 1,115



that sounds like a decimal addressing range..........it sounds like you should be using a hex range which is basically a function code and then a 8 bit hi and 8 bit low ....try that modmat software I'm sure that in a hex format....
Go to the top of the page
 
+Quote Post
marke
post Jul 21 2008, 06:51 PM
Post #5


Posting Freak
******

Group: Moderator
Posts: 2,099
Joined: 24-April 02
From: Christchurch, New Zealand
Member No.: 1



Hi Carl

Thank you for your reply.

I have resolved the situation.
The addressing described in the manual iimplies 5 digit modbus, when the reality is that it is actually 6 digit modbus.
I solved the problem by downloading a 6 digit modbus driver for the PLC.

The 5 digit driver for the plc I am using only allows for access by the modbus address and for 5 digit addressing, this lies between 40000 and 49999 for function 3 and 30000 and 39999 for function 4. You can not specify the actual function number and offset so if the driver is correct to the 5 digit specification, you can not access the upper registers by modbus address as they do not exist.

The 6 digit addressing lies between 400000 and 465535 and so the addresses fall into the valid range.
The description was to add 40000 to athe register address x 1000 and that is the 5 digit address range.
There are some pc programs that use 5 digit addressing without the range check and these will allow you to read addresses of 50000 and above as function 3.

Best regards,
Mark.


--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   2 marke 1,858 17th March 2006 - 10:37 AM
Last post by: omron
No New Posts   8 rusman 1,208 26th February 2007 - 06:13 PM
Last post by: marke
No New Posts   6 fede00 799 2nd March 2007 - 03:25 AM
Last post by: marke
No New Posts   0 marke 860 24th April 2007 - 06:19 AM
Last post by: marke
No New Posts   3 Steven1984 1,038 7th April 2008 - 07:17 AM
Last post by: Steven1984



RSS Lo-Fi Version Time is now: 2nd December 2008 - 11:15 PM
hosted by : L M Photonics Ltd