PDPM
ProLinx Gateway
PROFIBUS DP Master
June 24, 2013
PROTOCOL MANUAL
Page 1: ...PDPM ProLinx Gateway PROFIBUS DP Master June 24 2013 PROTOCOL MANUAL...
Page 2: ...able at no charge from our web site http www prosoft technology com Important Installation Instructions Power Input and Output I O wiring must be in accordance with Class I Division 2 wiring methods A...
Page 3: ...a previously purchased Series C model Contact your ProSoft Technology distributor to order the upgrade and obtain a Returned Merchandise Authorization RMA to return the unit to ProSoft Technology 1 1...
Page 4: ......
Page 5: ...cifications 10 2 5 2 PROFIBUS Master Port Access to Database 10 2 6 Master Slave Communication Phases 11 2 7 Port Physical and Protocol Specifications 11 2 7 1 Serial Port Specifications 12 3 Configur...
Page 6: ...atus 1 Bits 49 5 3 5 Byte 1 Station Status 2 Bits 50 5 3 6 Byte 2 Station Status 3 Bits 50 5 3 7 Byte 3 Master Address 51 5 3 8 Byte 4 Ident Number High 51 5 3 9 Byte 5 Ident Number Low 51 5 3 10 Devi...
Page 7: ...rface with PROFIBUS slave devices over a serial communication interface RS 485 2 1 About the PROFIBUS Protocol PROFIBUS Process Field Bus is a widely used open standards protocol created by a consorti...
Page 8: ...e rights in that a token is passed from station to station in a logical ring The token is passed to each station with a maximum definable token cycle time A station is given transmission rights for th...
Page 9: ...he station address in the bus configuration The formats telegram length information and bus parameters are correct and The number of configured inputs and outputs is correct 2 5 Module Internal Databa...
Page 10: ...US Master port PROFIBUS Master Node address 0 to 125 software selectable Status Data Error codes counters and port status available per configured slave on the network 2 5 2 PROFIBUS Master Port Acces...
Page 11: ...ation and configuration phase runs a device identification test that verifies that the planned configuration matches the actual device configuration for each slave in the PROFIBUS network The test ver...
Page 12: ...B 9F connector DTE pinout Serial Port Isolation 2500V RMS port to port isolation per UL 1577 3000V DC min port to ground and port to logic power isolation Serial Port Protection RS 485 422 port interf...
Page 13: ...on about all features and limitations of the slave device and uses these files for configuration Lastly the ProLinx SyCon is equipped with a diagnostic mode that allows viewing of fieldbus status info...
Page 14: ...013 Note ProLinx SyCon does not use the OPC server and a license number must be entered in order to complete the installation 4 Enter the license code and company information when prompted You will fi...
Page 15: ...ce database PROLINX Devices The GSD files for PROLINX devices are located on the ProLinx Solutions DVDin the ProLinx Utilities PDPS_GSD folder Refer to E ProLinx Utilities PDPS_GSD ProLinx_PDPS readme...
Page 16: ...gram startup PROLINX SyCon automatically reads in all GSD files that are present in the GSD directory Because of this device names are placed in an internal list The device specific data is taken onli...
Page 17: ...figured and perform the download process to all devices 11 Connect the PROFIBUS cable to the device 12 Start the debug mode to check the communication 13 Print out the documentation produced by the PR...
Page 18: ...ears This configuration window allows you to Specify the station address of the master Specify a symbolic description for this master Set this master as the actual master to do a download for example...
Page 19: ...All devices in this box will be connected to the active master displayed in the Master window You must select each slave one by one You can also give each a device a name or a short description in th...
Page 20: ...ied into the lower table by ProLinx SyCon A modular slave must be copied by the user by double clicking on the module or selected module in combination with the Append Module button If a module has se...
Page 21: ...entered manually the default address 0 in the field I Address respectively O Address must be overwritten Note Offset addresses are entered as a word 16 bit address With the flag Watchdog Control acti...
Page 22: ...t 7 Spec_User_Prm_Byte 8 to 243 User_Prm_Data Byte 7 Spec_User_Prm_Byte Bit Name Significance Default State 0 Dis_Startbit The start bit monitoring in the receiver is switched off with this bit Dis_St...
Page 23: ...t be defined how PROLINX SyCon can communicate with it This is done in the menu item Device Assignment The external connection can be checked with the buttons Connect COM 1 to Connect COM 4 PROLINX Sy...
Page 24: ...ter dialog box Use the Edit button to look at the actual parameters Note that if any changes are made in the bus parameters the parameter for the field Optimize must be changed from standard to by use...
Page 25: ...a value range This data is slave specific and the functionality cannot be explained at this point The explanation can normally be found in the corresponding slave manual This following dialog box sho...
Page 26: ...g the Common button the following dialog box appears with the common parameter data These parameters are for the head station It is possible to change back into the hexadecimal description by selectin...
Page 27: ...er dialogs are taken from the GSD file If there is no text dialog the input is only possible as a hex value Group Membership After a master is chosen the slaves can be assigned to 8 different groups T...
Page 28: ...heir startup sequence The group selection serves as a filter for a special DP command called global control which can be sent as a broadcast message to selective groups This command is normally used b...
Page 29: ...the menu 3 1 10 Language Select Settings then Language to display the Select Language dialog box Use this dialog box to specify the appropriate language for the configurator Select the desired languag...
Page 30: ...11 View the Configuration View Device Table Choose View then Device Table to display the list of present devices Address Table Choose View then Address Table to display the list of addresses Select th...
Page 31: ...31 of 70 June 24 2013 Select the Address Overview button to display an overview about the addresses in the input and output area 1 The Auto Addressing mode must be inactive in order to change address...
Page 32: ...out of the configuration 3 1 13 Saving the Configuration Choose Save to save the configuration if the configuration has already been saved with a filename otherwise use the Save as function to assign...
Page 33: ...master and individual condition of the devices To end Debug Mode select Online then Debug Mode from the menu The Debug Window When the debug session is started the Configuration Window changes to the...
Page 34: ...Online Device Diagnostic activates the PROFIBUS device diagnostic To end Debug Mode select Online then Stop Debug Mode If diagnostic information is available for a specific device the text Diag appea...
Page 35: ...s sent by the master contain wrong or insufficient data On every received parameter telegram the slave executes a check routine on the entire parameter telegram If the slave detects a faulty parameter...
Page 36: ...the PROFIBUS DP startup procedure the slave compares its internal I O configuration with the one configured in the master If the slave detects differences it reports the Cfg_Fault error This indicate...
Page 37: ...ts this bit to indicate that the master system is not operative for I O due to a general error In a case of a set static diagnostic bit the master has to collect diagnostic information as long as this...
Page 38: ...ay the name and version of the firmware of the selected device The Reset button resets the device Extended Device Diagnostic The menu item Online Extended Device Diagnostic helps to detect possible bu...
Page 39: ...es Activated Devices and Devices with Diagnostic are shown if you click on that button The activated addresses are white numbers This application updates the status online in the global state field Yo...
Page 40: ...RROR Because of a heavy bus error no further bus communication is possible NEXC NON EXCHANGE ERROR At least one slave has not reached the data exchange state and no process data exchange is possible w...
Page 41: ...age 41 of 70 June 24 2013 If you click on a colored station address you are given the Device type and Device state I O Monitor This is a simple tool used to display and enter only the first 32 bytes o...
Page 42: ...nges shall be allowed select the field No additional changing If necessary add additional parameters in hex in the field Slave parameter Activate the command with the Set Address button Start Stop Com...
Page 43: ...s in input image yes or no Swap Output Bytes No Swap bytes in output image yes or no Comm Failure Mode 1 0 x fer on comm fail 1 no x fer on fail Watchdog Register 1000 DB register to monitor for chang...
Page 44: ...ta transfer mode of the module s PROFIBUS input image to the internal database when a communication failure on the PROFIBUS interface is detected If the parameter is set to 0 the input image will cont...
Page 45: ...on the operation to perform The following table describes the format and list of PROFIBUS Master functions supported Column 1 2 3 4 5 6 7 Function Type Enabled Database Address Register Count Polling...
Page 46: ...e Database Address in the command 4 2 4 Command 70 Control Byte The Freeze and Sync commands are used for synchronization purposes The Freeze command causes a slave to freeze its inputs and the Sync c...
Page 47: ...roubleshooting and diagnostic capabilities of ProSoft Configuration Builder PCB You can transfer status data values from the module to processor memory and can monitor them in the processor manually o...
Page 48: ...DPM driver and the module in general is the powerful Debug port on the module which provides much more complete access to the internal operation and status of the module Accessing the Debug capabiliti...
Page 49: ...ter 10405 5 Mailbox Message Error Count 10406 6 Global Command Counter 10407 7 Slave Diagnostic Request Counter 10408 8 Slave Counter Request Counter 10409 9 No Valid Data 10499 5 3 2 Command Status C...
Page 50: ...iagnostic data present 4 Not supported 5 Invalid slave response 6 Parameter fault 7 Master lock 5 3 5 Byte 1 Station Status 2 Bits Bit Description 0 Parameter request 1 Static diagnostic 2 Slave devic...
Page 51: ...3 10 Device Error Listing Error Description 0 No error 14 OS module firmware download 50 RAM check not OK 53 FLASH PROM checksum not OK 100 to 107 Internal system error 200 Unknown interrupt received...
Page 52: ...6 USER Buffer too short 47 USER Setup error 50 USER Send message timeout error 51 USER Could not send a message 52 USER Send message no device connected 53 USER Error by send message message receiving...
Page 53: ...error Upload not possible 29 The access to the database segment needs the bootstrap loader The bootstrap loader is not present 30 Trace buffer overflow 31 Entry into trace buffer too long 37 No or wro...
Page 54: ...in use 5 4 3 Data Server Error Numbers 1001 1009 This is the list of error numbers using the Data Server Error Number Description 1001 Invalid handle value 1002 No Driver object found 1003 No dual por...
Page 55: ...init_file 4034 Length of converting stream is 0 4035 Non equal data set found 4036 Writing of set 0 is no allowed 4037 No entry in this file 4038 Data set has length 0 4039 The function DbmInit has a...
Page 56: ...und in the table 4072 Structure of table GLOBAL not correct or no such table existing 4073 No name of an ACCESS database 4074 Download window cannot be created 4075 Download not fully performable 4076...
Page 57: ...The following table lists the error numbers of data base functions DBM32 DLL Error number Description 5001 Function PackLongToByteShort Not enough space in pvD Number of elements greater than reserve...
Page 58: ...PDPM ProLinx Gateway Protocol Manual PROFIBUS DP Master Page 58 of 70 ProSoft Technology Inc June 24 2013...
Page 59: ...60 Supported PROFIBUS Services 60 Constructing a Bus Cable for PROFIBUS DP 61 6 1 RS 232 Configuration Debug Port This port is physically an eight pin Mini DIN8F connection A Mini DIN8M to DB9M adapt...
Page 60: ...to Mini DIN Adaptor Cable 09 6 3 PROFIBUS Master Port The following diagram has been imported from the PROFIBUS Master documentation Note that the signals to reference are the D Sub signals in the tab...
Page 61: ..._Upload DPV0 No No DDLM_End_Seq DPV0 No No DDLM_Act_Param_Brct DPV0 No No DDLM_Act_Param DPV0 No No 6 5 Constructing a Bus Cable for PROFIBUS DP The bus cable for connecting PROFIBUS DP devices must b...
Page 62: ...ovided copper shielding F around the shield braiding S J PVC jacket S Braided shielding F Copper foil shielding Additional foil can be obtained from 3M 5 Plug the leads of the corresponding cable s in...
Page 63: ...cleat installation instructions 7 Fasten the individual wires of the PROFIBUS cable to the terminals 8 Close the connector housing Note The shielding of both cables is connected internally with the me...
Page 64: ...lamps immediately after the cable has been connected to the cabinet This example indicates the shielding connection from the PROFIBUS cable to the FE PE rail Note An equalization current can flow acro...
Page 65: ...potential Bonding Note Grounding and shielding is to be carried out the same as for systems with equipotential bonding If this is not possible because of system or construction specific reasons howeve...
Page 66: ...PDPM ProLinx Gateway Protocol Manual PROFIBUS DP Master Page 66 of 70 ProSoft Technology Inc June 24 2013...
Page 67: ...Number 2 System architecture 3 Network details If the issue is hardware related we will also need information regarding 1 Module configuration and associated ladder files if any 2 Module operation an...
Page 68: ...rosoft technology com Languages spoken include English Hindi North America location in California Tel 1 661 716 5100 E mail support prosoft technology com Languages spoken include English Spanish Lati...
Page 69: ...unctions Error Numbers 4000 4098 54 D Data Base Functions Error Numbers 5001 5008 57 Data Server Error Numbers 1001 1009 54 DB9 to Mini DIN Adaptor Cable 09 60 Device Assignment 23 Device Diagnostic 3...
Page 70: ...Configuration Debug Port 59 S Saving the Configuration 32 Serial Driver Error Numbers 20 71 51 Serial Port Specifications 12 Set Slave Address 42 Set_Param SAP61 21 Settings 23 Standard PROFIBUS Slave...