PRONETA Test System
A PRONETA setup guide can be found at PRONETA Profile Tester Configuration.
This application example is tested using tests with Profile Tester version 2.5.0.24 (test script version 3.1) and a CP 1616 board.
Please note that this example application implements a number of PROFIdrive Parameters that serve ONLY for PRONETA testing purposes. For a real-life scenario it is recommended to remove them. For more information, please refer to the Application Note for the AC1 implementation by Siemens (Section 5.3 Parameters).
Prerequisites
To run the Profile Tester tests, a global.rb file is required. It contains variables that should match the tested Motor drive system and PROFINET Configuration. The Profile Tester manual (PTv5_SP2_User_Guide.pdf that comes with the Profile Tester installation) describes the contents and generation of a global.rb file. The following Slave configuration parameters should match the ones in the Application:
Parameter | Note |
---|---|
$Slave_PNO_ID | Vendor’s PROFINET ID. |
$Slave_Name | Slave’s PROFINET device name, e.g. 'netx90repns'. |
$Slave_Order_Number | Order number as set in the PNS_IF_IM0_DATA_T structure. |
$Slave_Version | The version as set in the PNS_IF_IM0_DATA_T structure. |
$Slave_Vendor_Name | Slave’s vendor name. |
$Tester_Name | Should correspond to the CP1616 PROFINET device name as configured in TIA Portal. |
The table below contains links to ready-to-use global.rb files for simulation mode and the two types of motors:
Acyclic Tests Prerequisites
Test parameters for “change value” tests:
Parameter 800 to 807 (single value parameters);
Parameter 808 to 819 (array parameters).
In the global.rb file these should be set at:
#Parameter for the 'change value tests'
Param_No=Array.new(20,0) # 20 elements
#single parameters
Param_No[0]=800
Param_No[1]=801
Param_No[2]=802
Param_No[3]=803
Param_No[4]=804
Param_No[5]=805
Param_No[6]=806
Param_No[7]=807
#array parameters
Param_No[8]= 808
Param_No[9]= 809
Param_No[10]= 810
Param_No[11]= 811
Param_No[12]= 812
Param_No[13]= 813
Param_No[14]= 814
Param_No[15]= 815
Param_No[16]= 816
Param_No[17]= 817
Param_No[18]= 818
Param_No[19]= 819
#how many entries of the Array Param_No shall be tested
$Param_No_counter = 19 #0...19
Cyclic Tests Prerequisites
In the global.rb file, the section “Slave Data for Speed Control” lists a number of parameters that should match the Application characteristics. The table below specifies the values that guarantee successful tests with the various motors.
Parameter | Meaning | ECI-42.20-BK1S.G7 | EC-i 30 30 mm |
---|---|---|---|
$sleep_time_S1 | Max waiting time for the after writing state (S1) [ms]. | 200 | 200 |
$sleep_time_S2 | Max waiting time for the after writing state (S2) [ms]. | 200 | 200 |
$sleep_time_S3 | Max waiting time for the after writing state (S3) [ms]. | 200 | 200 |
$sleep_time_S4 | Max waiting time for the after writing state (S4) [ms]. | 200 | 200 |
$velocity | The velocity value corresponding to 100% of (usually) the Motor’s nominal speed. Usually tested is half the nominal speed. For speed normalized value refer to PROFIdrive Profile specification V4.2 (section 5.3.2 Normalized values). | Standard Telegram 1: #0x4000/2 Standard Telegram 2 and 3: #0x40000000/2 | Standard Telegram 1: #0x4000/2 Standard Telegram 2 and 3: #0x40000000/2 |
$velocity_U_min | The velocity value in [rpm] corresponding (usually) to 100% of Motor’s nominal speed. | 4000 | 8840 |
$ramp_up_time | Ramp up time [ms] to reach the velocity. If $velocity is set to half of the nominal speed, this time should also be half of the full time to reach the nominal speed. | 1170/2 | 1150/2 |
$ramp_down_time | Ramp down time [ms] to reach velocity 0 starting from $velocity. If $velocity is set to half of the nominal speed, this time should also be half of the full time to reach 0. | 1170/2 | 1150/2 |
$ramp_time_Quick | Time [ms] after Quick Stop to reach velocity = 0. | 550 | 850 |
$ramp_time_Coast | Time [ms] after Coast Stop to reach velocity = 0. | 800 | 800 |
$ramp_up_time_no_rfg | Ramp up [ms] with ramp function generator disabled (Parameter 930=3). | 500 | 505 |
$Range_Bit10 | Range for STW1 Bit 10 (unscaled). Refer to PROFIdrive Profile specification V4.2. | Standard Telegram 1: 0x1F00 (N2 value) Standard Telegram 2 and 3: 0x1F000000 (N4 value). | Standard Telegram 1: 0x1F00 Standard Telegram 2 and 3: 0x1F000000 |
Diagnostic Tests Prerequisites
The application implements the PROFIdrive Parameter 700 and 702 which can be used with the Profile Tester to test diagnosis. The global.rb file should list the following configuration parameters:
Parameter | Value |
---|---|
$para_fault | 700 |
$para_fault_value | 9 |
$para_warn | 702 |
$para_warn_value | 1 |
Position Interface Tests Prerequisites (AC4)
The following configuration parameters in global.rb file should be adjusted:
Parameter | ECI-42.20-BK1S.G7 | EC-i 30 30 mm |
---|---|---|
$number_of_sensors | 1 | 1 |
$park_and_err_supported | 0 | 0 |
$absolut_sensor | 1 | 1 |
$linear_sensor | 0 | 0 |
$fine_res_absolute | 1 | 1 |
$set_shift_home_supported | 0 | 0 |
$sensor_resolution | 256 | 1024 |
$determinable_rev | 4194304 | 1048576 |
$num_of_probes | 0 | 0 |
$num_of_ref_marks | 0 | 0 |
Results
The results are to be found PDMC V1.1/V4.1.0.0 Profile Tester Results.