VFD FC-051 with PLC

Subject: Looking for S7-200 (Step 7 Micro/Win) Modbus RTU Library/Code for Danfoss FC 51 VFD
Message:
"Hi everyone, I am currently working on a Labeling Machine project. I am using a Siemens S7-200 PLC as a Modbus Master to control a Danfoss VLT Micro Drive FC 51.
I am looking for a ready-to-use Function Block or a sample Ladder Logic (.mwp file) that demonstrates:
Initializing the Modbus communication.
Writing the Control Word (Start/Stop/Reset).
Writing the Speed Reference (0-100%).
Reading the Status Word or Output Frequency.
I want to understand the methodology and adapt the code to my specific machine requirements. If anyone has a sample project or a library, I would greatly appreciate it if you could share it. Thanks in advance!"
 
Dear Najmaldeen,

It will be much easier to build this simple speed‑control program using the resources on the Siemens S7‑200 and Danfoss FC51 product support pages. Start with the Siemens S7‑200 product support article below, the S7‑200 programming manual chapter 12 that shows PLC logic you can recreate in MicroWin:

https://support.industry.siemens.co...bus-communication-with-s7-200-?dti=0&lc=en-GB

For the drive side, see Chapter 8 of the VLT® Micro Drive FC 51 Operating Instructions, it explains exactly how to control the drive via Modbus registers.

https://assets.danfoss.com/documents/273509/AJ361178983102en-000401.pdf

I know this isn’t the ready‑made function block you were hoping for, but once you understand the Modbus communication and how the registers map, you’ll be able to implement the solution quickly in your project.

I hope that helps
 
Top