Modbus Rtu And Danfoss Fc202 |
![]() ![]() |
Modbus Rtu And Danfoss Fc202 |
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 -------------------- Mark Empson administrator
Skype Contact = markempson | phone +64 274 363 067 LMPForum | LMP Tech Warehouse | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | LMP Software | Mark Empson Website |
|
|
|
Jul 17 2008, 07:07 AM
Post
#2
|
|
|
Member ![]() ![]() ![]() ![]() Group: Full Member Posts: 67 Joined: 30-May 05 Member No.: 1,115 |
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? |
|
|
|
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. -------------------- Mark Empson administrator
Skype Contact = markempson | phone +64 274 363 067 LMPForum | LMP Tech Warehouse | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | LMP Software | Mark Empson Website |
|
|
|
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....
|
|
|
|
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. -------------------- Mark Empson administrator
Skype Contact = markempson | phone +64 274 363 067 LMPForum | LMP Tech Warehouse | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | LMP Software | Mark Empson Website |
|
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
2 | marke | 1,858 | 17th March 2006 - 10:37 AM Last post by: omron |
|||
![]() |
8 | rusman | 1,208 | 26th February 2007 - 06:13 PM Last post by: marke |
|||
![]() |
6 | fede00 | 799 | 2nd March 2007 - 03:25 AM Last post by: marke |
|||
![]() |
0 | marke | 860 | 24th April 2007 - 06:19 AM Last post by: marke |
|||
![]() |
3 | Steven1984 | 1,038 | 7th April 2008 - 07:17 AM Last post by: Steven1984 |
|||
|
Lo-Fi Version | Time is now: 2nd December 2008 - 11:15 PM |