In this article, I will guide you to connect and communicate FC302 Danfoss VFD with PLC Siemens S7-1200 through Profinet protocol.
In order for the S7-1200 to communicate with your FC302 VFD , use the S7-1200 and the FC302 VFD with the Danfoss MCA120 Card.
Connection diagram PROFINET between FC302 and S7-1200
Install with FC-302
For the default parameters, and the motor parameters set by you, we need to pay attention to the communication parameters below.
8-01:0
8-02:3
8-10:1
PPO Types
The PROFIdrive profile for frequency converters specifies a number of communication objects (Parameter Process data Objects, PPO), which are suitable
for data exchange between a process controller, such as a PLC, and frequency converters. All PPOs are defined for cyclic data transfer, so that process
data (PCD) can be transferred from the controller to the slave and vice versa. The figure below shows the PPO types available for the FC 102/FC 202/FC
301/FC 302.
PPO types 3, 4, 6, 7 and 8 are pure process data objects for applications requiring no cyclic parameter access. The PLC sends out process control data,
and the frequency converter then responds with a PPO of the same length, containing process status data. The first two bytes of the process data area
(PCD 1) comprise a fixed part present in all PPO types. The first two words of the process data area (PCD 0 and PCD1) comprise a fixed part present in
all PPO types. The following data (PCD 2 to PCD 9) are flexible for PCD write entries (par. 9-15 PCD Write Configuration, and for PCD read entries
(par. 9-16 PCD Read Configuration. The to parameters can be parameterised with process signals from the list on par. 9-23 Parameters for Signals.
Select the signals for transmission from the master to the frequency converter in par. 9-15 PCD Write Configuration (request from master to the frequency
converter). Select the signals for transmission from the frequency converter to the master in par. 9-16 PCD Read Configuration (response: FC -> master).
The choice of PPO type is made in the master configuration, and is then automatically recorded in the frequency converter. No manual setting of PPO
types in the frequency converter is required. The current PPO type can be read in par. 9-22 Telegram Selection.
Selection [1] Standard telegram 1 is equivalent to PPO type 3
PROFIdrive Control Profile
Control Word:
To select the Danfoss FC protocol in the control word, Parameter 8-10 Control Word Profile must be set to the Danfoss FC protocol [0]. The control word is used to send commands from the master (PLC or PC) to the slave (VFD).
- Run Forward : 16#047C
- Run Reveres:16#847C
- Reset:16#4BC
- Stop:16#043C
Status Word
The status word is used to notify the master (e.g. PC) about the operation slave mode (VFD)
The hardware configuration on TIA PORTAL
First, go to http://www.danfoss.com/BusinessAreas/DrivesSolutions/ to download the gsdml file of MCA 120 and add it to TIA PORTAL’s system (Options -> Manage general station description file) as below.
Next, we will drag and drop the MCA120 into the project in the Network View section.
You identify the IP Address for MCA 120 in the same network class as the PLC (for example, under my PLC, it is 192.168.0.1).
You can rename the VFD and click to select PPO Types according to each ongoing project (here I choose PPO Types 3)
Define the read-write address by right-clicking on MCA 120 and selecting Properties, In the Module parameters section, you define the parameters you need to pass and read (for example, P915:Fieldbus CTW is to transmit the Control Word down the VFD ….).
Before downloading hardware, please Assign Device Name with Right-click on MCA120 and select Assign Device Name to define the connection name for the VFD. You go Online and select Update list and point to the MAC address of MCA120 and then select Assign name.
Control program
Network 1: To record Control Word and Reference values
Network 2: To read the Status Word value and Main Actual Value %
Above is a guide on how to connect and communicate between S7-1200 and Danfoss VFD via PROFINET. Hope the article will be useful to you. Thank you!
Refer to the manual: link
Programing File: link
Articles refer to the homepage danfoss.com, personal documents…
#PROFINET #S7-1200 #SIEMENS #DANFOSS