1 Introduction
With the introduction of the S7-1500F product, ROFIsafe secure communication with the S120 can be realized to implement the security control functions of the S120. In PROFIsafe communication, SINAMICS devices communicate with the safety PLC via either the PROFIBUS interface or the PROFINET interface. For ordinary PROFIsafe communication, you can use the No. 30 security message for control, and the specific configuration steps can be referred to as follows
2 Project configuration
Software and hardware:·
TIA Portal V13 Update 2 and above
· TIA Safety Advance V13
· Starter/SIMOTION V4.4
· CPU 1518F-3DP/PN
· CU320-2PN Fw 4.7
Project configuration steps
1. Open Portal software and create a new project:
2. Add a new device, the hardware used in this article is the 1518F CPU:
3. Configure the network and configure the S120, in this case using s120-2DP CBE20 V4.7:
4. Establish the network connection between the PLC and the S120, configure the device name:
5. Configure the message, first insert the DO servo, then configure the safety message 30 and basic message 1:
6. Save the compiled project:
7. Configure S120 in Starter/SCOUT and configure packets offline, the driver message is divided into two parts, namely security packet 30 and standard packet 1:
8. Download the configuration of the S120 online:
9. Download the configuration of the PLC:
10. Write the security program (FB1) and download:
11.
12. Activate the security function of S120 online: Click change setting, and the changed interface is as follows:
13. Select Extended Security Features:
14. Click the Configure button to configure PROFIsafe:
15. Select the security message attribute of S120 on the way to Bo to obtain the security address of S120:
Fill in the secure address:
16. Activate security features:
17. Click Copy parameter, click Change setting, and set the password as shown below:
18. Click Confirm:
19. Copy RAM to ROM is required before booting, and program settings are uploaded, after which the device needs to be powered back on.
20. Safe function control can be performed through the Watch table (false means that the corresponding safety function is activated), if the PASS_OUT variable is true, you need to use ACK for depassivation: