1769 4-Channel Isolated Analog HART Input Module Important Notes 1. Please read all the information in this owner’s guide before installing the product. 2. The information in this owner's guide applies to hardware Series A and firmware version 1.00 or later. 3.
Table of Contents IMPORTANT NOTES ..............................II LIMITED WARRANTY ..............................II CHAPTER 1 MODULE OVERVIEW........................... 1-1 .......................... 1-1 ENERAL ESCRIPTION ........................1-1 NPUT YPES AND ANGES ............................ 1-2 ORMATS ..........................1-2 ILTER REQUENCIES ........................... 1-2 ARDWARE EATURES 1.5.1 General Diagnostic Features ........................1-2 ..........................
Page 4
1769 4-Channel Isolated Analog Input Module ........................5-1 ODULE EMORY ..................5-2 CCESSING NPUT MAGE CCESSING ..........................5-3 NPUT 5.3.1 Input Data Values (Words 0 to 3) ......................5-3 5.3.2 Time Stamp Value (Word 4)........................5-3 5.3.3 General Status Bits S0 to S3 (Word 5) ....................5-3 5.3.4 Out of Service Status Bits OS0 to OS3 (Word 5) ..................
Page 5
1769 4-Channel Isolated Analog Input Module 6.4.3 HART Pass-Through Command ......................6-36 HART P ....................... 6-46 ROTOCOL VERVIEW 6.5.1 Message Format ..........................6-47 6.5.2 Sending a HART Command to a Field Device via Pass-through ............. 6-49 CHAPTER 7 PROGRAMMING EXAMPLES ....................... 7-1 ...........................
Page 6
1769 4-Channel Isolated Analog Input Module Preface This is a re-issue of an existing manual, with some corrections, and NOTE updated ATEX information. Read this preface to familiarize yourself with the rest of the manual. This preface covers the following topics: •...
Page 7
1769 4-Channel Isolated Analog Input Module Allen-Bradley Refer to this Document Pub. No. information Programmable Controller Grounding and Wiring Guidelines Technical Support For technical support, please contact your local Rockwell Automation TechConnect Office for all Spectrum products. Contact numbers are as follows: 1-440-646-6900 •...
Page 8
viii 1769 4-Channel Isolated Analog Input Module User’s Manual Pub. 0300215-05 Rev. A...
Chapter 1 Module Overview This chapter describes the 1769sc-IF4IH and the conformally coated 1769sc- IF4IHK isolated HART analog input modules, and explains how the modules read current, voltage, and current with HART input data. Other than the conformal coating, both modules are identical so all information applicable to the 1769sc-IF4IH also applies to the K version.
Chapter 1: Module Overview Data Formats For each channel, the data can be configured for: Engineering Units ×1. • Scaled-for-PID. • Percent of full scale. • Raw/proportional counts. • Filter Frequencies The module uses a digital filter that provides high-frequency noise rejection for the input signals.
Chapter 1: Module Overview System Overview The modules communicate to the controller through the bus interface. The modules also receive 5 VDC and 24 VDC power through the bus interface. At power-up, the module performs a check of its internal circuits, memory, and basic functions.
Page 12
Chapter 1: Module Overview See the block diagram below: Figure 1-1. 1769sc-IF4IHV2 Block Diagram HART MERCURY INPUT CIRCUIT X4 Modem ASIC Internal Vin+ RAM + 24 BIT Vin+ FLASH iCoupler Irtn Irtn 2.5V 24V TO 12V Vin- POWER ISOLATED +/-15V SUPPLY SUPPLY Vin-...
Chapter 2 Installation and Wiring Before You Begin This chapter covers: Tools and Equipment • • Compliance to European Union directives • Power requirements General considerations • Mounting • • Wiring the module Tools and Equipment You need the following tools and equipment: •...
Chapter 2: Installation and Wiring UKCA Electromagnetic Compatibility Regulations 2016 BS EN 61131-2, BS EN 61000-6-4, BS EN 61000-6-2. • This product is intended for use in an industrial environment. This product is tested to meet Council Directive 2014/30/U/ATEX, and the following standards, in whole or in part, documented in a technical construction file: EN 60079-0 Explosive atmospheres –...
Page 15
Chapter 2: Installation and Wiring Over Voltage Category II (IEC 60664-1 2-) This equipment is suitable for use in Class I, Division 2, Groups A, B, C, D or non-hazardous locations only. The following WARNING statement applies to use in hazardous locations. EXPLOSION HAZARD WARNING •...
Chapter 2: Installation and Wiring Remove power before removing or inserting this module. When you WARNING remove, or insert, a module with power applied, an electrical arc may occur. An electrical arc can cause personal injury or property damage by: Sending an erroneous signal to your system’s field devices, •...
Chapter 2: Installation and Wiring Mounting Keeping module free of debris and avoiding overheating: WARNING Do not remove protective debris strip until after the module and • all other equipment near the module is mounted and the wiring is complete. Once wiring is complete, and the module is free of debris, •...
Page 18
Chapter 2: Installation and Wiring Item Description bus lever upper panel mounting tab lower panel mounting tab module status LED module door with terminal identification label movable bus connector (bus interface) with female pins stationary bus connector (bus interface) with male pins nameplate label upper tongue-and-groove slots lower tongue-and-groove slots...
Page 19
Chapter 2: Installation and Wiring already mounted, see Replacing a Single Module within a System. The following procedure shows you how to assemble the Compact I/O system. 1. Disconnect power. 2. Check that the bus lever of the module to be installed is in the unlocked (fully right) position.
Chapter 2: Installation and Wiring 7. Attach an end cap terminator (5) to the last module in the system by using the tongue-and-groove slots as before. 8. Lock the end cap bus terminator (6). A 1769-ECR or 1769-ECL right or left end cap respectively must be used WARNING to terminate the end of the 1769 communication bus.
Page 21
Chapter 2: Installation and Wiring Due to module mounting hole tolerance, it is important to follow these procedures: 1. On a clean work surface, assemble no more than three modules. 2. Using the assembled modules as a template, carefully mark the center of all module-mounting holes on the panel.
2-10 Chapter 2: Installation and Wiring 6. Before installing the replacement module, be sure that the bus lever on the module to be installed and on the right-side adjacent module or end cap are in the unlocked (fully right) position. 7.
Page 23
Chapter 2: Installation and Wiring 2-11 If it is necessary to connect the shield drain wire at the module end, connect it to earth ground using a panel or DIN rail mounting screw. Refer to Industrial Automation Wiring and Grounding Guidelines, Allen-Bradley publication 1770-4.1, for additional information.
Page 24
2-12 Chapter 2: Installation and Wiring Wire Size and Terminal Screw Torque Each terminal accepts up to two wires with the following restrictions: Wire Type Wire Size Terminal Screw Retaining Screw Torque Torque Solid Cu-90 °C (194 °F) #14 to #22 AWG 0.68 Nm (6 in-lbs) 0.46 Nm (4.1 in-lbs) (1.63 to 0.65 mm)
Page 25
Chapter 2: Installation and Wiring 2-13 After the module is properly installed, follow the wiring procedure below, using the proper thermocouple extension cable, Belden 8761. To wire your module follow these steps. At each end of the cable, strip some casing to expose the individual wires. HAZARD OF DAMAGE TO EQUIPMENT WARNING Be careful when stripping wires.
Page 26
2-14 Chapter 2: Installation and Wiring Wiring Diagrams Calibration The isolated HART module is initially calibrated at the factory. 1. Apply power to the controller system. 2. Download your program, which contains the module configuration settings, to the controller. 3. Put the controller in Run mode. During a normal start-up, the module status LED turns on.
Chapter 3 Configuring the IF4IH for CompactLogix Using Studio 5000 This chapter explains how to incorporate the IF4IH module into a CompactLogix system using Studio 5000 programming software. The process of incorporating your HART module into the CompactLogix system is similar to the process needed to add an Allen-Bradley module.
Page 28
Chapter 3: Configuring the IF4IH for CompactLogix Using Studio 5000 To create a new Studio 5000 project file: 1. Click on the new project icon or on the File pull-down menu and select New. The following dialog appears: 2. Choose your controller type, enter a name for your project, and click OK.
Page 29
Chapter 3: Configuring the IF4IH for CompactLogix Using Studio 5000 The following dialog appears: 4. This dialog is used to narrow your search for I/O modules to configure in your system. With the initial release of the CompactLogix 5320 controller, this dialog only includes the Generic 1769 Module. Click the OK button.
Chapter 3: Configuring the IF4IH for CompactLogix Using Studio 5000 The Comm Format, Assembly Instance, and Size values are listed in the following table for the 1769sc-IF4IH HART module: Table 3-1. Generic Profile Parameters Size 1769 I/O Comm Assembly Parameter Module Format Instance...
Page 31
Chapter 3: Configuring the IF4IH for CompactLogix Using Studio 5000 To install: 1. Download the zipped file (SC 1769sc-IF4IH DTM 1.0.0.3 Setup.zip) from the Spectrum Controls website and unzip the file. 2. Open the created folder and double-click on MPSetup.exe: 3.
Chapter 3: Configuring the IF4IH for CompactLogix Using Studio 5000 4. Configure the module using the custom configuration dialogs: The 1769sc-IF4IH still requires ladder to demultiplex the HART data, and NOTE to send HART messages via the controller. Please refer to the sample project packaged with the profile install for more information.
Page 33
Chapter 3: Configuring the IF4IH for CompactLogix Using Studio 5000 The user-defined data types should be copied before copying the tags or NOTE ladder. The table below gives a brief description of each data type. Table 3-2. User-Defined Data Type Descriptions User-Defined Data Type Description ConfigurationStructure...
Chapter 3: Configuring the IF4IH for CompactLogix Using Studio 5000 User-Defined Data Type Description Packet4 Defines the data structure for HART packet 4. HART packet 4 contains the extended status for the connected HART device. Project Tags The project tags were created to simplify the configuration of the module as well as reduce confusion related to using only the module local tags.
Chapter 3: Configuring the IF4IH for CompactLogix Using Studio 5000 Sample Project Ladder The ladder contained in the sample project is used to perform several different operations. The main routine in the MainProgram is used to copy data from the user defined tags to the module local tags.
Page 36
3-10 Chapter 3: Configuring the IF4IH for CompactLogix Using Studio 5000 5. Right mouse-click and select paste as shown below: User’s Manual Pub. 0300215-05 Rev. A...
Chapter 4 Configuring the IF4IH for a MicroLogix 1500 Using Studio 500 This chapter explains the 1769sc-IF4IH module’s addressing scheme and describes module configuration using Studio 500 and a MicroLogix 1500 controller. This chapter will cover the following: • Module Addressing Configuring the IF4IH in a MicroLogix 1500 System •...
Chapter 4: Configuring the IF4IH for a MicroLogix 1500 Using Studio 500 For example, to obtain the general status for channel 2 of the module located in slot e, use address I:e.5/2. The end cap does not use a slot address. NOTE Configuring the 1769sc-IF4IH...
Page 39
Chapter 4: Configuring the IF4IH for a MicroLogix 1500 Using Studio 500 To configure: 1. Start Studio and create a MicroLogix 1500 application. The following dialog appears: 2. While offline, double-click on the IO Configuration icon under the controller folder. The following IO Configuration dialog appears: 3.
Page 40
Chapter 4: Configuring the IF4IH for a MicroLogix 1500 Using Studio 500 4. A communications dialog appears, identifying the current communications configuration so that you can verify the target controller. If the communication settings are correct, click on Read IO Config: The actual I/O configuration is displayed.
Page 41
Chapter 4: Configuring the IF4IH for a MicroLogix 1500 Using Studio 500 The general configuration dialog appears: When using the read IO configuration feature in Studio, you need to NOTE manually enter 34 into the Extra Data Length field. 6. To configure the module, select the Generic Extra Data Configuration tab.
Chapter 4: Configuring the IF4IH for a MicroLogix 1500 Using Studio 500 For a complete description of each of these parameters and the choices NOTE available for each of them, refer to Chapter 5. Using the Ladder Sample To get started we recommend that you use the provided MicroLogix 1500 sample project.
Page 43
Chapter 4: Configuring the IF4IH for a MicroLogix 1500 Using Studio 500 You may either use the sample project or copy and paste the pieces you need from the project. To copy subroutines from the sample project to your project: 1.
Page 44
Chapter 4: Configuring the IF4IH for a MicroLogix 1500 Using Studio 500 7. Right mouse click and select paste. After copying the subroutines and or the ladder, you may wish to import the tags and rung comments. Follow the procedure below to import the tag database and rung comments: 1.
Page 45
Chapter 4: Configuring the IF4IH for a MicroLogix 1500 Using Studio 500 After selecting ASCII export, the following dialog appears: 3. Select the RSLogix 500 tab and click OK. 4. Select the location for the export file. 5. In your project, go to the tools menu, select database, and select ASCII Import: User’s Manual Pub.
Page 46
4-10 Chapter 4: Configuring the IF4IH for a MicroLogix 1500 Using Studio 500 The following dialog appears: 6. Select the RSLogix 500 radio button and leave everything else at default. Click OK. 7. Select the export file from steps 4 and 5 and click Open. You may be prompted for multiple files depending on the selections you previously made.
Chapter 5 Module Data, Status, and Channel Configuration After installing the 1769sc-IF4IH isolated HART input module, you must configure it for operation, usually using the programming software compatible with the controller (for example, Studio 500 or Studio 5000). Once configuration is complete and reflected in the ladder logic, you need to operate the module and to verify its configuration.
Chapter 5: Module Data, Status, and Configuration Not all controllers support program access to the configuration file. Refer NOTE to your controller’s user manual. Accessing Input Image File Data Accessing The input image file represents data words and status words. Input words 0 through 3 hold the input data that represents the value of the analog inputs for channels 0 through 3.
Chapter 5: Module Data, Status, and Configuration MicroLogix 1500 system using Studio 500, see Chapter 5; and for the CompactLogix using Studio 5000, see Chapter 4. Input Data File The input data file allows you to access module input data for use in the control program, via word and bit access.
Page 50
Chapter 5: Module Data, Status, and Configuration 1769 bus master/controller. The following information highlights the bit operation of the Data Not Valid condition: The default and module power-up bit condition is reset (0). • • The bit condition is set (1) when a new configuration is received and determined valid by the module.
Page 51
Chapter 5: Module Data, Status, and Configuration when the under-range condition is cleared, and the data value is within the normal operating range. If a channel is configured for a current type input, and an open-circuit NOTE condition is present, the under-range flag bit will be set to indicate the open circuit condition, and the associated channel data word will display the minimum scale value.
Chapter 5: Module Data, Status, and Configuration Module Configuration After module installation, you must configure operation details, such as input type, data format, etc., for each channel. Configuration data for the module is stored in the controller configuration file, which is both readable and writable. The default value of the configuration data is represented by zeros in the data file.
Page 53
Chapter 5: Module Data, Status, and Configuration Word Function Real Time Sample Value Real Time Sample Ch3 Data format and input Reserved Ch3 Data Format Reserved Ch3 Input Type type Ch3 Process Alarm High Channel 3 High Process Alarm Setpoint Value Channel 3 Low Process Alarm Setpoint Ch3 Process Alarm Low Value...
Chapter 5: Module Data, Status, and Configuration The configuration file can also be modified through the control program, if NOTE supported by the controller. For information on configuring the module using Studio 500 (with MicroLogix 1500 controller), see Chapter 5; for Studio 5000 (CompactLogix controller), see Chapter 4.
Page 55
Chapter 5: Module Data, Status, and Configuration A handle timeout of zero is valid. When set to zero the handle timeout will NOTE default to 10 seconds. Channel HART Enable (Bits 8, 9, 10, 11) These bits allow the user to enable HART on channels 0 through 3, respectively. Pass-Through Scheme The pass-through scheme determines how often a passthrough command is serviced.
5-10 Chapter 5: Module Data, Status, and Configuration Make these bit settings To Select EI (Enable (Alarm) Enable Interrupt) AL (Alarm Latch) Disable Enable EA (Enable Disable Alarm) Enable Reserved Set To Zero EC (Enable Disable Channel) Enable Input Filter Selection (Bits 0 through 3) Each channel can be configured for five different filter settings.
Page 57
Chapter 5: Module Data, Status, and Configuration 5-11 The Real-Time Sample rate must be greater than or equal to the slowest NOTE channel step response time or a configuration error will occur. Table 5-5. Filter Frequency and Step Response Filter Frequency Step Response 28.5 Hz 108 ms...
Page 58
5-12 Chapter 5: Module Data, Status, and Configuration All frequency components above the cut-off frequency are increasingly attenuated as shown in the following figure: Figure 5-1. Frequency The cut-off frequency for each channel is defined by its filter frequency selection. Choose a filter frequency so that your fastest changing signal is below that of the filter’s cut-off frequency.
Chapter 5: Module Data, Status, and Configuration 5-13 Slot variables are not supported by all HART devices. NOTE Slot codes must be enabled in sequential order. For example, SV0 NOTE (Enabled), SV1 (Disabled), and SV2 (Enabled), is not a valid configuration.
Page 60
5-14 Chapter 5: Module Data, Status, and Configuration Table 5-7. Input Type and Data Format Make these bit settings To Select Input Type -10 to +10 V 0 to 5 V 0 to 10 V 4 to 20 mA 1 to 5 V 0 to 20 mA Reserved Set To Zero...
Page 61
Chapter 5: Module Data, Status, and Configuration 5-15 The raw/proportional counts, scaled-for-PID and percent of full-scale data NOTE formats may yield the highest effective resolutions, but may also require that you convert channel data to real engineering units in your control program.
Page 62
5-16 Chapter 5: Module Data, Status, and Configuration RAW/ Engineering Input Range: Signal: % Full Scale Proportional Units +5.250 V 32767 5250 17407 10625 +0.000 mA -32767 +0.000 mA -32767 0 to 20 mA +20.000 mA 29646 20000 16383 10000 +21.000 mA 32767 21000...
Page 63
Chapter 5: Module Data, Status, and Configuration 5-17 The deadband range can be described by the following graph: Figure 5-2. Alarm Deadband The pad is used to enforce 32-bit alignment of the configuration data. The pad should always be set to zero. NOTE This word defines HART slot variables 0 and 1 for the selected channel.
5-18 Chapter 5: Module Data, Status, and Configuration Output Data File The output data file allows you to control module features such as clearing process alarms and suspending HART acquisition, and allows managing of HART messages to, and from, HART field devices. The data table structure is shown in the table below.
Page 65
Chapter 5: Module Data, Status, and Configuration 5-19 Setting the unlatch process alarm bit will not clear the alarm latch if the NOTE conditions that generated the alarm are still present. It is up to you to keep the unlatch bit set until verification that the process NOTE alarm bit has cleared.
5-20 Chapter 5: Module Data, Status, and Configuration The message request buffer contains the data making up the message that will be sent to the module. Reserved for future expansion. Determining Effective Resolution and Range The effective resolution for an input channel depends upon the filter frequency selected for that channel.
Chapter 5: Module Data, Status, and Configuration 5-21 Range Filter Channel Input Measured Max (Hz) Value Deviation 0-20 mA 10 mA 0-20 mA 10 mA 0-20 mA 10 mA 0-20 mA 10 mA 4-20 mA 28.5 10 mA 4-20 mA 10 mA 4-20 mA 10 mA...
Chapter 6 Enabling and Using HART on the 1769sc-IF4IH This chapter outlines the detailed settings and configuration related to HART communication for the 1769sc-IF4IH module. These settings determine how the module acquires HART data. The chapter covers: • Configuring the module for HART •...
Chapter 6: Enabling and Using HART on the 1769sc- IF4IH The channel must be enabled, set for 4 to 20 mA, and the Enable HART Communication checkbox must be checked. HART throughput time can be improved by disabling HART NOTE communication on unused channels or channels that include non-HART devices.
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH Any given channel may have a master, a secondary master (hand-held configuration tool), and a slave connected simultaneously: HART multi-drop is not supported by the IF4IH. NOTE The HART module communicates to the controller using the input and output image.
Page 72
Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-1. Auto Acquisition Flow Start Connect to field Channel device Switch Read device codes Initialized Read ASCII HART? messages Read PVU and Read 4 dynamic variables Read extended status Read slot variables if enabled The data that is collected from the process described in Figure 6-1 is buffered to...
Page 73
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH Table 6-1. HART Packet 0 Tag Name Data Type Style Description If4ih0Packet0 Packet0[4,1] NA Two-dimensional array containing packet 0 data for all 4 channels If4ih0Packet0[X,0] Packet0 Packet 0 data for channel X If4ih0Packet0[X,0].HartChannelID Bits 0 to 3: Channel number (0 –...
Page 74
Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Table 6-2. HART Packet 1 Tag Name Data Type Style Description If4ih0Packet1 Packet1[4,1] NA Two-dimensional array containing packet 1 data for all 4 channels If4ih0Packet1[X,0] Packet1 Packet 1 data for channel X If4ih0Packet1[X,0].HartChannelID Bits 0 to 3: Channel number (0 –...
Page 75
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH Table 6-3. HART Packet 2 Tag Name Data Type Style Description If4ih0Packet2 Packet2[4,1] NA Two-dimensional array containing packet 2 data for all 4 channels If4ih0Packet2[X,0] Packet2 Packet 2 data for channel X If4ih0Packet2[X,0].HartChannelID Bits 0 to 3: Channel number (0 –...
Page 76
Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Table 6-4. HART Packet 3 Tag Name Data Type Style Description If4ih0Packet3 Packet3[4,1] NA Two-dimensional array containing packet 3 data for all 4 channels If4ih0Packet3[X,0] Packet3 Packet 3 data for channel X If4ih0Packet3[X,0].HartChannelID Bits 0 to 3: Channel number (0 –...
Page 77
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH Not all of the HART data that is returned by the process outlined in Figure NOTE 6-1 gets passed to the packets. To access the data that is not passed to the packets, you must execute the appropriate HART message using the pass- through command, which is discussed later in this chapter.
Page 78
6-10 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-2. Packet Ladder User’s Manual Pub. 0300215-05 Rev. A...
Page 79
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-11 Figure 6-3. Packet Ladder, Continued The ladder in the above figure can be found in the project sample file NOTE located on our website at www.spectrumcontrols.com. The delay between two consecutive packets is called the packet interval. The default time for the packet interval is 500 ms.
6-12 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Sending and Receiving Messages Sending messages to, and from, the module is accomplished using a paging scheme. This paging scheme uses the module’s input and output words to transfer data between the controller and the module, 38 bytes at a time (that is, one page at a time).
Page 81
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-13 Setting the Message Master Control word to zero resets the paging logic NOTE within the module and allows the next message to be processed. Word 3 (Message Request Size) The message request size is the total number of bytes being sent to the module (not just the current page).
Page 82
6-14 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH by a checksum in the second. The table below lists the possible responses. Table 6-8. Paging Error Codes Error Code Description A page was sent out of sequence. While processing page 2, 3, etc. The message size was different than it was for page 1.
Page 83
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-15 9. Copy the first page of the response data from the message response buffer to a temporary array. 10. Take the exclusive OR of all the words within the page (19 max), with the exception, of the last word, which is the checksum.
Page 84
6-16 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-5. Sending Message Message MsgMasterControl = 00|01 to be sent MsgSlaveControl = 00|00 MsgMasterControl (Hex) = Bytes sent <> First RR|SS MsgRequestSize Page RR = Page Last Received SS = Page Being Sent Second Page...
Page 85
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-17 Figure 6-6. Receiving Message Message MsgMasterControl = 00|02 Returned MsgSlaveControl = 02|01 Bytes received <> MsgSlaveControl (Hex) = First MsgResponseSize RR|SS Page RR = Page Last Received Second SS = Page Being Sent Page MsgResponseSize = Total size of response...
Page 86
6-18 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-7a. Message Ladder User’s Manual Pub. 0300215-05 Rev. A...
Page 87
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-19 Figure 6-7b. User’s Manual Pub. 0300215-05 Rev. A...
Page 88
6-20 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-7c. Figure 6-7d. User’s Manual Pub. 0300215-05 Rev. A...
Page 89
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-21 Figure 6-7e. User’s Manual Pub. 0300215-05 Rev. A...
Page 90
6-22 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-7f. User’s Manual Pub. 0300215-05 Rev. A...
Page 91
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-23 Figure 6-7g. User’s Manual Pub. 0300215-05 Rev. A...
Page 92
6-24 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-7h. User’s Manual Pub. 0300215-05 Rev. A...
Page 93
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-25 Figure 6-7i. User’s Manual Pub. 0300215-05 Rev. A...
Page 94
6-26 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-7j. User’s Manual Pub. 0300215-05 Rev. A...
Page 95
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-27 Figure 6-7k. Figure 6-7l. User’s Manual Pub. 0300215-05 Rev. A...
Page 96
6-28 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-7m. User’s Manual Pub. 0300215-05 Rev. A...
Page 97
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-29 Figure 6-7n. User’s Manual Pub. 0300215-05 Rev. A...
Page 98
6-30 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-7o. User’s Manual Pub. 0300215-05 Rev. A...
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-31 Module-Specific Commands The HART input module uses module-specific commands. Module-specific commands include the HART pass-through, HART suspend and resume, and get HART device information. The commands are passed to the module using the input and output image.
Page 100
6-32 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Table 6-10. Response If Device Information Is Not Available HART Get Device Information - reply packet structure Field Value Definition HART Channel 0×00 – 0×03 (1 byte) Module input Number channel number for HART...
Page 101
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-33 HART Get Device Information - reply packet structure Field Value Definition HARTDescriptor (16 bytes unpacked CMD#13, Bytes 6-17 ASCII) HARTDate (3 bytes) CMD#13, Bytes 18-20 Pad for 32-bit alignment (1 byte) HARTFinalAssemblyNumber (3 bytes) CMD#16, Bytes 0-2...
Page 102
6-34 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH The command status, the second byte in the reply packet for the module-specific command, can return three different responses, SUCCESS, RUNNING and DEAD. These responses echo the state of the module at the time the command is sent.
Page 103
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-35 Table 6-12. HART Suspend/Resume HART Channel Suspend/Resume command request – command message packet structure Field Value Definition HART Channel 0×00 – 0×03 (1 byte) Enabled HART Number channel number 0×FF (-1) Apply to all 8 channels Command Number (1 byte) The command...
Page 104
6-36 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH • HART communication has not been established, meaning that the 5-byte unique address has not been determined yet, or the module is still obtaining device information. All other conditioned not generating SUCCESS. •...
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-37 to Chapter 7 for a ladder sample demonstrating the process of swapping the order of the bytes. Table 6-14. HART Pass-Through Request Command HART pass through command request – command message packet structure Field Value Definition...
Page 106
6-38 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH The command status, the second byte in the reply packet for this module-specific command, can return two different responses, INITIATE, and DEAD. These responses echo the state of the module at the time the command is sent. The conditions for each response are as follows: INITIATE will be sent back under the following conditions: •...
Page 107
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-39 If the data associated with the handle is not yet available, or invalid, the following reply message will be returned. Table 6-17. HART Pass-Through Query Reply NOT SUCCESS HART pass through command complete query - reply packet structure Field Value Definition...
Page 108
6-40 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH HART pass through command complete query - reply packet structure Field Value Definition Unconnected Message Header HART Command Size is the entire HART device The HART Response Data response size in bytes. The size does device’s not include preambles bytes.
Page 109
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-41 Figure 6-9a. Pass-Through Ladder User’s Manual Pub. 0300215-05 Rev. A...
Page 110
6-42 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-9b. User’s Manual Pub. 0300215-05 Rev. A...
Page 111
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-43 Figure 6-9c. User’s Manual Pub. 0300215-05 Rev. A...
Page 112
6-44 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-9d. User’s Manual Pub. 0300215-05 Rev. A...
Page 113
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-45 Figure 6-9e. User’s Manual Pub. 0300215-05 Rev. A...
6-46 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Figure 6-9f. The ladder in NOTE Figure 6-9 can be found in the project sample file located on our website at (www.spectrumcontrols.com) HART Protocol Overview In order to read and write HART commands to, and from, the field device reliably using the IF4IH, you must have a basic knowledge of the HART protocol.
Page 115
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-47 HART protocol specifies a message structure as follows: Table 6-19. HART Message Structure Start Byte Preamble Address Command Status Data Checksum Character Count The HART protocol supports two different formats, long and short frame. NOTE Older HART instruments (up to HART revision 4) used a short frame format.
Page 116
6-48 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH message. These may be contained in a single byte (short frame format) or in five bytes (long frame format). Since the module presently only supports the long frame form, we will omit the discussion of the short frame form. In either format, the single-bit address of the master is the most significant.
Page 117
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-49 number of bytes that form the remainder of this message excluding the checksum. In other words, the byte count determines the length of the data and status. Status Status is included only in reply messages from a slave. It consists of two bytes of bit-coded information.
Page 118
6-50 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH Table 6-21. Tag Name Value in Hex Description HART_PASS_THRU_REQ_TX[0] HART channel HART_PASS_THRU_REQ_TX[1] Pass-through command designator HART_PASS_THRU_REQ_TX[2] Start character HART_PASS_THRU_REQ_TX[3] Long address byte 0 HART_PASS_THRU_REQ_TX[4] Long address byte 1 HART_PASS_THRU_REQ_TX[5] Long address byte 2 HART_PASS_THRU_REQ_TX[6] Long address byte 3...
Page 119
Chapter 6: Enabling and Using HART on the 1769sc-IF4IH 6-51 Table 6-22. 9Tag Name Value in Hex Description HART_PASS_THRU_QRY_RX[0] HART channel HART_PASS_THRU_QRY_RX[1] Command Status HART_PASS_THRU_QRY_RX[2] Length of handle + HART response data (Byte HART_PASS_THRU_QRY_RX[3] Length of handle + HART response data (Byte HART_PASS_THRU_QRY_RX[4] Message handle HART_PASS_THRU_QRY_RX[5]...
Page 120
6-52 Chapter 6: Enabling and Using HART on the 1769sc- IF4IH User’s Manual Pub. 0300215-05 Rev. A...
Chapter 7 Programming Examples This chapter provides ladder samples for general and advanced applications using the 1756sc-IF4IH module. Ladder samples for both the CompactLogix and MicroLogix 1500 PLC are discussed in this chapter. CompactLogix The following rungs demonstrate how to initialize the module using copy instructions to copy data from user defined tags to the module local tags.
Page 122
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH The following rungs of ladder demonstrate how to either reset the module (Backplane connection will be broken) or reconfigure the module without breaking the connection. Figure 7-1. Reconfig User’s Manual Pub. 0300215-05 Rev. A...
Page 123
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-2. Reset User’s Manual Pub. 0300215-05 Rev. A...
Page 124
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH This ladder sample demonstrates how to reverse the order of the bytes for a floating-point tag, and then convert it to 4 consecutive SINT tags, so that it can be used in a HART message. If the HART message being sent or received using the pass-through NOTE command contains floating point values, the order of the bytes must be...
Page 125
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH The algorithm can be implemented in ladder by masking and shifting four 6-bit characters into a double word register, then moving the three bytes into the packed ASCII string. Reconstruction of ASCII characters: Unpacking packed ASCII strings requires flipping some bits in addition to uncompressing the string itself.
Page 126
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-4a. Packed ASCII User’s Manual Pub. 0300215-05 Rev. A...
Page 127
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-4b. User’s Manual Pub. 0300215-05 Rev. A...
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH MicroLogix 1500 The following ladder samples provide a working HART solution for the MicroLogix 1500 when used with the IF4IH module. The following table briefly describes each routine in the project file. It is recommended that a 1764-LRP series C processor with firmware NOTE version 5 or higher be used.
Page 129
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH The main routine is the starting point for the ladder program. Figure 7-5. Main Routine User’s Manual Pub. 0300215-05 Rev. A...
Page 130
7-10 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH The “packets” routine is used to demultiplex the HART data from the input file to individual integer files, so that the data can be viewed or used within the ladder program. This routine is called from the MAIN routine. Figure 7-6a.
Page 131
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-11 Figure 7-6b. User’s Manual Pub. 0300215-05 Rev. A...
Page 132
7-12 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-6c. User’s Manual Pub. 0300215-05 Rev. A...
Page 133
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-13 This routine is used to send and receive messages to and from the module. Refer to Chapter 6 for more details regarding sending and receiving messages. This routine is called from the HART_MSG routine. Figure 7-7a.
Page 134
7-14 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-7b. User’s Manual Pub. 0300215-05 Rev. A...
Page 135
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-15 Figure 7-7c. User’s Manual Pub. 0300215-05 Rev. A...
Page 136
7-16 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-7d. User’s Manual Pub. 0300215-05 Rev. A...
Page 137
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-17 Figure 7-7e. User’s Manual Pub. 0300215-05 Rev. A...
Page 138
7-18 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-7f. User’s Manual Pub. 0300215-05 Rev. A...
Page 139
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-19 Figure 7-7g. User’s Manual Pub. 0300215-05 Rev. A...
Page 140
7-20 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-7h. User’s Manual Pub. 0300215-05 Rev. A...
Page 141
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-21 Figure 7-7i. User’s Manual Pub. 0300215-05 Rev. A...
Page 142
7-22 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-7j. User’s Manual Pub. 0300215-05 Rev. A...
Page 143
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-23 Figure 7-7k. User’s Manual Pub. 0300215-05 Rev. A...
Page 144
7-24 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-7l. User’s Manual Pub. 0300215-05 Rev. A...
Page 145
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-25 Figure 7-7m. User’s Manual Pub. 0300215-05 Rev. A...
Page 146
7-26 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-7n. User’s Manual Pub. 0300215-05 Rev. A...
Page 147
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-27 Figure 7-7o. User’s Manual Pub. 0300215-05 Rev. A...
Page 148
7-28 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-7p. User’s Manual Pub. 0300215-05 Rev. A...
Page 149
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-29 Figure 7-7q. User’s Manual Pub. 0300215-05 Rev. A...
Page 150
7-30 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Calculates the checksum for a message sent to the module one page at a time. This routine is called from the MSG_TO_MOD routine. Figure 7-8a. Source Checksum User’s Manual Pub. 0300215-05 Rev. A...
Page 151
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-31 Figure 7-8b. User’s Manual Pub. 0300215-05 Rev. A...
Page 152
7-32 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH This routine calculates the checksum for a message received from the module one page at a time. This routine is called from the MSG_TO_MOD routine. Figure 7-9a. Destination Checksum User’s Manual Pub. 0300215-05 Rev. A...
Page 153
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-33 Figure 7-9b. User’s Manual Pub. 0300215-05 Rev. A...
Page 154
7-34 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH This routine composes HART messages that will be sent to the module/field transmitter. This routine is called from the MAIN routine. Figure 7-10a. HART Message User’s Manual Pub. 0300215-05 Rev. A...
Page 155
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-35 Figure 7-10b. User’s Manual Pub. 0300215-05 Rev. A...
Page 156
7-36 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-10c. User’s Manual Pub. 0300215-05 Rev. A...
Page 157
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-37 Figure 7-10d. User’s Manual Pub. 0300215-05 Rev. A...
Page 158
7-38 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-10e. User’s Manual Pub. 0300215-05 Rev. A...
Page 159
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-39 Figure 7-10f. User’s Manual Pub. 0300215-05 Rev. A...
Page 160
7-40 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-10g. User’s Manual Pub. 0300215-05 Rev. A...
Page 161
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-41 Figure 7-10h. User’s Manual Pub. 0300215-05 Rev. A...
Page 162
7-42 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-10i. User’s Manual Pub. 0300215-05 Rev. A...
Page 163
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-43 Figure 7-10j. User’s Manual Pub. 0300215-05 Rev. A...
Page 164
7-44 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-10k. User’s Manual Pub. 0300215-05 Rev. A...
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-45 Converts word data to its byte equivalent. This routine is called from the HART_MSG routine. Figure 7-11a. Word to Byte User’s Manual Pub. 0300215-05 Rev. A...
Page 166
7-46 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Figure 7-11b. User’s Manual Pub. 0300215-05 Rev. A...
Page 167
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-47 Figure 7-11c. User’s Manual Pub. 0300215-05 Rev. A...
Page 168
7-48 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Calculates the checksum for the HART message being sent to the module/field device. This routine is called from the HART_MSG routine. Figure 7-12a. HART Checksum User’s Manual Pub. 0300215-05 Rev. A...
Page 169
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-49 Figure 7-12b. User’s Manual Pub. 0300215-05 Rev. A...
Page 170
7-50 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH Converts byte data to its word equivalent. This routine is called by the HART_MSG routine. Figure 7-13a. Byte to Word User’s Manual Pub. 0300215-05 Rev. A...
Page 171
Chapter 7: Enabling and Using HART on the 1769sc-IF4IH 7-51 Figure 7-13b. User’s Manual Pub. 0300215-05 Rev. A...
Page 172
7-52 Chapter 7: Enabling and Using HART on the 1769sc-IF4IH User’s Manual Pub. 0300215-05 Rev. A...
Chapter 8 Diagnostics and Troubleshooting This chapter describes troubleshooting the isolated HART input module. This chapter contains information on: Safety considerations while troubleshooting • Internal diagnostics during module operation • • Module errors Contacting Spectrum Controls, Inc. for technical assistance •...
Chapter 8: Diagnostics and Troubleshooting Circuits installed on the machine for safety reasons, like over-travel limit switches, stop push buttons, and interlocks, should always be hard-wired to the master control relay. These devices must be wired in series so that when any one device opens, the master control relay is de-energized, thereby removing power to the machine.
Chapter 8: Diagnostics and Troubleshooting Channel Diagnostics When an input channel is enabled, the module performs a diagnostic check to see that the channel has been properly configured. In addition, the channel is tested on every scan for configuration errors, over-range and under-range, and open- circuit conditions.
Chapter 8: Diagnostics and Troubleshooting The purpose of the module error field is to classify module errors into three distinct groups, as described in the table below. The type of error determines what kind of information exists in the extended error information field. These types of module errors are typically reported in the controller’s I/O status file.
Chapter 8: Diagnostics and Troubleshooting Module Inhibit Function Some controllers support the module inhibit function. See your controller manual for details. Whenever the 1769sc-IF4IH module is inhibited, the module continues to provide information about changes at its inputs to the 1769 CompactBus master (for example, a CompactLogix controller).
Appendix A Module Specifications Electrical Specifications Specification Description Configuration 4 isolated channels of current/voltage inputs with an ADC per channel w/ HART Input Types Normal Range: ±10 V, 0–10 V, 0–5 V, 1-5 V, 0–20 mA, 4–20 mA Full Range: ±10.5 V, -0.5–10.5 V, -0.5–5.25 V, 0.5-5.25 V, 0–21 mA, 3.2–21 mA Fault Detection Over-range and Under-range error bits.
Page 180
Appendix A: 1769-IF4IHv2 Specifications Specification Description Current Inputs ±0.0045%/°C Data Formats Engineering units, Scaled for PID, Percent of Full Scale, RAW/Proportional counts Input Filter 28.5 Hz, 50 Hz, 60 Hz, 300 Hz, 360 Hz Channel Update Time Minimum Update Time 10 ms with 360 Hz filter Maximum Update Time 108 ms with 28.5 Hz filter...
Page 181
Appendix A: 1769-IF4IHv2 Specifications Test Description Standard Class/Limit High temp (non-op) IEC 600 68-2-2Bb +85 °C for 16 hrs. ICCG-ES #006 C. Low temp (non-op) IEC 600 68-2-2Ab -40 °C for 16 hrs. ICCG-ES #006 C. Temp Cycle (non-op) IEC 600 68-2-14Na -40 °C to +85 2 cycles .5 hr/cycle ICCG-ES #006 C.
Page 182
Appendix A: 1769-IF4IHv2 Specifications Regulatory Compliance Certifications (when product is marked) UL Listed for Class I, Division 2 Group A, B, C, D cULus Hazardous Locations, certified for U.S. and Canada. See UL File E180101. UL Listed Industrial Control Equipment, certified for U.S.
Page 188
Index Slot Variable Enable 5-12 Technical support Specifications A-1 contact information, vii Start Character 6-47 Time Stamp Value 5-3 Status 5-3 Under-Range Flag Bits 5-4 Status 6-49 Unlatch Process High Alarm 5-18 Step Response 5-10 Unlatch Process Low Alarm 5-18 Swap Byte Order 7-4 User-Defined Data Types 3-6 Tags 3-8...
Need help?
Do you have a question about the SPECTRUM CONTROLS 1769 and is the answer not in the manual?
Questions and answers