background image

5 Operation of the application 

5.2 Scenario B 
 

Speed Control with SINAMICS V90 and S7-1200 via PROFINET 
Entry-ID: 109739222,    V1.0,    07/2016 

 

 

21 

 

 S

iem

e

n

s A

2

0

1

6

 A

ll r

igh

ts 

re

se

rv

e

d

 

Table 5-2-2 

Output interface of FB285

 

Output 

signal 

Type 

Default 

Meaning 

Error 

BOOL 

1 = general fault active 

ErrorId 

INT 

Mode fault / block fault: 

 

0=no fault active 

 

1=drive fault active 

 

2=drive switching on inhibited active 

 

3=error of the SFB call active 

PwrInhibit 

BOOL 

Switching on inhibited active 

 PwrInhibit=1 

Busy 

BOOL 

Mode is being executed orenabled 

VeloAct 

REAL 

0.0 [rpm] 

Current velocity 

 dependent on scaling 

factor FactRPM 

DiagId 

WORD 

Extended communication error 

 error 

during SFB call 

 

 

In scenario B, we will use FB285 in the library for programming and run the motor. 

 

Table 5-2-3 

Operation with FB285

 

No. 

Action 

Remarks 

1.    When you have installed the library, you can find it at the library view 

as follows: 

 

 

2.    Insert or drag FB285 <SINA_SPEED> into the PLC main block and 

make program as follows: 

 

Summary of Contents for SINAMICS V90 PROFINET

Page 1: ...https support industry siemens com cs ww en view 109739222 Application description 07 2016 Speed Control with SINAMICS V90 and S7 1200 via PROFINET SINAMICS V90 PROFINET Version ...

Page 2: ...act wesentliche Vertragspflichten The damages for a breach of a substantial contractual obligation are however limited to the foreseeable damage typical for the type of contract except in the event of intent or gross negligence or injury to life body or health The above provisions do not imply a change of the burden of proof to your detriment Any form of duplication or distribution of these Applic...

Page 3: ...asics regarding SINAMICS V90 PN version 7 3 2 Basic parameter configuration regarding SINAMICS V90 PN 7 3 2 1 Configure PROFINET settings via SINAMICS V ASSISTANT 7 3 2 2 Configure ramp function generator via SINAMICS V ASSISTANT 9 3 2 3 Configure PROFINET settings via the TIA Portal 10 4 Installation and Startup 16 4 1 Installation of the hardware 16 4 2 Startup JOG from drive side 16 4 3 Startup...

Page 4: ...e three basic functions for SINAMICS V90 and PROFINET communication is a new and advanced feature In this manual the basic application of speed control with PROFINET communication for SINAMICS V90 will be described in detail Overview of the automation task The figure below provides an overview of the automation task Figure 1 1 Encoder cable Power cable SIMATIC PLC PC PG Servo Motor Servo Drive PRO...

Page 5: ...rview Schema Display The following figure displays the most important components of the solution Figure 2 1 IO device IO Supervisor IO controller Delimitation This application does not include a description of PROFINET communication SINAMICS V90 PN version BOP operation of SINAMICS V90 Basic knowledge of these topics is assumed Required knowledge Basic knowledge on TIA Portal is assumed ...

Page 6: ...ponents Table 2 1 Component No Article number Note SIMATIC S7 1200 1214C DC DC DC 1 6ES7214 1AG31 0XB0 SINAMICS V90 PN 200V 1 6SL3210 5FB10 2UF0 200W SIMOTICS S 1FL6 Li motor 1 1FL6032 2AF21 1AA1 200W Standard software components Table 2 2 Component No Article number Note TIA Portal 1 V13 SINAMICS V ASSISTANT 1 V1 04 00 02 Sample files and projects The following list includes all files and project...

Page 7: ...Siemens telegram 105 Siemens telegram 105 is the default telegram for SINAMICS V90 PN Since Siemens telegram 105 is for IRT application which S7 1200 1214C does not support the standard telegram 1 has to be used in this basic application 3 2 Basic parameter configuration regarding SINAMICS V90 PN 3 2 1 Configure PROFINET settings via SINAMICS V ASSISTANT The following parameters can be configured ...

Page 8: ...sful configuration the values will be changed to 0 automatically Example IP address 192 168 0 2 P8921 0 192 P8921 1 168 P8921 2 0 P8921 3 2 P8923 PN Subnet Mask of Station There are four indexes Each index maps to a segment of the subnet mask Note after successful configuration the values will be changed to 0 automatically Example Subnet mask 255 255 255 0 P8923 0 255 P8923 1 255 P8923 2 255 P8923...

Page 9: ...of SINAMICS V ASSISTANT At the tab Set parameter setpoint you can choose to activate the ramp function generator or deactivate it Note There is a need to restart the drive after you ve activated or deactivated the ramp function generator In our example the ramp function generator should be activated You can choose to use the basic ramp function generator or extended ramp function generator Table 3...

Page 10: ...rtal 3 2 3 1 Configure SINAMICS V90 PN The PROFINET settings of SINAMICS V90 PN can be configured in the TIA Portal as follows 1 Create a new project and switch to project view 2 Input the V90 PN GSD file Note Installation of V90 PN GSD file is only necessary for TIA Portal prior to V13 including V13 3 Find the GSD file and select it Press the Install button to install it 4 Click the node Devices ...

