Home

2711-6.3, PROFIBUS DP Communications for PV Terminals User

image

Contents

1. For more information If you need more information contact your local Allen Bradley integrator or sales office for assistance PROFIBUS DP Communications 5 PanelView PROFIBUS DP PROFIBUS DP is supported by the 9 pin Female D Sub connector Connector on the PanelView The PROFIBUS connector is identified by the label on the PanelView Refer to your PanelView user manual if you require more information 5 1 Pin 1 Internal Circuit m O0000 A 0 0luF Female 9 6 Pin 3 Receive Transmit Pin 8 Receive Transmit Pin Data Ground Pin 6 5V Cabling Two different types of cable are available Type A Daisy Chain or Type B T Junction For most applications we recommend that you use type A cable it is capable of better performance at greater distances and supports 1 5M bits sec communications Characteristic cae a Cable S Specifications Specifications Impedance 135 165 Q 3 20 MHz 100 130 Q f gt 100 kHz Capacitance lt 30 pF m lt 60 pF m Resistance lt 110 Q km Wire Gauge gt 0 64 mm gt 0 53 mm Conductor Area gt 0 34 mm gt 0 22 mm lt 93 75k 1200 m 1200 m Maximum Length 187 5k 1000 m 600 m with a Baud Rate e bits s of 500k 400 m 200 m 1 5M 200 m NA NA Not Applicable If using a combination of both cable types divide the lengths shown by two This is the sum of all bus segment and drop cable lengths Publi
2. The length is fixed at 14 bytes 8 amp 9 The number of the fault that has occurred if any 10 The following bits are set if the corresponding conditions apply Bit The PanelView was locked by the DP Master but communications from the DP Master ceased This code will be available to the DP Master once com munications have been restored 11 The value of an invalid output block number received by the P anelView in the multiplex command word 12 The value of an invalid input block number received by the P anelView in the multiplex command word 13 The following bits are set if a type error was detected in the Check C onfig re quest for one or more of the modules Bit 0 The Type of Module 1 is incorrect Bit 1 The Type of Module 2 is incorrect Bit2 The Type of Module 3 is incorrect Bit 3 The Type of Module 4 is incorrect oOo 14 The following bits are set if a consistency error was detected in the Check Con fig request for one or more of the modules Bit 0 The Consistency of Module 1 is incorrect Bit 1 The Consistency of Module 2 is incorrect Bit2 The Consistency of Module 3 is incorrect Bit 3 The Consistency of Module 4 is incorrect 15 The following bits are set if a format error was detected in the Check Config request for one or more of the modules Bit 0 The Format of Module 1 is incorrect Bit 1 The Format of Module 2 is incorrect Bit 2 T
3. indicates the status of the PROFIBUS DP watchdog timer The watchdog timer allows the Panel View slave to detect when the DP Master stops communicating The setting is supplied by the DP Master and transferred to the Panel View at network startup It is strongly recommended that the PROFIBUS DP Watchdog be enabled by setting the timer to a non zero value Profibus Watchdog Time x 10 milliseconds indicates the watchdog timeout for the slave device The watchdog time is supplied by the DP Master and is transferred to the Panel View terminal at network startup New Address displays the new network address that the PanelView will be set to after a reset This is the only user changeable operating parameter Refer to Changing the Node Address page 32 PROFIBUS DP Communications 31 Active Address displays the current network operating address of the Panel View This address is originally set in the Panel View application file but may be changed by an operator Baud Rate displays the current PROFIBUS DP network baud rate set by the DP Master The network baud rate is automatically determined by the Panel View terminal Firmware Revision shows the PROFIBUS DP firmware revision level Communications Status Field displays the PanelView terminal s PROFIBUS DP communication status This is the same message or error number displayed on the alert banner Publication 2711 6 3 32 PROFIBUS DP Communications Changing the
4. 336 EEC Electromagnetic Compatibility EMC using the following standards in whole or in part e EN 50081 2 1993 EMC Generic Emission Standard Part 2 Industrial Environment e EN 50082 2 1995 EMC Generic Immunity Standard Part 2 Industrial Environment The product described is intended for use in an industrial environment Color Terminals This apparatus is tested to meet Council Directive 89 336 EEC Electromagnetic Compatibility EMC using the following standards in whole or in part e EN 50081 1 1992 EMC Generic Emission Standard Part 1 Residential Commercial and Light Industry e EN 50082 2 1995 EMC Generic Immunity Standard Part 2 Industrial Environment The product described is intended for use in an industrial light industrial or commercial environment PROFIBUS DP Communications 41 Intended Use of Product According to these Standards the factor which determines for EMC purposes whether an apparatus is deemed to be Industrial or Residential commercial and light industrial is given in Clause 1 of EN50081 2 as follows Apparatus covered by this standard is not intended for connection to a public mains network but is intended to be connected to a power network supplied from a high or medium voltage transformer dedicated for the supply of an installation feeding a manufacturing or similar plant The Panel View monochrome terminals are intended for use solely in a
5. 9 Reminder 2 Check that the correct PanelView application is Message loaded for the DP Master 3 Check the extended diagnostics to obtain the block number that caused the problem DP Master sent an unexpected block 1 Make sure the DP Master s code only sends blocks defined by the PanelView application 10 Reminder 2 Check that the correct PanelView application is Message loaded for the DP Master 3 Check the extended diagnostics to obtain the block number that caused the problem 1 No DP Master on the wire or cable is disconnected Comms 1 Check cable connections Warning 2 Make sure DP Master is operating Check configuration error The slave is unlocked refer 1 Make sure the DP Master is configured correctly for to glossary the loaded PanelView application The expected 12 Comms configuration may be found in the extended Warning diagnostics 2 Check that the correct PanelView application is loaded for the DP Master Set parameter error The slave is unlocked 1 Verify the WD value is valid 13 Comms 2 Verify that the system reaction time is valid Warning 3 Verify the identification number is valid 4 Verify that the user parameter data length is correct 14 A type error was detected in the configuration bytes Comms 1 Check extended diagnostics for more information sent by the DP Master The slave is unlocked Warning 15 A consistency error was detected in the configuration Comms 1 Check extended diagnostics for
6. Block Output Data 15 Words Block Data Up to 16 Words Real Time Module PanelView to DP Master Real Time Input Data Up to 16 Words Real Time Module Hsk BlockOut Blockin 1 Word Multiplex Module Hsk Handshake Bit BlockOut Block ID received by PanelView 7 bits A Blockin Block ID sent by PanelView 7 bits Multiplex Block Input Data 15 Words Block Data Publication 2711 6 3 PROFIBUS DP Communications 21 Multiplex Handshake Error Processing When the Panel View receives a new command word from the DP Master handshake bit is set to 1 it verifies that the Block Out and Block In numbers have been allocated in the Panel View terminal s database e If the Block Out number is invalid the Panel View will set the Block Out number of the status word to 0 and ignore the data sent by the DP Master in the multiplex output module e If the Block In number is invalid the Panel View will set the Block In number of the status word to 0 and set all of the data in the multiplex module to 0 The DP Master should then ignore the data In either case the following occurs e the PanelView sets the status word s handshake bit to 1 to acknowledge the DP Master request the corresponding extended diagnostic bytes are generated see page 35 We recommend that your DP Master program verify that the block numbers received in the status word match the block numbers sent in the control word If they do not match the mast
7. DP Communications 39 PROFIBUS DP Network The following specifications apply to the PanelView terminal on a Specifications PROFIBUS DP network General Specifications Item Communication Standard Specification PROFIBUS DIN 19245 Part 1 Issue 1991 and Draft DIN 19245 Part 3 Issue 1993 PROFIBUS DP Supported Baud Rates 9 6 19 2 93 75 187 5 500k bits s and 1 5M bits s PROFIBUS DP Identification Number 6714 Hex Station Delay Response Times Tsdr Baud Rate Minimum Maximum Tsar Tsar 9 6k bit s 19 2k bit s 93 7k bit s 187 5k bit s 11 bit times 60 bit times 500k bit s 11 bit times 100 bit times 1 5M bit s 11 bit times 150 bit times Supported DP Data Sizes Data Type Maximum Data Size bytes Input Data 64 Output Data 64 Extended Diagnostic Data 14 User Operational P arameters Not Used Maximum Number of Modules 4 Maximum Required Consistency 32 Supported DP Features Feature Supported Not Supported Freeze Mode Not Supported Sync Mode Not Supported Auto Baud Supported Set Slave Address Not Supported Publication 2711 6 3 A0 PROFIBUS DP Communications European Union Directive Compliance CE Publication 2711 6 3 If the PanelView Operator Terminal is installed within the European Union or EEA regions and has the CE mark the following regulations apply EMC Directive Monochrome Terminals This apparatus is tested to meet Council Directive 89
8. DPRAM Protocol Profibus DP Physical RS232 Protocol DF1 Serial Port Usage e DownLoad Printing Publication 2711 6 3 24 PROFIBUS DP Communications PanelBuilder Communications Setup Publication 2711 6 3 Select Terminal Setup from the PanelBuilder Application menu Click the Comms Setup button to open the Communication Setup dialog for PROFIBUS DP Communication Setup PaneView Terminal Node Address ATTENTION The PROFIBUS DP protocol mechanisms do not provide the ability to detect and report a duplicate node address between a DP Master and slave device or between two slaves only between two DP Masters The Communication Setup screen allows you to assign a node address from 1 to 125 to the Panel View terminal The default address is 7 Each device on the PROFIBUS DP network must be assigned a unique address The address you set here will appear in the New Address and Active Address fields on the Terminal Communication Setup screen shown on page 30 after the download PanelBuilder Tag Editor Variable Options Digits Edit Tas em Field Width 6 ZE e Li TI Fill with Zeroes Decimal Point Fixed Point Position H Floating Point Read Tag Motor_Speed_Ind Numeric Data Display PROFIBUS DP Communications 25 The Panel View terminal is a slave device on a PROFIBUS DP network
9. a floating point value at PI3 2 and tag Tank1_level is an unsigned integer at address PI3 3 These addresses overlap and the data entered by the operator that is sent to these addresses will not be correct Example 2 Tag Fill_level is an unsigned integer at address PIO 2 tag Tank2_level is also an unsigned integer at PI0 2 The value read by the PLC will not be what is expected The address will always contain data from one or the other tag it is not possible to predict which one Example 3 Tag Tank3_control is a Bit Array with a length of 3 at address PI123 3 2 and tag Tank3_empty is a bit tag at PI123 3 3 Only one of these tags will have the correct value but not both Example 4 Tag Tank4_fill is a bit tag at address at PI12 15 2 and tag Fill_level is a signed integer at address PI12 15 Again only one of these tags will have the correct value but not both In some cases overlapping addresses may appear to function correctly for example if the tag content is 0 Use the PanelBuilder tag attribute report function to check for overlapping addresses Publication 2711 6 3 28 PROFIBUS DP Communications Tags Using Multiple PanelView Data Base Words Transferring Application Files Publication 2711 6 3 Some Panel View objects such as e Multistate indicators using Least Significant Bit LSB triggers e Alarms using LSB triggers e Piloted control lists using block write tags can use more words of data than the t
10. and only responds to commands from a DP Master device The DP Master program reads and writes Panel View object tag values to its database at regular intervals The DP Master programmer must know where the data blocks are stored and their content The PanelBuilder tag editor defines the controller addresses of the tag data The same tag editor described in the PanelBuilder User manual Publication No 2711 6 0 assigns tag information for PROFIBUS DP communications exceptions are noted on the following page Allen Bradley Tag Editor GS Summary Project Edit View Options Tools Window Help A IL fal DEJ CH ESE el Duplications Data Type Description Node Name Unsigned Intec Motor auto manual indication Profibus Data Table P11 2 D Moto Speed Unsigned Intec Controls motor speed Profibus Data Table P11 3 0 Motor Speed Dec Bit Decrements motor speed Profibus Data Table P11 4 0 0 Moo Speed Je Bit Increments motor speed Profibus Data Table PlL 4 1 0 Motor_Speed_Ind Unsigned Intec Indicates motor speed Profibus Data Table PIA 0 Motor_Start Bit Starts motor Profibus Data Table P11 4 2 0 Motor_Start_Ind Bit Motor start indication Profibus_Data_Table P11 4 3 0 Mota Sep Bit Stops motor Profibus Data Table piz 4q 0 Motor_Stop_Ind Bit Motor stop indication Profibus_Data_Table P11 4 5 0 al Enter the name of thi
11. creating and implementing the control program eo Set Command Word Handshake Bit to 0 Is Status Word Handshake Bit Set to 0 NO YES or Load Multiplex Write from application Output Data From DP program Can occur T Master Database concurrently Load Block Output and Block Input Fields of the Command Word Y Set Command Word Handshake Bitto 1 Is Status Word Handshake Bit Setto 1 YES os Block Output and Read from application Block Input Fields of Status program Can occur Word Available to Identify Data concurrently Input Fields Read Multiplex Input Data Fields and Store in DP Master Database Publication 2711 6 3 20 PROFIBUS DP Communications Note Performing a multiplex module data exchange requires a number of poll cycles from the DP Master to the Panel View terminal During each of those poll cycles real time data is constantly being exchanged The diagram below shows the relative position of the Real Time and Multiplex modules in the data packet sent between the DP Master and the PanelView terminal The modules reside in the DP Master s database in the same relative position DP Master to PanelView Real Time Output Data Multiplex Module Hsk BlockOut Blockin 1 Word Hsk Handshake Bit BlockOut Block ID sent by DP Master 7 bits 4 Blockin Block ID requested by DP Master 7 bits Multiplex
12. more information bytes sent by the DP Master The slave is unlocked Warning 16 A format error was detected in the configuration bytes Comms 1 Check extended diagnostics for more information sent by the DP Master The slave is unlocked Warning 17 A length error was detected in the configuration bytes Comms 1 Check extended diagnostics for more information sent by the DP Master The slave is unlocked Warning SPC fault 1 Reset the PanelView If this condition persists the 18 Critical Fault PROFIBUS communication card needs to be replaced Contact Allen Bradley for service One or more startup tests failed 1 Reset the PanelView If this condition persists the 19 Critical Fault PROFIBUS communication card needs to be replaced Contact Allen Bradley for service 20 Internal error Critical Fault Contact Allen Bradley for assistance Publication 2711 6 3 Extended Diagnostic Bytes PROFIBUS DP Communications 35 Profibus DP provides a 32 byte diagnostic service the PanelView manages and transfers only 20 bytes Bytes 1 through 6 are defined by the PROFIBUS DP standard Bytes 7 through 20 of the diagnostic data are PROFIBUS DP Slave specific The Panel View extended diagnostics are defined as follows Byte 7 Description This is the header byte Per the DP standard bits 6 amp 7 are 0 which indicates device related diagnostics Bits 0 through 5 contain the length of the extended diagnostics including this byte
13. the cable as shown below 5V Pin 6 390 ohms 2 gt 1 4 watt Cable Receive Transmit MV Pin 3 220 ohms 2 gt 1 4 watt Receive Transmit Pin 8 390 ohms 2 gt 1 4 watt Data Ground Pin 5 Publication 2711 6 3 PROFIBUS DP Communications 9 Connections Using Shown below is a typical network connection using Type B cable Type B Cable DP Master PanelView PROFIBUS Adapter S lave mmm EE Bus Cable Drop Cable Flex I O Adapter PanelView Termination Block pee T unction Type B Cable When using type B cable T Junctions allow devices to be added or removed without breaking the network We recommend that you use Type B cable for baud rates up to 500K bits sec The maximum number of devices on the same network segment is 32 126 with repeaters Type B Cable Accessories We recommend that you use the following drop cables T junctions and termination blocks connectors available from Sprecher Schuh Catalog S Sprecher Item Number Description Schuh No PTL 02 2 meter 6 6 ft cable 87 890 280 02 Drop Cables PTL 04 4 meter 13 1 ft cable 87 890 280 04 PDC 10 10 meter 32 8 ft cable 87 890 282 10 T J unction Connector PTS 0 Connects rap tanie ig 8
14. 7 890 276 01 main network cable PE Contains resistors to Termination Block PCE 0 terminate a network end 87 890 284 01 We recommend that you use the shortest possible drop cable Note Other cables and connectors of equivalent or greater functionality may be available from other sources Publication 2711 6 3 10 PROFIBUS DP Communications Connecting the Type B Cable The following diagram shows how the Type B cable connects to the Panel View Shield Drain Wire ET PROFIBUS DP Cable J Connected to chassis ground anG view Connector through connector shroud PROFIBUS DP Connector C os nternal Circuit PROFIBUS Cable Pin 1 EE 0 01uF IMQ Png o Receive Transmit Receive Transmit Pin 8 E in de i Receive Transmit BEER Pin 5 Data Ground Pin 6 _ 5 V S PanelView Connector Cable Connector 5 1 1 5 p OOOO 0 A go OOD OO Ee 9 6 6 9 Pin 1 Cable Shield Pin 3 Receive Transmit Data Positive Pin 8 Receive Transmit Data Negative Pin 5 Data Ground Pin 6 5V Note Connect the cable shield to Pin 1 of the connector For compliance with European Electromagnetic Compatibility EMC directives also connect the cable shield to the metal shroud of the connector on both sides of the connection This connects the cable shield to c
15. For example when a block holds both real data and data identification or when data granularity exceeds 2 bytes e g floating point data DP acronym for Decentralized Periphery A German standard DIN 19245 Part3 which specifies a simplified user interface with PROFIBUS Link Layer services and protocol for use with decentralized peripherals ELECTRONIC DATA SHEET a file with a gsd extension that is created each time a Panel View application is generated The PROFIBUS network manager may have the ability to read and automatically extract the required network information GSD File extension for the electronic data sheet An electronic data sheet gsd is created each time a Panel View application is created MODULE PROFIBUS DP nomenclature for data grouped together for transmission over the network MULTIPLEX BLOCK The blocks 1 through 127 that are transferred only when a request is made by the DP Master Each multiplex block contains up to 15 words of data MULTIPLEX MODULE Up to 16 words of data grouped together for transmission Each multiplex module consists of a command status word word 0 and a multiplexed data block up to 15 words PROFIBUS acronym for PROcess Fleld BUS A German standard DIN 19245 Part 1 2 and 3 which specifies a fieldbus for communications at the process level PANELBUILDER A Microsoft Windows based program for developing applications for a Panel View terminal PROFIBUS DP Communica
16. GN d Word O Word 12 Word 15 Word O Word 4 Word 15 Word O Word 10 Word 15 Word O Word 9 Word 15 Word O Word 11 Word 15 Word O Word 15 13 Words Not Used Block 1 5 Words Not Used Block 2 1 Words Not Used Block O 10 Words Not Used Block 1 12 Words Not Used Block 2 8 Words Not Used amp SA 2 e a emm emm emm emm emm emm emm emm emm emm emm emm emm em em SI em em e TD ED ED ED ED ED ED aD em ad 7 NW CO E b H Ul Output Modules Exchanged Over Network Real Time Module 16 Words Multiplex Module Conmmand Word 5 Words Block 1 Input Modules Exchanged Over Network Real Time Module o 10 Words Multiplex Module Status Word 12 Worcs Block 1 Network Link Network Link Output Modules Exchanged Over Network Real Time Module Block O 16 Words 16 Words Multiplex Module Conmand Word 5 Words Block 1 Block 1 Dan 5 Words Multiplex Module Status Word 12 Worcs Block 1 Block 2 1 Words Block O 10 Words Block 1 12 Words Lem SSS OO ED ED ED ED ED ED ED ED ED ED ED ED
17. Multiplex Output Module e Multiplex Input Module Each module is 16 words in length Real Time and Multiplex modules are continually exchanged with the PROFIBUS DP Master Details of configuring the Panel View terminal building Panel View applications and implementing the multiplex module handshake mechanism will be covered in later sections When communication begins the PROFIBUS DP Master sends the DP slave bus parameter data and information on the expected PROFIBUS DP slave s module configuration After receiving the data the PROFIBUS DP slave compares this information to its actual configuration If the DP Master s information does not exactly match the slave s actual configuration an error is reported by the PanelView and no communications occur refer to troubleshooting section PanelView and DP Master Databases The Panel View database consists of up to 128 input and 128 output blocks Block 0 is 16 words in length and blocks 1 to 127 are 15 words in length When communication occurs over a PROFIBUS DP network these blocks are transferred into and out of the various Panel View data exchange modules Blocks and Modules are associated as follows Output Block 0 is associated with the Real Time Output Module Input Block 0 is associated with the Real Time Input Module Output Blocks 1 to 127 are associated with the Multiplex Output Module e Input Blocks 1 to 127 are associated with the Multiplex Input Module E 9 TTLZ YOREII
18. Node Address Publication 2711 6 3 The Node Address downloaded with the Panel View application file will overwrite the current terminal setting You can set a new terminal address by using the terminal PROFIBUS DP screen however the new address will take affect only after the terminal is reset ATTENTION The PROFIBUS DP protocol mechanisms do not provide the ability to detect and report a duplicate node address between a DP Master and DP slave device or between two DP slaves only between two DP Masters Note The following procedure assumes the use of a keypad terminal If you have a PanelView with a touch screen touch the displayed item you want to change To manually change the node address 1 Press F8 The numeric entry scratchpad is displayed 2 Enter the new address in the scratchpad and press the Enter key 3 Verify that the correct address is displayed in the New Address field 4 Press F1 to restart the terminal The terminal will restart with the new address 5 Both the current and new address fields will display the new address setting Troubleshooting Terminal Reminder Error and Warning Codes PROFIBUS DP Communications 33 The following pages provide information relating only to PROFIBUS DP communications For all other operating problems refer to the Panel View user manual Publication 2711 6 1 If the problem has an associated error or warning message refer to the sections on Error an
19. Overview PROFIBUS DP Communications User Guide for PanelView Terminals This document describes how to install configure and create applications for a Panel View Operator Terminal with a PROFIBUS DP communication port These topics are discussed Topic Page No Overview 1 Related Documentation 2 Terminology 2 Allen Bradley Support 2 European Union Directive Compliance 2 Overview of PROFIBUS DP 3 Introduction to PROFIBUS DP 3 Communication Between DP Masters and DP Slaves 4 PROFIBUS DP Network Example 4 PanelView PROFIBUS DP Connector 5 Cabling 5 Connections Using Type A Cable 6 Connections Using Type B Cable 9 PROFIBUS DP Data Exchange 12 Creating a PanelView PROFIBUS DP Application 22 Selecting a PROFIBUS DP PanelView Terminal 23 PanelBuilder Communications Setup 24 PanelBuilder Tag Editor 25 Overlapping Write Tags 27 Tags Using Multiple PanelView Data Base Words 28 Transferring PROFIBUS DP Application Files 28 Alarms 29 Reports 29 Validation Error Messages 29 Electronic Data Sheet 29 Terminal Communication Setup Screen 30 Changing the Node Address 32 Troubleshooting 33 Terminal Reminder Error and Warning Codes 33 Extended Diagnostic Bytes 35 PanelBuilder Error Messages 36 Network Connection Failures 37 Internal Errors 38 PROFIBUS DP Network Specifications 39 European Union Directive Compliance 40 Glossary 42 P
20. aD ef wl oI om c emm an emm an emm am am am am am am am amm emm P P P Block 2 7 V 8 Words suoleslunuWOD dd SNdisOud El 14 Publication 2711 6 3 PROFIBUS DP Communications Real Time Module Data Exchange Real Time data is automatically exchanged and updated in the DP Master s real time module without any action required by the DP Master There is no confirmation handshaking to indicate the availability of new data Use the real time modules to transfer data that must be updated most frequently Real Time I O is limited to a maximum of 16 words of both input and output data Note Real Time module data is not consistent Multiplex Module Data Exchange New multiplex data blocks are exchanged when a request is made by the DP Master s program The command word word 0 in the multiplex output module and the status word word 0 in the multiplex input module are used to manage the exchange of multiplex data blocks Since a module is 16 words in length the amount of data in a multiplex input or output block is up to 15 words The DP Master program is responsible for managing the command and status words and for moving multiplex blocks in or out of the multiplex modules Note Multiplex module data is consistent PROFIBUS DP Communications 15 Command Word The management of the multiplex module data exchange is performed by the DP Master s program The f
21. ag address indicates Keep in mind that the maximum size of the modules exchanged between the Panel View terminal and the DP Master is limited to 16 words for Real time and 15 words for Multiplex modules For example a multistate indicator cannot contain 500 states Because of the data exchange limitation a multistate indicator is limited to 256 states 16 words 16 states if located in the Real Time module and 240 15 words 16 states if located in the Multiplex module Another example is the Block Write feature of the Piloted Control List You must make sure that the block write tag address is low enough in the module s data area so that all words displayed on the Panel View terminal will fit into the module being returned to the DP Master Application file transfers must be made using e PCMCIA card e PanelView RS 232 port Refer to the PanelBuilder user manual for instructions Note Application files cannot be transferred to the PanelView terminal over a PROFIBUS DP network Alarms Reports Validation Error Messages Electronic Data Sheet GSD File PROFIBUS DP Communications 29 Alarm data may be placed in either the real time or multiplex blocks Alarm triggers and alarm message embedded variable tags must be located in a single block A validation error will occur if alarm data is not placed in a single block The DP Master should constantly update the block s containing the alarm data To print out
22. anel View terminal DP Master sends requests new data PanelView acknowledges reception of data sends requested data DP Master resets handshake bit l PanelView ready to process new data request DP Master ay Output Handshake Bit Input Handshake Bit Time Publication 2711 6 3 18 Publication 2711 6 3 PROFIBUS DP Communications The following outlines the steps required to initiate and complete a multiplex module data exchange from the DP Master DP Master e Before initiating the exchange both the control word and status word handshake bits must be 0 e If multiplex output data is being sent to the Panel View terminal the multiplex output block s data must be copied into the multiplex output module s data area in the DP Master database starting at word 1 e The multiplex output block number must be placed in the multiplex output module s control word the Block Out field e If multiplex input data is being requested from the Panel View terminal the multiplex input block number must be placed in the multiplex output module s control word the Block In field e The exchange is initiated by setting the handshake bit in the control word to 1 Panel View e When the PanelView terminal detects the handshake bit in the control word is set any further processing is based on the value of the Block Out or Block In fields If the Block Out number is non zero it will copy the multi
23. by the PanelView terminal ATTENTION Only Clear Data global control is supported by the PanelView terminal Publication 2711 6 3 4 PROFIBUS DP Communications Communication Between DP Masters and DP Slaves PROFIBUS DP Network Example Publication 2711 6 3 The PROFIBUS DP network uses polled communication The DP Master sends information to and requests information from the DP slave This is a cyclical exchange of information which occurs independent of the actual update of the databases by the DP Master and DP slave application Before data exchange begins each device on the network must have a unique network address assigned to it See page 32 for information on setting the Panel View terminal address To exchange I O data with the DP slaves on the network the DP Master must have parameter and configuration data for each DP slave This data contains information such as the slave s bus parameters and data exchange module configuration The illustration below shows an example network configuration DP Master o SLC Controller See N a CoE Bus Termination 7 E OU PROFIBUS Expansion oe Adapter Chassis DP AA ij g Flex UO Adapter m Ae SSES EE E PanelView Personal Computer with P anelBuilder Bus Termination
24. cation 2711 6 3 6 PROFIBUS DP Communications Connections Using Type A Cable Recommended Publication 2711 6 3 Shown below is a typical network connection using Type A cable PROFIBUS Adapter Slave N 7 rm D NESEEEEESERESES 22288280 PanelView SLC Network Termination DP Flex I O Adapter ice DORR ale ooan o PanelView Network Termination Note For high noise environments we recommend that the network connections be made using a Daisy Chain topology as shown above Type A Cable You must use a shielded twisted pair cable for all network connections We recommend that you use Belden cable 3079A for baud rates up to 1 5M bits sec The maximum cable length depends upon the baud rate see table on page 5 The maximum number of devices on the same network segment is 32 126 with repeaters Type A Cable Connectors We recommend that you use one of the following connectors when creating a communication cable for the Panel View terminal These connectors are compatible with the female 9 pin D Sub connector on the back of the Panel View e Siemens 6ES5 762 1AA12 45 Connector e Siemens 6ES7 922 OBB00 0XA0 Straight Connector Note Other cables and c
25. d Warning Messages ATTENTION The PanelView contains line voltages Make sure that no objects are inserted or fall into the terminal through the ventilation slots Always disconnect power when checking wiring connections Failure to take adequate precautions may result in severe electrical shock The following table lists error and warning messages specific to PROFIBUS DP communications For all other messages refer to the PanelBuilder User Manual Publication 2711 6 0 There are three types of codes Reminder Messages indicate a minor fault or mistake Reminder messages appear when an invalid operation is attempted e Warning Messages indicate an operation that may produce undesirable results You must respond to acknowledge a warning message e Critical Messages indicate there is a condition which prevents further operation The current application will halt The terminal must be reset to recover from this type of error Alerts Alert Number Meaning Type Corrective Action s 0 Comms OK Slave in data exchange state locked N e aps one No message will appear in this case The application has not defined any external channels Displayedon 1 Make sure a PanelView application is loaded 1 Therefore the PanelView will not start communications the Verify that the P anelView application contains with the PROFIBUS network Note The comms sta configuration data exchange modules tus
26. er program should execute an error processing routine Publication 2711 6 3 22 PROFIBUS DP Communications Creating a PanelView PROFIBUS DP Application Publication 2711 6 3 All PanelView applications are created using PanelBuilder software Refer to the PanelBuilder software user manual for instructions on how to configure the PanelView terminal The following are typical steps for developing a Panel View application fora PROFIBUS DP network 1 Create the Panel View PROFIBUS DP application using PanelBuilder software Assign control or display objects to Real Time or Multiplex block addresses 2 Validate and download the application to the Panel View terminal 3 In the protocols profibus directory locate the electronic data sheet for the application Page 29 describes the electronic data sheet The electronic data file contains data exchange sizes and other information specific to the application 4 Use a PROFIBUS DP network configuration utility import function to load the PanelView s electronic data sheet If your network configuration utility does not have an import function you will need to manually enter the information from the electronic data sheet Refer to the user manual for the PROFIBUS DP network configuration utility you are using 5 The PROFIBUS DP network configuration utility should also allocate the data in the controller memory associated with the each DP slave device on the network 6 Develop you
27. hassis ground through the connector shroud and bypasses the R C filter Important For improved noise immunity in long distance networks an alternate wiring connection may be preferred to avoid dc and low frequency ground loops In such cases connect the cable shield directly to the local chassis ground through connector shroud at only one point on a PROFIBUS DP network Publication 2711 6 3 PROFIBUS DP Communications 11 Type B Cable Termination If the Panel View is the last device on an end of a network it must be terminated at the PROFIBUS DP connector or T junction Use the recommended terminating blocks page 9 If you do not have terminating blocks available terminate the cable as shown below AN Pin 6 _ s 390 ohms 2 gt 1 4 watt Cable Receive Transmit Pin 3 150 ohms 2 gt 1 4 watt Receive Transmit er Pin 8 390 ohms 2 gt 1 4 watt Data Ground Pin 4 Note The bus cable should be grounded to an earth ground only at one point on the network Publication 2711 6 3 12 PROFIBUS DP Communications PROFIBUS DP Data Exchange Publication 2711 6 3 The following sections describe how data exchange occurs on a PROFIBUS DP network PanelView Data Exchange Modules with DP Master The Panel View always exchanges the following four blocks when configured by the Generic Electronic Data Sheet GSD e Real Time Output Module Real Time Input Module e
28. he Format of Module 3 is incorrect Bit 3 The Format of Module 4 is incorrect E D 16 The following bits are set if a length error was detected in the Check Config request for one or more of the modules Bit 0 The Length of Module 1 is incorrect Bit1 The Length of Module 2 is incorrect Bit2 The Length of Module 3 is incorrect Bit 3 The Length of Module 4 is incorrect 17 Module configuration of the Real Time Output module 18 Module configuration of the Real Time Input module 19 Module configuration of the Multiplexed Output module 20 Module configuration of the Multiplexed Input module Publication 2711 6 3 36 PROFIBUS DP Communications PanelBuilder Error Messages Validation Messages Validation Message Missing after P I P Oxxx specifier Recommendation s Add colon to tag addresses Bad Word number Word number range is 0 15 Specify word number from 0 to 15 Bad Bit number Bit number range is 0 15 Specify bit number from 0 to 15 Bad character used as bit delimiter The bit delimiter is a P Use correct delimiter in tag addresses Invalid length Bit arrays cannot cross word boundaries Specify different bit array in tag address Direction definition write read must match P1 PO P DP Master Read PO DP Master Write Extra characters following a valid address Delete extra addres
29. irst word of the multiplex output module contains handshake information and is used to initiate a data block exchange The command word has the following structure 15 14 13 12 1110 9 8 7 6 5 4 3 2 1 0 Block Out Block In f Handshake Bit Reserved Bit The Block In field is 7 bits wide and specifies which input block 1 127 is to be returned from the Panel View terminal s database A value of 0 indicates no multiplex input block is requested The Block Out field is 7 bits wide and specifies the output block 1 127 that is being sent to the Panel View terminal s database A value of 0 indicates no multiplex output block is being sent The Handshake Bit is set to 1 by the DP Master to indicate to the Panel View terminal that a new multiplex data exchange has been initiated A later section describes the handshake operation in detail Publication 2711 6 3 16 Publication 2711 6 3 PROFIBUS DP Communications Status Word The first word of the multiplex input module contains handshake status information from the PanelView terminal The status word indicates the progress of a multiplex module data exchange to the DP Master In addition the status word is read only to the DP Master The status word has the following structure 15 14 13 12 1110 9 8 7 6 5 4 3 2 1 0 Block Out Block In f Handshake Bit Rese
30. n industrial environment as defined above When installed in Europe any other application is in contravention of European Union Directives and a breach of these laws Wiring Recommendations To reduce electrical noise connect the Panel View terminal to its own branch circuit The input power source should be protected by a fuse or circuit breaker rated at no more than 15 Amps Route incoming power to the Panel View terminal by a separate path from the communications cable Where power and communications lines must cross they should cross at right angles Communications lines can be installed in the same conduit as low level DC I O lines less than 10 Volts Declarations of Conformity Declarations of Conformity are available upon request for the Panel View terminals Contact your local Allen Bradley representative or distributor The Declarations of Conformity declare that the terminals conform to the applicable directives Publication 2711 6 3 42 Glossary Publication 2711 6 3 PROFIBUS DP Communications The following are terms you may see when working with PROFIBUS communications Also refer to the glossary in the PanelBuilder User Manual CONSISTENCY The PROFIBUS DP protocol allows the association of data consistency requirements with blocks of data exchanged between a PLC master and its slaves A consistent block of data must always be read or written as a whole because contained data is not independent
31. nical assistance please review the information in the Troubleshooting Section first Then call your local Allen Bradley representative Refer to page 40 for details on installing the PanelView terminals in industrial environments requiring compliance with European Union Directives Overview of PROFIBUS DP Introduction to PROFIBUS DP PROFIBUS DP Communications 3 The following sections describe e introduction to PROFIBUS DP e communication between DP Masters and DP slaves e PROFIBUS DP products available from Allen Bradley PROFIBUS DP is the performance optimized version of PROFIBUS It is a remote I O protocol designed for high speed data transmission between automation systems and distributed peripherals such as remote I O chassis or operator interface panels PROFIBUS DP is most useful for time critical communication There are two main devices on the PROFIBUS DP network the DP Master s and DP slave s The DP Master acts as a requester of data from the DP slaves A DP Master of controller type Class 1 may also act as a responder to requests made from a DP Master of management type Class 2 The DP slaves act only as responders to a DP Master implementing a defined set of functions These functions are e data exchange e check configuration set parameters e read diagnostics e get configuration e global control see Attention below e read output e read input e set slave address Not supported
32. onnectors of equivalent or greater functionality may be available from other sources PROFIBUS DP Communications 7 Connecting the Type A Cable The following diagram shows how the Type A cable connects to the Panel View PanelView PROFIBUS DP Cable PROFIBUS DP Connector Connector nternal Circuit Pin l PROFIBUS Cable 0 0luF 1M Receive Transmit O Pin 3 _ Receive Transmit Pin 8 Receive Transmit Pin 5 Data Ground Pin _ 5 V Deg S H A Es S E Receive Transmit HU Um im Wu PanelView Connector Cable Connector 5 1 1 5 nh 00000 vs e eet E giel 0e 9 6 6 9 Pin 1 No Connection Pin 3 Receive Transmit Data Positive Pin 8 Receive Transmit Data Negative Pin 5 Data Ground Pin 6 gt 5V Note Connect the cable shield to the metal shroud of the connector The Panel View connector shell is connected to the chassis ground Publication 2711 6 3 PROFIBUS DP Communications Type A Cable Termination If the Panel View is the last device on a physical network it must be terminated The recommended connectors page 6 have integral terminating resistors Terminate the cable by moving the termination switch on the connector to the ON Terminate position If you are using a connector that does not have terminating resistors terminate
33. plex output module data into the corresponding multiplex output block in the Panel View s database If the Block In number is non zero then it will copy a multiplex input block from its database into the multiplex input module The status word s handshake bit is set to 1 to indicate to the DP Master that the Panel View processing is complete DP Master e The handshake bit in the status word is monitored until a 1 is detected If a multiplex input block was requested it may then be extracted from the multiplex input module and copied into the DP Master s database Also any error checking of the status word s Block In or Block Out fields must take place at this time e The DP Master acknowledges completion of the exchange by setting the handshake bit in the control word to 0 Panel View e When the PanelView detects the DP Master has cleared the handshake bit in the control word the Panel View acknowledges completion of the exchange by clearing the handshake bit in the status word to 0 DP Master e The handshake bit in the status word is monitored until a 0 is detected Then the DP Master may initiate another multiplex module data exchange Note Only one multiplex module data exchange operation can be in progress at any one time PROFIBUS DP Communications 19 Handshaking Flow Chart Multiplex Inputs and Outputs are available to the DP Master by management of the handshake words Use the following flow chart to assist in
34. r DP Master program using the addresses mapped by the PROFIBUS DP network utility PROFIBUS DP Communications 23 Selecting a PROFIBUS DP Select a PROFIBUS DP terminal for a Panel View application from PanelView Terminal e New Application dialog when creating a new application e Terminal Setup dialog when converting the application created for another terminal Any catalog number with 12 as the last two digits is a PROFIBUS DP terminal New Application Application Name Sample Project Name frome Terminal Type Information Terminal Name Pvs00 e Filter by PY Type Pv900M d Keypad Touch Keypad amp Touch Catalog and Version 2711 K9A1_PV 3900M Keypad FRN 2 00 2711 K9A12_ PYS00M Keypad FRN 2 00 5 2711 K9A2 P 900M Keypad FRN 2 00 2711 K9A3 PYSO0M Keypad FRN 2 00 2711 K9A5 P Y900M Keypad FRN 2 00 Lal Ports Physical DC DPRAM Protocol Profibus DP Physical RS232 Protocol DF1 Terminal Setup Setup Power Up Advanced Time Date Control Tags Status Tags Terminal Name S ee Pvs00 E T I Type Inf P S next erminal Type Information Filter by page PY Type Jpvsoom Led Keypad Touch Keypad amp Touch Catalog and Version 2711 K9A12 PY900M Keypad FRN 2 00 2711 K9A2 PY900M Keypad FRN 2 00 2711 K9A3 PY900M Keypad FRN 2 00 2711 K9A5 PY900M Keypad FRN 2 00 Ports Physical DC
35. rved Bit The Block In field is 7 bits wide and specifies which input block 1 127 is being returned from the Panel View terminal s database A value of 0 indicates no multiplex input block is being returned This can happen for two reasons 1 no multiplex input block was requested or 2 the multiplex input block requested does not exist in the PanelView terminal s database The Block Out field is 7 bits wide and specifies the output block 1 127 that was sent to the Panel View terminal s database A value of 0 indicates two possible events 1 no multiplex output block was sent or 2 the multiplex output block sent does not exist in the Panel View terminal s database The Handshake Bit is set to 1 by the Panel View terminal to acknowledge that a multiplex module data exchange has taken place The DP Master s program is responsible for checking the Block In and Block Out values to determine if the exchange took place successfully Command Word Handshake Bit L Ky A Status Word Handshake Bit PROFIBUS DP Communications 17 Multiplex Module Handshaking It is the DP Master s role to manage the handshake operation This is accomplished by initiating an exchange using the multiplex output module s control word and monitoring progress of the exchange in the multiplex input module s status word The timing diagram below shows the operation of the Handshake Bit controlled by the DP Master and the one controlled by the P
36. s characters No bit field allowed when Tag Type is not Bit Tag type and data type must be compatible Character string is out of PI PO boundary Do not exceed the data block word boundary This float data is out of the P I PO boundary The maximum word number for a floatis 14 For PI PO 1 to 127 WORD 0 is reserved Word range is 1 15 Note Word 0 is multiplex module command or status word RIDO number is missing Define a number after the section PI or PO Specify a number from 0 to 127 Bad Word number Word number range is 1 15 For block numbers gt 0 multiplex blocks specify a word number from 1 to 15 This data is out of the PI PO boundary Do not exceed the data block word boundary Cannot be converted to current protocol format Warning Messages Validation Message Recommendation s The total size of the Input Modules is larger than 32 bytes Information message The total size of the Output Modules is larger than 32 bytes Information message Communication settings have never been initialized Indicates the default node address was not changed Publication 2711 6 3 Network Connection Failures PROFIBUS DP Communications 37 The operation of the Panel View terminal during a network connection failure depends upon the configuration of the PROFIBUS Watchdog Timer Watchdog Enabled If a non zero watchdog timeout value has been se
37. s element POP UP New Tag 10 Table View Tag Name Data Type bat Seit Unsignedltener Canca Description p Tag ddress Tag Initial Value PILS H Scaling Data Entry Limits en Scale 1 Offset o E fo Max 65535 Form View Important In the tag editor under the Options menu make sure that Address Validation is not selected You will get an invalid address error if you enter a PROFIBUS DP address and Address Validation is selected Publication 2711 6 3 26 Publication 2711 6 3 PROFIBUS DP Communications When using the tag editor table editor format for PROFIBUS DP tags note the following e The Node Name field is set to PROFIBUS_DATA_TABLE e The Update Frequency field is set to a default of 1 and cannot be changed Tag Addressing Use the following format when assigning Panel View tag addresses for PROFIBUS DP communications Input to PROFIBUS DP Master Word Level Address O Output from PROFIBUS DP Master Indicates PROFIBUS gt PXA W B Address f h 0 Real Time Data Address Bit Level Address 1 127 Multiplex Data Block Overlapping Input Tags PROFIBUS DP Communications 27 ATTENTION When assigning tags make sure that the Panel View input tag addresses do not overlap If two tags overlap the same block location unpredictable data will be sent to the DP Master The following are examples of common addressing errors Example 1 Tag Tank_temp is
38. t up then the following actions will occur when the watchdog timer expires even if the network failure had been detected by the Panel View before the timer expired 1 Alert message 6 watchdog timeout occurred will be displayed 2 In the Communications Setup screen the Comms Status LED will flash the Watchdog Enabled field will indicate No the Watchdog Time field will show 0 x 10ms and the Baud field will show Not Found When the connection between the DP Master and Panel View terminal is re established then the alert message will be removed without operator intervention Watchdog Disabled If a zero watchdog timeout value has been set up then the following actions will occur as soon as the network failure is detected 1 Alert message 3 DP Master no longer communicating with the Panel View will be displayed 2 In the Communications Setup screen the Comms Status LED will flash and the Baud field will show Not Found When the connection between the DP Master and PanelView terminal is re established then the alert message will be removed without operator intervention Publication 2711 6 3 38 PROFIBUS DP Communications Internal Errors Internal errors are displayed in an error banner as shown below If an internal error occurs 1 Write down the error message 2 Reset the Panel View terminal 3 Contact Allen Bradley for assistance if error is still present Publication 2711 6 3 PROFIBUS
39. the PROFIBUS DP tag attribute report from PanelBuilder enter the Reports menu and select the Protocol Info check box The report lists the sizes of the data exchange modules and the tags located in each Real Time and Multiplex block Note The Panel View application must be successfully validated before the PROFIBUS DP tag report can be generated PanelBuilder validation error messages for PROFIBUS DP applications are provided on page 36 A generic gsd file is provided in the protocols profibus directory You can use the data sheet with any PROFIBUS application Publication 2711 6 3 20 PROFIBUS DP Communications Terminal Communication Setup Screen Publication 2711 6 3 Access the PanelView terminal configuration screen as described in your Operator Terminal user manual To display PROFIBUS DP settings select Communications Setup from the Configuration Mode menu The various communications settings and the firmware revision are then displayed All settings except for Node Address are read only The communications setup screen shown below is for example purposes The setup screen you use will be slightly different based on the Panel View platform type Profibus Provided p gt Ner Address Ema SE bythe user ative Addresa Ai C GER Gatchdog Enabled cher Time Comma Firmate Revision Protocols oe Restart Terminal EL Data for these fields is provided by the DP Master Profibus Watchdog Enabled
40. tions 43 REAL TIME MODULE The modules that contain data blocks input block 0 amp output block 0 that are exchanged on each PROFIBUS DP scan between the DP Master and PanelView terminal SLAVE LOCKED UNLOCKED When multiple DP Masters try to communicate with a slave the first DP Master device to communicate locks out communications for other masters Slave Locked If no masters are communicating with the slave the slave is unlocked Slave Unlocked WATCHDOG TIMER A timer used to detect any loss of communications between the Panel View terminal and its master Publication 2711 6 3 www rockwellautomation com Power Control and Information Solutions Headquarters Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Middle East Africa Rockwell Automation Vorstlaan Boulevard du Souverain 36 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation Level 14 Core F Cyberport 3 100 Cyberport Road Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Publication 2711 6 3 May 1999 Supercedes Publication 2711 6 3 Dated J une 1997 40061 368 01 C Copyright 1999 Allen Bradley Company Inc Printed in USA
41. ublication 2711 6 3 2 PROFIBUS DP Communications Related Documentation Terminology Allen Bradley Support European Union Directive Compliance Publication 2711 6 3 The following documents contain additional information concerning Panel View and PanelBuilder products To obtain a copy contact your local Allen Bradley sales office or distributor For Read this Document Document Number A complete listing of current Allen Bradley documentation including PERA ordering instructions Also indicates E E Se SD499 whether the documents are available on CD ROM or in multi languages A glossary of industrial automation terms Allen Bradley Industrial ae AG 7 1 and abbreviations Automation Glossary A glossary of terms at back of this document provides definitions of commonly used words related to PROFIBUS DP communications The PanelView and PanelBuilder user manuals also contain glossaries Allen Bradley offers support services worldwide with over 75 Sales Support Offices 512 authorized Distributors and 260 authorized Systems Integrators located throughout the United States alone plus Allen Bradley representatives in every major country in the world Local Product Support Contact your local Allen Bradley representative for e sales and order support e product technical training e warranty support e support service agreements Technical Product Assistance If you need to contact Allen Bradley for tech
42. will indicate OK since this is not an error screen only Services requested by the DP Master are not sup Comin The PanelView does not support freeze mode or 2 ported The slave is unlocked Wamin synch mode Make sure your DP Master does 9 not request these 3 The DP Master is no longer communicating with the Comms Check cable connections PanelView Warning Make sure DP Master is operating 4 Comms enabled The DP Master is not sending data Comms Make sure the DP Master is sending data correctly The slave is unlocked Warning A DP Master is on the network but is not communicat Make sure the PanelView address is the one the ing with the PanelView Comme DP Master expects 5 Warning If multiple DP Masters are on the network make sure the DP Master connected to the PanelView is operating 6 PROFIBUS DP watchdog time out occurred The slave Comms Check cable connections is unlocked Warning Make sure DP Master is operating Publication 2711 6 3 34 PROFIBUS DP Communications Alert Number Meaning Type Corrective Action s 7 The DP Master is in clear mode Comms 1 Place DP Master in operate mode Warning The PanelView was just locked by a DP Master Comms No action required e Warnin H DP Master requested an unexpected block 1 Make sure the DP Master s code only requests blocks defined by the PanelView application

Download Pdf Manuals

image

Related Search

Related Contents

Humour, Satire - BIBLIOTHEQUE SONORE d`EVREUX      Garmin 2 GPS Receiver User Manual  標本展開シート総合カタログ(PDF)  Makita 5026DA Cordless Saw User Manual  User`s Manual - Micronator.org  GenomiPhi完全テクニカルハンドブック  Manuale di istruzioni  Samsung Galaxy Tab 3 (7.0, Wi-Fi) Manual de utilizare  

Copyright © All rights reserved.
Failed to retrieve file