Operator’s Manual PROFIBUS Interface Option for the HI 2151 Series Weight Controller OPERATION AND INSTALLATION MANUAL Document Part Number 0596-0231-01 Revision E 9440 Carroll Park Dr. • San Diego, CA 92121 Tel 858.278.2900 • Fax 858.278.6700 • www.hardysolutions.
HI 2151 Series Weight Controller Profibus Interface Option
Table of Contents Table of Contents SECTION 1 1.1. 1.2. 1.3. 1.4. 1.5. 1.6 SECTION 2 2.1. 2.2 2.3 2.4. 2.5. 2.6 2.7 SECTION 3 3.1 3.2 3.3 3.3.1 SECTION 4 4.1. 4.2. 4.3 4.4 4.5 4.6 4.7 OVERVIEW ....................................................................................................................... 1 Scope .......................................................................................................................... 1 Description ..................................................
HI 2151 Series Weight Controller Profibus Interface Option 4.8 SECTION 5 5.1 5.2 5.3 5.4 5.5 5.6 SECTION 6 6.1 6.2 6.3 6.4 6.5 6.6 6.7 SECTION 7 7.1 7.2 7.3 7.4 7.5 7.6 7.7 4.7.1 Set point Status............................................................................................... 18 4.7.2 Set point Description ....................................................................................... 18 Block Read Data Numbers.........................................................................
Table of Contents 7.7.4 7.7.5 7.7.6 7.7.7 7.7.8 SECTION 8 8.1. 8.2 8.3 8.4 8.4 8.5 Sticker Value (This data is not valid for the HI 2151/30WC) ......................... 49 Configuration of Rate-of-Change ................................................................... 49 Configuration of Analog Output ..................................................................... 50 Configuration of Standard RS232 Port ..........................................................
Section 1: Overview Section 1 OVERVIEW 1.1. SCOPE This manual describes the operating procedures, specifications, installation, and setup for the Hardy Process Solutions, PROFIBUS Interface Option -B12, which is used with the Hardy HI 2151 Series Weight Controllers. To ensure the maximum service life and safe operation of the PROFIBUS Interface Card, use the card only as described in this manual and observe the cautions, warnings, and safety procedures. Hardy Process Solutions appreciates your business.
HI 2151 Series Weight Controller Profibus Interface Option 1.5. PROFIBUS-DP CAPABILITIES 1.5.1 Watch Dog Watch Dog communication control detects failures in the bus or the assigned DPM1 (DPMaster - Class 1, which is the central controller in PROFIBUS-DP). If the interface card detects no successful data transfers within a set interval, it switches its outputs to the failsafe state until successful communication is resumed. 1.5.
Section 1: Overview 1.5.5 BAUD RATE AUTO-DETECT The PROFIBUS network can support up to 12 Mbaud transfer rates. The server’s Auto Detect function finds the system baud rate (the rate of the slowest component), which eliminates the need for board settings. 1.5.6 MULTIPLE NODES Depending on the PLC, the PROFIBUS network is configurable to include several nodes (The HI 2151 weight controller is one node) up to a maximum of 126. 1.5.7 GSD FILE Some PLC’s require the GSD file (HRDY2151.
HI 2151 Series Weight Controller Profibus Interface Option 2. Humidity: 0 to 80% Relative Humidity (Non-condensing) Baud Rate 9,600 kbaud to 12 Mbaud - (Auto-Selectable) Process Control Standards Reference Process Fieldbus (PROFIBUS) - DIN 19 245 Reference Data Protocols Master manuals will reference data either in bytes or words using the different protocols that are particular to a server or series of servers. For example: 1.
Section 2: Installation SECTION 2 INSTALLATION 2.1. SCOPE Chapter 2 explains unpacking, cabling and interconnection, and installation of the -B12 PROFIBUS Interface Card. Operators and maintenance personnel should read the procedures in this chapter before installing or operating the PROFIBUS interface card. 2.2 UNPACKING 1. Inspect the packing for damage of any kind, before signing for or opening the package. 2. Report any damage to the carrier company immediately. 3.
HI 2151 Series Weight Controller Profibus Interface Option B. Panel Mount, Remote, and Blind Installations. Remove the four Phillips head machine screws that fasten the chassis to the HI 2151 Series WC cover. Figure 2-2 6 3. Pull the chassis completely out of the cover. 4. Place the chassis on an anti-static pad. 5. Put on an anti-static wristlet and connect it to the anti-static pad. 6. Analog to Digital PCB is clearly visible and there are eight standoffs mounted on the board. (See Fig.
Section 2: Installation Figure 2-3 8. On the solder side of the PROFIBUS Interface Card, the side opposite the components, there is a pin connector. (See Fig. 2-3) Figure 2-4 9. With the pin connector side down, carefully plug the PROFIBUS Interface Card into either connector J4 or J5 (See Fig. 2-2) whichever is available. These connectors also refer to option 1 or option 2 on the rear panel. Option 1 uses connector J5. Option 2 uses connector J4. (See Fig.
HI 2151 Series Weight Controller Profibus Interface Option 10. The through holes on the PROFIBUS Interface Card should line up with the threaded holes in the standoffs. A little adjustment is sometimes necessary to line them up. (See Fig. 2-5) Figure 2-5 11. Place the washers over the holes on the component side of the PROFIBUS Interface Card and install the four Phillips pan head SEM screws (See Fig. 2-5).
Section 2: Installation 2.5. CABLE AND CONNECTOR REQUIREMENTS Siemens Bus Connector - (SINEC L2) Prt. # 6ES7-972-0BA20-OXAO Siemens Cable LWF, CMX 75C (shielded) - (SINEC L2) Prt. #6XV1-830-OAH10 Figure 2-6 2.
HI 2151 Series Weight Controller Profibus Interface Option 2.7 COMMUNICATION RATE/CABLE LENGTHS/CONNECTORS Shielded twisted pair two wire cable is required for the PROFIBUS Interface Connection. The characteristic impedance of the cable should be in the range between 135 and 165 Ohms (3 to 20 MHZ), the cable capacity (conductor-conductor) should be <30 pF/M and the conductor area should be 0,34 mm2. The 9 pin din connector on the option board is used for all PROFIBUS connections.
Section 3: Setup SECTION 3 SETUP 3.1 SCOPE Chapter 3 consists of all the procedures to setup the PROFIBUS Interface Option. To make sure that the interface option works properly, programmers and maintenance personnel should be familiar with this chapter before setting up or operating the system. 3.2 PANEL, WALL AND REMOTE SETUP PROCEDURE 1. Press the 7/Option button. (See Fig. 3-1) The first option appears. Figure 3-1 NOTE: 2. Press the “4/Up” ( 3. Press the “Enter” button.
HI 2151 Series Weight Controller Profibus Interface Option Figure 3-2 6. NOTE: Press the Test/Clr button. The display should now show four “0's”. (See Fig. 3-3) On an uncleared display, numbers are added to the right of the existing number. Figure 3-3 7. Use the keypad to enter the new number. 8. Press the “Enter” button to set the address. 9. Exit the Options Menu by pressing the “Exit” button. 1.
Section 3: Setup 3.3 BLIND UNIT SETUP PROCEDURE A blind HI 2151 Series Weight Controller is configured without a front panel and keypad. To set the PROFIBUS station address, a dip switch on the PROFIBUS Interface Card and the Power & Relay PCB, must be set. To set the power and relay (Prt # 0535-0427) dipswitches for the PROFIBUS Interface Card: 1. Disconnect the power cord. 2. Open the panel door. 3. On the Power & Relay Printed Circuit Board (Prt # 0535-0427) there is a dipswitch S2. (See Fig.
HI 2151 Series Weight Controller Profibus Interface Option 3.3.1 1. SETTING THE ADDRESS FOR BLIND UNITS The Dipswitches on the PROFIBUS Interface Card represent a binary value as follows: Switch 1 2 3 4 5 6 7 8 NOTE: Binary Value 1 2 4 8 16 32 64 Not used 2. A PROFIBUS address can have a binary value from 1 to 125. 3. To set the address move the dipswitches that total the address binary number to the “on” position.
Section 4: Block Reads SECTION 4 BLOCK READS 4.1. SCOPE Chapter 4 covers block read commands for the PROFIBUS Interface Option. Programmers and users should be familiar with this chapter before operating the PROFIBUS Interface Option. 4.2. TRANSFER COMMANDS 4.2.1 OVERVIEW OF TRANSFER COMMANDS 1. PROFIBUS Interface Card maximum buffer size: 112 byte 2. Siemens PLC TI 505 Series PLCs Requires the Field Interface Module (FIM) to communicate over PROFIBUS.
HI 2151 Series Weight Controller Profibus Interface Option NOTE: 4.3 The decimal point is not included in values transferred. The decimal position is a separate parameter. DETAILED COMMAND SET FOR BLOCK READS NOTE: We recommend that front panel functions be controlled through the PROFIBUS network and that the front panel control be disabled or locked out. (See the HI 2151 Series Weight Controller Operation and Installation Manual for lockout instructions) 1.
Section 4: Block Reads a. Enter the following information to output to the weight controller: K1: Contains Hex 5400 (Selects Block Write #84: Selects Read Summary Data) K2: Contains Hex 5A00 (Selects Block “90" error code:) b. MOVW1: Downloads the information in K1 & K2 into WY17-WY18 (Weight Controller) c. Data is read to: WX1-WX2: WX1: Contains Hex 5A00 (Block Read Summary Data #90) WX2: Contains Error Code (Error code number from the Error Code Table, See Below) 4.5 BLOCK READ COMMAND SETUP 1.
HI 2151 Series Weight Controller Profibus Interface Option 4.7 SET POINT STATUS/DESCRIPTION BYTES 4.7.1 NOTE: SET POINT STATUS Relay 8 Relay 7 Relay 6 Relay 5 Relay 4 Relay 3 Relay 2 Relay 1 Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Relays 1 and 2 are swapped on bits 6 and 7 for set point status. 4.7.2 1. SET POINT DESCRIPTION The set point value is the target weight or level. The set points can be set to track peak, gross, net, rate-of-change (ROC) or total.
Section 4: Block Reads 4.8 BLOCK READ DATA NUMBERS Block Read Data Number 20: Full Status and Weight Data Byte Definitions Byte Pos.
HI 2151 Series Weight Controller Profibus Interface Option Acquire Tare Print request (RS232 port) bit 6 bit 7 Fixed Pont Weight Data 2 2 2 2 2 2 Rate-of-Change Value Peak Force or Weight Total Weight in Accumulator Gross Weight Net Weight Tare Value Total Words/Bytes 3 5 7 9 11 13 15 4 4 4 4 4 4 6 10 14 18 22 26 30 Block Read Data Number 21: Floating Point Weight Data (For IEEE Information See Appendix A) Byte Definitions Byte Pos.
Section 4: Block Reads Block Read Data Number 22: Set Point Relay Status 1-2 Byte Definitions Byte Pos. Block Read Number 22 (Hex 16) LSB Set point Status on/off (See Paragraph 4.7.
HI 2151 Series Weight Controller Profibus Interface Option Block Read Data Number 24: Set Point Relay Status 5-6 Byte Definitions Byte Pos. Block Read Number 24 (Hex 18) LSB Set point Status on/off (See Paragraph 4.7.
Section 4: Block Reads Block Read Data Number 26: Read Tare Value Byte Definitions Byte Pos.
HI 2151 Series Weight Controller Profibus Interface Option Block Read Data Number 29: Sticker Value Byte Definitions Byte Pos. Block Read Data Number 29 (Hex 1D) Reserved for future use LSB MSB # Start Word # Bytes Start Byte Words 1 0 1 1 0 1 Sticker Value 2 1 4 2 Total Words/Bytes 3 6 Block Read Data Number 30: Configuration of Rate-of-Change Byte Definitions Byte Pos.
Section 4: Block Reads NOTE: The data in Block Read #32 is not valid for the HI 2151/30WC.
HI 2151 Series Weight Controller Profibus Interface Option Block Read Data Number 35: Instrument Identification Byte Definitions Byte Pos. Block Read Number 35 (Hex 23) LSB Firmware revisions level (one character text, i.e.
Section 5: Block Writes Section 5 Block Writes 5.1 SCOPE Chapter 5 covers block write commands for the PROFIBUS Interface Option. Programmers and other users be familiar with this chapter before operating the PROFIBUS Interface Option. 5.2 OVERVIEW OF TRANSFER COMMANDS 1. PROFIBUS Interface Card maximum buffer size 2. Siemens PLC a. 112 byte buffer TI 505 Series PLC Requires the Field Interface Module (FIM) to communicate over PROFIBUS.
HI 2151 Series Weight Controller Profibus Interface Option NOTE: 5.4 The weight controller will not accept write commands until calibration is sealed. Press “Enter” at ENDCAL to seal the calibration. (See HI 2151 Series Weight Controller Operation and Installation Manual, for calibration instructions) DETAILED COMMAND SET FOR BLOCK TRANSFER (WRITES) NOTE: We recommend that front panel functions be controlled through the PROFIBUS network and that the front panel control be disabled or locked out.
Section 5: Block Writes C1: Starts the program MOVW1: Downloads the information in K1-K14 into WY17-WY31 (weight controller) 5.6 BLOCK WRITE COMMAND NUMBERS Block Write Command Number 70: Activate Scale Functions Byte Definitions Byte Pos.
HI 2151 Series Weight Controller Profibus Interface Option Block Write Command Number 72: Set point Relay Status 1-2 Byte Definitions Byte Pos. Block Write Number 72 (Hex 48) LSB Set point Enable on/off (See Chapter 4, paragraph 4.7.
Section 5: Block Writes Block Write Command Number 74: Set point Relay Status 5-6 Byte Definitions Byte Pos. Block Write Number 74 (Hex 4A) LSB Set point Enable on/off (See Chapter 4, paragraph 4.7.
HI 2151 Series Weight Controller Profibus Interface Option Block Write Command Number 76: Send Tare Value Byte Definitions Byte Pos. Block Write Number 76 (Hex 4C) Reserved for future use LSB MSB # Start Word # Bytes Start Byte Words 1 0 1 1 0 1 Send Tare Value 2 1 4 2 Total Words/Bytes 3 6 Block Write Command Number 77: Scale Calibration Action Byte Definitions Byte Pos.
Section 5: Block Writes Zero Tolerance Number of readings averaged. ® Span weight value or C2 Reference pont Scale Capacity Mid-point Linearity Calibration Value Auto Zero Tolerance 1 1 1 2 2 2 1 4 5 6 7 9 11 13 2 2 2 4 4 4 2 8 10 12 14 18 22 26 Total Words/Bytes 14 NOTE: 28 This Block Write (#79) is not valid for HI 2151/30WC Block Write Command Number 79: Sticker Value Byte Definitions Block Write Number 79 (Hex 4F) Reserved for future use Sticker Value Total Words/Bytes Byte Pos.
HI 2151 Series Weight Controller Profibus Interface Option Weight Parameter (Value) 0 = Gross 1 = Net 2 = Rate-of-Change 3 = Peak Hold 4 = Total Weight MSB 1 1 Weight Value Represented by a Zero Scale Analog Output Weight Value Represented by a Full Scale Analog Output 2 1 4 2 2 3 4 6 Total Words/Bytes 5 NOTE: 10 This Block Write (#82) is not valid for HI 2151/30WC Block Write Command Number 82: Configuration of Standard RS232 Port Byte Definitions Byte Pos.
Section 5: Block Writes Block Write Command Number 85: Integrated Technician Byte Definitions Byte Pos.
HI 2151 Series Weight Controller Profibus Interface Option Section 6 SELECTABLE READS 6.1 SCOPE Chapter 6 covers Selectable Read Commands for the PROFIBUS Interface Option. 6.2 OVERVIEW OF TRANSFER COMMANDS 1. PROFIBUS Interface Card maximum buffer size: 112 byte buffer 2. Siemens PLC a. TI 505 Series PLCs Requires the Field Interface Module (FIM) to communicate over PROFIBUS. Can continually exchange up to 32 words or 64 bytes for both PLC input and output with each client device. b.
Section 6: Selectable Reads 6.4 DETAILED DATA SET FOR SELECTABLE READ(S) 1. NOTE: If your server Device does not have built in PROFIBUS diagnostic capability set up the Response/Error “0" diagnostics first, (See section 4.4) before proceeding. The write “0" must be set before entering a block write command so that the verification process can determine if the first block write command sent is valid or not. 2.
HI 2151 Series Weight Controller Profibus Interface Option Full word variables must begin on word boundaries, when transferring operator selectable commands or data. See example below. Example Output from the PLC, in this example indicator status 2 is desired.
Section 6: Selectable Reads 6.7 SELECTABLE READ DATA 6.7.1 FULL STATUS AND WEIGHT DATA Full Status and Weight Data # Words 0.
HI 2151 Series Weight Controller Profibus Interface Option Acquire Tare Print request (RS232 port) Fixed Pont Weight Data Rate-of-Change Value Peak Force or Weight Total Weight in Accumulator Gross Weight Net Weight Tare Value 6.7.
Section 6: Selectable Reads Set point #2 Set point Value #2 Preact Value #2 Dead band Value #2 Set point #3 Set point Value #3 Preact Value #3 Dead band Value #3 Set point #4 Set point Value #4 Preact Value #4 Dead band Value #4 Set point #5 Set point Value #5 Preact Value #5 Dead band Value #5 Set point #6 Set point Value #6 Preact Value #6 Dead band Value #6 Set point #7 Set point Value #7 Preact Value #7 Dead band Value #7 Set point #8 Set point Value #8 Preact Value #8 Dead band Value #8 6.7.
HI 2151 Series Weight Controller Profibus Interface Option 6.7.6 STICKER VALUE (NOT VALID FOR THE HI 2151/30WC) Sticker Value # Words Sticker Value 6.7.
Section 6: Selectable Reads 6.7.
HI 2151 Series Weight Controller Profibus Interface Option 6.7.
Section 7: Selectable Writes SECTION 7 SELECTABLE WRITES 7.1 SCOPE Chapter 7 covers Selectable Write Commands for the PROFIBUS Interface Option. It is very important that programmers and users be familiar with this chapter before operating the PROFIBUS Interface Option. 7.2 OVERVIEW OF TRANSFER COMMANDS 1. PROFIBUS Interface Card maximum buffer size: 2. 112 byte buffer Siemens PLC a. TI 505 Series PLCs Requires the Field Interface Module (FIM) to communicate over PROFIBUS.
HI 2151 Series Weight Controller Profibus Interface Option 4. NOTE: 7.4 The decimal point is not included in values transferred. The decimal position is a separate parameter. DETAILED COMMAND SET FOR SELECTABLE WRITES NOTE: We recommend that front panel functions be controlled through the PROFIBUS network and that the front panel control be disabled or locked out. (See the HI 2151/20 WC Operation and Installation Manual (#0596-0178-B), Section 6, Paragraph 6.
Section 7: Selectable Writes Example Output from the server: Byte Hex# Description Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 6 53 00 42 00 03 3C Block Write Number Unused Decimal Point Position (66) Number ignored 3 Decimal Places Tare Value Byte Hex# Description Byte 7 00 Byte 8 00 Byte 9 00 Byte 10 01 Byte 11 00 7.6 Number ignored Tare Value = 100 (hex) OPERATOR SELECTABLE WRITE EXAMPLE 1.
HI 2151 Series Weight Controller Profibus Interface Option 7.7 SELECTABLE WRITE COMMANDS 7.7.1 SET POINT RELAY FUNCTIONS Set point Relay Functions Force Relay Set point Enable - on/off (See Chapter 4, para. 4.7.1) Set point #1 bit 7 Set point #2 bit 6 Set point #3 bit 5 Set point #4 bit 4 Set point #5 bit 3 Set point #6 bit 2 Set point #7 bit 1 Set point #8 bit 0 Set point Description (See Chapter 4, para. 4.7.
Section 7: Selectable Writes Dead band Value #6 Set point #7 Set point Value #7 Preact Value #7 Dead band Value #7 Set point #8 Set point Value #8 Preact Value #8 Dead band Value #8 NOTE: 2 2 2 4 4 4 54 55 56 36 37 38 2 2 2 4 4 4 57 58 59 39 3A 3B The relays must be disabled by using Parameter #20 before performing a Force Relay with Parameter #19. 7.7.2 SEND TARE VALUE Send Tare Value # Words Send Tare Value 7.7.
HI 2151 Series Weight Controller Profibus Interface Option 7.7.6 CONFIGURATION OF ANALOG OUTPUT Configuration of Analog Output # Words Weight Parameter (Value) # Parameter Hex # Bytes # 0.5 1 85 55 2 4 86 56 2 4 87 57 0 = Gross 1 = Net 2 = Rate-of-Change 3 = Peak Hold 4 = Total Weight Weight Value Represented by a Zero Scale Analog Output Weight Value Represented by a Full Scale Analog Output 7.7.
Section 8: Troubleshooting Section 8 Troubleshooting Procedures 8.1. SCOPE Chapter Eight consists of all the procedures for troubleshooting the electrical, mechanical and software of the PROFIBUS Interface Card in the event of a malfunction. All the information covers the diagnosis and repair of malfunctioning components. 8.2 DISASSEMBLY AND REASSEMBLY NOTES AND CAUTIONS Disconnect the power cord before disassembling.
HI 2151 Series Weight Controller Profibus Interface Option 8.3 TROUBLESHOOTING GUIDE 8.3.1 LED DOES NOT COME ON (SEE FIG. 8-1) TROUBLE PROBABLE CAUSE LED does not come on. No power to the board. REMEDY Check powercord to see if it is plugged in or broken. Check power source to see if there is power to the outlet. Figure 8-1 8.3.2 SELF TEST FAILS TROUBLE PLFAIL Message PROBABLE CAUSE PROFIBUS PCB is plugged in incorrectly.
Section 8: Troubleshooting 8.4 ERROR CODES See Section 4.
HI 2151 Series Weight Controller Profibus Interface Option 11 3 57 39 Acceptable number of averages between 1 and 200 12 4 58 3A Span weight value, during calibration, must be positive 13 5 59 3B Scale capacity value must be positive (from 1-999,999) 14 6 60 3C Midpoint linearity value must be positive 15 7 61 3D Rate-of-change time units must be 0, 1 or 2 16 8 62 3E Rate-of-change time base out of range 1 65 41 Analog output not installed 18 2 66 42 Analog output requ
Section 8: Troubleshooting 32 Reserved for future use 8 1 81 51 Tare value exceeds legal range of -99,999-999,999 34 2 82 52 Units of measure are 0=Pounds/1=Kilograms 35 3 36 4 85 54 Totalizer decimal point must be equal or less than decimal point position (0-4) 37 5 85 55 C2 load cell count must be between 0-8 38 6 86 56 Sticker value must be a 6 digit number (between 65536999999) 39 7 87 57 Analog out should be and 999,999 40 8 88 58 Analog low count can’t equal high
HI 2151 Series Weight Controller Profibus Interface Option NOTE: 3. 8.5 Sending another command with valid parameters will correct the error. However, to clear the response/error code bits you must rerun the write “0" or “90" command, which clears the response/error code bits. Otherwise the error bit will always reflect the previous error. To check if the associated bit(s) have been cleared. Read the response/error bits to see if they are zero.
Appendix Appendix A - IEEE For Normal Float Type IEEE Format for Normal Float Type Used for Block Read #21 and Selectable Read Parameter #15.
HI 2151 Series Weight Controller Profibus Interface Option Appendix B - Decimal, Hex, Octal, and Binary Conversion Chart Binary Octal Decimal Octal 0000 0 0 0 0001 1 1 1 0010 2 2 2 0011 3 3 3 0100 4 4 4 0101 5 5 5 0110 6 6 6 0111 7 7 7 1000 10 8 8 1001 11 9 9 1010 12 10 A 1011 13 11 B 1100 14 12 C 1101 15 13 D 1110 16 14 E 1111 17 15 F Hexadecimal and Equivalent Numbers