Page 11: ...N Speed Control with SINAMICS V90 and S7 1200 via PROFINET Entry ID 109739222 V1 0 07 2016 11 Siemens AG 2016 All rights reserved 5 Select V90 PN from the other filed drives of catalog tree on the right side 6 Double click the V90 PN node or drag it to the network view ...

Page 12: ...standard telegram 1 8 Now from the Properties tab you can edit the Ethernet address and device name The device name should be the same as the accessible device shown at the Online access tree 9 You can also configure the I O address of the communication telegram from the Properties Tab 3 2 3 2 Configure S7 1200 CPU The PROFINET settings of SIMATIC S7 1200 CPU can be configured in the TIA Portal as...

Page 13: ... AG 2016 All rights reserved 2 Here if you know the detailed information about the S7 1200 modules you can directly find the type and add it into the project Otherwise you can add an unspecified CPU 1200 into the project 3 If an unspecified 1200 CPU has been added into the project you can detect the connected CPU by clicking the Detect and search it with online access ...

Page 14: ...09739222 V1 0 07 2016 14 Siemens AG 2016 All rights reserved Start the search by clicking the Start search button and the connected S7 1200 CPU will be found if the PROFINET network communication works properly 4 Press Detect button to detect the connected CPU 5 Double click the PLC CPU to enter properties of the CPU in the device view ...

Page 15: ...gure information about the device name Ethernet address You can also use the Online access node to find the accessible device and make sure the information are consistent 3 2 3 3 Connect SINAMICS V90 PN with S7 1200 CPU After the configurations of both SINAMICS V90 PN and S7 1200 CPU you need to connect SINAMICS V90 PN to S7 1200 CPU 1 Right click the Not assign 2 And the connected network view is...

Page 16: ... 1 Installation of the hardware The figure below shows the hardware configuration of the application Figure 4 1 L1 L2 L3 N PE M L1 L2 PE U V W PN PN L1 N PE PN SINAMICS V90 PN SIMATIC S7 1200 CPU 1214C 4 2 Startup JOG from drive side Table 4 1 No Action Remarks 1 Set drive parameter p29108 to be 1 JOG function is enabled when p29108 1 2 Switch to JOG menu with drive BOP operation 3 Press or button...

Page 17: ...ghts reserved 4 3 Startup PROFINET communication Table 4 2 No Action Remarks 1 Set drive parameter p922 to be 1 Select standard telegram 1 2 Make device network configurations in the TIA Portal Device name IP address Telegram As shown in section 3 2 3 3 Go online to test the PROFINET communication 4 Download configurations into controller and device if the communication works ...

Page 18: ...2016 All rights reserved 5 Operation of the application 5 1 Scenario A In scenario A we use Move instruction for programming and run the motor with watch table Table 5 1 No Action Remarks 1 Program as follows 2 Compile the PLC program and download the program and its configurations into S7 1200 CPU 3 Switch to online mode and enable monitor function ...

Page 19: ...rights reserved No Action Remarks 4 Modify M10 0 to 1 5 Open the watch table 1 6 Write value 16 47E into QW64 Q address 64 67 7 Write value 16 47F into QW64 and then the drive turns to servo on 8 Write value 16 2000 into QW66 and then the motor starts running at the speed of 1500 rpm QW66 speed setpoint Scaling factor 4000 hex value of drive parameter p2000 ...

Page 20: ...ormation pages http support automation siemens com WW view en 68034568 and un pack the library to the Sys installation folder of the TIA Portal Table 5 2 1 Input interface of FB285 Input signal Type Default Meaning Execute BOOL 0 Off1 1 switch on the drive Velocity REAL 0 0 rpm Speed setpoint FactRPM REAL 0 0 rpm Rated speed of the drive p2000 AckFIt BOOL 0 Acknowledgement of axis faults AckFIt 1 ...

Page 21: ...ed active 3 error of the SFB call active PwrInhibit BOOL 0 Switching on inhibited active PwrInhibit 1 Busy BOOL 0 Mode is being executed orenabled VeloAct REAL 0 0 rpm Current velocity dependent on scaling factor FactRPM DiagId WORD 0 Extended communication error error during SFB call In scenario B we will use FB285 in the library for programming and run the motor Table 5 2 3 Operation with FB285 ...

Page 22: ... SINAMICS V90 and S7 1200 via PROFINET Entry ID 109739222 V1 0 07 2016 22 Siemens AG 2016 All rights reserved No Action Remarks 3 Switch to online mode and activate the monitoring function 4 Modify M10 0 to 1 and then the motor starts running at the speed of 100 rpm ...

Page 23: ...itle Link 1 Siemens Industry Online Support http support industry siemens com 2 Download page of this entry https support industry siemens com cs ww en view 1097392 22 3 7 Contact Siemens Ltd China DF M3 BF GMC No 18 Siemens Road Jiangning Development Zone Nanjing 211100 China mailto mc_gmc_mp_asia cn siemens com 8 History Table 8 1 Version Date Modifications V1 0 03 2016 First version ...

Reviews: