background image

 

 

IV.

 

Profibus-DP communication 

4.1 Profibus introduction 

PROFIBUS is a vendor independent, open fieldbus standard for a wide range of applications 

in  manufacturing,  process  and  building  automation.  Vendor  independence  and  openness  are 

guaranteed  by  the  PROFIBUS  standard  EN50170.  With  PROFIBUS,  devices  from  different 

manufacturers  can  inter-communicate.  Suitable  interfaces  exist  for  PLCs,  which  include  the 

Siemens, Mitsubishi and Allen Bradley range.   

PROFIBUS-DP (De-central Periphery) is described in DIN 19245 Part 3, and forms part of EN 

50170 with P-Net and  WorldFIP.    However  it  is important to  note that P-Net and WorldFIP are 

wholly incompatible with PROFIBUS, using different wiring and transmission technologies.   

The PROFIBUS-DP network uses a high speed version of the RS485 standard, permitting baud 

rates of up to 12Mbaud.   

A maximum of 32 PROFIBUS-DP stations (nodes) may be contained within a single network 

segment.    Use of RS485 repeaters allows a total of up to 126 stations.   

PROFIBUS-DP  is  a  multimaster,  master-slave,  token  passing  network.    More  detailed 

information,  including  a  detailed  guide  to  products  available,  may  be  obtained  from  the  various 

world-wide PROFIBUS user organisations.     

Connection using shielded, twisted-pair cable

EIA RS-485

Either of the two cable types detailed below can be used but we recommend Type A as it 

allows higher speed and longer cable length. 

Table 4-1 parameters of transmission cable 

Parameter (unit) 

Type A cable 

Type B cable 

Impedance 

ohm

 

125--165 

100—130 

Capacitance (pF/m

 

<30 

<60 

Resistance (ohm/km

 

<110 

Cable diameter 

>0.64 

>0.53 

Sectional area 

>0.34 

>0.22 

 

Table 4-2Maximum line length Per segment 

Baud rate

kbps

 

9.6 

19.2 

93.75 

187.5 

500 

1500 

3000-12000 

Taye A cable

m

 

1200 

1200 

1200 

1000 

400 

200 

100 

Type B cable

m

 

1200 

1200 

1200 

600 

200 

-- 

-- 

 

4.2 Communication parameters setting 

Please set function codes of inverter correctly before using Profibus-DP card. Please refer to 

the below table:   

 

Содержание 10P-0008 PROFIBUS DP

Страница 1: ...utomation Wuxi a division of Parker Hannifin Ltd Although every effort has been taken to ensure the accuracy of this document it may be necessary without notice to make amendments or correct omissions Parker Automation Wuxi cannot accept responsibility for damage injury or expenses resulting therefrom WARRANTY Refer to Parker Hannifin Manufacturing Limited Terms and Conditions of Sale These docume...

Страница 2: ...verter 4 3 2 Pins definition 5 IV Profibus DP communication 6 4 1 Profibus introduction 6 4 2 Communication parameters setting 6 4 3 Profibus communication address setting 7 4 4 PPO type or periodic data format 7 4 4 1 PKW parameter section 8 4 4 2 PZD process data 10 V GSD file 11 VI Application 11 6 1 System configuration 12 6 2 New project 12 6 3 Adding PROFIBUS DP bus 14 6 4 Adding GSD file 18...

Страница 3: ...which can connect Parker s AC10P series inverter to PROFIBUS network 1 2 Function 1 10P 0008 can read write inverter parameters by PKW 2 10P 0008 can interact inverter control data with status data by PZD 3 With baud rate self adaption function the max baud rate is 12Mbps However the maximum baud rate to the inverter is based on Modbus which is 57600bps ...

Страница 4: ...on interface Interface DB9 connector Physical layer RS 485 Transmit label STP Electric isolation 500VDC Communication specification Information type Periodic data exchange Name 10P 0008 GSD file AC10PROF gsd Manufacture ID 08CB Self adaption baud rate 9 6kbps 19 2kbps 45 45kbps 93 75kbps 187 5kbps 500kbps 1 5Mbps 3Mbps 6Mbps 12Mbps ...

Страница 5: ...gal OFF Power failure DP does not enter into data interaction state The access is correct 2 4 Terminating resistor Terminating resistors must be fitted to the first and last devices in the system A device may be a drive or PC PLC If the device is at the front of the network it must have terminating resistors If the device is at the end of the network it must have terminating resistors All other de...

Страница 6: ...te If the terminal resistor of the PB Connector is used please do not use terminal resistor of 10P 0008 III Installation and connection 3 1 Connection between communication card and inverter Communication card is connected to drive by DB15 D type connector Fig 3 1 connection between communication card and inverter There are 3kinds of communication cables Frame of drive Length Part No of cable ...

Страница 7: ...nal cable 1 6 GND 2 7 RS422 TX 3 8 RS422 TX 4 9 RS422 RX 5 10 24V 11 12 RS422 RX 3 2 DB9 Pins definition Pins No Definition Function 1 N C 2 N C 3 RX TX P Receive transmit data P B Line 4 RTS Connect to relay station 5 GND Grounding of 5V power 6 5V 5V power 7 N C 8 RX TX N Receive transmit data N A Line 9 N C ...

Страница 8: ...ions nodes may be contained within a single network segment Use of RS485 repeaters allows a total of up to 126 stations PROFIBUS DP is a multimaster master slave token passing network More detailed information including a detailed guide to products available may be obtained from the various world wide PROFIBUS user organisations Connection using shielded twisted pair cable EIA RS 485 Either of the...

Страница 9: ... Profibus communication address setting There are two Hex rotary selectors on the outer shell of communication card please refer to Fig 4 1 they are used to set the address of Profibus DP slave the valid address range is 0x01 0x7D the decimal range is 1 125 the other address is invalid Fig 4 1 Address setting selectors 4 4 PPO type or periodic data format The Profibus DP protocol uses so called PP...

Страница 10: ...ter section PKW section includes PKE IND PWE1 and PWE2 which has in total 4 words PKW can read and write parameter values 4 4 1 1 PKE PKE Bit15 bit12 Bit11 bit8 Bit7 bit0 Command Reserved High byte of parameter index Command request or reply ID High byte of parameter index parameter index is 2 bytes High byte of parameter index corresponds to high byte address of inverter parameters Task identific...

Страница 11: ...o 0 PWE2 returns to error code 4 4 1 4 Examples of PKW For example master reads F111 value The command value of reading parameter is 1 parameter actual address is 0x010B If parameter value is 10000 0x2710 and response is failed error code 0x00 is returned it means parameters address is wrong Please refer to below table PKW section PZD section Request 10 01 0B 00 00 00 00 00 Response success 10 01 ...

Страница 12: ...top 000B Reverse jogging stop 000C Wakeup PZD2 HSW frequency setting value mapping to function code F113 which address is 0x010D 2 When slave sends data to master PZD1 ZSW status word mapping to drive running status parameters which address is0x1005 Parameters Address Parameter Description read only 0x1005 Drive ratio inverter status High order byte is drive ratio low order byte is inverter status...

Страница 13: ...FFFF 0x0000 PZD8 master slave 0 0xFFFF 0x0000 PZD9 master slave 0 0xFFFF 0x0000 PZD10 master slave 0 0xFFFF 0x0000 PZD3 slave master 0 0xFFFF 0x0000 PZD4 slave master 0 0xFFFF 0x0000 PZD5 slave master 0 0xFFFF 0x0000 PZD6 slave master 0 0xFFFF 0x0000 PZD7 slave master 0 0xFFFF 0x0000 PZD8 slave master 0 0xFFFF 0x0000 PZD9 slave master 0 0xFFFF 0x0000 PZD10 slave master 0 0xFFFF 0x0000 V GSD file G...

Страница 14: ...ectly then set the parameters of drive The parameters setting are as below F200 3 or 4 F201 3 or 4 F203 10 F900 1 F901 2 F903 0 F904 6 6 2 New project Open SIMATIC Manager the page is as below Fig 6 1 Select File New Project Wizard and click Next as shown in Fig 6 2 Fig 6 2 ...

Страница 15: ...le of CPU315 2PN DPin here Click Next as it is shown in Fig 6 3 Fig 6 3 Select blocks and blocks language Normally OB1 and LAD language are default value as it is shown in Fig6 4 Then click Next Fig 6 4 Input project name and click Finish as it is shown inFig6 5 ...

Страница 16: ...14 Fig 6 5 The new page is shown in Fig6 6 Fig 6 6 6 3 Adding PROFIBUS DP bus Select SIMATIC 300 Station and as it is shown in Fig6 7 ...

Страница 17: ...15 Fig 6 7 Double click Hardware Hardware configuration page is shown in Fig6 8 Fig 6 8 Double click MPI DP and next Fig is shown to select interface type PROFIBUS ...

Страница 18: ...16 Fig6 9 Click Properties in Fig 6 9 below fig is shown The address of DPmaster can be changed Fig6 10 Click New in Fig 6 10 below fig is shown Set baud rate of DP bus and click OK ...

Страница 19: ...17 Fig6 11 In the below figure PROFIBUS 1 5Mbps is DP bus and click OK Fig6 12 Below figure is shown and click OK ...

Страница 20: ...18 Fig6 13 A bus is shown in configuration figure as shown in Fig6 14 Fig6 14 6 4 Adding GSD file Select Options Install GSD File as shown in Fig6 15 ...

Страница 21: ...19 Fig 6 15 Find out and select GSD file and click Install Fig6 16 GSD file installation was completed successfully ...

Страница 22: ...7 After finishing installing GSD file below Fig is shown DP module is shown in the right blank Select bus and double click 10P 0008 to add DPslave Fig6 18 After adding slave slave of 10P 0008 is shown in DP bus ...

Страница 23: ...21 Fig6 19 Double click DPslave module and click PROFIBUS to show new page Fig6 20 Set address of DP slave in the blow page it should be same with address of 10P 0008 Then click OK ...

Страница 24: ...22 Fig6 21 Select slot 1 and double click PPO1 4PKW 2PZD in the right blank of blow fig Fig6 22 The parameters of 4PKW 2PZD are configured to slot 1 and slot 2 ...

Страница 25: ...23 Fig6 23 After configuring parameters click the button in the HW Config window ...

Страница 26: ...Device Specific parameters User can set the mapping relation according to actual requirement The default setting is 0x0000 if user does not set the mapping relation System does not have operation for the setting value 0x0000 out in PZD out is aimed at DP master which corresponds to output area of DP master in in PZD in is aimed at DP master which corresponds to input area of DP master In our examp...

Страница 27: ...tion SFC14 continuous data of reading DPslave Fig6 27 LADDR means the slave initial address in input area of master W 16 100 means IW256 RET_VAL means error code RECORD means initial address of reading data in DP slave SFC15 continuous data of writing DPslave ...

Страница 28: ...ve RET_VAL means error code Run the program in the Fig6 29 The input output data corresponding to PKW will be updated It can realize to read write drive parameters by PKW Fig6 29 Run the program shown in Fig6 30 The input output data corresponding to PZD1 and PZD2 will be updated And the data of drive parameters corresponding to PZD can be updated ...

Страница 29: ...27 Fig6 30 ...

Отзывы: