Home

1769sc-IF4iH Input - Spectrum Controls, Inc.

image

Contents

1. 4 ReqRunning Equal gt gt gt gt gt gt gt gt gt Source If4ih0OPassThruReqRX 1 0 Source B 32 QU ReqDead Equal gt Source If ihOPassThruReqRX 1 0 Source B 35 When the Initiate response is received from the HART Command Request this rung will send the HART Command Query to pull the data received by the module from the field device The response data can be found in the PassThruQryRX tag QrySuccess Reqlnitiate MOV ka Source 3 Dest IfdihOPassThruQryMsg SourceSize 3 JSR Jump To Subroutine Routine Name MessageToModule Input Par IFWih0PassThruQryMsg Reset Input Par If4ih0PassThruQryMsg SourceSize Input Par If ihOPassThruQryTX Return Par IfdihOPassThruQryMsg Reset Return Par lf4inOPassThruQryMsg DN Return Par f4ihOPass ThruQryMsg ER Return Par If ih PassThruQryRX EQU QrySuccess Equal Source If4ih0PassThruQryRX 1 1 Source 00 QryRunning Equal d 4 Source IfA ihOPassThruQryRX 1 1 Source B 34 Q QryDead Equal gt Source If4ih0PassThruQryRX 1 1 Source B 35 User s Manual 0300215 03 Rev Chapter 7 Enabling and Using HART on the 1769sc IF4THO 7 43 Figure 7 10f Reset ReqDead ExecuteMessage QryDead it If ihOPass ThruReqMsg ER f4in0PassThruQryMsg ER lE
2. 6 14 SECTION 6 5 OUTPUT DATA FILE a rr teet thee eet l 6 15 6 5 1 Unlatch Process High Alarms to UH3 Word 0 eene eren nene nennen 6 15 6 5 2 Unlatch Process Low Alarms ULO to UL3 Word 6 15 6 5 3 Hart Suspend HSO to HS3 Word 0 6 15 6 54 Packet Just Scanned Word e E e EE Wer RE ERR VERUS 6 15 6 5 5 Message Master Control Word 2 eese e aatem ri maar Rs ee PX STRE NERA E eeu 6 16 6 5 6 Message Request Size Word 3 sasaqa ee oe HE ER ee Y HO RH Y Er 6 16 6 5 7 Message Request Buffer Words 4 23 nsn 6 16 6 5 0 Reserved Words 24 d5 u sedi edu e E ta E e EE ER ERR Sa 6 16 SECTION 6 6 DETERMINING EFFECTIVE RESOLUTION AND 6 17 SECTION 6 7 DETERMINING MODULE UPDATE TIME nennen nene 6 18 6 7 1 Calculating Module Update Times iiie esee tiere de ERROR Ed EEn strove 6 18 CHAPTER 7 ENABLING AND USING HART ON THE 1769SC IF4ILN 7 1 SECTION 7 1 CONFIGURING THE MODULE FOR HARTI enne eene nennen eterne netten nnne tenter seen 7 1 7 1 1 Configuring the Module for Hart Acquisition
3. en eneee Ea 4 7 SECTION 4 4 PROJECT 85 2 020 020020000000000 0000000 n n nn nnne n e 4 8 SECTION 4 5 SAMPLE PROJECT LADDER 4 9 CHAPTER 5 CONFIGURING THE IF4IH FOR MICROLOGIX 1500 USING RSLOGIX 500 5 1 User s Manual 0300215 03 Rev A ii Compact IO Isolated HART Analog Input Module SECTION 5 TL MODULE ADDRESSING RE WD 5 1 SECTION 5 2 CONFIGURING THE 1769sc IF4IH IN A MICROLOGIX 1500 5 5 5 2 SECTION 5 3 USING THE LADDER atre Er nennen thee ien inne SETER 5 6 5 3 1 Copying Subroutines from the Sample Project esee nre enne 5 6 5 3 2 Copying Ladder from the Sample 70 6 5 7 5 3 3 Importing Tag Database and Rung Comments 5 8 CHAPTER 6 MODULE DATA STATUS AND CHANNEL CONFIGURA TION 6 1 SECTION 6 1 MODULE MEMORY a aa S hua Sua E pa uN tese a tenete entente enne nen 6 1 SECTION 6 2 ACCESSING INPUT IMAGE FILE 2 22 1 40 0002 000000000000000000000000000000 0000 0050000
4. 8 46 8 2 9 BYTE WORD 8 48 CHAPTER 9 DIAGNOSTICS AND TROUBLESHOOTING 9 1 SECTION 9 1 SAFETY CONSIDERATIONS amp cscs suse risit ter ie cunt dake Xe ERE 9 1 9 1 1 Indicator Lights 9 9 1 2 Stand Clear of Equipment 9 1 9 1 3 ineo d e 9 9 T4 Safety CU Cults ied ee ee te i ev e e 9 SECTION 9 2 MODULE OPERATION VS CHANNEL 1101 9 2 SECTION 9 3 POWER UP DIAGNOSTICS 9 2 SECTION 9 4 CHANNEL DIAGNOSTICS 9 2 9 4 1 Invalid Channel Configuration Detection 9 2 94 2 Over or Under Range Detection est oU RE W NU Ie 9 5 SECTION 9 5 NON CRITICAL VS CRITICAL MODULE ERRORS 9 3 SECTION 9 6 MODULE ERROR DEFI
5. 16 Source B 6 Source Local 1 l MsgResponseSize 0 AD x Source IfAihOMsg DestPagelndex Source 4 1 Source B 1 Dest If4ihOMsg Step 0 Dest If4inOMsg DestPagelndex 1 Done EQU GEQ If4ihOMsg DN Equal Grtr Than Eq A gt B Source If4ih0Msg Step Source A If4inOMsg DestBytesSent ov 0 16 re Move Source B 6 SourceB Local 1 Source 0 Dest If4ihOMsg Step 0 EndNow RET LBL Return from Subroutine Return Par IfA4ihOMsg Reset Return Par If4ihOMsg DN Return Par If4ihOMsg ER Return If4ihOMsg DestinationData User s Manual 030021 5 03 Rev A 7 29 7 30 Compact IO Isolated HART Analog Input Module Section 7 4 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 Since some messages can be as long as 257 bytes the data is transported to and from the module 40 bytes at a time using the paging scheme described in the previous section The module specific command and accompanying data is passed to the routine in Figure 7 8 using a JSR instruction with parameters When the routine is executed it will send the message to the module The response data if any is also converted by this routine and stored in a temporary array where it can b
6. The 1769sc IF4IH module is installed in slot 1 To configure the module double click on the module slot The general configuration screen appears User s Manual 030021 5 03 Rev A Chapter 5 Configuring the IFAIH for MicroLogix 1500 Using RSLogix 500 5 5 Figure 5 7 Module 1 OTHER 1 0 Module ID Code 4 Expansion General Configuration Generic Extra Data Config Vendor ID Product Type Product Code Series Major Rev MinorRev Input Words Output Words Extra Data Length Ignore Configuration Error Cancel Apply Help When using the read IO configuration feature in RSLogix you need to manually enter 34 into the extra data length field Attention To configure the module select the Generic Extra Data Configuration tab Enter the decimal equivalent of each configuration word There are a total of thirty four words that need to be configured altogether The module default settings are used if all the configuration words are left at zero Figure 5 8 Module 1 OTHER 1 0 Module ID Code 4 Expansion General Configuration Generic Extra Data Config Offset 8105 8000 Cancel Apply Help NOTE For a complete description of each of these parameters and the choices available for each of them refer to Chapter 6 User s Manual 030021 5 03 Rev A 5 6 Compact IO Isolated HART Analog Input Module Section 5 3 Using the Ladder Sample To get start
7. COP Copy File Source N16 N7 2 O 1 4 Chapter 8 Programming Examples 8 15 Figure 8 7e 0006 Equal Source N7 5 0 lt Source B 1 1 lt User s Manual 0300215 03 Rev GEQ Grtr Than or Eql A gt B Source N7 10 3 lt 38 38 lt Source B COP Copy File Source N16 N7 2 Dest fO 1 4 Length 19 8 16 Compact IOTM Isolated HART Analog Input Module Figure 8 7f JSR 0007 Equal Jump To Subroutine Source A N7 5 SBR File Number 0 5 0 lt Source 1 1 lt 0008 7 5 N7 12 0 lt 3 lt Source 1 2 1 lt 2 lt Dest 5 13 0 lt User s Manual 0300215 03 Rev Chapter 8 Programming Examples 8 17 Figure 8 7g EQU F NEQ AND 0009 Equal Not Equal Bitwise AND Source A N7 5 Source Source O 1l N7 2 0 lt Source B 1 Source Source B 255 1 lt 255 lt Dest O 1 N7 2 2 lt Masked Move Source Mask N7 8 1 lt MOV Move Source Dest User s Manual 0300215 03 Rev A 2 lt N7 5 0 lt 8 18 Compact IOTM Isolated HART Analog Input Module Figure 8 7h 0010 Not Equal Clear Source A Source B 0011 holding EQU B3 0 Equal L Source A N7 2 1 39 lt Source B 255 ENDNOW 255 lt Q4 2 JMP 0012 Divide Source A 1 1 28 257 lt Sour
8. User s Manual 0300215 03 Rev A ADD Add Source A Source B Dest N7 28 11 lt des COP Copy File Source N30 0 Dest N16 0 Length 128 COP Copy File Source N30 128 Dest N16 128 Length 128 JSR Jump To Subroutine SBR File Number U 10 8 38 Compact IOTM Isolated HART Analog Input Module Figure 8 10g 0015 Copy File Source N15 0 Dest N16 0 Length 128 COP Copy File Source N15 128 Dest N16 128 Length 128 JSR Jump To Subroutine SBR File Number U 4 User s Manual 030021 5 03 Rev A Chapter 8 Programming Examples 8 39 Figure 8 10h OP 0016 Copy File Source N15 0 Dest N16 0 Length 2 JSR Jump To Subroutine SBR File Number U 8 0017 0018 0019 User s Manual 030021 5 03 Rev A 8 40 Compact IOTM Isolated HART Analog Input Module Figure 8 10i 0020 B3 0 0021 j User s Manual 0300215 03 Rev A Copy File Source N32 0 Dest 16 0 Length 3 JSR Jump To Subroutine SBR File Number U 10 OP Copy File i Source N15 0 Dest Jump To Subroutine SBR File Number U 4 Chapter 8 Programming Examples 8 41 Figure 8 10 B3 0 COP 4 0022 File 2 Source N15 0 Dest
9. 4 6 3 4 Time Base Preset MUL 0003 Multiply Source A N7 23 0 lt 20 20 lt Dest N7 2 39 lt B3 0 0004 File F Source N10 N7 2 Dest N16 0 Length 20 WORD BYTE LEN MOV Move Source 20 20 lt Dest N7 30 20 lt 3 0 JSR 0005 s jn Jump Subroutine 7 SBR File Number U 8 User s Manual 0300215 03 Rev A Chapter 8 Programming Examples Figure 8 10b B3 0 0006 7 User s Manual 030021 5 03 Rev A COP Copy File Source Dest Length N15 0 N7 40 40 8 34 Compact IOTM Isolated HART Analog Input Module Figure 8 10c INITIALIZE DELAY DN 4 0 DN 0007 COP Copy File Source N7 52 Dest N30 5 Length 3 User s Manual 0300215 03 Rev A Chapter 8 Programming Examples 8 35 Figure 8 10d 0008 0009 User s Manual 0300215 03 Rev A 8 36 Compact IOTM Isolated HART Analog Input Module Figure 8 10e 0010 B3 0 JSR 0011 Jump To Subroutine 3 SBR File Number LOAD COMMAND HART CHECK DN 3 0 B3 0 0012 3 jt Move 3 5 Source N7 29 0 lt Dest N30 N7 28 174 lt 0013 User s Manual 030021 5 03 Rev A Chapter 8 Programming Examples 8 37 Figure 8 10f LENECUTH MESSAGE CRBEQUESC INITIATE CMESSAGE PENDING E 0014
10. Analog 2 Channel Output Module Analog 8 Chan Current Output gt This screen allows you to manually enter expansion modules into expansion slots or to automatically read the configuration of the controller To read the existing controller configuration click on the Read IO Config button 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 User s Manual 030021 5 03 Rev 5 4 Compact IOTM Isolated HART Analog Input Module Figure 5 5 Read IO Configration from Online Processor AB DF1 2 Node 1d local The actual I O configuration is displayed In this example a second tier of I O is attached to the MicroLogix 1500 processor Figure 5 6 1 0 Configuration High Speed Counter 8 Input Isolated 120 VAC 16 Input 73 132 VAC Analog 4 Channel Input Module Analog 4 Chan Inp 2 Chan Out Analog 8 Chan Input 12 nput 159 265 16 Input 10 30 1769980 w4 6 Input 24 VDC 4 Dutput RLY 16 Input High Speed 24 VDC 32 Input High Density 24 VDC B Channel RTD Module B Channel Thermocouple Module 8 Output 120 240 VAC 16 Output 120 240 VAC 8 Dutput High Current 24 VDC 16 Output 24 VDC Source 16 Output 24 Source w Protectior 32 Output High Density 24 VDC Analog 2 Channel Output Module Analog 8 Chan Current Output
11. 57 Read unit tag none Byte 0 5 unit tag descriptor date Byte 6 17 unit descriptor Byte 18 20 unit date D Write unit tag as in command descriptor date Byte 0 5 unit tag Byte 6 17 unit descriptor A Byte 18 20 unit date Write number of response preambles Byte 0 number of response preambles as in command 108 Write burst mode Byte 0 burst mode command number command number as in command 109 Burst mode control Byte 0 burst mode control code 0 exit 1 enter as in command 110 Read all dynamic Byte 0 PV units code variables Byte 1 4 PV value F Byte 5 SV units code Byte 6 9 SV value F Byte 10 TV units code Byte 11 14 TV value F Byte 15 FV units code Byte 16 19 FV value F Data types A ASCII string packed 4 characters per 3 bytes B Bit mapped flags bit 0 multisensor device bit 1 EEPROM control required D Date day month year 1900 F Floating point 4 bytes IEEE 754 H Integers xxxxx yyy xxxxx hardware rev yyy physical signalling code Unmarked items are 8 16 or 24 bit integers User s Manual 0300215 03 Rev A 4 Compact IO Isolated HART Analog Input Module First byte First byte BIT 7 1COMMUNICATION ERRORS BIT 7 OCOMMAND ERRORS parity error Bits 6 to 0 not bit mapped overrun error 0 nocommand specific error framing error 1 undefined checksum e
12. Edit Using Excel i Controller Properties Edit Device Codes Processor Status x Function Files 10 Configuration b Channel Configuration 2 Program Files 5 50 Adjust Rung Offset Convert Rung Attachment Rebuild DB User s Manual 030021 5 03 Rev A Chapter 5 Configuring the IFAIH for MicroLogix 1500 Using RSLogix 500 5 9 3 After selecting ASCII export the following screen appears Documentation Database ASCII Export 4 Select the RSLogix 500 tab and press the OK button 5 Select the location for the export file In your project go to the tools menu select database and select ASCII import See image below RSLogix 500 UNTITLED 9 E No Foces Function Files IO Configuration HE channel Configuration Program Files B svso User s Manual 0300215 03 Rev A 5 10 Compact IOTM Isolated HART Analog Input Module 7 After selecting ASCII import the following screen should appear ASCII Import Directives M v 8 Select the RSLogix 500 radio button and leave everything else at default After making your selections press the OK button 9 Select the export file from steps 4 and 5 and press the open button You may be prompted for multiple files depending on the selections you made in step 8 User s Manual 0300215 03 Rev A Section 6 1 Module Memory Map Chapter 6 Mo
13. Dest Temp1 256 QU Equal Move Source Source If4ihOMsg DestPagelndex 1 Source Temp1 Dest If4ih0Msg Step 0 256 The following rung calculates the bytes remaining for the current message being received Equal 4 Subtract Source If4ihOMsg Step Source Local 1 l MsgResponseSize 0 0 Source B 5 Source B IfAihOMsg DestBytesSent 16 Dest If4ihOMsg DestBytesRemaining 16 The following rung sets the position of the pointer used to calculate the checksum for the current page of data being received QU MOV Equal Move Source A IfdihOMsg Step Source If4ihOMsg DestDatalndex 0 16 Source B 5 Dest Temp2 0 User s Manual 030021 5 03 Rev A Chapter 7 Enabling Using HART the 1769sc IF4IH0 7 25 Figure 7 8j If the bytes remaining are less than 38 this rung copies the data from the message response buffer to a temporary array were the data can be viewed This rung also calulates the data index EQU NEQ Equal Source If4ihOMsg Step 0 Not Equal Source IfdihOMsg DestBytesRemaining 16 Source B 5 Source B 0 5 Less Than lt Source If4ih0Msg DestBytesRemaining 16 Source B 38 File Source Local 1 l MsgResponseBuffer 0 If4ihOMsg DestinationData If4ihOMsg DestDatal ndex Length If4ihOMsg DestBytesRemaining AD Source If4ihn
14. Dest If4ihOMsg SourcePagelndex 1 OV Move Source 1 Dest If4ihOMsg Step 0 Chapter 7 Enabling Using HART the 1769sc IF4IH0 7 17 Figure 7 8b The following rung calculates the bytes remaining for the current message being sent EQU Equal Subtract Source If4ih0Msg Step Source Local 1 0 MsgRequestSize 0 0 Source B 1 Source B IfA4ihOMsg SourceBytesSent 3 Dest If4ih0Msg SourceBytesRemaining 3 If the bytes remaining are less than 38 this rung copies the data for the current page being sent to the message request buffer This rung also calulates the data index EQU NEQ Equal Not Equal Source A f4ihOMsg Step Source IfA4ih0Msg SourceBytesRemaining 0 3 Source B 1 Source B 0 LES Less Than A B Source IfAihOMsg SourceBytesRemaining 3 Source B 38 OP Copy File Source If4ihOMsg SourceData If4ihOMsg SourceDatalndex Dest Local 1 O MsgRequestBuffer O Length IfAih Msg SourceBytesRemaining Add Move Source IF4ih0Msg SourceBytesRemaining Source f4ihOMsg SourceBytesRemaining 3 3 Source B IfA4ihOMsg SourceBytesSent Dest If4ihOMsg SourceTemplndex 3 4 Dest If4ihOMsg SourceBytesSent 3 MOV Move Source If4ih0Msg SourceBytesSent 3 Dest If4ihOMsg SourceDatalndex 3 User s Manual 030021 5 03 Rev A 7 18 Compact IO Isolated HART Analog Input Module Figure 7 8c If the bytes
15. Q10 12 LBL Divide Source A Source Dest Dest GEQ Mask Dest Masked Move Source N16 N7 31 9219 lt OOFFh 255 lt N15 N7 2 32 lt Grtr Than or gt Source A Source B User s Manual 030021 5 03 Rev ADD Add Source A Source B Dest N7 31 Chapter 8 Programming Examples 8 49 Figure 8 13b 0005 0006 0007 0008 0009 Source N16 N7 31 9219 lt Source 256 256 lt Dest N7 3 32 lt MVM Masked Move Source N7 3 32 lt Mask 256 lt Des 15 7 2 BYTE WORDPOS GEQ Grtr Than or Eql A gt B Source A NT 31 Source B 7 32 ADD Add Source N7 31 3 lt Source B 1 1 lt Dest N7 31 User s Manual 0300215 03 Rev A 8 50 Compact IO Isolated HART Analog Input Module User s Manual 030021 5 03 Rev A Section 9 1 Safety Considerations Chapter 9 Diagnostics and Troubleshooting This chapter describes troubleshooting the isolated HART input module This chapter contains information on e Safety considerations while troubleshooting e Internal diagnostics during module operation e Module error codes e Contacting Spectrum Controls Inc for technical assistance Safety considerations are an important element of proper troubleshooti
16. 8 2 Compact IO Isolated HART Analog Input Module Figure 8 2 Reset The following rung resets the IF4IH Module This rung will cause the backplane connection to be temporarily broken while the module resets ResetEN MSG m Generic Message Control ResetMsg CERD ResetMsg dn ResetEN Message Configuration 5 Message Configuration ResetMsg Configuration Communication Tag Configuration Communication Tag re Message Type ommunication Meth IFAIHO Service Device Reset Source Eleme Type Source Length r wit a 0 rera Red 5 Hex Class 1 Destinatior Instance 1 Attribute o pm Connected DH Length 0 Q Enable Q Enable Waiting Q Start Done Done Length Q Enable Q Enable Waiting Start Done Extended Error Code Timed Oute Extended Error Code Timed Out Error Code Error Code Error Path Error Path Error Text Error Text Cancel Apply Help Cancel Appl Help User s Manual 030021 5 03 Rev A Chapter 8 Programming Examples 8 3 8 1 2 Swap Byte Order 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 ina HART message command contains floating point values
17. A 1769 ECR or 1769 ECL right or left end cap respectively must be used to terminate the end of the bus Attention User s Manual 030021 5 03 Rev A Section 3 5 Mounting Chapter 3 Installation and Wiring 3 5 metal chips wire strands etc is kept from falling into the module Debris that falls into the module could cause damage at power up During panel or DIN mounting of all devices be sure that all debris Attention 3 5 1 Minimum Spacing Maintain spacing from enclosure walls wireways adjacent equipment etc Allow 50 mm 2 in of space on all sides for adequate ventilation as shown below Figure 3 3 Side Host Controller O Module O Module O Module O Module End Cap Bottom 3 5 2 Panel Mounting Mount the module to a panel using two screws per module Use M4 or 8 panhead screws Mounting screws are required on every module User s Manual 030021 5 03 Rev A 3 6 Compact IO Isolated HART Analog Input Module Panel Mounting Using the Dimensional Template Figure 3 4 For more than 2 modules number of modules 1 x 35 mm 1 38 in Refer to controller documentation for this dimension 35 1 38 28 5 1 12 5 197 122 6 0 2 4 826 0 008 I O Module Module Module Right End Host Controller Note All dimensions are in mm in Hole spacing toleran
18. REQ TX 11 HART PASS_THRU REQ TX 12 HART PASS THRU REQ TX 13 HART PASS THRU REQ TX 14 HART PASS THRU REQ TX 15 HART PASS THRU REQ 55 THRU REQ TX 1 7 HART PASS THRU REQ 8 55 REQ TX 1 9 Value in Hex Description 00 HART channel Pass through command designator Start charcter Long address byte 0 Long address byte 1 Long address byte 2 Long address byte 3 Long address byte 4 HART command 35 decimal 9 Byte count Range units code 32 decimal Upper Range value This is a floating point value 600 0 Note The bytes reverse order pO Lower Range value This is a floating eee 150 0 Note The bytes are in reverse order 0 FF Checksum The HART message string shown in Table 7 20 performs HART command 35 write range values Once the tags are populated with the HART message the message can be sent using the ladder in Figure 7 10 The reply for the HART command will be found in the If4ihOPassThruQryRX tag The response message should look like the table shown below Table 7 21 Tag Name Value in Hex Description HART PASS THRU QRY RX0 00 HART channel HART PASS THRU QRY RX1 00 __ Status HART PASS THRU QRY RX 2 Lengt
19. WORD BYTE called from the HART_MSG routine Calculates the checksum for the HART message being sent HART_CHECK to the module field device This routine is called from the HART MSG routine Converts byte data to its word equivalent This routine is BYTE WORD called by the HART routine You have the choice to either use the sample project or copy and past the pieces you need from the project 5 3 1 Copying Subroutines from the Sample Project To copy subroutines from the sample project to your project follow the steps below 1 Open the sample project and your project 2 Select the subroutine you wish to copy 3 Right mouse click and select copy 4 Go to your project and select where you would like to place the new routine User s Manual 030021 5 03 Rev A Chapter 5 Configuring the IFAIH for MicroLogix 1500 Using RSLogix 500 5 7 5 Right mouse click and select paste Figure 5 9 Copying Routines Sample Project RSLogix 500 17691F4THSAMPLE RSS File Edit View Search Comms Tools Window H Da Bae c aF OFFLINE No Eate ____ Frees Ensis s Driver AB_DF1 2 Node 1d 17691F4THSAMPLERSS 7 B E Project a Hep 0000 P 1 Controller 4 Controler Properties Processor Status Function Files 0001 10 Configuration Fa Channel Configuration Program Files 5 50 B sys1 1402 L
20. i FE Charnel Configuration g Propan ries B syso 4 un G Oma Fins D cumur D Contguraten Fes 8 Force Fies D 20 GJ Gunton Osta Mordces D rema ij Outten Graphical mortore By Montors g eras 2 AdressiSymbel BD Bb meg cinmertsirage toe naress syetei Peter For Help press FL While offline double click on the IO Configuration icon under the controller folder and the following IO Configuration screen appears Figure 5 4 1 0 Configuration Current Cards Available Contig Help Read 10 Config 1769 101 6F 17534032 1769 IR6 17584T6 1763 048 1769 0416 1769 088 1769 0816 1769 0 1 1769 0832 1769 0F2 1769 0F8C Hide All Cards 1769H98XDw4 6 Input 24 VDC 4 Output RLY Filter 10 gt High Speed Counter 8 Input Isolated 120 VAC 16 Input 79 132 VAC Analog 4 Channel Input Module Analog 4 Chan Inp 2 Chan Out Analog 8 Chan Input 12 Input 159 265 VAC 164 10 30 16 Input High Speed 24 VDC 32 Input High Density 24 VDC 5 Channel RTD Module 6 Channel Thermocouple Module 8 Output 120 240 16 Output 120 240 8 Output High Current 24 16 Output 24 VDC Source 16 Output 24 VDC Source w Protectior 32 Dutput High Density 24
21. 0x03 1 byte Module input Number channel number for HART command Command Number 0x0C 1 byte The command number Handle 1 byte The handle from 1 255 command request reply If the data associated with the handle is not yet available or invalid the following reply message will be returned Table 7 17 HART Pass Through Query Reply NOT SUCCESS HART pass through command complete query reply packet structure Field Value Definition Unconnected Message Header HART Channel 0x00 0x07 1 byte Module input Number channel number for HART command Status 1 byte Command status 34 DR RUNNING 35 DR DEAD bad request Count 2 bytes Command Number 0x0C Length of Handle HART Response Data in bytes if Success Handle 1 byte The handle from command complete query When data associated with the buffer becomes available meaning a success response the reply will be formatted as follows Table 7 18 HART Pass Through Query Reply SUCCESS HART pass through command complete query reply packet structure Field Value Definition Unconnected Message Header HART Channel 0x00 0x07 1 byte Module input Number channel number for HART command Status 1 byte Command status 00 SUCCESS Count 1 byte Command Number 0x04 Length of Handle 2 bytes Command Number 0x08 0x0C HART Response Data in bytes if Success Handle 1 255 The handle fro
22. 1 1 30 Dest N15 N7 2 Length 19 Add Source A Source B Chapter 8 Programming Examples 8 23 Figure 8 7m GEQ 0020 Equal Not Equal Grtr Than A gt B Source N7 5 Source N7 18 Source N7 18 0 lt 16 lt 16 lt Source 5 Source B 0 Source B 38 5 lt 0 lt 38 lt O NIS TEMP gt OP Copy File Source 1 1 30 Dest N15 N7 2 Length 19 ADD Add Source A Source B 38 lt User s Manual 030021 5 03 Rev A 8 24 Compact IOTM Isolated HART Analog Input Module Figure 8 7n amm ump To Subroutine SBR File Number 0021 0022 User s Manual 030021 5 03 Rev A Chapter 8 Programming Examples 8 25 Figure 8 7o EQU 0023 Equal Source N7 5 0 lt Source 5 5 lt Source L1 N7 2 0 lt Dest Move Source L 1 N7 2 0 lt Dest N7 3 32 lt User s Manual 030021 5 03 Rev 8 26 Compact IOTM Isolated HART Analog Input Module Figure 8 7p MVM Masked Move Source N7 2 39 lt Mask OFF00h 256 lt Dest 0 12 257 lt 0024 Not Equal N7 5 0 lt 5 5 lt User s Manual 0300215 03 Rev MovV Move Source 6 6 lt Dest N7 5 0 lt Chapter 8 Programming Examples 8 27 Figure 8 7q LES 0025 Equal Less Than
23. 7 43 7 341 Message Format T 7 43 7 5 2 Sending HART Command to a Field Device via Pass through esee 7 45 CHAPTER 8 PROGRAMMING EXAMPLES 8 1 SECTION 8 L COMPACTIEOGIX 4 irm rire er c Se peer e ERE REN 8 1 62121 Reset Reconftg a Idque ated aue 6 1 6 12 Swap Byte Order a RR eade paene ped ameta uem esas pau 6 3 6 1 3 Converting Unpacked ASCII to Packed ASCII essere 6 3 SECTION 8 2 MICROEOGIX 1900 oh x iet ettet ni reversi reete oce per aere 8 6 62 1 MAIN ROE eee ve 8 7 0 2 2 PACKETS a EE GET 8 8 0 2 3 MSG edudequetausadueedi cdi 8 11 O24 SRCCHEGCK Routine sa uu ama IU 8 28 8 2 5 DEST CHECKSUM 8 30 8 2 6 HART MSG 8 32 8 2 7 WORD BYTE 99 8 43 8 2 8 HART CHECK 1
24. If4ihOlnput HartData is coppied If4in0Packet4 for the appropriate channel depending on the current value stored in the If ihOChannelNumber QU Equal Copy File Source If4ih0PacketNumber Source TempO 0 0 Dest If4ihOPacket4 If4ihOChannelNumber 0 Source B 4 Length 1 EnableFastScan COP Copy File Source TempO 0 Dest Local 1 O HartPacketJustScanned Length 1 Note The ladder in Figure 7 4 can be found in the project sample file located on our website at www spectrumcontrols com 7 2 3 Packet Interval The delay between two consecutive packets is called the packet interval The default time for the packet interval is 500 ms This delay is controlled by the module The user has the ability to reduce the packet interval by utilizing output word 1 HART Packet Just Scanned in the output image See Table 7 6 Module Output Table Copying the packet number just scanned to output word 1 allows the module to switch to the next packet before the 500 ms delay expires See Figure 7 4 Note The amount of time saved using this method depends on the scan time of the ladder and the update time of each individual HART transmitter User s Manual 030021 5 03 Rev A Chapter 7 Enabling and Using HART on the 1769sc IFAIHO 7 11 Section 7 3 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
25. MOV Move Source If4ihOPacketO Channel 0 DeviceType 2 Dest If4ihoPassThruReqTX 4 2 OP Copy File Source If4ihOPacketO Channel O DeviceSerialNumber 0 Dest If4ihOPass ThruReqTX 5 Length 3 Move Source Channel 0 Dest If4ihOPassThruQryTX 0 0 Move Source 12 Dest If4ih PassThruQryTX 1 12 7 40 Compact IO Isolated HART Analog Input Module Figure 7 10c before setting the LoadCommand bit LoadCommand The following rung loads the HART command defined by the user Note You must populate the Command ByteCount and Data tag MOV Move Source Command 44 Dest If4ihOPassThruReqTX 8 44 MOV Move Source ByteCount 1 Dest If4ih0PassThruReqTX 9 1 COP Copy File Source DATA O0 Dest If4ihOPassThruReqTX 10 Length ByteCount The following five rungs calculate the checksum for the HART message The result is stored in the Checksum tag ADD Add Source A Source ByteCount Dest XorControl len 8 1 LoadCommand FAL JE File Arith Logical Control Length Position Mode Dest User s Manual 030021 5 03 Rev A 0 Expression O If4ihOPassThruReqTX XorControl POS 2 XOR 0 Checksum 9 CPT Compute ChecksumPos 11 Expression 10 ByteCount CEN XorControl 9 gt 0 ALL KER gt Checksum Chapter 7 Enabling Using HART the 1769sc IF4IH0 7 41
26. N16 0 Length 128 WORD BYTE LEN m MOV Move Source I 1 29 16 Dest N7 30 20 lt JSR Jump To Subroutine r SBR File Number U 8 FLL Fill File 0 Dest N33 0 Length 128 Fill File Source 0 Dest N33 128 Length 128 COP Copy File 15 0 Dest N33 0 Length 128 Source N15 128 Dest N33 128 Length 128 B3 0 CU 2 QUERY SUCCESS B3 0 0023 gt 10 User s Manual 0300215 03 Rev 8 42 Compact IOTM solated HART Analog Input Module Figure 8 10k 0024 0025 0026 0027 0028 User s Manual 030021 5 03 Rev A Chapter 8 Programming Examples 8 43 8 2 7 WORD BYTE Routine Converts word data to its byte equivalent This routine is called from the HART_MSG routine Figure 8 11a Word to Byte 0000 Q8 10 MUL 0001 LBL Multiply Source N7 24 20 lt Source B 2 2 lt Dest N7 2 39 lt User s Manual 0300215 03 Rev 8 44 Compact IOTM Isolated HART Analog Input Module Figure 8 11b 0002 User s Manual 030021 5 03 Rev A AND Bitwise AND Source N16 N7 24 0000h lt Source 255 255 lt Dest N15 N7 2 0020h lt l emporary holding Bitwise AND Source N16 N7 24 0000h Source B 256 256 Dest N7 3 0020h lt AND Bitwise AND Source A N7 3 0020h lt Source B 255 255 lt De
27. Programming Examples This chapter provides ladder samples for general and advanced applications using the 1756sc IFAIH module Ladder samples for both the CompactLogix and MicroLogix 1500 PLC are discussed in this chapter Section 8 1 CompactLogix 8 1 1 Reset Reconfig 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 8 1 Reconfig This rung will reconfigure the IF4IH without breaking the backplane connection This rung should be used if the user wishes to reconfigure the module during system operation ReconfigEN MSG JE Type Module Reconfigure Message Control ReconfigMsg DN gt CER gt ReconfigMsg dn ReconfigEN Message Configuration ReconfigMsg x Message Configuration ReconfigMsg Configuration Communication Tag Configuration Communication Tag Message Type Module Reconfigure x Path JF4IHQ Browse IFAIHO 4 een s E gt Update module configuration without interrupting the connection Enable Q Enable Waiting Start Done Done Length Enable Q Enable Waiting Start Done Done Length Error Code Extended Error Code Timed Oute Error Code Extended Error Code Timed Out Error Path Error Path Error Text Error Text Cancel Help Cancel Help User s Manual 030021 5 03 Rev
28. Searching Initializing HART device Bit5 HART communication failure or device not found Bit6 Pass through message pending ready Bit 7 Unused 0 Bits 8to 10 Packet ID Bit 11 through 15 Unused Variable for slot O Variable for slot 1 Variable for slot 2 Variable for slot 3 Slot O units code Slot 1 units code Slot 2 units code Slot 3 units code Slot 0 variable code Slot 1 variable code Slot 2 variable code Slot 3 variable code SINT 12 Packet pad Data Type Style Description Packet3 4 1 S dimensional array containing packet 3 data for all 4 channels Packet3 Packet 3 data for channel X INT BIN 0103 Channel number 0 3 Bit 4 Searching Initializing HART device Bit 5 HART communication failure or device not found Bit 6 Pass through message pending ready Bit 7 Unused 0 Bits 8 to 10 Packet ID Bit 11 through 15 Unused SINT 32 ASCII 32 character message SINT 4 DEC Pad 32 bit alignment 7 8 Compact IO Isolated HART Analog Input Module Table 7 5 HART Packet 4 Tag Name IfAih OPacket4 If4in0 Packet4 X 0 HartChannellD If4ih0 Packet4 X 0 Date If4in0 Packet4 X 0 FinalAssemblyNumber If4ihO Packet4 X 0 ExtendedStatus If4ih0 Packet4 X 0 Pad 1 X represents the module channel number 0to3 Data Type Style Description Packet4 4 1 paene dimensional array containing packet 4 data for all 4 channels INT BIN Oto 3 Channel number 0 3 Bit 4 Searching Initi
29. To suspend HART acquisition set the associated channel suspend bit to 1 Normal HART acquisition will resume when the bit is cleared 6 5 4 Packet Just Scanned Word 1 When demultiplexing HART data from the module this output word can be used to speed up the acquisition process by overriding the automatic 500ms acquisition delay User s Manual 030021 5 03 Rev A 6 16 Compact IO Isolated HART Analog Input Module between packets To override the delay the packet just scanned word needs to be populated with word seven from the input data file on each scan of the ladder program Input word seven contains the channel and packet number just scanned Note Input word seven is the first word of twenty which contains the multiplexed HART data for each channel 6 5 5 Message Master Control Word 2 This word is used to control the data flow of a message sent to the module These messages include module commands such as HART pass through HART suspend and resume and get device information 6 5 6 Message Request Size Word 3 The message request size determines the size of the message in bytes that will be sent to the module 6 5 7 Message Request Buffer Words 4 23 The message request buffer contains the data making up the message that will be sent to the module 6 5 8 Reserved Words 24 45 Reserved for future expansion Refer to Chapter 7 for more details User s Manual 030021 5 03 Rev A Section 6
30. Words 8 13 Channel 1 Configuration Words 14 19 Channel 2 Configuration Words 20 25 Channel 3 Configuration Word 26 Cho Slot Variables 0 amp 1 Word 27 ChO Slot Variables 2 amp 3 Word 28 Ch1 Slot Variables O amp 1 Word 29 Ch1 Slot Variables 2 amp 3 Output File Output 46 Words User s Manual 030021 5 03 Rev A Word 30 Ch2 Slot Variables O amp 1 Word 31 Ch2 Slot Variables 2 amp 3 Word 32 Ch3 Slot Variables 0 amp 1 Word 33 Ch3 Slot Variables 2 amp 3 Word 0 Unlatch Alarms HART Suspend Word 1 Last Packet Scanned Word 2 ScanMSG Master Control Word 3 ScanMSG Request Size Word 4 23 ScanMSG Request Buffer Word 24 45 Reserved Bit 15 Bit 1 NOTE Not all controllers support program access to the configuration file Refer to your controller s user manual 6 2 Compact IO Isolated HART Analog Input Module Section 6 2 Accessing Input Image File Data Section 6 3 Input Data File 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 These data words are valid only when the channel is enabled and there are no errors Input word 4 contains the time stamp value Words 5 and 6 contain status information for the four channels including process alarms and over and under range
31. m associated with tag 12 Read message none Byte 0 23 message A 13 Read tag none Byte 0 5 tag A descriptor date Byte 6 17 descriptor A Byte 18 20 date D 14 Read sensor none Byte 0 2 sensor serial number information Byte 3 units code for sensor limits and min span Byte 4 7 upper sensor limit F Byte 8 11 lower sensor limit F Byte 12 15 minimum span F 15 Read output none Byte 0 alarm select code information Byte 1 transfer function code Byte 2 PV range units code Byte 3 6 upper range value F Byte 7 10 lower range v F Byte 11 14 damping value sec F Byte 15 write protect code Byte 16 private label distributor code 16 Read final Byte 0 2 final assembly number assembly number 17 Write message Byte 0 23 message A 18 Write tag Byte 0 5 tag A as in command descriptor date Byte 6 17 descriptor A Byte 18 20 date Write final assembly number Byte 0 2 final assembly number as in command User s Manual 030021 5 03 Rev A B 2 Compact IO Isolated HART Analog Input Module COMMAND NUMBER AND FUNCTION 33 42 Read transmitter variables Write damping value Byte 0 Byte 1 Byte 2 Byte 3 Byte 7 Byte 12 Byte 13 Byte 14 17 Byte 18 Byte 19 Byte 20 23 DATAIN COMMAND transm var code for slot 0 transm var code for slot 1 transm var code for slot 2 transm var code for slot 3 units code for slot 1 truncated after last requested code transmi
32. 50 dB at 50 Hz 60 Hz filter gt 50 dB at 60 Hz 10 Hz filter gt 50 dB at 60 Hz 60 Hz filter gt 50 dB at 60 Hz 60 Hz filter Input Impedance Voltage Terminal Current Terminal 21M ohms nominal 249 ohms nominal Overall Accuracy Voltage Inputs Current Inputs Includes offset gain non linearity and repeatability errors 0 2 of full scale 259 0 3 of full scale 0 60 C 0 35 of full scale 259 0 5 of full scale 0 60 C Accuracy Drift Voltage Inputs 0 003 Current Inputs Data formats Input Filter Channel Update Time User s Manual 0300215 03 Rev A 0 0045 C Engineering units Scaled for PID Percent of Full Scale RAW Proportional counts 28 5 Hz 50 Hz 60 0 Hz 300 Hz 360 Hz See 6 7 1 2 Compact IO Isolated HART Analog Input Module Section A 2 Environmental Specifications Specification Description Minimum Update Time 10 ms with 360 Hz filter Maximum Update Time 108 ms with 28 5 Hz filter Isolation Channel to Rack 710 VDC or 500 VAC for one minute Optical amp magnetic Channel to Channel 710 VDC or 500 VAC for one minute Optical amp magnetic PCB spacing 0 033in 0 85mm Isolation spacing requirements PCB spacing Non PCB spacing Through Air Over Surface Input Protection 0 033in 0 85mm 0 063in 1 59mm 0 063in 1 7mm Volta
33. 7 HART Packet 4 7 8 HART Packet Data 7 3 HART Pass Through 8 18 HART Pass Through Command 7 33 HART Protocol 7 42 HART Slot Variables 0 amp 1 6 13 HART Slot Variables 2 amp 3 6 13 Hart Suspend 6 14 HART Suspend Resume 7 32 Hazardous Location 3 2 High Process Alarm 6 3 I Importing Tags 5 8 Initializing 8 1 Input Data Values 6 2 Input Filter Selection 6 8 Input Image 6 2 Input Tags 7 12 Input Type 6 10 input types 1 1 L LED 1 3 Little endian 7 33 Low Process Alarm 6 4 M maximum current draw 2 2 Memory Map 6 1 Message 8 5 Message Ladder 7 16 Message Master Control 6 15 7 11 Message Reply Buffer 6 4 Message Reply Size 6 4 Message Request Buffer 6 15 7 12 Message Request Size 6 15 7 11 Message Response Buffer 7 12 Message Response Size 7 12 Message Slave Control 6 4 7 12 Messages 7 11 Micro 1500 Ladder Samples 5 6 MicroLogix 1500 Addressing 5 2 Minimum Spacing 3 5 Module Configuration 6 5 Module Error 9 3 Module Operation 1 4 module specific commands 7 4 Module Specific Commands 7 29 Module Update Time 6 17 Mounting Minimum Spacing Panel Mounting Using Dimensional Template Din Rail Mounting 3 5 N Noise Reducing 3 3 Noise Prevention 3 8 Noise Rejection 6 8 Open Circuit 6 3 Out of Service Status Bits 6 3 Output Data File 6 14 Output Tags 7 11 Over Range
34. A lt B Add Source N7 5 Source N7 16 Source N7 17 16 lt Source B Source B L1 29 Source B 16 lt Dest MOV Move Source 4 4 lt Dest N7 5 0 lt TINATION B 0026 Grtr Than gt Source Source ENDNOW 04 2 0027 LBL Return 0028 END User s Manual 0300215 03 Rev A 8 28 Compact IOTM Isolated HART Analog Input Module 8 2 4 SRC CHECK Routine 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 8 8a Source Checksum 0000 MOV Move Source 5 14 Dest N7 2 39 lt NEQ 0001 Not Equal Bitwise AND Source 8 13 Source N16 N7 2 lt 0000h lt Source B 0 Source B 255 0 lt 255 lt Dest N16 N7 2 0000h RET 0002 Retum Source A N7 13 3 lt 0 0 lt POSITION GRT MOV 0003 Greater Than A gt B Move Source N7 11 Source 0 0 lt 0 lt Source 254 Dest N7 11 254 lt 05 User s Manual 030021 5 03 Rev Chapter 8 Programming Examples 8 29 Figure 8 8b 0004 0005 Bitwise Exclusive OR Source N16 N7 2 Source B Dest RET 0006 Grtr Than or A gt B Return Source A N7 11 0 lt Source B N7 13 3 lt 05 1 0007 JMP 0008 END User s Manual 030021 5 03 Rev A 8 30 Compact IOTM Isolated HART Analog Input Module 8 2 5 DEST CHECKSUM
35. At module power up a series of internal diagnostic tests are performed If these diagnostic tests are not successfully completed the module status LED remains off and a module error is reported to the controller Table 9 1 LED Status If module status LED Corrective action is condition On Operation No action required Off Module Fault Cycle power If condition persists replace the module Call your local distributor or Spectrum Controls for assistance 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 9 4 1 Invalid Channel Configuration Detection Whenever a channel configuration word is improperly defined the module reports an error See Table 9 4 for a description of module errors User s Manual 030021 5 03 Rev A Chapter 9 Diagnostics and Troubleshooting 9 3 Section 9 5 Non critical vs Critical Module Errors Section 9 6 Module Error Definition Table 9 4 2 Over or Under Range Detection Whenever the data received at the channel word is out of the defined operating range an over range or under range error is indicated in input data word 6 Possible causes of an out of range condition include e The input device is faulty e signal input from the input device is beyond
36. FF or decimal 257 that represents one of the HART commands Code 254 is defined as an expansion code and is followed by another byte allowing more than 256 different commands to be defined if necessary The received command code is echoed back by the slave device in its reply There are three categories of commands universal commands which all HART devices must implement common practice commands which should be used if the particular function is provided and device specific commands which are for functions more or less unique to a particular slave device Byte Count The byte count portion of the message contains an integer value representing the 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 The first byte indicates communication errors if any Otherwise if communication was good this byte may indicate the status of the received command such as a busy device or a command not recognized The second status byte indicates the operational state of the slave device A properly operating slave device will have both status bytes set to logical zero The meaning of the individual status bits can be found in Appendix D Data This portion of the HART message contains the data if any for the command Not all commands
37. Flag Bits 6 3 P Packed ASCII 8 25 Packet Interval 7 10 User s Manual 0300215 03 Rev A Packet Just Scanned Fast Scan 6 14 Paging Error Codes 7 12 Panel Mounting 3 5 Pass Through Ladder 7 37 Pass Through Scheme 6 7 Percent of full scale 1 1 Percent Range 6 11 Power Requirments 3 2 Power Supply Distance 3 3 Power up Diagnostics 9 2 Preamble 7 43 Process Alarm Deadband 6 12 Process Alarm High Setpoint 6 12 Process Alarm Low Setpoint 6 12 Process Alarms High Low Deadband 6 3 Processing a Message 7 13 R Raw proportional data 1 1 Raw Proportional Data 6 11 Real Time Sample Value 6 6 Receiving Message 7 15 Reset Reconfig 8 2 5 Safety Considerations 9 1 Sample Ladder 4 9 Scaled for PID 1 1 6 11 Sending a HART Command 7 44 Sending Message 7 14 Slot Variable Enable 6 10 Specifications A 1 Start Character 7 43 Status 6 2 7 44 Step Response 6 8 Swap Byte Order 8 24 System Assembly 3 4 System Operation 1 3 T Tags 4 8 terminal block 2 4 Terminal Block 2 3 3 7 Time Stamp Value 6 2 U Under Range Flag Bits 6 3 Unlatch Process High Alarm 6 14 Unlatch Process Low Alarm 6 14 User Defined Data Types 4 7 w Wire Size 3 9 Wiring Diagram 3 10 Wiring Guidlines 2 3 User s Manual 0300215 03 Rev User s Manual 0300215 03 Rev Getting Technical Assistance Note that your module contains ele
38. HARTFinalAssemblyNum 3 bytes CMD 16 Bytes 0 2 ber Pad for 32 bit alignment 1 byte HARTMessage 32 bytes unpacked CMD 12 Bytes 0 23 ASCII HARTPVCode 1 byte CMD 50 Bytes 0 Oxff if not supported HARTS VCode 1 byte CMD 50 Bytes 1 Oxff if not supported HARTTVCode 1 byte CMD 50 Bytes 2 Oxff if not supported HARTQVCode 1 byte CMD 50 Bytes 3 Oxff if not supported HARTPVUnits 1 byte CMD 3 Byte 4 HARTSVUnits 1 byte CMD 3 Byte 9 0 if not present HARTTVUnits 1 byte CMD 3 Byte 14 0 if not present HARTQVUnits 1 byte CMD 3 Byte 19 0 if not present HARTSlIotOUnits 1 byte CMD 33 Byte 1 0 if not present Output module use only HARTSlot1 Units 1 byte CMD 33 Byte 7 0 if not present Output module use only HARTSlot2Units 1 byte CMD 33 Byte 13 0 if not present Output module use only HARTSlot3 Units 1 byte CMD 33 Byte 19 0 if not present Output module use only HARTPVLowerRange 4 bytes Floating Point CMD 15 Bytes 3 6 Value HARTPVUpperRange 4 bytes Floating Point CMD 15 Bytes 7 10 Value Pad for 32 bit alignment 3 bytes 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 The conditions for each response are as follows SUCCESS will be sent back when all of the following conditions are met e Command and HAR
39. Module Figure 7 8n This rung checks for message corruption by comparing the calculated checksum with the checksum stored in the message response buffer DestXorControl DN AN JE Bitwise AND TLR Source If4ihOMsg DestTemplndex 16 Source B 1 Dest 1 256 P EQU ADD Equal Add Source Temp1 Source IfAihOMsg DestTemplndex 256 16 Source B 1 Source B 1 Dest IfAihOMsg DestTemplndex 16 OP Copy File Source Local 1 MsgResponseBuffer If4inOMsg DestT empindex Dest Temp3 Length 1 IfA ihOMsg ER Not Equal Source If4ihOMsg DestChecksum 0 EndNow CJMP 2 Source B Temp3 4011 UL Multiply Source IfAihOMsg DestPagelndex 1 Source B 256 Dest 1 256 MVM Masked Move Source 1 256 16 ff00 Dest Local 1 O MsgMasterControl 16 0000 MOV Move Source 6 Dest If4ihOMsg Step 0 User s Manual 030021 5 03 Rev A Chapter 7 Enabling Using HART the 1769sc IF4IH0 Figure 7 80 NEQ Resets checksum logic DestXorControl Not Equal Source If4ih0Msg Step 0 Source B 5 EQU Equal Source If4ih0Msg Step 0 CLR a Clear If4ih0Msg DestChecksum 0 Setup to receive next page LES Less Than lt Source A IfAihOMsg DestBytesSent
40. Print 2 When the dialog screen opens select Vender tab expand the Spectrum Controls folder Select Module Allen Bradley E Spectrum Controls 1769sc IF4IH 4 Channel HART Isolated Analog Input 1769sc IF8U 8 Channel Universal Analog Input 1769sc OF4IH 4 Channel HART Isolated Analog Output Add Favorite By Category By Vendor Favorites User s Manual 0300215 03 Rev A Chapter 4 Configuring the IF4IH for CompactLogix Using RSLogix 5000 4 7 3 Highlight the module and press the OK button 4 Configure the module using the custom configuration screens Note The 1769sc IF41H still requires ladder to demultiplex the HART data and send HART messages via the controller Please refer to the sample project packaged with the profile install for more information Section 4 3 User Defined Data Types The sample project contains user defined data types which define the structure for tags used within the project The data types organize the HART data returned by the module and are referenced throughout this manual so it is highly recommended that these data types be used whenever possible Select the data type you wish to copy from the Controller Organizer and past it into your project under user defined data types See figure below Figure 4 7 Copying Data Types Sample Your Project Drag and Project i drop one at a a Data Types f 5 25 Data Types RJ User Defined U
41. Rev A 4 4 Compact IO Isolated HART Analog Input Module 4 This screen is used to narrow your search for I O modules to configure into your system With the initial release of the CompactLogix5320 controller this screen only includes the Generic 1769 Module Click the OK button and the following default Generic Profile screen appears Figure 4 5 1769 MODULE Generic 1769 Module Parent Local Connection Parameters Assembly Instance Size Name Input Description Dutput a 16 bit fico fi H ness Configuration 102 0 retin Comm Format Data INT Slot fi Cancel Back Next gt Finish gt gt Help 5 Hirst select the Comm Format Data INT for the 1769sc IF4IH then fill in the name field For this example IF4IH is used to help identify the module type in the Controller Organizer The Description field is optional and may be used to provide more details concerning this module in your application The slot number must be selected next although it will begin with the first available slot number 1 and increments automatically for each subsequent Generic Profile you configure For this example the 1769sc IFAIH HART module is located in slot 1 The Comm Format Assembly Instance and Size values are listed in the following table for the 1769sc IF4TH HART module Table 4 1 Generic Profile Parameters 1769 Co
42. Routine This routine calculates the checksum for a message received from the module one page at atime This routine is called from the MSG TO MOD routine Figure 8 9a Destination Checksum im 0000 1 LB Equal Retum Source A N7 21 16 lt Source 0 0 lt GRT MOV 0001 Greater Than A gt B Move Source A N7 19 Source 0 0 lt 0 lt 254 Dest N7 19 254 0 lt DIV 0002 Divide r 1 Source A NT 19 0 lt Source 2 2 lt Dest 5 13 0 lt MOV Move Source 8 14 8 lt Dest N7 2 39 lt User s Manual 0300215 03 Rev Chapter 8 Programming Examples 8 31 Figure 8 9b 0003 EQ Grtr Than or Eql A gt B Source N7 19 0004 Source B N7 21 0005 0006 User s Manual 0300215 03 Rev A XOR Bitwise Exclusive OR Source N15 N7 2 0020h lt Source B N7 22 0000h Dest N7 22 0000h lt RET Return Q6 1 JMP gt END 8 32 Compact IOTM Isolated HART Analog Input Module 8 2 6 HART MSG Routine This routine composes HART messages that will be sent to the module field transmitter This routine is called from the MAIN routine ART Message T TA Figure 8 10a H LES 0000 Less Than A lt B Source N7 23 0 lt Source 0 0 lt RT 0001 Greater Than A gt B Source N7 23 0 lt B3 0 B3 0
43. and Using HART on the 1769sc IF4THO 7 3 Figure 7 2 am m m m m 111 Hart multi drop is not supported by the 4 Attention The HART module communicates to the controller using the input and output image Data communicated over the input and output image are transmitted at a rate that is controlled by the PLC The rate at which data is communicated to the controller and to the compactbus is adjustable by using the RTS Real Time Sample and RPI Requested Packet Interval respectively The data passed via the input and output image include analog data module status HART data and module specific commands Module specific commands include the HART pass through commands HART suspend HART resume and the get HART device information command Gathering HART data is accomplished using two processes auto acquisition and or using the module specific commands 7 2 2 Auto Acquisition When a channel is configured for HART the module will automatically search and establish a connection to any HART field device wired to the channel Once the module establishes a connection it will begin to acquire HART data including device specific codes i e Manufacturer ID serial number etc the four dynamic variables extended device status slot variables if enabled and any stored ASCII message descriptor that may be present The HART data retrieved automatically by the module is then displayed
44. configured on board each module as e Engineering units e Scaled for PID e Percent of full scale e Raw proportional data User s Manual 0300215 03 Rev A 1 2 Compact IO Isolated HART Analog Input Module Section 1 3 Filter Frequencies Section 1 4 Hardware Features The module uses a digital filter that provides high frequency noise rejection for the input signals The filter is programmable allowing you to select from five different filter frequencies for each channel e 285Hz e 50Hz e 60 Hz e 300 Hz 360 Hz The module contains a removable terminal block Channels are wired as differential inputs i e each channel will have a dedicated ground Note A jumper must be installed on the terminal block between CH and CH iRtn for all current input ranges Module configuration is done via the controller s programming software In addition some controllers support configuration via the user program In either case the module configuration is stored in the memory of the controller Refer to your controller s user manual for more information The illustration below shows the module s hardware features Figure 1 1 INPUT Y 90909009906 m Item Description 1 bus
45. for the module Detailed information on the image table is located in Chapter 6 Figure 5 1 Module Memory Map Bit 15 Word 0 Channel 0 Data Word Memory Map Word 1 Channel 1 Data Word Word 2 Channel 2 Data Word Word 3 Channel 3 Data Word Word 4 Time Stamp Value Word 5 General Channel Status Word 6 Process amp Range Alarms Word 7 Pad Words 8 27 HART Packet Data Z Z Word 28 ScanMSG Slave Control Im Lt Word 29 ScanMSG Response Size Input image Words 30 49 ScanMSG Response Buffer 72 Words Input Image File Words 50 71 Reserved Bit 15 Bit 1 Word 0 Real Time Sample Word 1 Module Configuration Words 2 7 Channel 0 Configuration Words 8 13 Channel 1 Configuration Words 14 19 Channel 2 Configuration ote Configuration Words 20 25 Channel 3 Configuration a 34 Words Word 26 Slot Variables 0 amp 1 Word 27 Slot Variables 2 amp Word 28 Ch1 Slot Variables 0 amp 1 Word 29 Ch1 Slot Variables 2 amp 3 Word 30 Ch2 Slot Variables 0 amp 1 Word 31 Ch2 Slot Variables 2 amp 3 Word 32 Ch3 Slot Variables 0 amp 1 Word 33 Ch3 Slot Variables 2 amp soe Output Ex Rx 46 Words Output File Word 0 Unlatch Alarms HART Suspend Word 1 Last Packet Scanned Wor
46. in the input image IfdihOInput HartData and is accessible by ladder logic The HART data will update on average every 3 5 seconds if all four channels are enabled for HART The module initiates the connection by sending a string of HART commands to the field device Please see figure below User s Manual 030021 5 03 Rev A 7 4 Compact 107 Isolated HART Analog Input Module Figure 7 3 Auto Acquisition Flow Channel Switch Connect to field device Read device codes Read ASCII messages Read PVU and PVL Read 4 dynamic variables Read extended status Read slot variables if enabled The data that is collected from the process described in Figure 7 3 Auto Acquisition Flow is buffered to the module RAM memory Since the amount of data returned from the auto acquisition process is extensive the data is multiplexed into five separate packets and for each individual channel The multiplexed data can be read from a 40 byte array which is located in the Local X I HartData tag The multiplexed data is demultiplexed using ladder and stored in five different arrays which are structured using packets zero through four The packets are defined as user defined data types and can be seen in Table 7 1 through Table 7 5 Initialized for HART User s Manual 030021 5 03 Rev A Chapter 7 Enabling and Using HART on the 1769sc IFAIHO 7 5 Table 7 1 HART Packet 0 Tag Name If4ihO PacketO If4ih0Pack
47. it is not in use keep the module in its static shield bag Attention Pollution Degree 2 is an environment where normally only non conductive pollution occurs except that occasionally a temporary conductivity caused by condensation shall be expected Over Voltage Category II is the load level section of the electrical distribution system At this level transient voltages are controlled and do not exceed the impulse voltage capability of the product s insulation Pollution Degree 2 and Over Voltage Category II are International Electrotechnical Commission IEC designations User s Manual 030021 5 03 Rev A Chapter 3 Installation Wiring 3 3 3 3 3 Remove Power Remove power before removing or inserting this module When you remove or insert a module with power applied an electrical arc may occur An electrical arc can cause personal injury or property damage Attention by Sending an erroneous signal to your system s field devices causing unintended machine motion Causing an explosion in a hazardous environment Electrical arcing causes excessive wear to contacts on both the module and its mating connector and may lead to premature failure 3 3 4 Selecting a Location Reducing Noise Most applications require installation in an industrial enclosure to reduce the effects of electrical interference Analog inputs are highly susceptible to electrical noise Electrical noise coupled to the analog inputs will reduce
48. nr ree Pe cnin unter bore Scarred direi n Pe RUP rata D Paste Delete Rung Del s ae 3 Add Rung Ctri R Edit Rung Enter Edit Rung Comment Ctrl D Solin rung rence HAT ruraa and shares Tasso Import Rung force Mee 94 Export Rung Start Pending Rung Edits Accept Pending Rung Edits dus Fata lt cevoo te V rares deperdeg on te curet ws Sort nite Cancel Pending Rung Edits Ml p 1 Coy Pi 4 aoa aparooavanzam Assemble Rung Edit Cancel Rung Edit Verify Rung Go Ctrl G Add Ladder Element Alt Ins User s Manual 030021 5 03 Rev A 4 12 Compact IO Isolated HART Analog Input Module User s Manual 030021 5 03 Rev A Chapter 5 Configuring the IFAIH for a MicroLogix 1500 Using RSLogix 500 This chapter examines the 1769sc IFAIH module s addressing scheme and describes module configuration using RSLogix 500 and a MicroLogix 1500 controller This chapter will cover the following Module Addressing e Configuring the IF4TH in a MicroLogix 1500 System e Using the Ladder Sample Section 5 1 Module Addressing The following memory map shows the input output and configuration image tables
49. remaining are greater than or equal to 38 this rung copies the data for the current page being sent to the message request buffer This rung also calulates the data index EQU NE Equal Not Equal Source If4ihOMsg Step 0 Source If4ihOMsg SourceBytesRemaining 3 Source B 1 Source B 0 E Grtr Than A gt B Source If4ih0Msg SourceBytesRemaining 3 Source B 38 COP Copy File Source If4ih0Msg SourceData If4dihn0Msg SourceDatalndex Dest Local 1 O MsgRequestBuffer 0 Length 38 ADD MOV Add Move Source If4ihOMsg SourceBytesSent Source 38 3 Source B 38 Dest If4ih0Msg SourceTemplndex 4 Dest If4ihOMsg SourceBytesSent 3 MOV Move Source If4ihOMsg SourceBytesSent 3 Dest IfA4ihOMsg SourceDatalndex 3 User s Manual 030021 5 03 Rev A Chapter 7 Enabling Using HART the 1769sc IF4IH0 Figure 7 84 The following rung determines whether an odd number of bytes have been coppied If so the last byte in the last word is padded with EQU Equal Source If4ih0Msg Step 0 Source B 1 a zero AN Bitwise AND Source If4ihOMsg SourceTemplndex 4 Source B 1 Dest Temp1 256 EQU MOV Equal Move Source A Temp1 Source 0 256 Source 1 User s Manual 0300215 03 Rev Dest Local 1 O MsgRequestBuffer If4ihOMsg SourceTemplndex 0 7 19 7 20 Compact IO Isolated HART Analog Inp
50. the order of the bytes must be If the HART message being sent or received using the pass through N reversed Attention Figure 8 3 Change Byte Order The following rungs convert a real into its four byte HART equivalent CONVERT REAL SWPB Swap Byte Source REAL TO CONVERT 0 0 Order Mode REVERSE Dest SWAPPED REAL 0 0 CONVERT REAL COP Copy File Source SWAPPED REAL Dest CONVERTED REAL 0 Length 4 8 1 3 Converting Unpacked ASCII to Packed ASCII Packed ASCII is a HART specific 6 bit character code representing a subset of the ASCII character code set see table below Produced by compressing four packed ASCII characters into three 8 bit bytes packed ASCII strings must be a multiple of 4 characters 3 bytes and must be padded out to the end of the data item with space characters For example 4 space characters at the end of a string would appear as the 3 bytes 0x82 0x08 and 0x20 Note Most significant hexadecimal digit top to bottom least significant left to right Construction of Packed ASCII characters Constructing a packed ASCII string is a simple matter of discarding the most significant two bits from each character and compressing the result 1 Truncate Bits 6 and 7 of each ASCII character 2 Pack four 6 bit ASCII characters into three bytes 3 Repeat until the entire string is processed User s Manual 030021 5 03 Rev A 8 4 Compact IO Isolated HART Analog Input Module The algori
51. transfer data between the controller and the module 38 bytes at a time i e one page at a time The paging scheme is utilized to minimize the number of bytes sent and received at one time from the module s input and output image The maximum message size is 257 bytes 7 3 1 Module Output Tags Used For Messaging The IF4IH module utilizes 22 words for sending messages and controlling data flow The table below shows the output image for the IFATH module For more detail regarding word 0 refer to Chapter 6 Table 7 6 Module Output Table Word Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UHO Packet Just Scanned Message Master Control Message Request Size Message Request Buffer Reserved Word 2 Message Master Control The message master control initiates the paging process and controls the flow of data to and from the module The data flow control is accomplished by using the message master control with the message slave control to manage which pages are being sent and what direction the page is going that is whether the page is being sent to the module or read from the module Figure 7 5 Message Master Slave Control Hex RRISS ET Page being sent Page 38 Bytes Page last received Note Setting the Message Master Control word to zero resets the paging logic 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
52. 000 CompactLogix controller see Chapter 4 6 4 2 General Configuration Bits Word 1 Word 1 is used to configure general module properties like enabling and disabling HART setting a HART handle time for HART messaging and selecting one of three scanning schemes for HART pass through messages The table below shows the available settings for word 1 Table 6 3 General Configuration Bits Make these bit settings To Select 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Handle Timeout 3 4 oem 1 255 E HART Enable e CH1 HART Enable 1211 e Deme T Qa we E a mb L Ls EARN 0 EeyChamaSon E Reened Sabz _ p ETS NEM 44444 4 When RTS is set to zero all channels are acquired freely and independently with no idle time A channel configured at a high filter frequency can be acquired multiple times in the time that a single acquisition is made for a channel configured at a lower filter frequency User s Manual 030021 5 03 Rev A Chapter 4 Module Data Status and Configuration 6 7 NOTE Default settings for a particular function are indicated by zero s For example the default filter frequency is 60Hz Publication Handle Timeout There is a handle timeout associated with the final reply m
53. 00000 6 2 SECTION G S INPUT DATA FIER U ss a CC 6 2 6 3 1 Inpur Data Values Words 063 asua qa un 6 2 0 3 2 Time Stamp Value Word 4 shua aS e v Ee qat edis 6 2 6 3 3 General Status Bits SO to 53 Word 5 sese eene erre eren nnns 6 2 6 3 4 Out of Service Status Bits OSO to 053 Word 5 eene nennen enne nennen tenerent 6 3 6 3 5 Over Range Flag Bits OO to Word 6 eene een eerte erret 6 3 6 3 6 Under Range Flag Bits UO to U3 Word 6 6 3 6 3 7 High Process Alarm Flag Bits HO to Word 6 6 3 6 3 8 Low Process Alarm Flag Bits LO to L3 Word 6 enne nennen enne tenen nnne 6 4 6 3 9 P d Word e dandus 6 4 63 10 HART Data e 10 27 Js esten eere rer e eed eee E Rides 6 4 0 3 11 Message Slave Control Word 28 s tene m tribe e eter t ue aire eden 6 4 6 3 12 Message Reply Size Word 29 iet eR RIF RO RE t P err tbe oannes 6 4 6 3 13 Message Reply Buffer Words 30 40 6 4 6 3 14 Reserve
54. 0Msg DestBytesRemaining Source If4in0Msg DestBytesRemaining 16 16 Source B If4ih0Msg DestBytesSent Dest IfAihOMsg DestTemplndex 16 16 Dest If4ihOMsg DestBytesSent 16 OV Move Source If4ihOMsg DestBytesSent 16 Dest IfAihOMsg DestDatalndex 16 User s Manual 030021 5 03 Rev A 7 26 Compact IO Isolated HART Analog Input Module Figure 7 8k If the bytes remaining are greater than or equal to 38 this rung copies the data from the message response buffer to a temporary array were the data can be viewed This rung also calulates the data index EQ NE Equal Not Equal Source f4ihOMsg Step Source If4ihOMsg DestBytesRemaining 0 16 Source B 5 Source B 0 Grtr Than A gt B Source f4ihOMsg DestBytesRemaining 16 Source B 38 AD Copy File Add r1 Source Local 1 l MsgResponseBuffer 0 Source If4ihOMsg DestBytesSent Dest IfAihOMsg DestinationData lf4ihOMsg DestDatalndex 16 Length 38 Source B 38 Dest IfAihOMsg DestBytesSent 16 MOV Move Move Source 38 Source If4ih0Msg DestBytesSent 16 Dest If4ih0Msg DestTemplndex Dest If4ih0Msg DestDatalndex 16 16 Figure 7 81 The following rung determines whether an odd number of bytes have been coppied If so the last byte in the last word is padded with a zero EQU Equal Source IfAihOMsg Step 0 Source B 5 Bitwise
55. 0mA 32767 0 0 0 0 to 20mA 0 000mA 32767 0 0 0 20 000mA 29646 20000 16383 10000 21 000mA 32767 21000 17202 10500 6 4 5 Process Alarm High Setpoint Words 4 10 16 22 The user defines the process alarm high value using this signed word element The range of this value is dictated by the selected data format When the measured analog signal for the associated channel exceeds the high process alarm an alarm bit will be set in the input data table that corresponds to the associated channel See Input Type and Data Format Words 3 9 15 21 for more information regarding data format 6 4 6 Process Alarm Low Setpoint Words 5 11 17 23 The user defines the process alarm low value using this signed word element The range of this value is dictated by the selected data format When the measured analog signal for the associated channel drops below the low process alarm an alarm bit will be set in the input data table that corresponds to the associated channel See Input Type and Data Format Words 3 9 15 21 for more information regarding data format 6 4 7 Process Alarm Deadband Words 6 12 18 24 The deadband is a range through which the measured input may be varied without initiating an alarm response The deadband will use the data format selected in the channel configuration See Input Type and Data Format Words 3 9 15 21 for more information regarding input type and format The deadband is added to t
56. 3 Low Process Alarm Setpoint sue m 24 Channel 3 Alarm Deadband Ch3 Alarm Deadband 25 Pad Data Padding User s Manual 030021 5 03 Rev A 6 6 Compact IO Isolated HART Analog Input Module Table 6 2b Module Configuration Function Channel 0 HART Slot Variables 0 amp 1 Defines Slot Variables Channel 0 HART Slot Variables 2 amp 3 Defines Slot Variables Channel 1 HART Slot Variables 0 amp 1 Defines Slot Variables Channel 1 HART Slot Variables 2 amp 3 Defines Slot Variables Channel 2 HART Slot Variables 0 amp 1 Defines Slot Variables Channel 2 HART Slot Variables 2 amp 3 Defines Slot Variables Channel 3 HART Slot Variables 0 amp 1 Defines Slot Variables 33 Channel 3 HART Slot Variables 2 amp 3 Defines Slot Variables 6 4 1 Real Time Sample Value Word 0 The real time sample value determines when the module will scan its input channels for available data After the channels are scanned the data is made available to the PLC The valid range for the real time sample is 0 to 5000 ms i e Enter a value of 0 to 5000 Note The Real Time Sample rate must be greater than or equal to the slowest channel step response time See Table 6 5 to determine the proper RTS rate Note The configuration file can also be modified through the control program if supported by the controller For information on configuring the module using RSLogix 500 with MicroLogix 1500 controller see Chapter 5 for RSLogix 5
57. 4 Msg SourceTemplndex Length 4 Source B 1 Dest Temp1 256 EQU ADD 4 Equal Add Source A 1 Source 0 59 256 4 Source 1 Source 1 Dest 0 59 4 COP Copy File Source IfAihOMsg SourceChecksum Dest Local 1 O MsgRequestBuffer If4ihOMsg SourceTemplndex Resets checksum logic User s Manual 030021 5 03 Rev A 2 MVM Masked Move Source If4ihOMsg SourcePagelndex 1 Mask 16 00ff Dest Local 1 O MsgMasterControl 16 0000 MOV Move Source 2 Dest lf4ihOMsg Step 0 SourceXorControl Clear Dest If4inOMsg SourceChecksum 0 7 22 Compact IO Isolated HART Analog Input Module Figure 7 8g Check for message corruption Q AN QU Equal Bitwise AND Equal Source If4ihOMsg Step Source Local 1 MsgSlaveControl Source A 1 0 1680000 256 Source 2 Source 16 ff Source B 16 FF Dest Temp1 256 If4ihOMsg ER XD 1 EndNow JMP Wait for module to echo back page received EQU DIV Equal Divide Source If4ih0Msg Step Source Local 1 l MsgSlaveControl 0 16 0000 Source B 2 Source B 256 Dest 1 256 Equal Move Source Temp1 Source 3 256 Source If4ih0Msg SourcePagelndex Dest If4ihOMsg Step 1 0 More d
58. 4 Source If4ih0Msg DestBytesSent 16 Source B 1 Dest 1 256 QU OV Equal Move Source A 1 Source 0 256 Source B 1 Dest If4ih0Msg DestinationData If4ih0Msg DestDatalndex 0 User s Manual 0300215 03 Rev A Chapter 7 Enabling Using HART the 1769sc IF4IH0 7 27 Figure 7 8m This rung copies the source data for the page to a temporary array so that the page checksum can be calculated EQU Equal Source If4ihOMsg Step 0 Source B 5 AND 4 Divide Bitwise AND 4 Source If4ihOMsg DestTemplndex Source A If4ihOMsg DestTemplndex 16 16 Source B 2 Source B 1 Dest DestXorControl LEN Dest Temp1 8 256 Equal Source 1 Source DestXorControl LEN 256 8 Source B 1 Source B 1 Dest DestXorControl LEN 8 File Source If4ih0Msg DestinationData Temp2 Dest IfAihOMsg DestChecksumaArray 0 Length DestXorControl LEN This rung calculates the checksum for the current page of data being received from the module EQU Equal Source f4ihOMsg Step 0 Source B 5 FAL T File Arith Logical CEN 2 4 Control DestXorControl Length 8 DND Position 0 Mode ALL CER2 Dest If4inOMsg DestChecksum 0 Expression O If4ihOMsg DestChecksumArray DestXorControl POS XOR 0 If4ihOMsg DestChecksum User s Manual 030021 5 03 Rev 7 28 Compact IO Isolated HART Analog Input
59. 5 3 DIN Rail MOUNTING sua iei ter ne REPRE 3 6 SECTION 3 6 REPLACING A SINGLE MODULE WITHIN A 9111 nnn nnn nnn nnn 3 7 SECTION 3 7 FIELD WIRING CONNECTIONS amp SYSTEM WIRING GUIDELINES 3 7 352 Terminal Door 3 8 3 7 3 Removing and Replacing the Terminal 06 3 8 3 7 4 Wiring the Finger Safe Terminal 0 3 8 3 7 2 Wiring the Modules 33 5 tte ae De eH exe e D tend 3 9 3 7 6 Wiring idi qute ete iride Eo 3 10 92757 c eene tee ecb ret eed eee 3 10 CHAPTER 4 CONFIGURING THE IFHIH FOR COMPACTLOGIX USING RSLOGIX 5000 4 1 SECTION 4 1 SETTING UP THE GENERIC PROFILEE nn 4 1 SECTION 4 2 USING THE ADD ON PROFILE 4 5 4 2 1 Installing the Add On profile sees ett teer emer dene 4 5 4 2 2 Adding the IF4IH Module To Your Logix Project 4 6 SECTION 4 3 USER DEFINED DATA TYPBES
60. 6 Determining Effective Resolution and Range Chapter 4 Module Data Status and Configuration 6 17 The effective resolution for an input channel depends upon the filter frequency selected for that channel The following tables provide the effective resolution for each of the range selections at the six available frequencies The tables do not include the affects of unfiltered input noise Choose the frequency that most closely matches your requirements Table 6 10 Effective Resolution Range Hilter Hz Channel Input Value Measured Max Deviation 10V 28 5 0 5 0V 1 10V 50 1 5 0V 1 10V 60 2 5 0V 1 10V 300 3 5 0V 3 10V 360 0 5 0V 3 0 10V 28 5 1 5 0V 1 0 10V 50 2 5 0V 1 0 10V 60 3 5 0V 1 0 10V 300 0 5 0V 5 0 10V 360 1 5 0V 8 0 5V 28 5 2 2 5V 1 0 5 50 3 2 5 1 0 5 60 0 2 5 1 0 5 300 1 2 5 11 0 5 360 2 2 5 12 1 5 28 5 3 3 0V 1 1 5 50 0 3 0V 1 1 5V 60 1 3 0V 1 1 5V 300 2 3 0V 9 1 5V 360 3 3 0V 26 0 20mA 28 5 0 10mA 1 0 20mA 50 1 10mA 3 0 20mA 60 2 10mA 1 0 20mA 300 3 10mA 13 0 20mA 360 0 10mA 16 4 20mA 28 5 1 10mA 1 4 20mA 50 2 10mA 1 4 20mA 60 3 10mA 1 4 20mA 300 0 10mA 13 4 20mA 360 1 10mA 20 User s Manual 030021 5 03 Rev A 6 18 Section 6 7 Determining Module Update Time Compact IOTM Isolated HART Analog Input Module The module update time is defined as the time required for the m
61. 8 modules away from the system power supply Step 2 Attach and lock the module Reference Chapter 3 Installation and Wiring Remove power before removing or inserting this module If you remove or insert a module with power applied an electrical arc may occur NOTE The module can be panel or DIN rail mounted Modules can be assembled before or after mounting Remove power before removing or inserting this module If you remove or insert a module with power applied an electrical arc may occur Attention d 1 Check that the bus lever of the module to be installed is in the unlocked fully right position 2 Use the upper and lower tongue and groove slots 1 to secure the modules together or to a controller 3 Move the module back along the tongue and groove slots until the bus connectors 2 line up with each other 4 Push the bus lever back slightly to clear the positioning tab 3 Use your fingers or a small screwdriver AL 5 L The system power supply could be a 1769 PA2 2 PA4 PB4 or the internal supply of the MicroLogix 1500 packaged controller User s Manual 030021 5 03 Rev A Chapter 2 Quick Start For Experienced Users 2 3 5 Toallow communication between the controller and module move the bus lever fully to the left 4 until it clicks Ensure it is locked firmly in place 6 Attach an end cap terminator 5 to the last module in the system by using the tongue and groove slots as befor
62. 9 4 Compact IO Isolated HART Analog Input Module Section 9 7 Error Codes Table 9 3 Module Error Types Error Module Error Field Description Value Bits 11 through 9 binary Noerors present The extended error field holds no additional information Hardware General and specific hardware error codes are specified in Errors the extended error information field Configuration 010 Module specific error codes are indicated in the extended Errors error field These error codes correspond to options that you can change directly For example the input range or input filter selection 9 6 2 Extended Error Information Field Check the extended error information field when a non zero value is present in the module error field Depending upon the value in the module error field the extended error information field can contain error codes that are module specific or common to all 1769 analog modules Note If no errors are present in the module error field the extended error information field is set to zero Hardware Errors General or module specific hardware errors are indicated by module error code 001 See Table 9 4 Extended Fault Codes Configuration Errors If you set the fields in the configuration file to invalid or unsupported values the module generates a critical error Table 9 4 Extended Fault Codes lists the possible module specific configuration error codes defined for the mod
63. AD4 MSG_TO_ Open LaDS SRC CHE Window Mf LAD 6 DEST CHE Cut LAD 8 WORD_BY LAD 9 HART CHI Lapi0 BvrE w Hide E 3 Data Files Cross Reference Delete E output Rename D n eur s2 status 83 BINARY Properties Copy and paste Your Project RSLogix 500 UNTITLED File Edit View Search Comms Tools Wit D X Belo DFFLINE Forces Driver AB_DF1 2 E 3 Project 1 m GJ Help Controller 4 Controller Properties Processor Status amp Function Files lll io Configuration BE channel Configuration Ei J Program Files 5 50 5151 4 5 Data Files Open E cross Re New Window Neu D s2 D Hide D 5 R6 con 5 D n Rename re r o Ei C Data Logging contigur Status Cut Verify File Properties 5 3 2 Copying Ladder from the Sample Project To copy ladder follow the procedure below 1 Open the sample project and your project 2 Open the routine that you wish to copy the ladder from 3 Select the rungs by clicking the left mouse button To select more rungs select the first rung you wish to copy and while holding the shift key select the last rung you wish to copy QN User s Manual 030021 5 03 Rev A Right mouse click and select copy Right
64. Communication aa 7 1 SECTION 7 2 HART PACKET 7 2 7 2 1 How the Module Connects to a Field Device a 7 2 72 2 TT ACUS ON 7 3 PES MIA EXE 7 10 User s Manual 0300215 03 Rev A Table of Contents ili SECTION 7 3 SENDING AND RECEIVING 55 8 0 2 02 4200000000000000000000000000000000 0 7 11 7 3 1 Module Output Tags Used For Messaging 7 11 7 3 2 Module Input Tags Used For 1 55 7 12 7 3 3 Processing a see EE 7 13 SECTION 7 4 MODULE SPECIFIC 8 2 2 20 001 020000000000000000000000000000000000 eset 7 30 7 4 1 Get HART Device Inform tion i te ret ie e re teet regn 7 30 7 4 2 HART Channel Suspension and Resume 7 33 7 4 3 HART Pass Through Command tbe ite IE iR I 7 34 SECTION 7 5 HART PROTOCOL 2 2 2002 2 200 000000000000000000000000000000000000000000
65. Copy Word Source N11 N7 2 Dest F20 N7 4 Length 8 User s Manual 0300215 03 Rev A 8 10 Compact IOTM Isolated HART Analog Input Module Figure 8 6c 0008 0009 0010 CPW Copy Word Source N11 N7 2 Det 4F20 N7 4 Length 4 User s Manual 030021 5 03 Rev A Chapter 8 Programming Examples 8 2 3 MSG TO MOD Routine This routine is used to send and receive messages to and from the module Refer to Chapter 7 for more details regarding sending and receiving messages This routine is called from the HART MSG routine Figure 8 7a Message to Module 0000 uw Clear FLL Fill File Source 0 Dest 15 0 Length 128 EQU Equal Source 0001 Source B User s Manual 0300215 03 Rev A 8 12 Compact IOTM Isolated HART Analog Input Module Figure 8 7b EQU 0002 Equal Source A Source B User s Manual 030021 5 03 Rev A Chapter 8 Programming Examples 8 13 Figure 8 7c 0003 0004 User s Manual 0300215 03 Rev A SUB Subtract Source Source B Dest 8 14 Compact IOTM Isolated HART Analog Input Module Figure 8 7d MODULE LES 0005 Equal Not Equal Less Than lt Source A N7 5 Source A N7 10 Source A 0 lt 3 lt Source 1 Source 0 Source 1 lt 0 lt User s Manual 0300215 03 Rev
66. Figure 7 10d LoadCommand XorControl DN MOV E Move Source Checksum 0 Dest If4ihOPassThruReqTX ChecksumPos 81 ExecuteMessage gt LoadCommand XU LoadCommand XorControl R RES gt 2 CLR Clear Dest Checksum 0 If the ExecuteMessage bit is set this rung will send the HART command stored in the PassThruReqTX to the device ExecuteMessage R eqlnitiate Add Source ChecksumPos Source B 1 Dest Ifdih PassThruReqMsg SourceSize 12 JSR Jump To Subroutine MessageToModule Input Par If ih PassThruReqMsg Reset Input lIf4ihOPassThruReqMsg SourceSize Input Par If ih oPassThruReqTX Return Par If ih PassThruReqMsg Reset Return Par If ihOPassThruReqMsg DN Return Par If4in0PassThruReqMsg ER Return Par lf4ihOPassThruReqRX The following rung checks for the initiate response code for the HART Pass Through Command Request If the initaiate response code is received the current handle is coppied over to the appropriate byte in the HART Pass Through Command Query transmit tag QU Req nitiate Equal 4 Source IfAihOPassThruReqRX 1 MOV 0 Move Source f4in0PassThruReqRX 3 1 Source B 33 Dest If4ih PassThruQryTX 2 1 User s Manual 030021 5 03 Rev A 7 42 Compact IO Isolated HART Analog Input Module Figure 7 10e
67. In the event the message is rejected the message response buffer will display a fault code in the first byte followed by a checksum in the second The table below lists the possible responses Table 7 8 Paging Error Codes Error Code Description 1 page was sent of sequence 2 While processing page 2 3 etc The message size was different than it was for page 1 The message size given exceeds the max allowed 4 The message page data checksum is not correct Word 29 Message Response Size The message response size indicates the total number of bytes being returned by the module User s Manual 030021 5 03 Rev A Chapter 7 Enabling and Using HART on the 1769sc IF4THO 7 13 Words 30 49 Message Response Buffer The message response buffer contains the response data for the current page up to thirty eight bytes at a time 7 3 3 Processing a Message To complete a message from beginning to end follow the steps listed below 1 10 11 Store the message you wish to send to the module an array Remember the message can be up to 257 bytes long so make the array large enough Copy the first page of data up to 38 bytes to the message request buffer If the number of bytes is odd the last byte in the last word will be padded with a zero Calculate the checksum of the message by taking the exclusive OR of all the words within the page 19 max Place the result into the last word of the m
68. N UNION DIRECTIVES 3 1 OS DII ALEI AAEE EEE 3 1 3 1 2 LOW Voltage egets 3 1 SU S CE Safety tie pe n ORE 3 1 SECTION 3 2 POWER REQUIREMENTS 1 2 44 0000 00000000000 Q i a E lt EET 3 2 SECTION 3 3 GENERAL CONSIDERATIONS 3 2 3 3 1 Hazardous Location Considerations 3 2 3 3 2 Prevent Electrostatic Discharge dei 3 2 3 3 3 Remove Power 3 3 3 3 4 Selecting a Location ec 3 3 SECTION 3 4 SYSTEM ASSEMBLY eee nen nene e nnn nh n n n nnn nnn n 3 4 SECTION 3 5 120 0 0000000000000000 p p p p tette aad 3 5 3 3 1 Minim m Spacing CR FE 3 5 3 3 2 3 5 3
69. NITION 2 2 2 2 20 0100000000000000000000000000 9 3 9 6 1 Module Error a hl u esses assess ananas ue 9 3 9 6 2 Extended Error Information Field 9 4 SECTION BRROR 600 9 4 SECTION 9 8 MODULE INHIBIT FUNCTION enne ee 0 9 5 APPENDIX A MODULE SPECIFICA TIONS A 1 SECTION ELECTRICAL SPECIFICATIONS ul eiie euet te 1 SECTION A 2 ENVIRONMENTAL SPECIFICATIONS 8 200000 0001 00020000000000000000000000000 2 SECTION A 3 REGULATORY COMPLIANCE z qua usus a n RuSY A 3 APPENDIX B HART UNIVERSAL AND COMMON PRACTICE COMMANLD B 1 User s Manual 0300215 03 Rev A iv Compact IO Isolated HART Analog Input Module User s Manual 0300215 03 Rev A Who Should Use This Manual How to Use This Manual Related Documentation Preface Read this preface to familiarize yourself with the rest of the manual This preface covers the following topics Who should use this manual How to use this manual Related publications Conventions used in
70. Over Limit Span Too Small User s Manual 030021 5 03 Rev A Index A Address 7 43 Alarm Latch 6 10 Auto Acquisition 7 4 B Big endian 7 33 Byte Count 7 44 C Cable 3 9 Channel Diagnostics 9 2 Channel HART Enable 6 7 Checksum 7 44 Command 7 44 Configuring the IFAIH for the Micro 1500 5 2 Configuring the module for HART 7 2 Copying Controller Tags 4 9 Copying Data Types 4 7 Copying Ladder 4 11 5 7 Copying Routines or Programs 4 10 5 6 Cut Off Frequency 6 8 D Data 7 44 Data Format 6 11 Data Formats 1 1 Data Type Descriptions 4 8 Demultiplexing gt 7 9 8 4 DIN Rail 3 6 Disable Channel 6 10 E Effective Resolution 6 16 Enable Alarm 6 10 Enable Fast Scan 7 10 Enable Interrupt 6 10 Engineering units 1 1 Engineering Units 6 11 Error Codes 9 4 ETS Enable Time Stamp 6 7 European Union Directives 3 1 Exporting Tags 5 8 User s Manual 0300215 03 Rev A F Field Wiring General Terminal Block Grounding 3 7 Filter 1 2 Filter Frequency and General Settings 6 7 6 14 G General Configuration Bits 6 6 General Status Bits 6 2 Generic Profile 4 1 Generic Profile Parameters 4 4 Get HART Device Information 7 29 Grounding 2 3 3 8 H Handle Timeout 6 7 HART Message Format 7 42 Hart multi drop 7 3 HART Packet 0 7 5 HART Packet 1 7 6 HART Packet 2 7 7 HART Packet 3 7
71. S Page Being Sent MsgResponseSize Total size of response message up to 257 bytes MsgResponseBuffer One page of data being sent to PLC Last byte is page checksum 1 page 38 bytes max MsgSlaveControl Hex RRISS RR Page Last Received SS Page Being Sent MsgResponseSize Total size of response message up to 257 bytes MsgResponseBuffer One page of data being sent to PLC Last byte is page checksum 1 page 38 bytes max 7 16 Compact IO Isolated HART Analog Input Module Figure 7 8a Message Ladder SBR Subroutine NOP Input Par IfAihOMsg Reset Input Par f4ihOMsg SourceSize Input If4ih0Msg SourceData The following rung resets the message paging logic If4inOMsg Reset CLR FLL If4ihOMsg ER Clear Fill File Dest If4ih0Msg Step Source 0 0 Dest If4ih0Msg DestinationData 0 If4ih0Msg Reset Length 256 XU The following rung initializes the message paging logic within the module CLR EQU Clear Dest Local 1 O MsgMasterControl 1640000 Equal Source If4ih0Msg Step 0 Source B 0 EQU Equal Source A Local 1 l MsgSlaveControl 16 0000 Source B 0 CLR Clear Dest f4in0Msg SourceBytesSent 3 OV Move Source Dest Local 1 0 MsgRequestSize 0 User s Manual 030021 5 03 Rev If4ihOMsg SourceSize 3 CLR Clear Dest If4ihOMsg SourceDatalndex 3 MOV Move Source 1
72. T Channel number are both valid User s Manual 030021 5 03 Rev A Chapter 7 Enabling and Using HART on the 1769sc IFAIHO 7 33 HART channel device information is available RUNNING vwill be sent back when all of the following conditions are met e Command and HART Channel number are both valid HART channel is enabled and communication has been established meaning at least the device addressing information is available e HART channel is already in the state of gathering device information Reply will be sent back without additional events triggered DEAD will be sent back if any of the following conditions is true e Command or HART Channel number is invalid HART channel is not enabled e HART communication has not been established meaning that the 5 byte unique address has not been determined yet e other conditioned not generating RUNNING or SUCCESS 7 4 2 HART Channel Suspension and Resume Sometimes referred to as Out of Service and In Service respectively these commands can be utilized to suspend or resume operation of an enabled HART channel When a suspend HART command is sent the HART module will keep the current HART configuration information and stop all communication processes on the selected channel However there are overriding conditions such as a configuration change which can cause the HART function to reset Normal HART operation will resume if the resume HART command is sent to the module duri
73. This rung resets the logic used to perform the Pass Through commands Reglnitiate QrySuccess Zt T Move Source 0 Section 7 5 HART Protocol Overview Dest If4ih0PassThruReqRX 1 0 MOV Move k Source 1 Dest If4ih0PassThruQryRX 1 1 ExecuteMessage If4ihOPassThruReqMsg Reset ALS Note The ladder in Figure 7 10 can be found in the project sample file located on our website at www spectrumcontrols com In order to read and write HART commands to and from the field device reliably using the IFAIH you must have a basic knowledge of the HART protocol This section will explain in detail the various pieces that make up the HART message and how to formulate the message and send it to the field device using the module specific Pass Through command which was described earlier in this chapter 7 5 1 Message Format HART protocol specifies a message structure as follows Figure 7 11 HART Message Structure Preamble Start Address Command Byte Status Data Checksum Character Count Note The HART protocol supports two different formats long and short frame Older HART instruments up to HART revision 4 used a short frame format In this format the address of the slave device is either 0 for non multidrop devices using the 4 20mA current signal or 1 15 for multidrop devices User s Manual 030021 5 03 Rev A 7 44 Compact 107 Iso
74. User s Manual 0300215 03 Rev A Compact O Isolated HART Analog Module Catalog Number 1769sc IFAIH e I t px VL c oO M T R L 5 Table of Contents TABLE CONTENTS S u S CHAPTER 1 MODULE OVERVIEW 1 1 SECTION 1 1 GENERAL DESCRIPTION nenne te lee diee ep 1 1 SECTION 1 2 DATA FORMA TS a as au anual alas ETE ENDE ERE Te hagas 1 1 SECTION 1 3 FILTER FREQUENCIES EFE EE FERE UR te D a NEC AP TERR Te e ERREUR 1 2 SECTION 1 4 HARDWARE 6 0000240 0 nnn nn a e n 1 2 T4 General Diagnostic Features RERO RERO E WIE be 1 3 SECTION 1 5 SYSTEM OVERVIEW i nunus qaqataqa sa te UN 1 3 LSA System Operation tee RE RR Ri Saa RU 1 3 SECTION 1 6 MODULE OPERATION 2 eret 1 4 CHAPTER 2 QUICK START FOR EXPERIENCED USERS 2 1 SECTION 2 BEFORE YOU BEGIN 2 1 SECTION 2 2 REQUIRED TOOLS AND 20000000 0 001 120000000000000000000000000000000 2 1 SECTION 2 3 WHAT YOU NEED TO DO coeno uw uen ev u a 2 1 CHAPTER 3 INSTALLATION AND WIRINGCG 3 1 SECTION 3 1 COMPLIANCE TO EUROPEA
75. Variable units code HART Primary Variable code HART Secondary Variable code HART Teitiary Variable code SNT NT DEC HART Fourth Variable code FLOAT transmitter range for analog signal in engineering units E High transmitter range foranalog signal in engineering units SI NT 4 DE Packet pad 32 bit ali gnment Chapter 7 Enabling and Using HART on the 1769sc IF4THO 7 1 Table 7 3 HART Packet 2 Tag Name 2 2 01 If4ih0Packet X 0 HartChannellD IfA4ihOPacket2 X 0 SlotO Data lIf4ih0Packet X 0 Slot1 Data IfAihOPacket2 X 0 Slot2 Data IfAihO0Packet2 X 0 Slot3 Data IfAihO0 Packet2 X 0 SlotO Units IfAihOPacket2 X 0 Slot1 Units IfAihOPacket2 X 0 Slot2 Units IfAihO Packet2 X 0 Slot3 Units lf4in0 Packet2 X 0 Slot0Assignment lf4ih0 Packet2 X 0 Slot1 Assignment lIf4ih0 Packet2 X 0 Slot2Assignment lf4ih0 Packet2 X 0 Slot3Assignment IfAihO Packet2 X 0 Pad 1 X represents the module channel number 010 3 Table 7 4 HART Packet 3 Tag Name If4ihO Packet3 If4ih Packet3 X 0 IfAihOPacket3 X 0 HartChannellD If4in0 Packet3 X 0 Message If4ihOPacket3 X 0 Pad 1 X represents the module channel number 0to 3 User s Manual 030021 5 03 Rev A Data Type Style Description Packet2 4 1 Wa dimensional array containing packet 2 data for all 4 channels Packet 2 data for channel X INT BIN Bits Oto 3 Channel number 0 3 Bit4
76. alizing HART device Bit5 HART communication failure or device not found Bit6 Pass through message pending ready Bit 7 Unused 0 Bits 8to 10 Packet ID Bit 11 through 15 Unused SINT 3 Stored date in the field device SINT 3 DEC The final assembly number is used for identifying materials electronics that comprise the field device SINT 24 DEC extended status returned by HART ere SINT 3 DEC Pad 32 bit alignment Note Not all of the HART data that is returned by the process outlined in Figure 7 3 Auto Acquisition Flow gets passed to the packets In order to access the data that is not passed to the packets you must execute the appropriate HART message using the pass through command which will be discussed later in this chapter The ladder determines which packet to copy the data to by monitoring the state of bits 0 1 2 and 8 9 10 found in the first two bytes of the Local X L HartData tag Bits 0 1 2 determine the current channel being scanned and bits 8 9 and 10 determine the packet number The ladder example shown in Figure 7 4 performs this operation User s Manual 030021 5 03 Rev A Chapter 7 Enabling Using HART the 1769sc IF4IH0 7 9 Figure 7 4 Packet Ladder Temporary Storage Array PS Synchronous Copy File Source Local 1l l HartData 0 Dest 0 40 The following rung reads the current channel number being scanned and stores the va
77. all three slot variables would be enabled EI Enable Interrupt Allows each channel s process alarm interrupts to be enabled AL Alarm Latch Allows latching of each channel s process alarms to be enabled EA Enable Alarm Enable process alarming on the associated channel Reserved Reserved for future expansion and should be set to zero EC Enable Channel Enable associated channel 6 4 4 Input Type and Data Format Words 3 9 15 21 This section of the configuration allows the user to define the input type i e 0 to 20mA 4 to 20 mA 0 to 10VDC etc and the data format for the associated channel Table 6 7 Input Type and Data Format To Select Input Type Reserved Data Type Reserved Make these bit settings 15 14 Las eoan ojo oio ee TT T a T Engineering unis __ _ er LESE Set To Zero Input Type Allows the user to configure the input type and range for the associated channel Note To enable HART you must select the 4 20 mA range User s Manual 0300215 03 Rev A 6 12 Compact IO Isolated HART Analog Input Module Reserved Reserved for future expansion and should be set to zero Data Format This selection allows the associated channel to present analog data in a
78. anual 0300215 03 Rev A 7 10 Compact 107 Isolated HART Analog Input Module Figure 7 5 Packet Ladder Continued The If4ihOPacket2 is a two dimmensional array The first dimmension is the channel number and the second dimmension is the packet structure which is defined by the Packet2 user defined data type When If4ihOPacketNumber is equal to 2 the data from If4ihOInput HartData is coppied to If4ihOPacket2 for the appropriate channel depending on the current value stored in the If4ih OChannelNumber EQU COP Equal Copy File Source If4ih0PacketNumber Source Temp0 0 0 Dest If4ihOPacket2 If4inOChannelNumber 0 Source B 2 Length 1 The If4ihOPacket3 is a two dimmensional array The first dimmension is the channel number and the second dimmension is the packet structure which is defined by the Packet3 user defined data type When If4in0PacketNumber is equal to 3 the data from IfAihOlnput HartData is coppied to If4in0Packet3 for the appropriate channel depending on the current value stored in the If4ih ChannelNumber EQU Equal File Source A If4ih0PacketNumber Source TempO 0 0 Dest If4ihOPacket3 If4ihoChannelNumber 0 Source B 3 Length 1 The If4ihOPacket4 is a two dimmensional array The first dimmension is the channel number and the second dimmension is the packet structure which is defined by the Packet4 user defined data type When If4in0PacketNumber is equal to 4 the data from
79. asured analog signal falls below the low process alarm setpoint The low process alarm setpoint is defined in Section 6 4 Module Configuration 6 3 9 Pad Word 7 Word 7 is not used and will always be zero This word is used to maintain 16 bit alignment 6 3 10 HART Data Words 8 to 27 This block of twenty words contains the multiplexed HART data for all four channels 6 3 11 Message Slave Control Word 28 The message slave control word controls how data is returned from the module after sending a message using output words 2 through 23 6 3 12 Message Reply Size Word 29 The message reply size indicates the number of bytes returned by the module after sending a message using output words 2 through 23 6 3 13 Message Reply Buffer Words 30 49 After sending a message to the module the response data for the message is stored in the message reply buffer 6 3 14 Reserved Words 50 71 Reserved for future expansion For more details refer to Chapter 7 User s Manual 030021 5 03 Rev A Chapter 4 Module Data Status Configuration 6 5 Section 6 4 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 The
80. ata to send Q ES Equal Less Than A lt B Source f4ihOMsg Step Source If4ih0Msg SourceBytesSent 0 3 Source B 3 Source Local 1 O MsgRequestSize 0 ADD MOV Add Move Source If4ih0Msg SourcePagelndex Source 1 1 Source B 1 Dest If4ih0Msg Step 0 Dest IfAihOMsg SourcePagelndex 1 User s Manual 030021 5 03 Rev A Chapter 7 Enabling Using HART the 1769sc IF4IH0 7 23 Figure 7 8h EQU Equal Source If4ih0Msg Step 0 Source B 3 If done sending data start reading response GEQ Grtr Than or Eql A gt B Source If4ih0Msg SourceBytesSent 3 Source Local 1 O MsgRequestSize 0 QU Equal Source If4ihOMsg Step 0 Source 4 User s Manual 0300215 03 Rev LR Clear Dest If4ih0Msg DestDatalndex 16 Clear Dest If4ih0Msg DestBytesSent 16 MOV Move Move 4 Source 1 Source 4 Dest If4ih0Msg DestPagelndex Dest If4ih0Msg Step 1 0 Check for message corruption AN EQ Bitwise AND Equal Source Local 1 1 MsgSlaveControl Source Temp1 1680000 256 Source 16 Source 16 Dest 1 256 IfAihOMsg ER EndNow gt 7 24 Compact IO Isolated HART Analog Input Module Figure 7 8i Wait for next response page EQU AND Equal Bitwise AND Source A If4ihOMsg Step Source Local 1 l MsgSlaveControl 0 16 0000 Source B 4 Source B 16 00FF
81. be two 2 instances of a HART pass through message being serviced meaning the pass through message queue is 2 deep The HART pass through response will be queued the moment the command is received if the queue spaces are not already in use and be dispatched after at least a full scan is done In other words after servicing a pass through the HART module will make sure all enabled HART channels have updated variable values before another pass through is placed into service HART pass through commands require a series of messages to be exchanged First a pass through command request must be sent to the HART module to initiate the pass through command The HART module will respond to the command request with a command request reply that includes a handle that can be used to obtain the pass through User s Manual 030021 5 03 Rev A Chapter 7 Enabling and Using HART on the 1769sc IF4THO 7 35 message response Once the handle is received the user may issue a Get Command Query to obtain the status of the pass through command and the pass through command response data if it is available There is a handle timeout associated with the final reply message After the HART module obtains the requested information from the HART device it will start a handle timeout timer Refer to Chapter 6 for information regarding how to set the handle timeout The reply message will be kept persistent during the handle timeout period When the handle tim
82. been established meaning that the 5 byte unique address has not been determined yet other conditioned not generating RUNNING or SUCCESS Examples are invalid handle handle timed out channel under device information gathering and etc The following ladder demonstrates how to perform the pass through request and query process Figure 7 10a Pass Through Ladder LES MOV Less Than A B Move Source A Channel Source 0 0 Source 0 Dest Channel GRT MOV Greater Than gt Move Source Channel Source 3 0 Source B 3 Dest Channel LoadCommand ExecuteMessage TON Delay Timer InitializeDelay s Preset 5000 5000 User s Manual 0300215 03 Rev A Chapter 7 Enabling Using HART the 1769sc IF4IH0 7 39 Figure 7 10b InitializeDelay DN User s Manual 030021 5 03 Rev A The following rung loads the field device address and initializes the Pass Through Request and Pass Through Query commands Source Channel 0 Dest If4ih0PassThruReqTX 0 0 Move Source 1 Dest IfdihOPassThruReqTX 1 1 Source 126 Dest If4ih0PassThruReqTX 2 126 MOV Move Source If4ihOPacketO Channel 0 ManufacturerlD 62 Dest If4ih0PassThruReqTX 3 66 If4ih0PassThruReqTX 3 7 If4inOPassThruReqTX 3 6 XU
83. being sent to the module not just the current page User s Manual 030021 5 03 Rev A 7 12 Compact 107 Isolated HART Analog Input Module Words 4 23 Message Request Buffer The message request buffer contains the data being sent to the module for the current page up to 38 bytes 7 3 2 Module Input Tags Used For Messaging The module utilizes 22 input words to receive messages and control data flow The table below shows the input words used by the module Refer to Chapter 6 for more information regarding input words 0 through 27 Table 7 7 Module Input Table 15 14 13 12 11 10 9 8 7 6 51413 12 t 0 0 Analog Input Data Channel 0 1 Analog Input Data Channeli 2 Analog Input Data Channel2 O Analog Input Data Channel 3 Time Stamp Value Not Used 7 8 27 30 49 50 71 1 Changing bit values supported by all controllers Refer to your manual for details Word 28 Message Slave Control Again the message slave control is used with the message master control to manage which pages are being sent and what direction the page is going that is whether the page is being sent to the module or read from the module Refer to Figure 7 5 for the layout The message slave control is also used to indicate if a message was rejected by the module If a message is rejected the lower 8 bits will be set i e FF Hex in the message slave control
84. ce B 256 256 lt Dest N7 2 39 lt Source A Source 2 3 lt Source B Dest N7 5 0 lt User s Manual 0300215 03 Rev A Chapter 8 Programming Examples 8 19 Figure 8 7i SOURCE PAGE INDEX ADD 0013 Less Than lt Add Source N7 5 Source N7 7 Source N7 8 0 lt 3 lt 1 lt Source B 2 Source B 1 3 Source 1 3 lt 3 lt 1 lt Dest N7 8 1 lt 0014 Grtr Than or Eql A gt B N7 5 Source N7 7 0 lt 3 lt Source 3 Source 0 13 3 lt 3 lt User s Manual 0300215 03 Rev 8 20 Compact IOTM Isolated HART Analog Input Module Figure 8 7j 0015 holding EQU 0016 Equal Bitwise AND Source A N7 5 Source A I 1 28 0 lt 0101h Source B 4 Source 255 4 lt 255 lt Dest N7 2 0027h lt User s Manual 030021 5 03 Rev A Chapter 8 Programming Examples 8 21 Figure 8 7k EQU 0017 Equal Source SUB Subtract Source Source B EQU 0018 Equal Source N7 5 0 lt 5 5 lt User s Manual 0300215 03 Rev 8 22 Compact IO Isolated HART Analog Input Module Figure 8 71 LES 0019 Equal Not Equal Less Than A lt B Source A N7 5 Source A N7 18 Source A N7 18 0 lt 16 lt 16 lt Source 5 Source 0 Source 38 5 lt 0 lt 38 lt User s Manual 0300215 03 Rev OP Copy File Source
85. ce is 0 4 mm 0 016 in Panel Mounting Procedure Using Modules as a Template The following procedure allows you to use the assembled modules as a template for drilling holes in the panel If you have sophisticated panel mounting equipment you can use the dimensional template provided on the previous page Due to module mounting hole tolerance it is important to follow these procedures 1 Onaclean 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 3 Return the assembled modules to the clean work surface including any previously mounted modules 4 Drill and tap the mounting holes for the recommended 4 or 8 screw 5 Place the modules back on the panel and check for proper hole alignment 6 Attach the modules to the panel using the mounting screws NOTE If mounting more modules mount only the last one of this group and put the others aside This reduces remounting time during drilling and tapping of the next group 7 Repeat steps to 6 for any remaining modules 3 5 3 DIN Rail Mounting The module can be mounted using the following DIN rails 35x 7 5 mm EN 50 022 35 x 7 5 e 35x 15 mm EN 50022 35 x 15 User s Manual 030021 5 03 Rev A Chapter 3 Installation Wiring 3 7 Before mounting the module on a DIN rail close the DIN rail latches Press the DIN rail mounting area of
86. ctronic components which are susceptible to damage from electrostatic discharge ESD An electrostatic charge can accumulate on the surface of ordinary plastic wrapping or cushioning material In the unlikely event that the module should need to be returned to Spectrum Controls please ensure that the unit is enclosed in approved ESD packaging such as static shielding metallized bag or black conductive container Spectrum Controls reserves the right to void the warranty on any unit that is improperly packaged for shipment For further information or assistance please contact your local distributor or call the Spectrum Controls technical Support at USA 425 746 9481 Declaration of Conformity Available upon request User s Manual 0300215 03 Rev Rockwell Automation Encompass Product Partner Global 2011 Spectrum Controls Inc All rights reserved Specifications subject to change without notice The Encompass logo and ControlLogix are trademarks of Rockwell Automation Corporate Headquarters Spectrum Controls Inc P O Box 6489 Bellevue WA 98008 USA Fax 425 641 9473 Tel 425 746 9481 Web Site www spectrumcontrols com E mail spectrum spectrumcontrols com rPEC T Pe MWI c L L zs User s Manual 0300215 03 Rev A
87. d Words 50 71 E AE erne sese ner essen tener nenne enters 6 4 SECTION 6 4 MODULE CONFIGURATION gt 6 5 6 4 1 Real Time Sample Value Word 0 a 6 6 6 4 2 General Configuration Bits Word 6 6 6 4 3 Filter Frequency and General Settings Words 2 8 14 2 6 7 6 4 4 Input and Data Format Words 3 9 15 21 nennen nennen 6 11 6 4 5 Process Alarm High Setpoint Words 4 10 16 22 eene nennen enne enne nennen 6 13 6 4 6 Process Alarm Low Setpoint Words 5 11 17 23 ener nente enne tenen 6 13 6 4 7 Process Alarm Deadband Words 6 12 18 24 6 13 6 4 8 Pad Words 7 13 19 25 ss seeded eie sea cec ties sed eee Ed ER Eee 6 14 6 4 9 Channel X HART Slot Variables 0 amp 1 Words 26 28 30 32 6 14 6 4 10 Channel X HART Slot Variables 2 amp 3 Words 25 27 31 33
88. d 2 ScanMSG Master Control Word 3 ScanMSG Request Size Word 4 23 ScanMSG Request Buffer Word 24 45 Reserved Bit 15 Bit 1 User s Manual 030021 5 03 Rev A 5 2 Compact IO Isolated HART Analog Input Module For example to obtain the general status for channel 2 of the module located in slot e use address I e 5 2 Figure 5 2 Address Example Slot Word j Bit Input File Type 5 2 Bit Element Delimiter Delimiter Word Delimiter NOTE The end cap does not use a slot address Section 5 2 Configuring the 1769sc IF4IH in a MicroLogix 1500 System This example takes you through configuring your 1769scIF4IH isolated HART analog input module with RSLogix 500 programming software assumes your module is installed as expansion I O in a MicroLogix 1500 system and that RSLinx is properly configured and a communications link has been established between the MicroLogix processor and RSLogix 500 version 5 or higher be used The LRP processor supports floating point files It is recommended that a 1764 LRP series C processor with firmware which is required to read floating point data from the IFAIH Attention Start RSLogix and create a MicroLogix 1500 application The following screen appears User s Manual 030021 5 03 Rev A Chapter 5 Configuring the IF4IH for A MicroLogix 1500 Using RSLogix 500 5 3 Processor Status runcten Fes
89. d EN 61131 2 EN55011 EN50082 2 and EN61000 6 2 EN60079 0 EN60079 15 ATEX EX nA IIC T4 Gc Il 3G lt Ta lt 60C DEMKO 11 ATEX 1103437x User s Manual 0300215 03 Rev A 4 Compact IO Isolated HART Analog Input Module User s Manual 030021 5 03 Rev A Appendix HART Universal Common Practice Commands COMMAND NUMBER DATA IN COMMAND TYPE DATA IN REPLY AND FUNCTION 0 Read unique none Byte 0 254 expansion identifier Byte 1 manufacturer identification code Byte 2 m r s device type code Byte 3 number of preambles Byte 4 universal command revision Byte 5 transmitter specific cmd revision Byte 6 software revision Byte 7 hardware revision H Byte 8 device function flags B Byte 9 11 device ID number 1 Read primary none Byte 0 PV units code variable Byte 1 4 primary variable F Read current and percent of range Byte 0 3 current mA F Byte 4 7 percent of range F 3 Read current and none Byte 0 3 current mA F four predefined Byte 4 PV units code dynamic variables Byte 5 8 primary variable F Byte 9 SV units code Byte 10 13 second variable F Byte 14 TV units code Byte 15 18 third variable F Byte 19 FV units code Byte 20 23 fourth variable F 6 Write polling addr Byte 0 polling address as in command 11 Read unique ident Byte 0 5 tag A as command 0
90. d Number 0x01 1 byte The command number to issue a HART pass through command HART Command N bytes The actual HART N Length of message 2 command PDU Contents are as follows Start or Delimiter 1 byte 0x82 Long form Address 5 bytes HART Command number 1 byte Request Data Count 1 byte Data Request Data Count bytes Checksum XOR of all bytes from delimiter on Delimiter is included User s Manual 030021 5 03 Rev A 7 36 Compact IO Isolated HART Analog Input Module Table 7 15 HART Pass Through Request Reply HART pass through command request reply packet structure Field Value Definition HART Channel Number 0x00 0x03 1 byte Module input channel number for HART command Status 1 byte Command status 32 Busy Queue is already full 33 DR INITIATE 35 DR DEAD bad request Count 1 byte Set to 1 Handle 1 byte The handle for 0 bad when status is DR DEAD command complete 1 255 good query 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 Command and HART Channel number are both valid HART channel is enabled and communication has been establi
91. date time See the block diagram below Figure 1 2 INPUT CIRCUIT 4 1Mb H SRAM p 16 64K Flash H Vin g Irtn amp 24V 2 5V 5 of REF 9 2 POWER SUPPLY 500VDC ISOLATION The module is designed to support up to 4 isolated channels which can be independently configured for voltage current or current with HART The module converts the analog values directly into digital counts which are viewed and accessed from within the PLC via controller input tags The HART data if enabled is converted directly to a block of twenty controller input tags The data within this block of twenty tags is multiplexed For information on HART and how to demultiplex the HART data refer to Chapter 7 User s Manual 030021 5 03 Rev A Section 2 1 Before You Begin Section 2 2 Required Tools and Equipment Section 2 3 What You Need To Do Chapter 2 Quick Start for Experienced Users This chapter can help you get started using the 1769sc IF4IH isolated HART analog input module We base the procedures here on the assumption that you have an understanding of Allen Bradley controllers You should understand electronic process control and be able to interpret the ladder logic instructions required to generate the electronic signals that control your application Because it is a start
92. determines the amount of noise rejection for the inputs A lower frequency 50 Hz versus 300 Hz provides better noise rejection and increases effective resolution but also increases channel update time A higher filter frequency provides lower noise rejection but decreases the channel update time and effective resolution When selecting a filter frequency be sure to consider cut off frequency and channel step response to obtain acceptable noise rejection Choose a filter frequency so that your fastest changing signal is below that of the filter s cut off frequency Common Mode Rejection is better than 60 dB at 50 and 60 Hz with the 50 and 60 Hz filters selected respectively or with the 28 5Hz filter selected The module performs well in the presence of common mode noise as long as the signals applied to the user positive and negative input terminals do not exceed the common mode voltage rating 500V of the module Improper earth ground may be a source of common mode noise NOTE Transducer power supply noise transducer circuit noise or process variable irregularities may also be sources of normal mode noise Effects of Filter Frequency on Channel Step Response The selected channel filter frequency determines the channel s step response The step response is the time required for the analog input signal to reach 100 of its expected final value given a full scale step change in the input signal This means that if an input signal change
93. dule Data Status and Channel Configuration After installing the 1769sc IFAIH isolated HART input module you must configure it for operation usually using the programming software compatible with the controller for example RSLogix 500 or RSLogix 5000 Once configuration is complete and reflected in the ladder logic you need to operate the module and verify its configuration This chapter contains information on the following e Module memory map Accessing input image file data Configuring channels Determining effective resolution and range Determining module update time The module uses fifty input words for data and status bits input image twenty four output words and thirty four configuration words Figure 6 1 Module Memory Map Input Image File Iss Input Image 72 Words Memory Map Bit 15 Bit 1 Word 0 Channel 0 Data Word Word 1 Channel 1 Data Word Word 2 Channel 2 Data Word Word 3 Channel 3 Data Word Word 4 Time Stamp Value Word 5 General Channel Status Word 6 Process amp Range Alarms Word 7 Pad Words 8 27 HART Packet Data Word 28 ScanMSG Slave Control Word 29 ScanMSG Response Size Words 30 49 ScanMSG Response Buffer Words 50 71 Reserved Configuration File Configuration 34 Words Bit 15 Bit 1 Word 0 Real Time Sample Word 1 Module Configuration Words 2 7 Channel 0 Configuration
94. e 7 Lock the end cap bus terminator 6 When attaching I O modules it is very important that the bus connectors are securely locked together to ensure proper electrical connection Attention A 1769 ECR or 1769 ECL right or left end cap respectively must be used to terminate the end of the 1769 communication bus Attention Step 3 Wire the module Reference Chapter 3 Installation and Wiring Follow the guidelines below when wiring the module General e Power and input wiring must be in accordance with Class 1 Division 2 wiring methods Article 501 4 b of the National Electric Code NFPA 70 and in accordance with the authority having jurisdiction e Channels are isolated from one another by 500V dc maximum Route field wiring away from any other wiring and keep it as far as possible from sources of electrical noise such as motors transformers contactors and ac devices As a general rule allow at least 15 2 cm 6 in of separation for every 120V of power Routing field wiring in a grounded conduit can reduce electrical noise e If field wiring must cross or power cables ensure that they cross at right angles Terminal Block e For voltage and current sensors use Belden 8761 shielded twisted pair wire or equivalent to ensure proper operation and high immunity to electrical noise e To ensure optimum accuracy limit overall cable impedance by keeping cable as short as possible Locate the mod
95. e at power up Attention 3 Atone end of the cable twist the drain wire and foil shield together bend them away from the cable and apply shrink wrap Then earth ground at the preferred location based on the type of sensor you are using See Grounding for more details 4 Atthe other end of the cable cut the drain wire and foil shield back to the cable and apply shrink wrap User s Manual 030021 5 03 Rev A 3 10 Compact IO Isolated HART Analog Input Module 5 Connect the signal wires to the terminal block Connect the other end of the cable to the analog input device 6 Repeat steps 1 through 5 for each channel on the module 3 7 6 Wiring Diagram Figure 3 7 V Voltage Input V 2 Wire Current Input 2 Wire XMTR 24V DC C Power Supply S T PE DEE 4 Wire Supply XMTR 4 Wire Current Input 3 7 7 Calibration The isolated HART module is initially calibrated at the factory User s Manual 030021 5 03 Rev A Section 4 1 Setting up the Generic Profile Chapter 4 Configuring the IF4IH for CompactLogix Using RSLogix 5000 This chapter explains how to incorporate the IFATH module into a CompactLogix system using RSLogix 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 You will use your RSLogix 5000 programming software to install and configure your HART module An Add On profile i
96. e following conventions are used throughout this manual e Bulleted lists like this one provide information not procedural steps Numbered lists provide sequential steps or hierarchical information e Italic type is used for emphasis e Bold type identifies headings and sub headings e Attention used to identify critical information to the reader User s Manual 0300215 03 Rev Section 1 1 General Description Section 1 2 Data Formats Chapter 1 Module Overview This chapter describes the 1769sc IF4IH isolated HART analog input module and explains how the module reads current voltage and current with HART input data Included is information about e module s hardware and diagnostic features e An overview of the system and module operation The IF4IH is a four channel isolated module that allows each channel to be configured independently for either current voltage or current with HART communication The module digitally converts and stores analog data from any combination mentioned above as well as HART data for channels configured for HART Each input channel is individually configured via software for a specific input device data format and filter frequency and provides over range and under range detection and indication The tables below list the input types and their associated ranges Table 1 1 Current Input Types to 20mA 4mA to 20mA Table 1 2 VoltageInput Types The data can be
97. e for use in an industrial environment when installed in accordance with these instructions Specifically this equipment is intended for use in clean dry environments Pollution degree 2 and to circuits not exceeding Over Voltage Category IEC 60664 1 3 3 1 Hazardous Location Considerations 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 Substitution of components may impair suitability for Class I Division2 Attention Do not replace components or disconnect equipment unless power has been switched off or the area is known to be non hazardous Do not connect or disconnect components unless power has been switched off or the area is known to be non hazardous This product must be installed in an enclosure All wiring must comply with N E C article 501 4 b 3 3 2 Prevent Electrostatic Discharge Electrostatic discharge can damage integrated circuits or semiconductors if you touch analog I O module bus connector pins or the terminal block on the input module Follow these guidelines when you handle the module Touch a grounded object to discharge static potential Wear an approved wrist strap grounding device Do not touch the bus connector or connector pins Do not touch circuit components inside the module If available use a static safe work station When
98. e 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 Only two masters are allowed for example a control system and a hand held communicator The most significant bit of the address field differentiates these two hosts Primary masters such as the IFAIH use address 1 and secondary masters such as handhelds use address 0 Please see figure below Figure 7 12 Long Frame Address Byte Byte 4 TUNE Device Type E Unique Device Identifier A Byte 0 L Least Significant Bits of Manufacturer ID Field Device in Burst Mode Master Address 0 Secondary Master 1 Primary Master Note The IF4IH does not support burst mode User s Manual 030021 5 03 Rev A Chapter 7 Enabling and Using HART on the 1769sc IF4THO 7 45 The 1 byte Device Type code is allocated and controlled by the manufacturer The 3 byte Device Identifier is similar to a serial number in that each device manufactured with the same Device Type Code must have a different Device Identifier The IFAIH automatically pulls for the device specific codes using the Auto acquisition process The device specific codes that are acquired using this process can be seen in Table 2 Command The command byte contains an integer 0 to hex
99. e module can be attached to the controller or an adjacent I O module before or after mounting For mounting instructions see Panel Mounting Using the Dimensional Template or DIN Rail Mounting To work with a system that is 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 NOTE If the module is being installed to the left of an existing module check that the right side adjacent module s bus lever is in the unlocked fully right position 3 Use the upper and lower tongue and groove slots 1 to secure the modules together or to a controller 4 Move the module back along the tongue and groove slots until the bus connectors 2 line up with each other 5 Push the bus lever back slightly to clear the positioning tab 3 Use your fingers or a small screwdriver 6 Toallow communication between the controller and module move the bus lever fully to the left 4 until it clicks Ensure it is locked firmly in place When attaching I O modules it is very important that the bus connectors are securely locked together to ensure proper electrical connection Attention 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
100. e used within the ladder program See figure below Figure 7 9 Message Flow Routine JSR Fig 7 9 Input Par Message Size Input Par Message Body i e Device Specific Command Return Par Message Done Return Par Message Response i e Temp Array The tables on the following pages show the format for each module specific command 7 4 1 Get HART Device Information The Get HART Device Information command is used to gather the device specific information for the connected HART device The data that is retrieved can be seen in Table 7 11 The information that is gathered by this command is similar to the information gathered from the auto acquisition process The key difference is that the Get HART Device Information command pulls the data that has been stored in the module RAM and not directly from the field device Table 7 9 Get HART Device Information Command HART Get Device Information command message packet structure Get currently cached Device Information for a given channel Field Value Definition HART Channel 0x00 0x03 1 byte Module input Number channel number for HART command Command Number 0x03 1 byte The command number to obtain HART device information User s Manual 030021 5 03 Rev A Chapter 7 Enabling and Using HART on the 1769sc IFAIHO 7 31 Table 7 10 Response If Device Information Is Not Available HART Get Device Information reply pac
101. ed we recommend that you use the provided MicroLogix 1500 sample project Refer to Chapter 8 for the sample project or visit our website at www spectrumcontrols com The sample project contains nine different subroutines which are used to perform various HART related tasks The following list describes the function of each subroutine within the project file Table 5 1 Ladder Routines Routine Description MAIN The main routine is the starting point for the ladder program The packets routine is used to demultiplex the HART data from the input file to individual integer files so that the data viewed used within the ladder program This routine is called from the MAIN routine This routine is used to send and receive messages to and MSG MOD from the module Refer to Chapter 7 for more details regarding sending and receiving messages This routine is called from the HART MSG routine Calculates the checksum for a message sent to the module SRC CHECK one page at a time This routine is called from the MSG TO MOD routine This routine calculates the checksum for a message DEST CHECKSUM received from the module one page at a time This routine is called from the MSG TO MOD routine This routine composes HART messages that will be sent to HART MSG the module field transmitter This routine is called from the MAIN routine Converts word data to its byte equivalent This routine is
102. eout timer expires the reply message will be discarded and another pass through message will be serviced without being rejected The user defined handle timeout is in the range of 1 to 255 seconds If the HART message being sent or received using the pass through command contains floating point values the order of the bytes must be reversed Attention Depending on the HART command the data contained within the HART message may include floating point numbers or double integers If a floating point or double integer is contained within the HART message the user must be aware that the order of the bytes that make up the float or double will need to be reversed The reason for this is related to how the bytes are stored in the Controllogix processor The Controllogix processor stores the bytes in memory in a format referred to as little endian Little endian is an order in which the little end least significant value in the sequence is stored first at the lowest storage address However HART devices transmit the byte data in the reverse order or as you may have guessed big endian Refer to Chapter 8 for a ladder sample demonstrating the process of swapping the order of the bytes Table 7 14 HART Pass Through Request Command HART pass through command request command message packet structure Field Value Definition HART Channel Number 0x00 0x03 1 byte Module input channel number for HART command Comman
103. er for HART to be active on any given channel the channel configuration must contain the following basic settings The channel must be enabled set for 4 to 20 mA and the enable HART checkbox must be checked See figure below User s Manual 030021 5 03 Rev A 7 2 Compact IO Isolated HART Analog Input Module Figure 7 1 Module Properties Local 1769sc IFAIH 2 1 BEE General Connection Module Configuration Channel Configuration Alarm Configuration Vendor Channel 0 1 2 3 Enable Channel v Enable HART Communication Range Type 410 20 m Enable Slot Variables No Slot Variables Format Eng Units Slot 0 Code 0 Module Fitter 60Hz Slot 1 Code 0 Slot 2 Code 0 Slot 3 Code 0 HART throughput time can be improved by disabling HART communication on unused channels or channels that include non HART devices Attention Section 7 2 HART Packet Data 7 2 1 How the Module Connects to a Field Device The HART input module behaves as a HART master in which case the field device is considered the slave In other words the master must initiate the communication with the field device and the device simply replies with an appropriate response Any given channel may have a master a secondary master hand held configuration tool and a slave connected simultaneously Please see Figure below User s Manual 030021 5 03 Rev A Chapter 7 Enabling
104. erminal block with the finger safe cover removed you may not be able to put it back on the terminal block because the wires will be in the way 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 14 to 22 AWG 0 68 Nm 6 in Ibs 0 46 Nm 4 1 in Ibs 194 F 1 63 to 0 65 mm Stranded 909 16 to 22 AWG 0 68 Nm 6 in Ibs 0 46 Nm 4 1 in Ibs 1949 1 63 to 0 65 mm Use supply wires suitable for 20 C above surrounding ambient Attention 3 7 5 Wiring the Module To prevent shock hazard care should be taken when wiring the module to analog signal sources Before wiring any module disconnect power from the system power supply and from any other source to the module Attention After the module is properly installed follow the wiring procedure below using the proper cable Belden 8761 Figure 3 6 To Module To Analog Input lt Cable lt Signal Wire Signal Wire eee Foil Shield Signal Wire Drain Wire Signal Wire To wire your module follow these steps 1 Ateach end of the cable strip some casing to expose the individual wires 2 Trim the signal wires to 2 inch 5 cm lengths Strip about 3 16 inch 5 mm of insulation away to expose the end of the wire Be careful when stripping wires Wire fragments that fall into a module could cause damag
105. essage After the module obtains the requested information from the HART device it will start the Handle Timeout timer The reply message will be kept in memory during the Handle Timeout period After the timeout occurs or after the message is retrieved by the pass through response query command the storage buffer will be discarded and another pass through message will be serviced without being rejected Handle Timeout is in the range of 0 to 255 seconds Note A handle timeout of zero is valid When set to zero the handle timeout will 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 pass through command is serviced e Two Channel Scans Pass through serviced once every two channel scans e Once Per Module Scan Pass through serviced once per module scan e Every Channel Scan Pass through serviced once every channel scan Note The pass through scheme can increase the HART packet update time if pass through messages are serviced every channel scan Refer to Chapter 7 for more details ETS Enable Time Stamp Allows module time stamping function to be enabled See section 6 3 2 for more details 6 4 3 Filter Frequency and General Settings Words 2 8 14 20 This section of the configuration allows the user to configure filter frequencies enable or disable the associated cha
106. essage i e word 20 if a full page Enter the size of the message to be sent to the module into the message request size output word Add a to the lower nibble of the message master control word i e 0001Hex The message master control should be zero when the message is started Wait for the module to reply that it has received the page without error by monitoring the second nibble of the message slave control 1 e 0100 If the lower nibble contains FF stop the process because the data is corrupted The first byte in the message response buffer will contain the paging error code Refer to Table 7 8 for a description of the errors Check to see if there are more pages to send by comparing the bytes sent to the message request size If so repeat steps 2 through 6 If not go to step 8 Monitor the lower nibble of the message slave control to see if the first page of the response data is ready 0101 Copy the first page of the response data from the message response buffer to a temporary array Take the exclusive OR of all the words within the page 19 max with the exception of the last word which is the checksum Compare the calculated checksum with the checksum stored in the last byte If they are equal go to step 11 If they are not stop the process because the data is corrupted Check to see if there is more response data remaining by comparing the bytes received to the message response size If so repeat steps 8 throu
107. ested to meet Council Directive 89 336 EEC Electromagnetic Compatibility EMC and the following standards in whole or in part documented in a technical construction file EN 50081 2 EMC Generic Emission Standard Part 2 Industrial Environment e EN 50082 2 EMC Generic Immunity Standard Part 2 Industrial Environment This product is intended for use in an industrial environment 3 1 2 Low Voltage Directive This product is tested to meet Council Directive 73 23 EEC Low Voltage by applying the safety requirements of EN 61131 2 Programmable Controllers Part 2 Equipment Requirements and Tests For specific information required by EN61131 2 see the appropriate sections in this publication as well as the following Allen Bradley publications e Industrial Automation Wiring and Grounding Guidelines for Noise Immunity publication 1770 4 1 e Automation Systems Catalog publication B113 3 1 3 CE Safety This product is designed to and verified compliance with European Union Safety Standards e EN61131 2 e EN61010 1 User s Manual 030021 5 03 Rev A 3 2 Compact IO Isolated HART Analog Input Module Section 3 2 Power Requirements The module receives power through the bus interface from the 5V dc 24V dc system power supply The maximum current drawn by the module is shown in the table below Module Current Draw at 5V dc at 24V dc 175 mA 60 mA Section 3 3 General Considerations Compact I O is suitabl
108. et0 X 0 If4ih0 PacketO X 0 HartChannellD If4in0 PacketO X 0 Manufacturerl D lf4ih0 PacketO X 0 Device Type If4ih0 PacketO X 0 NumPreambles IfAihOPacketO X 0 Universal Cmd Code lf4in0 PacketO X 0 XmitterRev If4in0 PacketO X 0 SwRev IfAihOPacketO X 0 HwR ev If4ihOPacketO X 0 HartFlags IfAih PacketO0 X 0 RangeUnits IfAihOPacketO X 0 Device SerialNumber If4in0 PacketO X 0 Device Tag If4ih0 PacketO X 0 Device Descriptor 1 X represents the module channel number 0 to 3 User s Manual 0300215 03 Rev A Data Type Style Description Packet0 4 1 e dim mensional array containing packet 0 data for all 4 channels Packet 0 data for channel X INT BIN 0103 Channel number 0 3 Bit 4 Searching Initializing HART device Bit 5 HART communication failure or device not found Bit 6 Pass through message pending ready Bit 7 Unused 0 Bits 8 to 10 Packet ID Bit 11 through 15 Unused SINT HART device Manufacturer ID SINT HART device type code SINT DEC Minimum number of preambles the device requires HART Universal command set 5 0 HART Transmitter specific revision HART device software revision number HART device hardware revision number HART flags Units code for range parameter HART device ID number 8 character device tag SINT 1 6 ASCII 7 6 Compact 107 Isolated HART Analog Input Module Table 7 2 HART Packet 1 Tag Name If4ih0Packett If4ih0Packet1 IfAihOPack
109. ett X 0 HartChannellD IfAihOPackett X 0 HartCo mmStatus If4ih Packet X 0 HartDevStatus IfAihOPackett X 0 HantPV lf4ihO Packett X 0 HartSV If4ih0 Packet X 0 HantTV If4ih0 Packett X 0 HanttFV If4ih0 Packet 0 HartP VUnits IfAihO Packet X 0 HartS VUnits 0 Hart T VUnits IfAihO Packet X 0 HartF V Units If4AihOPackett X O PV Assignment IfAihOPackett X 0 SV Assignment If4ih0Packet1 X 0 TV Assignment IfAihOPackett X O FV Assignment If4ih Packet X0 RangeLow X0 RangeHi If4ih Packet X 0 Pad 1 X represents the module channel number 0 to 3 User s Manual 030021 5 03 Rev A Data Type le Description Packet1 4 1 Two dimensional array containing packet 1 data for all 4 channels 288 p Packet 1 data for channel X Bits Oto 3 Channel number 0 3 Bit 4 Searching Initializing HART device Bit 5 HART communication failure or device not found Bit 6 Pass through message pending ready Bit 7 Unused 0 Bits 8to 10 Packet ID Bit 11 through 15 Unused pur 2 NT HART communication status byte Refer to appendix D for more details HART device status byte Referto appendix D formore details HART Primary Variable HART Secondary Variable HART Tertiary Variable LOAT Fourth Variable HART Primary Variable units code HART Secondary Variable units code HART Tertiary Variable units code DEC HART Fourth
110. fines slot variable 3 The HART slot variable is a floating point value that represents a device specific variable defined by the manufacturer for the connected HART field device This is an optional configuration setting and is not supported by all HART field devices For more information regarding slot variables refer to Chapter 7 Where X is the channel number 0 to 3 User s Manual 030021 5 03 Rev A Section 6 5 Output Data File Chapter 4 Module Data Status and Configuration 6 15 The output data file allows you to control module features such as clearing process alarms 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 Table 6 9 Output Data File Word Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 UH0 1 Packet Just Scanned 2 Message Master Control 3 Message Request Size 4 23 Message Request Buffer 24 45 Reserved 6 5 1 Unlatch Process High Alarms UH0 to UH3 Word 0 through UH3 will unlatch the high process alarms for channels 0 through 3 respectively Refer to section Filter Frequency and General Settings Words 2 8 14 20 for more information regarding setting the alarm latch function To unlatch the high process alarm on a given channel set the unlatch bit to 1 Note Setting the unlatch process alarm bit will not clear the alarm latch if the conditions that generated the alarm are sti
111. flags Word 7 contains the HART channel identification and status information Words 8 through 27 include the HART packet data Refer to Chapter 7 for information on how to demultiplex the HART packet data Input word 28 holds the message control Word 29 holds the message response size Words 30 through 49 hold the message response buffer Refer to Chapter 7 for more information regarding input words 28 through 49 You can access the information in the input image file using the programming software configuration screen For information on configuring the module in a MicroLogix 1500 system using RSLogix 500 see Chapter 5 and for the CompactLogix using RSLogix 5000 see Chapter 4 The input data file allows you to access module input data for use in the control program via word and bit access The data table structure is shown in the table below Table 6 1 Module Input Image WordBif 15 14 13 12 11 9 8 7 6 5 4 312 110 6 O CS 2 JJ J AnadoglnptDataChame2 L 3 J Analboginput Data Chamel3 4 Time Sam p 2 Value 5 053 052 051 05 ________ 53 52 5 50 gt or SEE Pad 16 bit alignment 1 Changing bit values is not supported by controllers Refer to your controller manual for details 6 3 1 Input Data Values Words 0 to 3 Data words 0 through 3 correspond to c
112. ge Terminal 24VDC continuous Current Terminal 28mA continuous 7 VDC Power Requirements Internal rack 5 V 175 mA Internal rack 24V 60 mA Fusing None Test Description Standard Class Limit Vibration Shock Unpack Shock amp Vibration op IEC 600 68 2 6 FC Class III Free Fall Unpackaged non op ICCG ES 001 A 600 68 2 32 1 Shock Unpackaged op 600 68 2 Class III Cat I 27Ea ICCG ES 002 A Packaging Tests NSTA Will test new packaging Temperature 0 to 60 Degree Temp Cycle op IEC 600 68 2 0 to 60 2 cycles Shr cycle 14Nb ICCG ES 006 C Thermal mapping of hot comp done at 60 deg C full load Storage Temperature 40 to 85 Degree C High temp non op IEC 600 68 2 2Bb ICCG ES 006 C 85 for 16hrs Low temp non op TEC 600 68 2 2Ab ICCG ES 006 C 40 for 16hrs User s Manual 030021 5 03 Rev A Appendix Specifications 3 Test Description Standard Class Limit Temp Cycle non op IEC 600 68 2 14Na ICCG ES 006 C 40 to 85 2 cycles 5hr cycle Humidity Pressure 5 to 95 RH non cond non op TEC 600 68 2 30 5 deg 95 24hrs Db op IEC 600 68 2 30 5 deg 95 24hrs Db ICCG ES 4008 B Section A 3 Regulatory Compliance UL 508 ANSI ISA 12 12 01 UL CUL Class I Div2 Group A B C D CSA Equiv CE compliance to EN 61010 1 an
113. gh 10 If not the message is finished To send another message clear the message master control and repeat the process A graphical representation of the process can be seen in Figure 7 6 and Figure 7 7 User s Manual 030021 5 03 Rev A 7 14 Compact IO Isolated HART Analog Input Module Up to 257 Bytes Up to 257 Bytes Up to 257 Bytes Figure 7 6 Sending Message Message to be sent First Page Second Page Message to be sent First Page Second Page Message to be sent First Page Second Page MsgMasterControl 00101 MsgSlaveControl 00100 Bytes sent lt gt MsgRequestSize MsgMasterControl 00102 MsgSlaveControl 01100 Bytes sent lt gt MsgRequestSize MsgMasterControl 00102 MsgSlaveControl 02100 Bytes sent MsgRequestSize If checksum is valid then ready to receive data from module User s Manual 030021 5 03 Rev A 38 Bytes 38 Bytes AAA 38 Bytes MsgMasterControl Hex RRISS RR Page Last Received SS Page Being Sent MsgRequestSize Total size of message in bytes up to 257 bytes MsgRequestBuffer One page of data being sent to module Last byte is page checksum 1 page 38 bytes max MsgMasterControl Hex RRISS RR Page Last Received SS Page Being Sent MsgRequestSize Total size of message in bytes up to 257 bytes MsgRequestBuffer One page of da
114. h of handle HART response HART PASS THRU QRY RX 3 Length of handle HART response data Byte 2 HART PASS THRU QRY RX4 02 HART PASS THRU QRY RXb 86 Star charter HART PASS THRU QRY RX 6 Long address byte 0 HART PASS THRU QRY RX7 02 j Longaddress byte 1 HART PASS THRU QRY 8 Long address byte 2 HART PASS THRU_QRY_RX 9 Long address byte 3 HART PASS THRU_QRY_RX 10 Long address byte 4 HART PASS THRU QRY RX 1 1 23 HART command 35 decimal HART PASS THRU QRY RX 12 08 Byte count 11 decimal HART PASS THRU QRY RXi3 ___00 Status Byte 0 HART PASS THRU QRY RX14 00 Status Byte 1 HART PASS THRU QRY 15 Range units code 32 decimal HART PASS THRU QRY 16 m HART PASS THRU 7 Upper Range value This is a floating HART PASS THRU point value 600 Note The bytes in reverse order HART PASS THRU _ 5 THRU Lower Range value This is a floating HART PASS THRU RX 21 HART PASS THRU ORY 22 150 Note bytes reverse order HART PASS THRU QRY RX 23 00 HART PASS THRU QRY RXQ 24 F9 Checksum User s Manual 030021 5 03 Rev A Chapter 7 Enabling and Using HART on the 1769sc IF4THO 7 47 User s Manual 030021 5 03 Rev A 7 48 Compact IO Isolated HART Analog Input Module User s Manual 030021 5 03 Rev A Chapter 8
115. hannels 0 through 3 and contain the converted analog input data from the input device The most significant bit bit 15 is the sign bit SGN 6 3 2 Time Stamp Value Word 4 The time stamp value represents the instant in time that the current input data was read The time stamp value is measured in milliseconds from 0 to 32767 When the value reaches 32767 the timer will roll over to 0 and then the process will repeat 6 3 3 General Status Bits S0 to S3 Word 5 Bits 50 through 53 of word 5 contain the general status information for channels 0 through 3 respectively If set 1 this bit indicates an error over or under range low or high alarm or channel data not valid The data not valid condition is described below User s Manual 030021 5 03 Rev A Chapter 4 Module Data Status Configuration 6 3 Input Data Not Valid Condition The general status bits S0 to S3 also indicate whether or not the input data for a particular channel 0 through 3 is being properly converted valid by the module This invalid data condition can occur bit set when the download of a new configuration to a channel is accepted by the module proper configuration but before the A D converter can provide valid properly configured data to the 1769 bus master controller The following information highlights the bit operation of the Data Not Valid condition 1 The default and module power up bit condition is reset 0 2 The bit conditio
116. he unpacked ASCII byte to the double word containing the packed ASCII characters Pcontrol dn CTU J Count Up Counter BitCounter CDND Preset 6 Accum 0 This rung causes the process to advance to the next byte in the unpacked ASCII string EQU BitCounter Equal CRES Source BitCounter ACC ADD Source B Add Source Byte 0 Source B 1 Dest Byte 0 User s Manual 0300215 03 Rev A Chapter 8 Programming Examples Figure 8 4b After all four bytes have been packed this rung stops the packing process resets the ladder and copies the result into a 4 byte array Result Note The first bye in the result is 0 and should be ignored EQU Pack Equal U gt Source Byte 0 4 SWPB Swap Byte Source PackedAscii 0 0 Order Mode REVERSE Dest PackedAscii 0 0 r COP Copy File Source PackedAscii 0 Dest Result 0 Length 4 CLR Clear Dest Byte FLL Fill File Source 0 Dest PackedAscii 0 Length 1 User s Manual 030021 5 03 Rev A 8 6 Compact IO Isolated HART Analog Input Module Section 8 2 MicroLogix 1500 The following ladder samples provide a working HART solution for the MicroLogix 1500 when used with the IFAIH module The following table briefly describes each routine in the project file It is recommended that a 1764 LRP series C processor with firmware version 5 or higher be u
117. he data structure for HART packet 3 HART packet 3 displays the ASCII message for the connected HART device Defines the data structure for HART packet 4 HART packet 4 contains the extended status for the connected HART device Section 4 4 Project Tags The project tags were created to simplify the configuration of the module Some of the tags defined in the sample project utilize the user defined data types described in the previous section The user defined tags from the controller scope should be copied to your project before the tags contained in the individual program sections Open the controller tags on the sample project and select the edit tags mode Grab the tags you want to copy by using the left mouse button and dragging See figure below Refer to Chapter 6 for more details Refer to Chapter 7 for more details User s Manual 030021 5 03 Rev A Chapter 4 Configuring the IF4IH for CompactLogix Using RSLogix 5000 4 9 Section 4 5 Sample Project Ladder Figure 4 8 Copying Controller Tags Sample Your Project Project P Tag Name paste tags lf4ih Packetl Min Packet2 4 Mih Packet3 3 AMih P ass ThruQyR Hdih PassThrur TX If4ih0PassThuReqMso N lfdihOPassT hruReghx After copying the controller tags you can copy the program tags next Follow the same procedure shown in Figure 4 8 The
118. he low alarm value and subtracted from the high alarm value In both cases the resulting value must User s Manual 030021 5 03 Rev A 6 14 Compact IO Isolated HART Analog Input Module be reached to clear the associated alarm state For example if the high alarm was defined to be 95 and the deadband was 3 a high alarm state would not be cleared until the measured analog signal reached 92 The deadband range can be described by the following graph Figure 6 3 Alarm Deadband Deadband 6 4 8 Pad Words 7 13 19 25 The pad is used to enforce 32 bit alignment of the configuration data Note The pad should be set to zero at all times 6 4 9 Channel X HART Slot Variables 0 amp 1 Words 26 28 30 32 This word defines HART slot variables 0 and 1 for the selected channel The first byte defines slot variable 0 and the second defines slot variable 1 The variable is defined as a hexadecimal value between 0 and FF The HART slot variable is a floating point value that represents a device specific variable defined by the manufacturer for the connected HART field device This is an optional configuration setting and is not supported by all HART field devices For more information regarding slot variables refer to Chapter 7 6 4 10 Channel X HART Slot Variables 2 amp 3 Words 25 27 31 33 This word defines HART slot variables 2 and 3 for the selected channel The first byte defines slot variable 2 and the second de
119. iguration and information screens to the user to simplify installation Follow the procedure below to install and use the Add On profile Module firmware 2 0 and greater is required in order to use the Add On profile Attention 4 2 1 Installing the Add On profile 1 Download the zipped file from the Spectrum Controls website and unzip the file http www spectrumcontrols com pdfs abio SC 1769sc IFAIH DTM 1 0 0 3 Setup zip User s Manual 030021 5 03 Rev A 4 6 Compact IO Isolated HART Analog Input Module 3 2 Open the created folder and double click on the MPSetup exe file Mame lt O InstallNotes license mp E autorun inf S MPSetupCHS dll X MPSetupDEU dll S MPSetupENU dll X MPSetupESP dll S MPSetupFRA dli X MPSetupITA dll S MPSetupJPN dl S MPSetupk OR dll S MPSetupPTE dll Follow the online prompts 4 2 2 Adding the IFAIH Module To Your Logix Project Once the profiles are installed you can access them through RSLogix 5000 via the I O Configuration Follow the procedure below to add a module 1 In the I O Configuration right mouse click on the 1769 CompactBus and select New Module 5 69 1 0 Configuration m Backplane CompactLogix System 4 1769 135 test 1769 L35E Ethernet Port LocalENB Ethernet Description Status Offline Module Faut New Module Cross Reference Properties Alt Enter
120. input signal range to a 0 to 16383 range which is standard to the PID algorithm for the MicroLogix 1500 and other Allen Bradley controllers e g SLC For example if a 4 to 20 mA input type is selected 4 mA corresponds to 0 counts and 20 mA corresponds to 16384 counts Percent Range Input data is presented to the user as a percent of the specified range The module scales the input signal range to a 0 to 10000 range For example if a 4 to 20 mA input type is selected 4 mA corresponds to 0 counts and 20 mA corresponds to 10000 counts User s Manual 030021 5 03 Rev A Chapter 4 Module Data Status Configuration 6 13 Table 6 8 Data Formats Input Range Signal d tional PID Full Scale 10 500V 32767 10500 410 10500 10 000V 31207 10000 0 10000 10 000V 31207 10000 16383 10000 10 500V 32767 10500 16793 10500 0 500V 32767 500 1638 1000 0 to 5V 0 000V 27068 0 0 0 5 000V 29646 5000 16383 10000 5 250V 32767 5250 17202 10500 0 500V 32767 500 819 500 0 to 10V 0 000V 29788 0 0 0 10 000V 29646 10000 16383 10000 10 500V 32767 10500 17202 10500 3 200mA 32767 3200 819 500 4 to 20mA 4 000mA 29822 4000 0 0 20 000mA 29085 20000 16383 10000 21 000mA 32767 21000 17407 10625 0 500V 32767 500 2048 1250 1to5V 1 000V 25869 1000 0 0 5 000V 29318 5000 16383 10000 5 250V 32767 5250 17407 10625 0 00
121. into the door Your markings ID tag will be visible when the module door is closed 3 7 3 Removing and Replacing the Terminal Block When wiring the module you do not have to remove the terminal block If you remove the terminal block use the write on label located on the side of the terminal block to identify the module location and type Figure 3 5 To remove the terminal block loosen the upper and lower retaining screws The terminal block will back away from the module as you remove the screws When replacing the terminal block torque the retaining screws to 0 46 Nm 4 1 in Ibs 3 7 4 Wiring the Finger Safe Terminal Block When wiring the terminal block keep the finger safe cover in place 1 Loosen the terminal screws to be wired 2 Route the wire under the terminal pressure plate You can use the bare wire or a spade lug The terminals accept a 6 35 mm 0 25 in spade lug User s Manual 030021 5 03 Rev A Chapter 3 Installation Wiring 3 9 NOTE The terminal screws are non captive Therefore it is possible to use a ring lug maximum 1 4 inch o d with a 0 139 inch minimum i d M3 5 with the module 3 Tighten the terminal screw making sure the pressure plate secures the wire Recommended torque when tightening terminal screws is 0 68 Nm 6 in lbs NOTE If you need to remove the finger safe cover insert a screwdriver into one of the square wiring holes and gently pry the cover off If you wire the t
122. ion data If an invalid configuration is detected the module generates a configuration error Once a channel is properly configured and enabled it continuously converts the input data to a value within the range selected for that channel Each time a channel is read by the input module that data value is tested by the module for an over range under range open circuit or input data not valid condition If such a condition is detected a unique bit is set in the channel status word The channel status word is described in Section 6 3 Input Data File Using the module image table the controller reads the two s complement binary converted input data from the module This typically occurs at the end of the program scan or when commanded by the control program If the controller and the module determine that the data transfer has been made without error the data 15 used in the control program User s Manual 030021 5 03 Rev A 1 4 Compact M IO Isolated HART Analog Input Module Section 1 6 Module Operation When the module receives the input from an analog device the module s circuitry multiplexes the input into an A D converter The converter reads the signal and converts it as required for the type of input If HART is enabled on a channel the HART data is acquired my means of an onboard HART modem Note The HART data is acquired asynchronously from the analog acquisition process and therefore does not directly effect the analog up
123. ket structure Field Value Definition HART Channel 0x00 0x03 1 byte Module input Number channel number for HART command Status 1 byte Command status 34 DR RUNNING 35 DR DEAD bad request Count 1 byte Set to 1 Handle 0 Fill byte of zero to keep command response common among all replies User s Manual 030021 5 03 Rev A 7 32 Compact IO Isolated HART Analog Input Module Table 7 11 Response When Device Information Is Available HART Get Device Information reply packet structure Field Value Definition HART Channel Number 0x00 0x03 1 byte Module input channel number for HART command Status 00 SUCCESS Command status Count 1 byte Number of data bytes to following HART 1 byte CMD 0 Byte 1 ManufacturerIDCode HARTDeviceTypeCode 1 byte CMD 0 Byte 2 HARTPreamble 1 byte CMD 0 Byte 3 HARTUnivCmdCode 1 byte CMD 0 Byte 4 HARTTransSpecRev 1 byte Byte 5 HARTSoftwareRevision 1 byte CMD 0 Byte 6 HARTHardwareRevision 1 byte CMD 0 Byte 7 HARTFlags 1 byte CMD 0 Byte 8 Pad for 32 bit alignment 1 byte HARTDevicelDNumber 3 bytes Device ID CMD 0 Bytes 9 11 number Pad for 32 bit alignment 1 byte HARTTag 8 bytes unpacked CMD 13 Bytes 0 5 ASCII HARTDescriptor 16 bytes unpacked CMD 13 Bytes 6 17 ASCID HARTDate 3 bytes CMD 13 Bytes 18 20 Pad for 32 bit alignment 1 byte
124. ladder contained in the sample project is used to perform several different operations The main routine in the MainProgram is used to jump to the routines that copy the multiplexed HART data from the module The f4ihO_Packet_Data routine in the MainProgram contains the ladder that demultiplexes the HART data for each individual packet Refer to Chapter 7 for more information on HART and the HART packets The f4ih0Messaging program contains several routines needed to send and receive HART messages to and from the module and the connected HART devices To copy any of the ladder programs or routines follow the procedure below 1 Selectthe program or routine 2 Right mouse click and select copy 3 Goto your project and select the appropriate program or task to place the new routine or program 4 Right mouse click and select paste User s Manual 030021 5 03 Rev A 4 10 Compact IOTM Isolated HART Analog Input Module The figure below outlines this procedure Figure 4 9 Copying Routines or Programs Sample Project B File Edit Search Logic Communications Tools alsa Hele gt lt gt D aun RA s t 41 H No Edits a F Uo 1 Controller HartSample Controller Tags 3 Controller Fault Handler Power Up Handler Tasks 5 68 MainTask EE MainProgram Program Tags MainRoutine Es CS IF4ih0Mes
125. lated HART Analog Input Module HART revision 5 introduced the long frame format In this format the address of a slave device is a worldwide unique 38 bit number derived from the manufacturer code the device type code and the device identification number The long frame format provides extra security against acceptance of commands meant for other devices due to external interference or excessive crosstalk The IFAIH supports only the long frame format Each item of the message structure shown above is explained as follows Preamble The preamble consists of three or more hexadecimal FF characters all 1s allowing the receiving modem to get its frequency detection circuits synchronized to the signal after any pause in transmission Note The preamble does not need to be included in the HART message when using the module specific Pass through command The Pass through command already includes the preamble Start Character The start character in a HART message has various values indicating which frame format is being used the source of the message and whether a field device is in burst mode The possible definitions are shown in the table below Table 7 19 Start Character Definition Short Frame Long Frame Master to slave 02 Hex 82 Hex Slave to master 06 Hex 86 Hex Burst mode from slave 01 Hex 81 Hex Address The address field contains both the host and field device addresses for the message Thes
126. ler Redundancy Enabled Lhassis lupe z slot C RSLogix 50004Projects 2 Choose your controller type and enter a name for your project then click OK The following main RSLogix 5000 screen appears User s Manual 0300215 03 Rev A Chapter 4 Configuring the IF4IH for CompactLogix Using RSLogix 5000 4 3 TA 1 1709 398 Ethernet Port LocalENE Compacttus Local cn E GRON Ehre Most o mand E Adobe 7 RB Rog 000 Gen Mars 3 Inthe ControllerOrganizer on the left of the screen right click on 0 CompactBus Local select New Module and the following screen appears Figure 4 4 x Type Major Revision f1769 MODULE fi Description 12 Point 240 AC Input 16 Point 24V DC Input Sink Source B Point 24V DC Sink Source Input 4 Point AC DC Relay Output B Point 24V DC Sink Source Input 4 Point AC DC Relay Output B Channel RTD Direct Resistance Analog Input 6 Channel Thermocouple mV Analog Input Generic 1769 Module 1769 041674 16 Point 100 240 AC Output 1769 04874 8 Point 100 240 AC Output 1 769 048 B 8 Point 100 240 AC Output 1769 08164 16 Point 24 DC Output Source 1723 0816 8 16 Point 24V DC Output Source Show Vendor Other V Specialty 1 0 Select All Z Analog V Digital v Communication Motion V Controller Clear All User s Manual 030021 5 03
127. lever 2a upper panel mounting tab 2b lower panel mounting tab 3 module status LED 4 module door with terminal identification label User s Manual 030021 5 03 Rev A Section 1 5 System Overview Chapter 1 Module Overview 1 3 5a movable bus connector bus interface with female pins 5b stationary bus connector bus interface with male pins 6 nameplate label upper tongue and groove slots 70 lower tongue and groove slots 8a upper DIN rail latch 8b lower DIN rail latch 9 write on label for user identification tags 10 removable terminal block RTB with finger safe cover 10a RTB upper retaining screw 10b RTB lower retaining screw 1 4 1 General Diagnostic Features The module contains a diagnostic LED that helps you identify the source of problems that may occur during power up or during normal channel operation The LED indicates both status and power Power up and channel diagnostics are explained in Chapter 9 Diagnostics and Troubleshooting The modules communicate to the controller through the bus interface The modules also receive 5 and 24V dc power through the bus interface 1 5 1 System Operation At power up the module performs a check of its internal circuits memory and basic functions During this time the module status LED remains off If no faults are found during power up diagnostics the module status LED is turned on After power up checks are complete the module waits for valid channel configurat
128. ll present Note It is up to the user to keep the unlatch bit set until verification that the process alarm bit has cleared When the process alarm bit has cleared the user can then clear the unlatch process alarm bit Note The module will not latch the high process alarm if a transition from alarm condition to alarm condition occurs while the unlatch high process alarm bit is set 6 5 2 Unlatch Process Low Alarms ULO to UL3 Word 0 ULO through UL3 will unlatch the low process alarms for channels 0 through 3 respectively Refer to section Filter Frequency and General Settings Words 2 8 14 20 for more information regarding setting the alarm latch function To unlatch the low process alarm on a given channel set the associated unlatch alarm bit to 1 Note Setting the unlatch process alarm bit will not clear the alarm latch if the conditions that generated the alarm are still present Note It is up to the user to keep the unlatch bit set until verification that the process alarm bit has cleared When the process alarm bit has cleared the user can then clear the unlatch process alarm bit Note The module will not latch the low process alarm if a transition from alarm condition to alarm condition occurs while the unlatch low process alarm bit is set 6 5 3 Hart Suspend HSO to HS3 Word 0 HSO to HS3 are used to suspend all HART acquisition except Pass through messages on channels 0 through 3 respectively
129. lue in the tag MVM Masked Move Source 0 0 Mask 3 Dest If4ihOChannelNumber 0 The following rung reads the HART packet number and stores the value in the If4inOPacketNumber tag MVM Masked Move Source 1 0 7 Dest If4ih0PacketNumber 0 The If4ihOPacket0 is a two dimmensional array The first dimmension is the channel number and the second dimmension is the packet structure which is defined by the user defined data type When If4ihOPacketNumber is equal to 0 the data from If4ihOInput HartData is coppied to If4ihOPacketO for the appropriate channel depending on the current value stored in the IfAihOChannelNumber EQU COP Equal Copy File Source A If4ihOPacketNumber Source TempO 0 0 Dest If4ihOPacketO If4dihOChannelNumber 0 Source 0 Length 1 The If4ih0Packet1 is a two dimmensional array The first dimmension is the channel number and the second dimmension is the packet structure which is defined by the Packet1 user defined data type When If4ih0PacketNumber is equal to 1 the data from IfAihOlnput HartData is coppied to If4in0Packet1 for the appropriate channel depending on the current value stored in the IfA4ihOChannelNumber QU Equal Source If4ihOPacketNumber 0 Copy File Source 0 Dest If4ih0Packet1 If4ih0ChannelNumber 0 1 Source 1 Length User s M
130. m command complete query HART Command Size is the entire HART device response size The HART device s Response Data in bytes The size does not include preambles response to the bytes command if Success User s Manual 030021 5 03 Rev A 7 38 Compact IO Isolated HART Analog Input Module 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 The conditions for each response are as follows SUCCESS will be sent back under the following conditions Command and HART Channel number are both valid HART channel is enabled Command handle matches currently active handle and the handle is in the HOLD state After replying with a SUCCESS the handle will become inactive thus allowing for next pass through or host initiated update of device information RUNNING will be sent back under the following conditions Command and HART Channel number are both valid HART channel is enabled Command handle matches currently active handle HART channel is already in the state of handling a pass through command Reply will be sent back without additional events triggered DEAD will be sent back if any of the following conditions are true Command or HART Channel number is invalid HART channel is not enabled HART communication has not
131. mm Assembly Size Parameter Module Format Instance 16 Bit IFAIH Data INT Input 101 72 Output 100 46 Config 102 34 Enter the Assembly Instance numbers and their associated sizes for the 1769sc IF4IH module into the Generic Profile When complete the Generic Profile for a 1769sc IFAIH module should look like the following User s Manual 030021 5 03 Rev A Chapter 4 Configuring the IF4IH for CompactLogix Using RSLogix 5000 4 5 Section 4 2 Using The Add On Profile Figure 4 6 Module Properties Local 1 1769 MODULE 1 1 General Connection Type 1769 MODULE Generic 1769 Module Parent Local Connection Parameters Assembly Instance Size Name Input 101 72 Description 4 Channel Isolated Input with Dutput 100 46 E 16 bit HART Configuration 102 34 H 16 bit Comm Format Slot 1 H Status Offline Cancel Apply Help 7 Atthis point you may click Finish to complete the configuration of your I O module Configure each I O module in this manner The CompactLogix5320 controller supports a maximum of 8 I O modules The valid slot numbers to select when configuring I O modules are 1 through 8 For RSLogix 5000 version 15 and greater an Add On module profile is available for download at http www spectrumcontrols com downloads htm The Add On profile allows the user to add the IF4TH module to the RSLogix 5000 module pick list The profile provides conf
132. mouse click and select paste Open the routine in your project where you wish to place the new rungs Select the paste point by left mouse clicking 5 8 Compact IOTM Isolated HART Analog Input Module Figure 5 10 Copying Ladder Sample Your Proiect Proiect Copy and paste Processor Status function pase MIB Configuration Progen fies B svso 2 0 3 Onto fies Bl cross Reterence co outrur D D 16 conmo D recen re roat 5 3 3 Importing Tag Database and Rung Comments 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 Open the sample project and your project 2 Inthe sample project go to the tools menu select database and then select ASCII export See image below File Edit View Search Comms Tools Window Help D a Eb X Ba Options 8 4 U oit 3 2 lt gt 4 gt QD OFFLINE No Forces Delete Unused Memory Noea Forces Enable ASCII Export ASCII Import Driver AB_DF1 2 Security Native Import Visual Basic 2 zy Project Compare Delete DB Help FactoryTalk Diagnostics Delete Unused Addr Controller
133. n is set 1 when a new configuration is received and determined valid by the module The set 1 bit condition remains until the module begins converting analog data for the previously accepted new configuration When conversion begins the bit condition is reset 0 The amount of time it takes for the module to begin the conversion process depends on the number of channels being configured and the amount of configuration data downloaded by the controller NOTE If the new configuration is invalid the bit function remains reset 0 and the module posts a configuration error See Configuration Errors on page 9 4 3 If A D hardware errors prevent the conversion process from taking place the bit condition is set 1 6 3 4 Out of Service Status Bits OSO to OS3 Word 5 Bits SOO through SO3 of word 0 indicate whether the associated channel is out of service i e automatic HART acquisition is suspended Note A channel that is placed out of service i e Suspended will automatically resume service after three minutes as long as no pass through commands are issued before the three minutes expires 6 3 5 Over Range Flag Bits O0 to O3 Word 6 Over range bits for channels 0 through 3 are contained in word 6 even numbered bits They apply to all input types When set 1 the over range flag bit indicates an input signal that is at the maximum of its normal operating range for the represented channel or sensor The module automatically reset
134. nd as in command additional status sensor serial number as in command PV transmitter variable code SV transmitter variable code TV transmitter variable code FV transmitter variable code Appendix HART Universal Common Practice Commands B 3 COMMAND NUMBER DATA INCOMMAND TYPE DATA IN REPLY TYPE AND FUNCTION Write dynamic Byte 0 PV transmitter variable code as in command variable Byte 1 SV transmitter variable code assignments Byte 2 TV transmitter variable code Byte 3 FV transmitter variable code 52 Set transmitter Byte 0 transmitter variable code as in command variable zero 53 Write transmitter Byte 0 transmitter variable code as in command variable units Byte 1 transmitter var units code 54 Read transmitter Byte 0 transmitter variable code Byte 0 transmitter variable code variable Byte 1 3 transm var sensor serial number information Byte 4 transm var limits units code Byte 5 8 transm variable upper limit F Byte 9 12 transm variable lower limit F Byte 13 16 transm var damping value sec F 55 Write transmitter Byte 0 transmitter variable code as in command variable damping Byte 1 4 transmitter variable value damping value sec F Write transmitter Byte 0 transmitter variable code variable sensor Byte 1 3 transmitter variable sensor serial number serial number as in command
135. ng a HART suspension Note The HART suspend and resume can be initiated by setting a bit in the output image Refer to Chapter 6 for more details Note If the resume command is received without previously receiving a suspension command it will be ignored Note The selected channel will resume normal HART operations three minutes after the suspension command has been received by the module Pass through for that channel resets the timer to 3 minutes Table 7 12 HART Suspend Resume HART Channel Suspend Resume command request command message packet structure Field Value Definition HART Channel 0x00 0x03 1 byte Enabled HART Number OxFF 1 Apply to all 8 channels channel number Command Number 1 byte The command 0x05 Suspend Set service mode number to suspend 0x06 Resume Reset service mode or resume User s Manual 030021 5 03 Rev A 7 34 Compact IOTM Isolated HART Analog Input Module Table 7 13 HART Suspend Resume Reply HART Channel Suspend Resume command request reply packet structure Field Value Definition HART Channel 0x00 0x03 1 byte Echo of the HART Number OxFF 1 Apply to all 8 channels channel number received Status 1 byte Command status 00 SUCCESS 35 DEAD Count 1 byte Set to 1 Handle 0 Fill byte of zero to keep command response common among all replies The command status the second byte in the reply packet for the mod
136. ng procedures Actively thinking about the safety of yourself and others as well as the condition of your equipment is of primary importance The following sections describe several safety concerns you should be aware of when troubleshooting your control system Never reach into a machine to actuate a switch because unexpected motion can occur and cause injury Remove all electrical power at the main power disconnect switches before checking electrical connections or inputs outputs Attention f causing machine motion 9 1 1 Indicator Lights When the green LED on the module is illuminated it indicates that power is applied to the module and that it has passed its internal tests 9 1 2 Stand Clear of Equipment When troubleshooting any system problem have all personnel remain clear of the equipment The problem could be intermittent and sudden unexpected machine motion could occur Have someone ready to operate an emergency stop switch in case it becomes necessary to shut off power 9 1 3 Program Alteration There are several possible causes of alteration to the user program including extreme environmental conditions Electromagnetic Interference EMI improper grounding improper wiring connections and unauthorized tampering If you suspect a program has been altered check it against a previously saved master program 9 1 4 Safety Circuits Circuits installed on the machine for safety reasons like over travel limit s
137. nnel etc User s Manual 030021 5 03 Rev A 6 8 Compact IO Isolated HART Analog Input Module Table 6 4 Filter Frequency and General Settings Make these bit settings To Select 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Filter Frequency 60Hz o 50Hz j 0 1 2856 L fo 300Hz 1 0 111 30 0 0 0 SlotCodeo Disable T 1 lol Enable l SlotCode1 Disable lol Enable 111 SlotCode2 T 1 ___ 1 4 Enable __ 1 SotCode3 o Enable l 11 l l El Enable interrupt Disable L l lI Enable 11 AL AlarmLatch Disable op tT Enable 111 11 111 41 EA nable Disable lol Enable 11 Reserved To 2 _ To 1 4 EC EnableChame Disable o Enable 1 Input Filter Selection Bits 0 through 3 Each channel can be configured for five different filter settings Select one of the five filters for the associated channel Effects of Filter Frequency on Noise Rejection The filter frequency that you choose for a module channel
138. ny of the following formats Raw Proportional Data The value presented to the controller is proportional to the selected input and scaled into the maximum data range allowed by the bit resolution of the A D converter and filter selected The raw proportional data format also provides the best resolution of all the data formats If you select the raw proportional data format for a channel the data word will be a number between 32767 and 32767 For example if a 4 to 20 mA input type is selected 4 mA corresponds to 32767 counts and 20 mA corresponds to 32767 See Determining Effective Resolution and Range NOTE The raw proportional counts scaled for PID and percent of full scale data formats may yield the highest effective resolutions but may also require that you convert channel data to real engineering units in your control program Engineering Units When using this data format the module scales the input data to the actual engineering values for the selected input type Values are expressed with an assumed decimal place Refer to Table 6 8 Data Formats The resolution of the engineering units data format is dependent on the range selected and the filter selected See Determining Effective Resolution and Range Scaled for PID The value presented to the controller is a signed integer with 0 representing the lower input range and 16383 representing the upper input range To obtain the value the module scales the
139. o its word equivalent This routine is User s Manual 030021 5 03 Rev A called by the HART MSG routine Chapter 8 Programming Examples S 2 1 MAIN Routine The main routine is the starting point for the ladder program Figure 8 5 Main Routine JSR Jump To Subroutine 0000 SBR File Number 0001 Jump To Subroutine ISR SBR File Number 0002 0 0 0003 C END User s Manual 030021 5 03 Rev A 8 8 Compact IO Isolated HART Analog Input Module 8 2 2 PACKETS Routine 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 8 6a Packets Routine AND 0000 Bitwise AND Source A 1 8 0300h lt Source B 3 3 lt Dest N7 0 0000h lt AND 0001 Bitwise AND Source A Lis 0300h Source B 1792 1792 lt Dest 7 1 00011 DIV Divide Source N7 1 1 lt Source 256 2565 Dest N7 1 0002 Add Source A Source B Dest User s Manual 030021 5 03 Rev A Chapter 8 Programming Examples 8 9 Figure 8 6b 0003 0004 0005 0006 0007 COP Copy File Source L 1 8 Dest N N7 2 N7 3 Length 20 Temporary hold register 1 Multiply Source A N7 0 0 lt Source 10 10 lt Dest N7 4 4 lt PW
140. odule to sample and convert the input signals of all enabled input channels and provide the resulting data values to the processor The module update time is equal to the slowest channel step response 6 7 1 Calculating Module Update Time To determine the module update time locate the channel with the slowest step response this will be the approximate module update time Example Channel 0 10 Vdc with 60 Hz filter Channel 1 4 to 20 mA with 28 5 Hz filter Channel 2 4 to 20 mA with 300 Hz filter Channel 3 4 to 20 mA with 28 5 Hz filter Module Update Time slowest step response 28 5Hz or 108 ms User s Manual 030021 5 03 Rev A Section 7 1 Configuring the Module for HART Chapter 7 Enabling and Using HART the 1769sc IFAIH This chapter outlines the detailed settings and configuration related to HART communication for the 1769sc IFAIH module These settings determine how the module acquires HART data The chapter is broken down into the following sections e Configuring the module for HART HART Packet Data e Sending and Receiving Messages e Module Specific Commands e HART protocol overview The ladder samples and tags referenced in this chapter were created for the Compact Logix controller using RSLogix 5000 software see Chapter 4 If you plan on using a MicroLogix 1500 controller refer to Chapter Attention 7 1 1 Configuring the IF4IH Module for Hart Acquisition Communication In ord
141. or responses contain data For those that do up to 25 bytes can be included Data may be in the form of unsigned integers floating point numbers or ASCII character strings The number of bytes of data and the data format used for each item are specified for each HART command Checksum The checksum byte contains the exclusive or longitudinal parity of all the bytes that precede it in the message starting with the Start Character This provides a further check on transmission integrity beyond the parity check on the 8 bits of each individual byte 7 5 2 Sending a HART Command to a Field Device via Pass through Now that you re familiar with the bits and pieces that make up a HART message the next step will be to formulate a message and successfully send the message to the field device using the pass through command The first step is to formulate the message and populate the source tag If4ihOPassThruReqTX This tag is used in the ladder sample shown in Figure 7 10 User s Manual 030021 5 03 Rev A 7 46 Compact IO Isolated HART Analog Input Module Table 7 20 Tag Name HART PASS THRU TXIO HART PASS THRU REQ 1 HART PASS THRU REQ 1762 HART PASS THRU REQ 1763 HART PASS THRU REQ TXi4 HART PASS THRU REQ TX 5 HART PASS THRU REQ TX 6 HART PASS THRU REQ TX 7 HART PASS THRU REQ TX 8 HART PASS THRU REQ TX 9 HART PASS THRU REQ TXO HART PASS_THRU
142. ors use Belden 8761 shielded twisted pair wire or equivalent to ensure proper operation and high immunity to electrical noise e ensure optimum accuracy limit overall cable impedance by keeping cable as short as possible Locate the module as close to input devices as the application permits Grounding e This product is intended to be mounted to a well grounded mounting surface such as a metal panel Additional grounding connections from the module s mounting tabs or DIN rail if used are not required unless the mounting surface cannot be grounded e Keep cable shield connections to ground as short as possible e Ground the shield drain wire at one end only The typical location is as follows e 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 Noise Prevention e limit the pickup of electrical noise keep analog signal wires as far as possible from power and load lines e If noise persists for a device try grounding the opposite end of the cable shield You can only ground one end at a time 3 7 2 Terminal Door Label A removable write on label is provided with the module Remove the label from the door mark your unique identification of each terminal with permanent ink and slide the label back
143. ponse 28 5Hz Filter 50 Hz Filter Filter Rejection dB Filter Rejection dB 60Hz Filter Operation 300Hz Filter Operation Filter Rejection dB Filter Rejection dB 360Hz Filter Operation Filter Rejection dB 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 The cut off frequency should not be confused with the update time The cut off frequency relates to how the digital filter attenuates frequency components of the input signal The update time defines the rate at which an input channel is scanned and its channel data word is updated User s Manual 030021 5 03 Rev A Chapter 4 Module Data Status Configuration 6 11 Slot Variable Enable Bits 4 through 7 Slot variable enable bits 4 through 7 can be used to enable HART slot variables 0 through 3 respectively for the connected HART device The variable code which is used to define each slot variable for each associated channel is entered into configuration words 26 through 33 Refer to section 6 4 9 for more information regarding configuring slot variables Note Slot variables are not supported by all HART devices Note Slot codes must be enabled in sequential order For example SV0 Enabled SVI Disabled and SV2 Enabled is not a valid configuration In this case
144. rror 2 invalid selection reserved 3 passed parameter too large rx buffer overflow 4 passed parameter too small undefined 5 toofew data bytes received 6 transmitter specific command error 7 inwrite protect mode 8 15 command specific errors see Table 4 below 16 access restricted 32 device is busy 64 command not implemented Second byte Second byte Bit 7 Bit 7 hex 80 device malfunction Bit 6 Bit 6 configuration changed Bit 5 Bit 5 cold start Bit 4 Bit 4 Bit 3 Bit 3 output current fixed Bit 2 Bit 2 analog output saturated Bit 1 Bit 1 variable not primary out of limits Bit 0 Bit 0 primary variable out of limits Hex equivalents are shown assuming only a single status indication is present These codes have different meanings for different commands The following table lists some of these meanings Refer to the full HART specification for information on which codes and meanings are used with each command TABLE 4 4 Command Specific Error Codes Update Failed Update In Progress Set to Nearest Possible Value Applied Process Too High Lower Range Value Too High Not In Fixed Current Mode Applied Process Too Low Lower Range Value Too Low MultiDrop Not Supported In MultiDrop Mode Invalid Transmitter Variable Code Upper Range Value Too High Invalid Unit Code Upper Range Value Too Low Both Range Values Out of Limits Pushed Upper Range Value
145. s E unscheduled Pr 251 Motion Groups 73 Ungrouped Axe Ba Ctrl C Trends 5 69 Data Types User Defined Strings C Predefined tg Module Defined gt Configuration 1 1769 L35E E E CompactBus Lor B 1 1769 mc Cross Reference Ctrl E Open Ctrl x E Paste Cre Delete Del Browse Logic Print Properties Copy and paste Your Project File View Search Log Communications Toul Window Hep 12218 s 46 Offline 1 F RUN h E OK 1 No dis a 4 edere 4 35 r r rentes ABLA Controller Test Controler Tags 23 Controller Handler GI power Up Handler Tasks 4 01117994351 88 You can follow a similar procedure for copying ladder as well 1 Open the routine that contains the ladder you want to copy 2 Select the rungs to copy 3 Right mouse click and select copy 4 Open the routine in your project where you wish to paste the new rungs 5 Right mouse click and select paste The figure below demonstrates this procedure User s Manual 030021 5 03 Rev A Chapter 4 Configuring the IFAIH for CompactLogix Using RSLogix 5000 4 11 Figure 4 10 Copying Ladder Sample Your Project Project lt lt Cut Rung Ctrli x Copy Rung Ctrl C Te nirera
146. s 0 the bit when the data value falls below the maximum for that range Note If a channel is configured for a voltage type input and an open circuit condition is present the over range flag bit will be set to indicate the open circuit condition and the associated channel data word will display the full scale value 6 3 6 Under Range Flag Bits U0 to U3 Word 6 Under range bits for channels 0 through 3 are contained in word 6 odd numbered bits They apply to all input types When set 1 the under range flag bit indicates an input signal that is at the minimum of its normal operating range for the represented channel or sensor The module automatically resets 0 the bit when the under range condition is cleared and the data value is within the normal operating range Note If a channel is configured for a current type input and an open circuit 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 6 3 7 High Process Alarm Flag Bits 0 to H3 Word 6 The high process alarm flag is set when the measured analog signal exceeds the high process alarm setpoint The high process alarm setpoint is defined in Section 6 4 Module Configuration User s Manual 030021 5 03 Rev A 6 4 Compact IO Isolated HART Analog Input Module 6 3 8 Low Process Alarm Flag Bits LO to L3 Word 6 The low process alarm flag is set when the me
147. s available on our website to ease the installation of the module if you choose not to use the generic module profile The Add On profile download also includes an RSLogix 5000 sample project demonstrating how to read and write HART data to and from each channel The sample project contains user defined data types configuration tags input tags output tags and ladder samples needed to configure each HART module The topics discussed in this chapter include e Setting up the generic profile e Using the Add On profile e Understanding user defined data types e Adding the controller and program tags e Using the provided ladder sample The generic profile defines the module for the CompactBus so that the right number of input output and configuration words are reserved To configure the generic profile you can use the profile already created in the sample project see Figure 4 1 or follow the procedures outlined below Figure 4 1 Pre Defined Generic Profile Data Types User Defined Strings Predefined Module Defined 3 8 1 0 Configuration 1 1769 L35E Ethernet Port LocalENB Comp 3 5 RE ene 4 User s Manual 030021 5 03 Rev A 4 2 Compact IO Isolated HART Analog Input Module 1 Create a new RSLogix 5000 project file Click on the new project icon or on the FILE pull down menu and select NEW The following screen appears Figure 4 2 New Control
148. s faster than the channel step response a portion of that signal will be attenuated by the channel filter The channel step response is calculated by a settling time of 3 x 1 filter frequency The Real Time Sample rate must be greater than or equal to the slowest channel step response time or a configuration error will occur Attention User s Manual 030021 5 03 Rev A Chapter 4 Module Data Status Configuration 6 9 Table 6 5 Filter Frequency and Step Response Filter Frequency Step Response 28 5 Hz 108 ms 50 Hz 62 ms 60 Hz 52 ms 300 Hz 12 ms 360 Hz 10 ms 1 eee The channel update time is equal to the channel step respose Channel Cut Off Frequency The filter cut off frequency 3 dB is the point on the frequency response curve where frequency components of the input signal are passed with 3 dB of attenuation The following table shows cut off frequencies for the supported filters 23Hz 67db 50 60 Hz 50 Hz 40Hz 96 50 Hz 60 Hz 47Hz 96dbQ 60 Hz 24Hz e5dbQ 50Hz 25 db 60 Hz All input frequency components at or below the cut off frequency are passed by the digital filter with less than 3 dB of attenuation frequency components above the cut off frequency are increasingly attenuated as shown in Figure 6 2 Frequency Response User s Manual 030021 5 03 Rev A 6 10 Compact IO Isolated HART Analog Input Module Figure 6 2 Frequency Res
149. sed The LRP processor supports floating point files which is required to read floating point data from the IFAIH Attention Table 8 1 Routine Description Routine Description MAIN PACKETS MSG TO MOD The main routine is the starting point for the ladder program 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 This routine is used to send and receive messages to and from the module Refer to Chapter 7 for more details regarding sending and receiving messages This routine is called from the HART MSG routine SRC CHECK 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 DEST CHECKSUM 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 This routine composes HART messages that will be sent to HART MSG the module field transmitter This routine is called from the MAIN routine Converts word data to its byte equivalent This routine is WORD BYTE called from the HART MSG routine Calculates the checksum for the HART message being sent HART CHECK to the module field device This routine is called from the HART MSG routine BYTE WORD Converts byte data t
150. ser Defined IF4ihMessage i IF4ihPassThruMsg Of4ihMessage 0 Of4ihPassThruMsg PACKETO 1 PACKET2 PACKET3 PACKET4 user defined data types should copied before copying the tags or ladder Attention User s Manual 0300215 03 Rev A 4 8 Compact IO Isolated HART Analog Input Module The table below gives a brief description of each data type Table 4 2 User Defined Data Type Descriptions User Defined Data Type Description GetDeviceInfoStructure Defines the structure of the HART data returned by the module when the module specific command Get Device Information is sent to module If4ihMessage This data type defines the structure for tags used to send messages to and from the module using the paging scheme If4ihPassThruMsg 0 Defines the structure for tags used to send HART pass through messages to and from the module Defines the data structure for HART packet 0 HART packet zero contains device information for the connected HART device 2 Defines the data structure for HART packet 1 HART packet 1 is used to display the four dynamic variables for the selected HART Defines the data structure for HART packet 2 HART packet 2 is used to display the slot variables for the connected HART device Packet3 Packet4 Defines t
151. shed meaning at least the device addressing information is available Handle is available meaning no pending handle is still active HART channel is doing regular data sampling only No pending device information gathering is active No pending pass through handle is active meaning handle timeout has not occurred yet Device address and delimiter are valid Received CIP word count is large enough for the entire command packet DEAD will be sent back if any of the following conditions are true Command or HART Channel number is invalid HART channel is not enabled HART communication has not been established meaning that the 5 byte unique address has not been determined yet The channel is currently updating device information Theoretically pass through command can be safely accepted after successfully receiving Command 0 but for simplicity we ll track update of the device information as a whole other conditioned not generating INITIATE After the pass through response is sent with a valid handle and a response value indicating 33 INITIATE the user can retrieve the data associated with the handle using the following command message User s Manual 030021 5 03 Rev A Chapter 7 Enabling and Using HART on the 1769sc IFAIHO 7 37 Table 7 16 HART Pass Through Query Command HART pass through command complete query command message packet structure Field Value Definition HART Channel 0x00
152. st N15 N7 2 0020h lt Chapter 8 Programming Examples 8 45 Figure 8 11c 0003 EQ 0004 Grtr Than gt Source 08 10 0005 IMP gt 0006 CEND2 4 User s Manual 030021 5 03 Rev A 8 46 Compact IOTM Isolated HART Analog Input Module 8 2 8 HART CHECK Routine Calculates the checksum for the HART message being sent to the module field device This routine is called from the HART MSG routine Figure 8 12a HART Checksum 0000 0001 0002 0003 Q9 11 EQU 1 LBL Equal Source Source B N7 27 RET Return GRT Greater Than A gt B Source A N7 27 9 lt Source 254 254 lt User s Manual 0300215 03 Rev Move Source 0 0 lt Dest ADD Add Source A Source B Dest Chapter 8 Programming Examples 8 47 Figure 8 12b XOR 0004 Bitwise Exclusive OR Source A N30 N7 3 0000h lt Source B N7 29 0000h lt N7 29 0000h lt GEQ 0005 Grtr Than or Eql A gt B Source N7 2 39 lt Source B N7 27 9 lt 0006 0007 User s Manual 0300215 03 Rev A 8 48 Compact IOTM Isolated HART Analog Input Module 8 2 9 BYTE WORD Routine Converts byte data to its word equivalent This routine is called by the HART MSG routine Figure 8 13a Byte to Word 0000 0001 0002 0003 0004
153. structure of the channel configuration file is shown below Table 6 2a Module Configuration Bit wod 8 6 11 9 Function Real Ti 1 0 Real Time Sample Value Sample 1 5 Cho Fitter F Reserved Slot Variable 0 3 Input Filter Ch0 d unc Alarm High Channel 0 High Process Alarm Setpoint eno acorde 9 Ch0 Process Alarm Low Value Ch0 Alarm Deadband AJOJN Channel 0 Low Process Alarm Setpoint Channel 0 Alarm Deadband Data Padding R Ch1 Filter Frequency and Reserved Slot Variable 0 3 Input Filter Ch1 General Settings Ch1 Data Data format and 10 Channel 1 High Process Alarm Setpoint A T Process Alarm Low Value Ch1 Alarm Deadband EC 11 Channel 1 Low Process Alarm Setpoint 12 Channel 1 Alarm Deadband Data Paddin 13 3 Ch2 Filter Frequency and 15 E ore C ty arma inputtype h2 Alarm High 16 Channel 2 High Process Alarm Setpoint 9 17 Channel 2 Low Process Alarm Setpoint ene ous Rad tow 18 Channel 2 Alarm Deadband Gh2 Alarm Deed pans Data Paddin 19 3 i T Filter F d 20 Reserved Slot Variable 0 3 input Fitter cha OP iter Freaency an 21 Reserved Ch3 Data Reserved 018 Input Type Che Data format and orma input type Ch3 Process Alarm High 22 Channel 3 High Process Alarm Setpoint Value Ch8 P Alarm L 23 Channel
154. ta being sent to module Last byte is page checksum 1 page 38 bytes max MsgMasterControl Hex RRISS RR Page Last Received SS Page Being Sent MsgRequestSize Total size of message in bytes up to 257 bytes MsgRequestBuffer One page of data being sent to module Last byte is page checksum 1 page 38 bytes max Chapter 7 Enabling Using HART the 1769sc IF4IH0 7 15 Figure 7 7 Receiving Message Message Returned MsgMasterControl 00102 MsgSlaveControl 02101 Bytes received lt gt MsgResponseSize First Page Page Up to 257 38 Bytes Bytes N Message Returned Karst MsgMasterControl 01102 Page MsgSlaveControl 02102 wa Bytes received lt gt MsgResponseSize Second Page Up to 257 38 Bytes Bytes N Message Returned First MsgMasterControl 02102 Page MsgSlaveControl 02102 w i Bytes received MsgResponseSize Second Page f CENSET If checksum YM is valid then Up to 257 message 38 Bytes Bytes complete nth Page User s Manual 030021 5 03 Rev A MsgSlaveControl Hex RRISS RR Page Last Received SS Page Being Sent MsgResponseSize Total size of response message up to 257 bytes MsgResponseBuffer One page of data being sent to the PLC Last byte is page checksum 1 page 38 bytes max MsgSlaveControl Hex RRISS RR Page Last Received S
155. the replacement module and the right side adjacent module Replace the mounting screws or snap the module onto the DIN rail Consider the following when wiring your system General Power and input wiring must be in accordance with Class 1 Division 2 wiring methods Article 501 4 b of the National Electric Code NFPA 70 and in accordance with the authority having jurisdiction Channels are isolated from one another by 500 Vdc maximum Route field wiring away from any other wiring and as far as possible from sources of electrical noise such as motors transformers contactors and ac devices Asa general rule allow at least 15 2 cm 6 in of separation for every 120V of power Routing field wiring in a grounded conduit can reduce electrical noise If field wiring must cross ac or power cables ensure that they cross at right angles Provision shall be made to prevent the rated voltage being exceeded by the transient disturbances of more than 40 The system shall be mounted in an ATEX certified enclosure with a minimum ingress protection rating of at least IP54 as defined in IEC60529 or EN60529 and used in an environment of not more than pollution degree 2 Earthing is accomplished through mounting of modules on rail User s Manual 030021 5 03 Rev A 3 8 Compact IO Isolated HART Analog Input Module e Subject devices are for operation in Ambient Temperature Range 0 C to 60 C Terminal Block e For voltage and current sens
156. the module against the DIN rail The latches will momentarily open and lock into place Section 3 6 Replacing a Single Module within a System The module can be replaced while the system is mounted to a panel or DIN rail Follow these steps in order 1 2 3 4 5 Remove power See important note at the beginning of this chapter On the module to be removed remove the upper and lower mounting screws from the module or open the DIN latches using a flat blade or phillips style screwdriver Move the bus lever to the right to disconnect unlock the bus On the right side adjacent module move its bus lever to the right unlock to disconnect it from the module to be removed Gently slide the disconnected module forward If you feel excessive resistance check that the module has been disconnected from the bus and that both mounting screws have been removed or DIN latches opened NOTE It may be necessary to rock the module slightly from front to back to remove it or in a panel mounted system to loosen the screws of adjacent modules 6 Section 3 7 Field Wiring Connections amp System Wiring Guidelines 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 Slide the replacement module into the open slot Connect the modules together by locking fully left the bus levers on
157. the performance accuracy of the module Group your modules to minimize adverse effects from radiated electrical noise and heat Consider the following conditions when selecting a location for the analog module Position the module e Away from sources of electrical noise such as hard contact switches relays and motor drives e Away from modules which generate significant radiated heat such as the 1769 IA16 Refer to the module s heat dissipation specification In addition route shielded twisted pair analog input wiring away from any high voltage I O wiring Power Supply Distance You can install as many modules as your power supply can support However all 1769 I O modules have a power supply distance rating The maximum I O module rating is 8 which means that a module may not be located more than 8 modules away from the system power supply Figure 3 1 MicroLogix 1500 Controller with Integrated System Power Supply E E o Compact I O Compact I O Compact I O Compact I O Compact I O Compact I O 1 2 3 4 5 6 7 8 Power Supply Distance 2 9 lt Compact I O Compact I O Compact I O Compact I O Compact I O Compact I O System Power Supply Compact I O 9 E 5 9 3 2 1 1 2 3 Power Supply Distance User s Manual 030021 5 03 Rev A 3 4 Compact IO Isolated HART Analog Input Module Section 3 4 System Assembly Th
158. the scaling range e open circuit condition has been detected Refer to page 6 3 for more details Non critical module errors are typically recoverable Channel errors over range or under range errors are non critical Non critical error conditions are indicated in the module input data table Critical module errors are conditions that may prevent normal or recoverable operation of the system When these types of errors occur the system typically leaves the run or program mode of operation until the error can be dealt with Critical module errors are indicated in Table 9 4 Extended Fault Codes Analog module errors are expressed in two fields as four digit Hex format with the most significant digit as don t care and irrelevant The two fields are Module Error and Extended Error Information The structure of the module error data is shown below Table 9 2 Module Error Table Dont Care Bits Module Error Extended Error Information Hex Dita HexDigt3 Pexbigtz 9 6 1 Module Error Field 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 Refer to your controller manual for details User s Manual 030021 5 03 Rev A
159. this manual Rockwell Automation support Use this manual if you are responsible for designing installing programming or troubleshooting control systems that use Allen Bradley Compact M I O and or compatible controllers such as MicroLogix 1500 or CompactLogix As much as possible we organized this manual to explain in a task by task manner how to install configure program operate and troubleshoot a control system using the 1769sc IFAIH The table below provides a listing of publications that contain important information about MicroLogix 1500 systems Document Title Document Number MicroLogix 1500 User Manual 1764 UM001A US P 1769 Compact Discrete Input Output Modules 1769 2 1 Product Data MicroLogix 1500 System Overview 1764 SO001B EN P Compact I O System Overview 1769 50001 1 User Manual 1769 UM007B EN P Allen Bradley Programmable Controller 1770 4 1 Grounding and Wiring Guidelines If you would like a manual you can e Download a free electronic version from the internet at www theautomationbookstore com e Purchase a printed manual by o Contacting your local distributor or Rockwell Automation representative Visiting www theautomationbookstore com and placing your order o Calling 1 800 963 9548 USA Canada or 001 330 725 1574 Outside USA Canada User s Manual 0300215 03 Rev A ii Compact IO Isolated HART Analog Input Module Conventions Used in This Manual Th
160. thm 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 To unpack a packed ASCII string 1 Unpack the four 6 bit ASCII characters 2 Foreach character place the complement of bit 5 into bit 6 3 For each character reset bit Bit 7 to zero 4 Repeat until the entire string is processed This algorithm can be implemented by loading three bytes into a 24 bit register and shifting the four 6 bit characters into the string Parse the resulting character to flip bit 6 as needed The ladder sample starting on the next page demonstrates how to pack 4 unpacked ASCII characters into 3 bytes Figure 8 4a Packed ASCII The following rung sets the starting bit address at 5 for the unpacked ASCII byte This rung makes it possible to truncate bits 6 and 7 in the following rung SUB Subtract Source 5 Source BitCounter 0 Dest BitSource 5 This rung shifts the truncated unpacked ASCII byte into a double word PackedAscii 0 one bit at a time BSL Pack Pcontrol en bP Bit Shift Left gt Array PackedAscii 0 Control Pcontrol lt Source Bit Unpacked Byte BitSource Length 1 The following rung determines which bit will be shifted from t
161. tter var code for slot 2 units code for slot 2 variable for slot 2 transmitter var code for slot 3 units code for slot 3 variable for slot 3 truncated after last requested variable damping value sec F Write range values range units code upper range value F lower range value F Byte 0 Byte 1 Byte 2 5 Byte 6 Byte 8 11 DATA IN REPLY TYPE transmitter var code for slot 0 units code for slot 0 variable for slot 0 transmitter var code for slot 1 variable for slot 1 F as command as in command Set upper range value push SPAN button none Set lower range value push ZERO button Reset configuration changed flag EEPROM control Enter exit fixed current mode Perform transmitter self test Perform master reset 43 44 Set PV zero Write PV units Byte 0 45 Trim DAC zero Trim DAC gain Write transfer function Read additional transmitter status EEPROM control code 0 burn EEPROM 1 copy EEPROM to RAM current mA F 0 exit the mode none PV units code as in command as in command none as in command measured current mA F measured current mA transfer function code none Write PV sensor serial number Read dynamic variable assignments User s Manual 030021 5 03 Rev A Byte 0 24 as in command as in comma
162. ues set when alarms are disabled egal pass through scheme selected Section 9 8 Module Inhibit Function Some controllers support the module inhibit function See your controller manual for details Whenever the 1769sc IFAIH module is inhibited the module continues to provide information about changes at its inputs to the 1769 CompactBus master for example a CompactLogix controller User s Manual 030021 5 03 Rev A 9 6 Compact IO Isolated HART Analog Input Module User s Manual 030021 5 03 Rev A Section A 1 Electrical Specifications Appendix A Module Specifications Specification Description Configuration 4 isolated channels of current voltage inputs with an ADC per channel w HART Input Types Normal Range 10V 0 10V 0 5 1 5 0 20mA 4 20 Full Range 10 5V 0 5 10 5V 0 5 5 25 0 5 5 25V 0 Fault detection CMRR 21mA 3 2 21mA Over range and Under range error bits Open circuit detect for 4 20mA and all voltage ranges 100 dB at 50 Hz 10 Hz filter gt 100 dB at 50 Hz 50 Hz filter gt 100 dB at 50 Hz 60 Hz filter 75 dB at 50 Hz 250 Hz filter gt 60 dB at 50 Hz 500 Hz filter gt 100 dB at 60 Hz 10 Hz filter 100 dB at 60 Hz 50 Hz filter gt 100 dB at 60 Hz 60 Hz filter 75 dB at 60 Hz 250 Hz filter gt 60 dB at 60 Hz 500 Hz filter NMRR gt 50 dB at 50 Hz 10 Hz filter gt 50 dB at 50 Hz 50 Hz filter gt
163. ule The table below explains the extended error code User s Manual 030021 5 03 Rev A Chapter 9 Diagnostics and Troubleshooting 9 5 Table 9 4 Extended Fault Codes Error Type Hex Equivalent Module Error Code Extended Error Information Error Description Code 500 000000000 Hardware Watchdog res et error Specific Error Critical code failure Failed calibration critical EEPROM failure Module Specific RTS value Configuration Channel 0 illegal fiter configuration Channel 1 ilegal filter configuration Channel 2 ilegal Titer configuration Chanel 3 ilegal Titer configuration Chenre O Channel 1 illegal input range Chanel 0 legal data format Channel illegal data format Channel 2 illegal data format Channel 3 illegal data format Channel 0 illegal low alarm setpoint Channel 1 illegal low alarm setpoint Game ilegal ow s etpoint Chanel 3 ilegal ow slam s eipoint Channel legal high alarm setpoint Channel illegal high alarm setpoint Channel Z legal high alarm setpoint Channel high alarm setpoint Channel 0 illegal alarm deadband Channel 1 illegal alarm deadband Channel 2 illegal alarm deadband Channel 3 illegal alarm deadband Process alarm values set when alarms are disabled Chi Process alarm values set when alarms are disabled Ch Process alarm values set when alarms are disabled Ch3 Process alarm val
164. ule as close to input devices as the application permits Grounding e This product is intended to be mounted to a well grounded mounting surface such as a metal panel Additional grounding connections from the module s mounting tabs or DIN rail 1f used are not required unless the mounting surface cannot be grounded e Keep cable shield connections to ground as short as possible e Ground the shield drain wire at one end only The preferred location is as follows Referto Industrial Automation Wiring and Grounding Guidelines Allen Bradley publication 1770 4 1 for additional information User s Manual 030021 5 03 Rev A 2 4 Chapter 2 Quick Start for Experienced Users The terminal block layout is shown below Step 4 Configure the module for the Reference proper controller Chapter 4 Configuring the IFAIH for CompactLogix Using RSLogix 5000 or Chapter 5 Configuring the IFAIH for a MicroLogix 1500 Using RSLogix 500 Step 5 Configure the module Reference Chapter 6 Module Data Status and Channel Configuration The configuration file is typically modified using the programming software compatible with your controller It can also be modified through the control program if supported by the controller See Section 6 4 Module Configuration for more information Step 6 Go through the startup procedure Reference Chapter 9 Diagnostics and Troubleshooting 1 Apply power to the controller system Download yo
165. ule specific command can return two different responses SUCCESS 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 SUCCESS will be sent back under the following conditions e Command and HART Channel number are both valid HART channel number is an enabled channel The identified HART channel finished all of the start up connection process e I O module will not be checking for matching set of suspend resume commands This means if already suspended and receives another suspend SUCCESS will be returned still Similarly if the system is operating as normal and receives a resume command it will ignore the command and continue operation This state of operation will not be maintained after power up or when configuration changes DEAD will be sent back if any of the following conditions is true e Command and HART Channel number are both valid HART channel is not enabled e 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 e other conditioned not generating SUCCESS 7 4 3 HART Pass Through Command The HART Pass Through Command can be used to send any HART command including universal common practice or device specific directly to a field device The module in this case could be considered a HART bridge There can
166. up guide for experienced users this chapter does not contain detailed explanations about the procedures listed It does however reference other chapters in this book where you can get more information about applying the procedures described in each step If you have any questions or are unfamiliar with the terms used or concepts presented in the procedural steps always read the referenced chapters and other recommended documentation before trying to apply the information Have the following tools and equipment ready e Medium blade or cross head screwdriver e Analog input device e Shielded twisted pair cable for wiring Belden 8761 or equivalent for voltage and current inputs e Controller for example MicroLogix 1500 or CompactLogix controller e Programming device and software for example RSLogix 500 or RSLogix 5000 This chapter covers Ensuring that your power supply is adequate Attaching and locking the module Wiring the module Configuring the module Going through the startup procedure Monitoring module operation Quen O User s Manual 030021 5 03 Rev A 2 2 Chapter 2 Quick Start for Experienced Users Step 1 Ensure that your 1769 system power supply has sufficient current output to support your system configuration Reference Chapter 3 Installation and Wiring The modules maximum current draw is shown below 5V dc 24 dc 175 mA 60 mA NOTE The module cannot be located more than
167. ur program which contains the Isolated HART module configuration settings to the controller 3 Putthe controller in Run mode During a normal start up the module status LED turns on NOTE If the module status LED does not turn on cycle power If the condition persists contact your local distributor or Spectrum Controls for assistance User s Manual 030021 5 03 Rev A Chapter 2 Quick Start For Experienced Users 2 5 Step 7 Monitor the module status to check if the module is operating correctly Reference Chapter 9 Diagnostics and Troubleshooting Module and channel configuration errors are reported to the controller These errors are typically reported in the controller s I O status file Channel status data is also reported in the module s input data table so these bits can be used in your control program to flag a channel error User s Manual 030021 5 03 Rev A 2 6 Chapter 2 Quick Start for Experienced Users User s Manual 030021 5 03 Rev A Section 3 1 Compliance to European Union Directives Chapter 3 Installation and Wiring This chapter explains how to Determine the power requirements for the module Avoid electrostatic damage Install the module Wire the module s terminal block Wire input devices This product is approved for installation within the European Union and EEA regions It has been designed and tested to meet the following directives 3 1 1 EMC Directive The 1769sc IF4IH module is t
168. ut Module Figure 7 8e EQU Equal Source A If4ihOMsg Step 0 Source B 1 This rung copies the source data for the page to a temporary array so that the page checksum can be calculated EQU Equal Source If4ih0Msg Step 0 Source B 1 DIV AND Divide Bitwise AND Source A Ifdih0Msg SourceTemplndex Source A If4ih0Msg SourceTemplndex 4 4 Source B 2 Source B 1 Dest SourceXorControl LEN Dest Temp1 2 256 EQU ADD m Equal Add Source Temp1 Source SourceXorControl LEN 256 2 Source B 1 Source B 1 Dest SourceXorControl LEN 2 COP Copy File Source Local 1 O MsgRequestBuffer 0 Dest If4ihOMsg SourceChecksumArray 0 Length SourceXorControl LEN This rung calculates the checksum for the page of data being sent to the module FAL File Arith Logical Control Length Position Mode Dest User s Manual 030021 5 03 Rev A SourceXorControl 2 0 ALL IfA4ihOMsg SourceChecksum 0 Expression O If4ih0Msg SourceChecksumArray SourceXorControl POS XOR 0 If4ihOMsg SourceChecksum END CDND gt Chapter 7 Enabling Using HART the 1769sc IF4IH0 7 21 Figure 7 8f SourceXorControl DN NEQ Not Equal Source B Source A If4ihOMsg Step 0 1 This rung stores the checksum in the last word for the page Bitwise AND Source 0 AND
169. witches stop push buttons and interlocks should always be hard wired to the master control relay User s Manual 030021 5 03 Rev A 9 2 Compact IO Isolated HART Analog Input Module Section 9 2 Module Operation vs Channel Operation Section 9 3 Power up Diagnostics Section 9 4 Channel Diagnostics 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 Never alter these circuits to defeat their function Serious injury or machine damage could result The module performs diagnostic operations at both the module level and the channel level Module level operations include functions such as power up configuration and communication with a 1769 bus master such as a MicroLogix 1500 controller 1769 ADN DeviceNet Adapter or CompactLogix controller Channel level operations describe channel related functions such as data conversion and over or under range detection Internal diagnostics are performed at both levels of operation When detected module error conditions are immediately indicated by the module status LED Both module hardware and channel configuration error conditions are reported to the controller Channel over range or under range conditions are visible in the module s input data table Module hardware errors are typically reported in the controller s I O status file Refer to your controller manual for details

Download Pdf Manuals

image

Related Search

Related Contents

Sony XS-GTX101LW Installation/Connections Manual  Samsung 51" Smart 3D Plasma E6505 Käyttöopas  電子アップ(ポンパ)レバー  取扱説明書 (1.88 MB/PDF)  Leaflet 46PFL9705H_12 Released Switzerland (French  BA_WT 160T Mark.P65  Lennox TPAS4 G&Y  PDF version - The Concrete Producer  Integral Arc 16GB  FR DE GB - Ning.com  

Copyright © All rights reserved.
Failed to retrieve file