2408f & 2404f PROFIBUS Communications Handbook Contents CONTROLLER MODELS 2408f and 2404f PROFIBUS-DP COMMUNICATIONS HANDBOOK Contents Page Chapter 1 INTRODUCTION Chapter 2 PRINCIPLES OF OPERATION ……………………………………………………..…………… Chapter 3 WIRING 2-1 ………........……………………….………….……………… 3-1 Cable Specifications Chapter 4 3-2 CONTROLLER SET UP & NETWORK CONFIGURATION .......................... Floating Point Data Formats 4-1 4-2 Diagnostic Information Chapter 5 1-1 ………………………..……..…............
408f & 2404f PROFIBUS Communications Handbook CHAPTER 1 Introduction INTRODUCTION This handbook is written for people who need to use a digital communications link and PROFIBUS-DP communication protocols to supervise Eurotherm Controls Series 2000 instruments. The PROFIBUS-DP protocol is supported by Eurotherm instruments carrying the suffix f in their order codes. Specifically 2408f and 2404f controllers.
Introduction 2408f & 2404f PROFIBUS Communications Handbook 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. You will find contact information in trade magazines or by reference to http://www.profibus.com on the World Wide Web.
2408f & 2404f PROFIBUS Communications Handbook Principles of Operation CHAPTER 2 PRINCIPLES OF OPERATION PROFIBUS-DP distinguishes between master devices and slave devices. It allows slave devices to be connected on a single bus thus eliminating considerable plant wiring typical with conventional communications systems. Figure 2-1 compares the two systems. Master devices determine the data communication on the bus.
Principles of Operation 2408f & 2404f PROFIBUS Communications Handbook Typically no more than 32 bytes of input data and 32 bytes of output data are exchanged for each device during the data exchange. Some PLC masters allow no more than this, although the PROFIBUS-DP standard provides the possibility of transferring 236 bytes in each direction. The input and output data lengths for a given device are variable and it is possible to have devices with only input data, only output data, or both.
2408f & 2404f PROFIBUS Communications Handbook Wiring CHAPTER 3 WIRING RS485 is the transmission technology used in 2404f and 2408f PROFIBUS-DP controllers.
2408f & 2404f PROFIBUS Communications Handbook Wiring Either of the two cable types detailed below can be used. Please note that the cable types A and B, specified below, are NOT related to the wire numbers A and B in the above wiring diagram. Type A is recommended as it allows higher speed and longer cable length. Characteristic Impedance: Cable capacitance: Core diameter: Cable type: Resistance: Shielding: Type A cable 135 to 165Ω at a frequency of 3 to 20 MHz.
2408f & 2404f PROFIBUS Communications Handbook Controller Set Up & Network Configuration CHAPTER 4 CONTROLLER SET UP & NETWORK CONFIGURATION PROFIBUS-DP communications is available in Eurotherm 2408f and 2404f controllers. Other 2000 series controllers (i.e. controllers without the f suffix) cannot be converted to PROFIBUS-DP comms, since a different microprocessor board is required. Main Differences between 2400f Controllers and Other Series 2000 Instruments.
2408f & 2408f PROFIBUS Communications Handbook Controller Set Up & Network Configuration TO CONFIGURE THE CONTROLLER COMMUNICATIONS PARAMETERS Select Configuration Level “HOME” display Press Page button repeatedly until Access List appears D D If incorrect password entered )O 6 1st press 2 secs / / 0 If the password has been set to ‘0’ access is or to enter password permanently unlocked (factory default = 1) & the lower readout always shows PASS 2nd press Note: Selecting or wil
2408f & 2404f PROFIBUS Communications Handbook Controller Set Up & Network Configuration NETWORK CONFIGURATION Having wired and configured the controller, the master PLC or PC based supervisory package must be configured to set-up the parameters that it will be able to read and write to. This is known as ‘network configuration’.
2408f & 2408f PROFIBUS Communications Handbook Controller Set Up & Network Configuration PROFIBUS DIAGNOSTICS One of the features of PROFIBUS-DP is that high priority diagnostic information is provided for each slave.
2408f & 2404f PROFIBUS Communications Handbook The Windows Configurator CHAPTER 5 THE WINDOWS CONFIGURATOR The Windows Configurator creates a ‘GSD’ file which provides a simple way of mapping device parameters into the PLC or supervisory package input/output registers. The GSD file is imported into a PROFIBUS Master which in turn produces a file that is downloaded into the PLC or supervisory package.
2408f & 2404f PROFIBUS Communications Handbook The Windows Configurator To add a parameter to the PROFIBUS-DP Input Data, simply drag it from the Device Parameter list using the mouse, and drop it into the Inputs list. Similarly, drop a parameter into the Outputs list to set PROFIBUS-DP Output Data. Alternatively, double click on a parameter name to add it to the currently selected window - select the list by clicking on it - or use the arrow button to the left of the input and output lists.
2408f & 2404f PROFIBUS Communications Handbook Troubleshooting CHAPTER 6 TROUBLESHOOTING No Communications: • • • • Check the wiring carefully, paying particular attention to the continuity of the A and B connections to the Master. Ensure that the correct terminals have been wired to. Access the # list in configuration level and check that the function ( 9. ) is set to 05/ . If not, the controller is not configured for PROFIBUS-DP.
2408f & 2404f PROFIBUS Communications Handbook Demand Data CHAPTER 7 DEMAND DATA The GSD file is used to define those parameters which need to be updated continuously. It is, therefore, a convenient way to transfer input and output data between the controller and the master PLC or Supervisory Computer. It is, however, wasteful in comms bandwidth if, for example: 1. It is used to read or write to occasionally accessed data, such as autotune or a three term value 2.
Demand Data 2408f & 2404f PROFIBUS Communications Handbook Demand Data uses the first 8 bytes in both the request and response message of the cyclic Data Exchange. DEMAND DATA STRUCTURE Read Request (from PLC) PLC Output Register Output Data Number The first four registers are reserved for demand data. The control program is responsible for writing values into these first four registers to make requests.
2408f & 2404f PROFIBUS Communications Handbook Demand Data THE COMMAND CODE AND TAG ARE ENCODED INTO REGISTER 1 AS FOLLOWS: Bits 15-12 Command Code Bit 11 Reserved Bit 10 - 0 Parameter Tag Because only 11 bits are available for the Parameter Tag, the maximum tag allowable for standard demand data operations is 2048. The 2400f series controller allows tag values of up to 16383, therefore, extended tags have been provided using register 2.
2408f & 2404f PROFIBUS Communications Handbook Demand Data Worked example 1 - Starting an Autotune An autotune is a good example of an operation that might be performed using the demand data sub-protocol, since it is a relatively infrequent operation and it would be wasteful to dedicate PROFIBUS-DP I/O data to such a task. Request 1: Clear any previous demand data requests.
2408f & 2404f PROFIBUS Communications Handbook Demand Data Worked example 2 - Uploading Program Data The 2400f series with PROFIBUS-DP may be configured with a ramp/dwell programmer option. It is often the case that specific ramp dwell sequences need to be downloaded to an instrument. Because of the amount of data involved, it would be impossible if only standard PROFIBUS-DP input and output frames were to be used. Use of the demand data protocol is the only way the operation may be performed.
2408f & 2404f PROFIBUS Communications Handbook Tag Addresses CHAPTER 8 TAG ADDRESSES Tag addresses are used to identify parameters in the controller and are identical to the Modbus addresses which are also listed in the Series 2000 Communications Manual, Eurotherm Part No. HA 026230. Tag addresses are used with the demand data protcol to set up input/output data in the PLC or supervisory PC.. They are repeated here in the order in which they appear in the GSD file.
2408f & 2404f PROFIBUS Communications Handbook Tag Addresses 9 10 11 12 13 14 15 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Program Logic Status 14 15 BIT 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 DESCRIPTION Program Output 1 ( 0 = OFF 1 = ON ) Program Output 2 ( 0 = OFF 1 = ON ) Program Output 3 ( 0 = OFF 1 = ON ) Program Output 4 ( 0 = OFF 1 = ON ) Program Output 5 ( 0 = OFF 1 = ON ) Program Output 6 ( 0 = OFF 1 = ON ) Program Output 7 ( 0 = OFF 1 = ON ) Program Output 8 ( 0 = OFF 1
2408f & 2404f PROFIBUS Communications Handbook Tag Addresses Controller Run Tab Tag Controller Alarm Tab Tag Display Parameter Description Addres s Display Parameter Description Address 05" 6 6 0 0 @ ! 6@0 !6 6!6 5 6 05!6 6 /96D /96D /96D /96D /96D /96D /96D /96D A. !D 22 BBB BBB BBB BBB #@ #A #@ #@ ) 6 Current program running (active prog no.
2408f & 2404f PROFIBUS Communications Handbook Tag Addresses Controller PID Tab Tag Controller Setpoint Tab Tag Display Parameter Description Address Display Address Gain scheduler setpoint 153 ) Current PID set (read only if gain scheduling is selected) 0: Set 1 1: Set 2 Proportional band PID1 72 Integral time PID1 0: Off Derivative time PID1 0: Off Manual reset PID1 8 Parameter Description Select setpoint 0: SP1 1: SP2 2: SP 3 3: SP 4 4: SP 5 5: SP 6 6: SP 7 7: SP 8 8: SP 9 9: SP 10
08f & 2404f PROFIBUS Communications Handbook Tag Addresses Controller Input Tab Tag Controller Parameter Description Address Output Tab Tag Display Display Parameter Description Address 101 0D)/ 0D#O 5 0D) 5 0D# 155 O)6 )6D 0;DO0 D D #OD 0 )/D 0 ,O ,O D ) )D % % D D ,;D ,;D % D % D )OD )OD 0;D ) Input 1 filter time constant 0: Off Input 2 filter time constant 0: Off Select input 1 or input 2 Derived input function factor 1 103 288 292 Derived input function
2408f & 2404f PROFIBUS Communications Handbook Tag Addresses Controller Display O 0 )/!D) )/!D# )/!D )/!D6 )/!D: 5 D) , 6 =D 0 5 D 0 0 0 N 0 0 :0 8-6 Information Tab Tag Parameter Description Addres s Configuration of lower readout display 0: Standard 1: Load current 2: Output power 3: Status 4: Program time 5: None 6: Valve position 7: Process value 2 8: Ratio setpoint 9: Selected program number 10: Remote setpoint PV minimum 134 PV maximum 133 PV mean value 135 Display 106
2408f & 2404f PROFIBUS Communications Handbook Controller Display 65) 6 //) 6OD6 6@0 ,B 5B$ 0=5 = D6 0 D65 5D6 0 ! $ Tag Addresses Instrument Configuration Tab Tag Parameter Description Address Control type 0: PID 1: On/Off 2: Manual 3: VP (No feedback) 4: VP b (Feedback) Control action 0: Reverse 1: Direct Type of cooling 0: Linear 1: Oil 2: Water 3: Fan 5: On/Off Integral and Derivative time units 0: Seconds 1: Minutes 2: Hours Derivative action on: 0: PV 1: Error Front pan
2408f & 2404f PROFIBUS Communications Handbook Tag Addresses Controller Display Input Configuration Tag Address Controller Display Parameter Description O.16 % N,1 O.1D) O.
2408f & 2404f PROFIBUS Communications Handbook Controller Display Programmer Configuration 06@0 Programmer type 0: None 1: Single program 4: Four programs Holdback 0: Applies to whole program 1: Applies to each segment Power fail recovery 0: Ramp back 1: Reset 2: Continue Servo 0: Servo to PV 1: Servo to SP Programmable event outputs Version 1 controllers: 0: None 3: Three 6: Six 8: Eight Versions 2 and 3 controllers: 0: None 1: Eight Synchronisation of programs 0: No 1: Yes Maximum Number Of Segments
2408f & 2404f PROFIBUS Communications Handbook Tag Addresses AA Display Alarm Relay Configuration Tab Tag Address Parameter Description O 9. .
2408f & 2404f PROFIBUS Communications Handbook 2A Display O 9. ; )D) ; )D) ; )D# ; )D# 9.O6 96D) 96D# .
2408f & 2404f PROFIBUS Communications Handbook Tag Addresses 3A Display O 9. O.06 % O,1 O.1D) O.1D# ; )D) ; )D# ; )D) ; )D) ; )D# ; )D# 9.
2408f & 2404f PROFIBUS Communications Handbook Tag Addresses Ramp/Dwell Programmer Data Program Data Organisation A 2400f series controller can contain multiple “programs”, each consisting of up to 16 segments.
2408f & 2404f PROFIBUS Communications Handbook Tag Addresses Program General Data The offsets of each parameter within the program general data block is given by the next table: Address Offset 0 1 2 3 4 5 6 7 Parameter HoldbackType 0: None 1: Low 2: High 3: Band HoldbackValue Ramp Units 0: Secs 1: Mins 2: Hours Dwell Units 0: Secs 1: Mins 2: Hours Program Cycles Reserved Reserved Reserved Program Segment Data Program segment data is specified using 8 tag addresses, with the contents varying depending
2408f & 2404f PROFIBUS Communications Handbook APPENDIX A.
2408f & 2404f PROFIBUS Communications Handbook Office Addresses EUROTHERM CONTROLS LIMITED UK SALES OFFICE Eurotherm Controls Limited Faraday Close, Durrington Worthing West Sussex BN13 3PL Telephone Sales: (01903) 695888 Technical: (01903) 695777 Service: (01903) 695444 Fax (01903) 695666 email http://www.eurotherm.co.uk USA SALES OFFICE Eurotherm Controls Inc 11485 Sunset Hills Rd. Reston, Virginia 20190-5286 USA website; http://www.eurotherm.com/controls.