gmor Posted December 29, 2009 Report Share Posted December 29, 2009 I have an issue setting up a Horner XLe modbus rtu connection to a danfoss fc202. I am unable to achieve 6 digit addressing. Does anyone know how to interface the Horner with the Danfoss FC202? regards, Glenn Link to comment Share on other sites More sharing options...
marke Posted December 29, 2009 Report Share Posted December 29, 2009 Hello Glenn Welcome to the forum. What version of CScape are you using? Best regards, Mark. Mark Empson | administratorSkype Contact = markempson | phone +64 274 363 067LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters Link to comment Share on other sites More sharing options...
gmor Posted December 29, 2009 Author Report Share Posted December 29, 2009 Version 8.8 Link to comment Share on other sites More sharing options...
marke Posted December 29, 2009 Report Share Posted December 29, 2009 Hi Glenn In version 8.8, you can set the modbus master to 6 digit addressing, it is an option. Firstly, I hope that you are using the scanner option for Modbus Master. This is got to via the top menu, "program" then "Protocol configuration" Select Modbus Master for the serial port that you are using. Set up the hardware configuration under the network button, then set up you device (FC202) under the device button (add device), set the network address (ID) to match the ID on the drive and select device type as "Modicon PLC 6-digit Addressing" then add your scan list under the scan list button. You do not need any ladder logic to make this work, although I would normally set up a status register for each device and use that to indicate a comms error. Make sense? I am not sure what level you are at, so I appologise if I am stating the obvious. If you want more detail and sample code, let me know. Best regards, Mark. Mark Empson | administratorSkype Contact = markempson | phone +64 274 363 067LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters Link to comment Share on other sites More sharing options...
gmor Posted December 30, 2009 Author Report Share Posted December 30, 2009 Thanks Mark, the setup you mentioned I have previously tried, along with a few others. Sample code would be good, then I can see whether it is my setup or the cable & port connections. looking at the status register under Data Watch, I keep getting comm errors. regards, Glenn Link to comment Share on other sites More sharing options...
marke Posted December 30, 2009 Report Share Posted December 30, 2009 Hello Glen I have attached some sample code, (not tested on a drive but should work) that will show the basic set up. This requires that the drive is set up for MODBUS RTU and ID = 1 9600 baud, 8 bit, 1 stop and 0 parity. The drive is connected to MJ2. pins 1 and 3 are linked as TX+ and, 2 and 4 are linked as TX-, and pin 6 is earth. Let me know hw you get on. Best regards, Mark.FC202_basic_comms.zip Mark Empson | administratorSkype Contact = markempson | phone +64 274 363 067LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters Link to comment Share on other sites More sharing options...
gmor Posted December 30, 2009 Author Report Share Posted December 30, 2009 Mark, I'm unable to open the zip file you sent. Could you please re send. Regards, Glenn Link to comment Share on other sites More sharing options...
marke Posted December 30, 2009 Report Share Posted December 30, 2009 Hello Glenn I am able to down load and open the file without problems. I have uploaded the unzipped file to a directory on this site at : http://www.lmpforum.com/uploads/FC202_basic_comms.csp Try this and let me know. Best regards, Mark. Mark Empson | administratorSkype Contact = markempson | phone +64 274 363 067LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters Link to comment Share on other sites More sharing options...
gmor Posted January 4, 2010 Author Report Share Posted January 4, 2010 Thanks Mark, Your code verified that I was on the right track. Finally got it working, not to sure what the actual problem was. Regards, Glenn Link to comment Share on other sites More sharing options...
marke Posted January 4, 2010 Report Share Posted January 4, 2010 Hello Glenn Thank you for the update. One of the things to be careful of, is to make sure that you download as 32 bit (2 word) and 16bit as appropriate. I would suggest that you add each parameter, one at a time and prove it before adding the next. I have had issues with "16 bit" that had to be treated as 32bit to prevent errors. Best regards, Mark. Mark Empson | administratorSkype Contact = markempson | phone +64 274 363 067LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters Link to comment Share on other sites More sharing options...
Finetti Posted September 30, 2016 Report Share Posted September 30, 2016 Hi,I have problems with Danfoss FC 102 VFD-s.I can t read anything from them in Vijeo designer.Anyone can help me, please.I want to read frequency, current, power and I want to write the frequency reference.I'm able to read values with Mtester but I cant read them with other softwares. Link to comment Share on other sites More sharing options...
marke Posted October 4, 2016 Report Share Posted October 4, 2016 Hello Finetti I have not used Vijeo, but the concept is the same as other Modbus devices.The problem if you are using 40,000 based addressing, is that the correct range of this addressing is 40001 to 49999 and the registers that you want to read fall outside this range. (Danfoss function number times 1,000 plus 40,000) If you use the 40001 based addressing, the registers that you want to read are typically in menus 15 and 16. For example, to read the frequency, you need to read 16.13 Using the Danfoss formula, the address to read is 16.13 x 1000 + 400000 = 16,130 + 40,000 = 56,130 which is greater than 49999 so it is outside the traditional range and will not be allowed by many systems. Fortunately, there is also the possibility of using 6 digit addressing with some systems. The formula now becomes Danfoss function number times 1,000 plus 400,000, so to read the frequency, we read 416,130. The alternative, is to use function and offset and the Danfoss offset is the Danfoss function number times 1,000 - 1To read the frequency, use function 3, offset 16129 (in decimal) You need to determine the options that the software offers you and use the appropriate option. Best regardsMark. Mark Empson | administratorSkype Contact = markempson | phone +64 274 363 067LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters Link to comment Share on other sites More sharing options...
HornerOCS Posted November 6, 2016 Report Share Posted November 6, 2016 Marke could you private message me when you're online? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now