Home

User's Guide AB1771-C Network Master (Version 5.21)

image

Contents

1. Close Torque at 91 97 Motor Run Time Log Sec Reg 1093 Log RESERVED NO OP Motor Run Time Log Hours Reg 1094 Log Motor Starts Log Word 1 Reg 1095 Log Motor Starts Log Word 2 Reg 1096 Log Motor Starts Log Word 3 Reg 1097 Log Valve Strokes Log Word 1 Reg 1098 Log Reg 1099 Log Valve Strokes Log Word 2 Valve Strokes Log Word 3 Reg 1100 Log Archive Archive Motor Starts Log Word 1 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 112 S EIM CONTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Reg 1101 Log Archive Archive Motor Starts Log Word 2 Reg 1102 Log Archive Archive Motor Starts Log Word 3 Reg 1103 Log Archive Archive Valve Strokes Log Word 1 Reg 1104 Log Archive Archive Valve Strokes Log Word 2 Reg 1105 Log Archive Archive Valve Strokes Log Word 3 Reg 1106 Log Archive Archive Motor Run time Min I Archive Motor Run Time Sec Reg 1107 Log Archive Real Time Data Archive Motor Run time Hours Current Valve Position 0 0 100 0 in 0 1 increments Real Time Data Current Valve Position 0 4095 Real Time Data Current Torque 0 0 100 0 in 0 1 increments Reg 1111 Real Time Data
2. Current torque at 60 open while opening valve Analog counts Current torque at 70 open while opening valve Analog counts Current torque at 80 open while opening valve Analog counts Current torque at 90 open while opening valve Archived torque at 10 open while opening valve EEPROM Analog counts Analog counts Archived torque at 20 open while opening valve EEPROM Analog counts Archived torque at 30 open while opening valve EEPROM Analog counts Archived torque at 44 open while opening valve EEPROM Analog counts Archived torque at 50 open while opening valve EEPROM Analog counts Archived torque at 60 open while opening valve EEPROM Analog counts Archived torque at 70 open while opening valve EEPROM Analog counts Archived torque at 80 open while opening valve EEPROM Analog counts Archived torque at 90 open while opening valve User Digital Input 1 Totalizer accumulator EEPROM 0 65535 Analog counts Input strobes User Digital Input 2 Totalizer accumulator 0 65535 Input strobes Loss of COM alarm delay time 1000 65535 0 001 second 100 Valve Stall delay time Travel time for 1 travel 400 65535 100 36000 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 109 0 001 second 0 001 sec
3. Inputs 1000 1015 Event Log Record 2 Register 1001 Inputs 1016 1031 Reg 1196 Event Log Record 2 Register 1002 Inputs 1032 1047 Reg 1197 Event Log Record 2 Time minutes Time seconds Reg 1198 Event Log Record 2 Date Day Time Hour Reg 1199 Event Log Record 2 Date Year Date Month Reg 1200 Event Log Record 2 Torque 0 100 Position 0 100 Reg 1201 Event Log Record 2 Reg 1202 Event Log Record 3 ICRC High byte CRC Low Byte Log Entry Number Reg 1203 Event Log Record 3 Register 1000 Inputs 1000 1015 Reg 1204 Event Log Record 3 Register 1001 Inputs 1016 1031 Reg 1205 Event Log Record 3 Register 1002 Inputs 1032 1047 I DE VE VE VE RRR 1 1 1 1 fr 1 HE Reg 1206 Event Log Record 3 Time minutes Time seconds Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 114 So EIM CONTROLS SS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Reg 1207 Event Log Record 3 Date Day Time Hour Reg 1208 Event Log Record 3 Date Year Date Month Reg 1209 Event Log Record 3 Torque 0 100 Position 0 1
4. 5 2 3 Word 2 Reserved Firmware ID When received by the 1771 C from the PLC this word is ignored reserved for future use When transmitted from the 1771 C to the PLC this word contains the firmware ID This is a decimal number representing the 1771 C firmware ID For instance if the value in table 0 word 2 is 400 the firmware version number is 4 00 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 37 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 5 2 4 Word 3 Emergency Shut Down ESD Command Word amp Indication The ESD command is a command broadcasted to all actuators connected to the network that an emergency is in effect and the actuator should start performing the ESD actions its pre configured for The 1771 C broadcasts an ESD on both channels with a 200 millisecond delay between them If the PLC wishes to engage the ESD for the network it writes a 255 OxOOFF to this word location Word 3 using a write to any table The Network Master then broadcasts the appropriate ESD command to all valves on the network on both channels with about a 200ms delay between each When the PLC wants to end the ESD it writes a 170 0x00AA into this word into any table The Network Master will then broadcast the appropriate Stand Down from ESD command to all valves on the network on both channels with about a 200ms delay between ea
5. Beldon 8762 8760 8719 8720 Rating 12 8 Pf fT 12 8 Pf fT 12 8 Pf fT 12 8 Pf fT Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 14 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SS 3 1 3 Step 3 Route Cable away from Electrical Interference Network cables should enter the electrical enclosures and the bottom or lowest point on 320A systems this is near the transformer end and normally in a counter clockwise direction to the topside of the TBM Never install network cable in the same conduit with power conductors Never route the network cable through the high voltage contactor area On 320A systems the cable should never lie across the TBM or hinder the protective cover of the TBM Always use the shortest distance and keep access cable to a minimum See Figure 3 1 3 1 4 Step 4 Observe Polarity and Network Grounding Each network connection is polarized and on wiring diagrams Always use consistency in wiring and the use of wire colors to track polarity The cable shield or drain wire must be connected to the designated shield terminal at each port of each actuator The shield must be connected to earth Figure 3 1 ground at only one point Some networks require a jumper Correct termination of the Network between the shield connections on ports A amp B of the actuator to a Controlinc
6. Last Close Torque at 21 30 Last Close Torque at 11 20 Real Time Data Last Close Torque at 41 50 Last Close Torque at 31 40 Real Time Data Last Close Torque at 61 70 Last Close Torque at 51 60 Real Time Data Last Close Torque at 81 90 Last Close Torque at 71 80 Real Time Data Reg 1080 Archived Torque Last Close Torque at 98 100 Open Torque at 3 10 Last Close Torque at 91 97 Open Torque at 0 2 Reg 1081 Archived Torque Open Torque at 21 30 Open Torque at 11 20 Reg 1082 Archived Torque Open Torque at 31 40 Reg 1083 Archived Torque Open Torque at 41 50 Open Torque at 61 70 Archived Torque Open Torque at 81 90 Open Torque at 71 80 Archived Torque Open Torque at 98 100 Open Torque at 51 60 Open Torque at 91 97 Archived Torque Close Torque at 3 10 Close Torque at 0 2 Archived Torque Close Torque at 21 30 Close Torque at 11 20 Reg 1088 Archived Torque Close Torque at 31 40 Reg 1089 Archived Torque Close Torque at 41 50 Close Torque at 61 70 Reg 1090 Archived Torque Close Torque at 81 90 Close Torque at 71 80 Reg 1091 Archived Torque Reg 1092 Log Close Torque at 98 100 Motor Run time Log Min Close Torque at 51 60
7. bit 2 of 2 bit 2 of 2 RO 1051 RO 1050 RO 1049 RO 1048 Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 103 EG EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 6 4 3 320A Memory Map Table for Coils amp Inputs Version 2 0 VED Starter SSE Modulating User Output User Output SSR VFD Open Valve Close Valve Precision 0 Control Ctl Mode ea Mode Relay 2 Relay 1 Relay Relay Rel R W 14 13 R W 12 RO 5 RO 4 RO 2 RO 1 Phase Thermal Power Valve Stall Monitor Overload Monitor Alarm Alarm Alarm RO RO 26 RO 20 Local Alarm tion 4 20MA position feedback on AO1 R W 34 Relay 2 Relay 1 Relay 1 Relay 1 Analog AIN3 AIN 2 AIN 1 override c override 4 v x active at active at SS Output is is is is work with h work with A i ESD LSA in Local ESD Calibrated Calibrated Calibrated Calibrated R W 63 R W 61 R W 60 R W 54 R W 53 R W 52 R W 51 COM 2 COM 2 COM 1 COM 1 Even Parity Odd Parity Even Parity Odd Parity R W 70 R W 69 R W 68 R W 67 Reserved TSC TSO SS in Local Contactor Contactor Status Status Remote tion Aux Close Aux Open Indicator Indicator Position is Made is Made RO 7 RO 6 RO 5 4 RO 3 RO 2 Valve Stall Local Alarm ition RO 24 20 EN Local ESD Power T
8. 1 0 then this a BTW command to a data table to the 1771 C To perform a block transfer of table data 1 The PLC interface time slice has now started 2 The 1771 C requests a BTW command from the PLC The 1771 C will wait for up to 2 seconds for the PLC to respond If it doesn t then this operation terminates and must be restarted on the next PLC time slice Otherwise continue 3 The PLC executes a BTW command and copies the data from its own memory to the exchange buffer area in the 1771 C 4 The 1771 C then copies the table into its own memory 5 If word 3 indicates an ESD command sequence start or stop the ESD condition then that is outputted to the entire network of actuators on both ports 6 If word 1 0 then a read only request command was made and the appropriate table is copied into the exchange buffer If word 1 0 then this was a write command and this table is copied into 1771 C memory A final resultant table what will be stored in the 1771 C and potentially sent out onto the network is then copied into the exchange buffer to be fed back to the PLC 7 The 1771 C requests a BTR command from the PLC such that s If aread command read the data the PLC requested s lf awrite command read immediate feedback of the command structure the 1771 C is about to execute 8 After the BTR is acknowledged or timed out if the command was to write data to the actuators the 1771 C will now loo
9. 77489 Page 6 K a EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 1 4 EIM Equipment Compatibility The 1771 C is compatible with the following EIM equipment e 320A version 1 17 and later e 320B all e TEC2000 all Other points Note Note The 1771 C derives the system type of each actuator during the diagnostic scan and stores the results in table 18 The 1771 C derives the firmware Version ID for the 320A amp 320B systems during the diagnostic scan and stores the results in table 19 Since the TEC2000 system has several micro controllers with firmware a special request must be made to them to derive the firmware version ID for each controller in the unit The SSR bit is only checked and set on 320A actuators For maximum compatibility with the TEC2000 systems you should enable monitoring the TEC2000 Status Inputs tables 21 24 This way you can ensure you have all critical status information for any TEC2000 system on the network For more information refer to the section on Tables 21 24 This document references the addressable memory ranges Memory Maps of several EIM actuators ex M2CP 320B TEC2000 This is only for the readers convenience The specific details in the memory maps are only correct as of the date this manual was published Therefore to ensure you have the most current memory information please refer to the technical information f
10. Archived torque at 60 open while opening valve EEPROM Archived torque at 70 open while opening valve EEPROM Archived torque at 80 open while opening valve EEPROM Archived torque at 90 open while opening valve EEPROM User Digital Input 1 Totalizer accumulator User Digital Input 2 Totalizer accumulator Loss of COM alarm delay time Valve Stall delay time 100 MFG ID Network Address Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 106 EG EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 RY 6 4 5 320B Memory Map Table for Coils amp Inputs Modulating VED Starter Resened Control User Output f User Output SSR VFD Open Valve Close Valve Precision 0 pr Ctl Mode no op indicator Relay 2 Relay 1 Relay Relay Rel CAM08 R W 14 R W 12 RO 5 RO 4 RO 2 RO Phase Thermal Power Valve Stall SS in Monitor Overload Monitor Alarm Remote Alarm Alarm Alarm Position RO 27 RO RO 25 RO 24 RO 21 Config Enable 4 20mA Conflict Monitor position Relay feedback on Operations AO1 R W 35 R W 34 Error Relay 1 Relay 1 override active at SS l active at SS in Local in Remote R W 60 R W 59 Enable Back Fe COM 2 COM 2 COM 1 COM 1 Relay 2 Relay 2 oe active at active at SS J active 5 MRTU P ge x Seating Even Parity f Odd Parity f Even
11. CRC Hi byte CRC Lo byte CRC Lo byte 172 decimal OxAC Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 119 Sod EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 6 5 2 4 Modbus Function Code 06 Set Single Register Using function code 06 the Modbus master host may directly address and write any Read Write RW memory register in the actuator This includes registers that hold discrete values inputs amp coils Writing to a Read Only RO register will e Have no affect on valve operation s Be ignored by the application software e Cause the actuator to return a response indicating illegal function code Writing to a configuration data register that is Read Write RW will cause the controller to compare the written valve to the value stored in the EEPROM If the value is different the new value will be stored to EEPROM configuration If a configuration coil is set which is dependent upon other configuration coils being set and the other coils are not set a configuration error will be indicated that prevents valve actuator control Refer to the previous section that describes the Addressable Holding Registers Example in byte order of a request to preset register 40002 internal holding register 01 to 00 03 hex in slave device 17 Response example in byte order Slave Address Function Slave Address 11 Function
12. Current Torque 0 4095 Reg 1112 Real Time Data Analog Input 1 0 4095 Reg 1113 Real Time Data Reg 1114 Real Time Data Analog Input 2 0 4095 Analog Output 1 0 4095 Reg 1115 Real Time Data Analog Output 2 0 4095 Reg 1116 Real Time Data Position Control Setpoint 0 4095 Reg 1117 Real Time Data Reg 1118 User Field Setup Position Control Setpoint 0 0 100 0 in 0 1 increments Analog Input 41 ZERO Calibration Data Reg 1119 User Field Setup Analog Input 41 SPAN Calibration Data Reg 1120 User Field Setup Analog Input 42 ZERO Calibration Data Reg 1121 User Field Setup Analog Input 42 SPAN Calibration Data Reg 1122 User Field Setup Analog Output 41 ZERO Calibration Data Reg 1123 User Field Setup Analog Output 1 SPAN Calibration Data Reg 1124 User Field Setup Analog Output 42 ZERO Calibration Data Reg 1125 User Field Setup Reg 1126 Factory Setup Analog Output 42 SPAN Calibration Data Valve Travel Speed seconds if part turn valve or RPM if multi turn valve Reg 1127 RESERVED NO OP Reg 1128 ID CCM Version ID Mid Num CCM Version ID High Num Reg 1129 ID CCM Compile Date Char 0 CCM Version ID Low Num Reg 1130 ID CCM Compile Date Char 2 CCM Compile Date Char 1 Reg 1131 ID
13. HOST A s Port 1 PRT1 bottom DB25 connector connects to the NIU at the port labeled HOST B or s Port 1 PRT1 bottom DB25 connector connects to the NIU at the port labeled HOST A e Port 2 PRT2 top DB25 connector connects to the NIU at the port labeled HOST B However it is recommended that you remain consistent NOTE You can always connect a PC to the network at the NIU if you e Disconnect the cable connecting the 1771 C and NIU e Connect the PC using a serial cable NULL modem to the DB9 connector on the NIU Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 12 EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 A typical E gt Net network connection format is in a ring It starts from Port 1 PRT1 the top DB25 connector on the 1771 C as RS232 and connects to the NIU at the port labeled Host A It exits the NIU at the port labeled Port A as an RS485 circuit and proceeds to the first valve actuator normally addressed as 1 in port A It exits the actuator from Port B and proceeds to the port A next actuator address 2 and on until the last actuator on the network is connected The RS485 network then exits port B on the last actuator returns to the NIU at the port labeled Port B The network connection is then transformed back to an RS232 format and exits the NIU via the port lab
14. The slave address responding e Byte 2 The function code that generated the error 0x80 e Byte 3 The error exception type 01 02 or 03 e Byte 4 The CRC high byte e Byte 5 The CRC low byte For byte 2 function code generating the error the most significant bit of the original function code that generated the error exception response is set to 1 to indicate which code had an error For example s If function 1 0x01 was sent to the slave and the slave had an exception with that function it would return a 0x81 in byte 2 e If function 16 0x10 was sent to the slave and the slave had an exception with that function it would return a 0x90 in byte 2 Any incorrectly formatted message will return an Exception Code 02 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 122 Sod EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SS 6 6 App Note Install the 1771 C Network Master Firmware Unless the 1771 C Network Master module is supplied by EIM with software driver installed it is necessary to install it Installation may also become necessary for software upgrades or in the case of a failed 1771 C module being replaced in the field Follow the procedures in this section to install the software The software for the 1771 C is supplied on a Microsoft DOS compatible diskette in Intel hex format If an Allen Bradley compatible software packa
15. this table is only reset errors cleared during a diagnostic scan Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 52 VG EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Example Table 1 Feedback 48 node network Characteristics e Total COM faults on units 1 amp 2 they have a value of 3 an error communicating on both ports s No COM faults on any other units 3 48 have a value of 0 no problems communicating e Note that this would happen if units 1 amp 2 were turned off RSLogix 5 EIM File N8 dec File Edit View Search Comms Tools Window Help D amp K M za 112 cy First Node on Network e fNoroces T EErEE Forces Disabled Driver AB ETH Node 0d LOL User Bt B gt utnter Input Output o 0 0 0 8 1 wo wo Class 1 Last Node on 48 Node Network Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 53 EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 5 4 2 Table 2 Actuator Operational Status Words 4 gt 63 PLC access Read Only This data is primarily derived from holding register 6 in the actuator It is retrieved with the standard data request Modbus read command when the particular actuator is being polled scanned However bit 14 is adjusted by the 1771 C This sta
16. type 2 RSLogix 5 EIM File N8 dec SEE File Edit View Search Comms Tools Window Help E X D MS AR al as vMQa Fent No Forces T N H E aem Ow w r AB_ETH Node Od Lil user ABit Timer Counter Input Output 5 6 2 2 2 2 2 oO wo Ce Jo Rade Decimal vi Columns 10 v Last Node on 48 Node Network Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 81 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 5 4 16 Table 19 Actuator Firmware Version ID Words 4 gt 63 PLC access Read Only This data is derived from holding register 44 in the actuator It is retrieved during a diagnostic scan when the system type ID is being determined This table is filled the same time table 18 is filled For more information see table 18 Example Table 19 Feedback 48 node network Characteristics e Unit 1 is an EIM 320B system firmware version 3 02 e Unit 2 is an EIM 320A system firmware version 2 00 e Units 3 48 are EIM 320B systems firmware version 3 02 RSLogix 5 EIM File N8 dec File Edit View Search Comms Tools Window Help D gag v EV First Node on meme Vi vott Forces Disabled n l E Node Od b user ABit Time Input Output Driver AB ETH 1 5 6 7 8 9 302 302 302 302 302 302 302 302 302 302 302 302 302 302 302
17. 00 64 hex or 0 and 100 decimal Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 118 Sod EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 6 5 2 3 Modbus Function Code 05 Set Force Single Coil Using function code 05 the Modbus master host may directly address and write single bits that indicate coils to turn them ON or OFF Writing to a Read Only RO coil will e Have no affect on valve operation e Be ignored by the application software e Cause the actuator to return a response indicating illegal function code If a configuration coil is set which is dependent upon other configuration coils being set and the other coils are not set a configuration error will be indicated that prevents valve actuator control When a valid configuration is written the controller compares the state of the coil to the state stored in EEPROM If the state has changed the new state is stored to EEPROM configuration Refer to the previous section that identifies Standard Coils Example in byte order of a request to force coil 173 internal coil number 172 ON in slave device 17 Response example in byte order Slave Address 1 Slave Address 11 Function ranet 05 Coil Address Hi Coil Address Lo Force Data Hi Force Data Lo Coil Address Hi byte 00 Coil Address Lo byte AC Force Data Hi byte FF Force Data Lo byte 00 CRC Hi byte
18. 06 Register Address Hi Register Address Lo Preset Data Hi Register Address Hi byte 00 Preset Data Lo Register Address Lo byte 01 Preset Data Hi byte 00 Preset Data Lo byte 8 eae jibe CRC Hi byte CRC Lo byte Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 120 VG EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 6 5 2 5 Modbus Function Code 15 0x0F Set Force Multiple Coils Using function code 15 the Modbus master host may directly address and write a range of consecutive bits that indicate coils to turn them ON or OFF This is very similar to function code 05 that deals with single coils register bits except that function code 15 deals with a consecutive range of bits coils For more information refer to the previous section that identifies Function code 05 Set Force Single Coil Also refer to the previous section that identifies Standard Coils Example in byte order of a request to force a series of ten coils starting at coil 20 internal coil number 19 13 hex in slave device 17 Response example in byte order Slave Address Slave Address 11 Function Function OF Coil Address Hi Coil Address Lo Quantity of Coils Hi Quantity of Coils Lo Coil Address Hi byte 00 Coil Address Lo byte 13 Quantity of Coils Hi byte 00 Quantity of Coils Lo byte OA CRC Hi byte Data Byte Count 02 CRC
19. 1 e Backup Port Port 2 2 Scan period n 1 e Preferred Port Port 2 e Backup Port Port 1 3 Scan period n 2 e Preferred Port Port 1 e Backup Port Port 2 If a problem is detected on the preferred port for an actuator it will remain using the backup port until the next diagnostic scan is made to retest the port During restart after the initial diagnostic scan completes Port 2 is initially the preferred port Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 95 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 6 2 5 Communication Failure Indications Low Level amp High Level Only low level communication problems flagged as errors in tables 1 amp 2 Modbus exception messages are high level application level communication errors These are logged in table 20 Both types of communication errors are cleared only at the beginning of a diagnostic scan The 1771 C has 3 mechanisms for reporting communication problems 1 Table 1 low level The values 0 3 such that s 0 gt No problems on any port same as table 2 bit 14 0 s 1 gt Problems on Port 1 may be used to assist diagnostics s 2 gt Problems on Port 2 may be used to assist diagnostics s 3 gt Problems on both ports general communication fault same as table 2 bit 14 1 2 Table 2 low level Bit 14 such that e Bit 14 0 Communication O
20. 10C4 10C4 10C4 1004 10C4 10C4 10C4 10C4 10C4 10C4 10C4 10C4 1004 10C4 10C4 Table 14 in HEX because 10C4 1004 1004 1004 10C4 10C4 register FF9D FFOD FFYD FF9D FF9D FF9D FF9D 7 Columns 10 De NG Properties Usage Help Class 1 For Help press F1 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 72 Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 requested 00 is in bit indications So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 5 4 13 Table 15 Additional Block of Registers Being Polled From 1 Actuator Words 4 gt 63 PLC access Read Write TABLE FORMAT This operation allows the operator the chance to poll a single actuator for a block of registers The register values returned are stored in table 15 such that e Words 4 7 header information about information returned Word 4 Valve address where block of data came from Word 5 Valve actuator type id Word 6 Starting holding register number Word 7 Total Number of registers in block e Words 8 13 not used reserved e Words 14 63 register information returned TABLE CONTROL Control of this operation is via 4 words in table 0 such that e Table 0 Word 11 The actuator address to get the block of registers from e
21. 320A Actuator to carry the shielding through the network The shield connection of each actuator is isolated from earth ground Do not allow the shield to touch other circuits or the metal enclosure 3 1 5 Step 5 Wire Preparation and Connections Screw terminal connections on the TBM and in the TEC2000 terminal chamber have wire clamps which will accept conductors with out terminals Wire terminals may be applied if desired but are not required Strip conductor insulation back 3 8 when connecting directly to the TBM screw terminals Do not allow wire clippings to fall on the TBM or into the enclosure Protect the conductors and shield to prevent them from contacting any other circuits or earth ground Use plastic electrical tape or heat shrink tubing to prevent bare conductors from contacting other circuits or earth ground See Figure 3 1 3 1 6 Step 6 Test Network Use EIM s Configuration and Control Utility CCU to test the network prior to connecting to the host or network master The CCU is a Windows application which will run on a laptop Use a RS232 to RS485 adapter or EIM s Network Interface Unit NIU to connect the laptop to the network Test each actuator one at a time to determine that all network connections are good and each actuator is functional via the network in remote Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 15 So EIM CO NTROLS Controlinc 1771 C Version 5 21 N
22. 53 0 1 sec increments 8 9 Word 55 This scan period Longest scan time 0 1 sec increments 10 Word 56 Last scan period Average scan time last period 0 1 sec increments 11 Word 57 Last scan period Total scan time last period 0 1 sec increments 12 Word 58 Last scan period Shortest scan time last period 0 1 sec increments 13 Word 59 Last scan period Longest scan time last period 0 1 sec increments 14 Word 60 Duration of last diagnostic scan 15 Word 61 Duration of previous diagnostic scan 16 Word 62 Current period scan loop counter 17 Word 63 Current number of actuators online and communicating 0 1 sec increments 0 1 sec increments Note All real time timing information reported reported back by the 1771 C module has an accuracy of 50ms Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 41 ey EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 5 3 2 Table 0 Configuration Words Words 4 gt 17 The following words in table 0 are a configuration and control parameters set by the PLC for the 1771 C to run as expected Word 4 Number of Actuators on the network This is value indicates of the number of actuators on the network If this number ever changes all tables 1 20 except for 15 are reset to ensure valid values get filled for each valve on the network T
23. 99 FE T_T Rade Decimal dv Columns 10 Class 1 Last Node on 48 Node Network Note TEC2000 systems do not store their version ID in register 44 What you will see from a TEC2000 system is the upper bit set to 1 and the rest zero 0x8000 hex 32768 decimal For more information relating to TEC2000 version identification see the TEC2000 manual Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 82 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 5 4 17 Table 20 Modbus Exception Message Response Words 4 gt 63 PLC access Read Write This data is filled anytime a communication error is detected due to the remote system sending a 5 byte Modbus Exception Response message These are High Level Communication Errors Application Level This table is cleared at the start of a diagnostic scan Format e Table 20 Hi byte Error d function code as returned by the remote system e Table 20 Lo byte Modbus Exception Type 1 gt 3 The PLC may reset this table with any value is prefers To do this the PLC must insert the new value into the table and send it to the 1771 C as a write command The values in this table are not sent out to the actuators on the network A read back of Table 20 will s fa write command issued reflect the write command accepted by the 1771 C s fa read command issued reflect the curren
24. Byte Log Entry Number Reg 1248 Event Log Record 8 Register 1000 Inputs 1000 1015 Reg 1249 Event Log Record 8 Register 1001 Inputs 1016 1031 Reg 1250 Event Log Record 8 Register 1002 Inputs 1032 1047 Reg 1251 Event Log Record 8 Time minutes Time seconds Reg 1252 Event Log Record 8 Date Day Time Hour Reg 1253 Event Log Record 8 Date Year Date Month Event Log Record 8 Torque 0 100 Position 0 100 Event Log Record 8 TEEN k k k k ke ke 1 1 l 1 1 ee c c RL L la la l l 1E l 1E fv L L L Ke 1 1 1 1 fr 1 1 1 1 a Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 115 S D Q EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 RY 6 5 App Note Modbus Message Formats All Modbus communication timing estimates in this document are based on 9600 baud There is always a 10ms minimum Command Message Turn Around Time between when the last message was received by the 1771 C and when it can transmit again the physical network actually requires 8ms but 10ms is what the 1771 C delivers There is always a 8ms minimum Response Message Turn Around Time between when the last message was received by the actuator and when it can transmit again At 9600 baud it
25. CCM Compile Date Char 4 CCM Compile Date Char 3 Reg 1132 ID CCM Compile Date Char 6 CCM Compile Date Char 5 Reg 1133 ID CCM Compile Date Char 8 CCM Compile Date Char 7 Reg 1134 ID RESERVED NO OP Reg 1135 ID RESERVED NO OP Reg 1136 ID RDM1 Version ID Mid Num RDM1 Version ID High Num Reg 1137 ID RDM1 Compile Date Char 0 RDM1 Version ID Low Num Reg 1138 ID RDM1 Compile Date Char 2 RDM1 Compile Date Char 1 Reg 1139 ID RDM1 Compile Date Char 4 RDM1 Compile Date Char 3 Reg 1140 ID RDM1 Compile Date Char 6 RDM1 Compile Date Char 5 Reg 1141 ID RDM1 Compile Date Char 8 RDM1 Compile Date Char 7 Reg 1142 ID RESERVED NO OP Reg 1143 ID RESERVED NO OP Reg 1144 ID RDM2 Version ID Mid Num RDM2 Version ID High Num Reg 1145 ID RDM2 Compile Date Char 0 RDM2 Version ID Low Num Reg 1146 ID RDM2 Compile Date Char 2 RDM2 Compile Date Char 1 Reg 1147 ID RDM2 Compile Date Char 4 RDM2 Compile Date Char 3 Reg 1148 ID RDM2 Compile Date Char 6 RDM2 Compile Date Char 5 Reg 1149 ID RDM2 Compile Date Char 8 RDM2 Compile Date Char 7 Reg 1150 ID RESERVED NO OP Reg 1151 ID RESERVED NO OP Reg 1152 ID LDM Version ID Mid Num JLDM Versio
26. CITY TX 77489 Page 46 5 3 3 1 2 Ao This information is updated at the end of each scan EIM CONTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Table 0 Run Time Information Words Words 47 gt 63 The following words in table 0 are a run time feedback of real time values set by the 1771 C Word 47 Word 48 Word 49 Word 50 Rollover Counter for Scan Period Counter Accumulator Scan Period Counter Accumulator The port number for the currently preferred port Total number of valves polled during last network scan time slice before servicing the PLC communications Word 51 Word 52 Word 53 Word 54 Word 55 This scan period This scan period This scan period This scan period This scan period Last Network Scan Time Total elapsed time Average scan time Shortest scan time Longest scan time Word 56 Word 57 Word 58 Word 59 Last scan period Last scan period Last scan period Last scan period Average scan time last period Total scan time last period Shortest scan time last period Longest scan time last period Duration of last diagnostic scan Duration of previous diagnostic scan Current period scan loop counter Current number of actuators online and communicating Word 60 Word 61 Word 62 Word 63 0 1 sec increments 0 1 sec increments 0 1
27. Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 31 G EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 4 3 3 RLL Example Manually Send New Table Auto Read Response Below is a simple example of an RLL that will manually send a table in a BTW and read back the resulting feedback table using a BTR RSLogix 5 EIM RSP File Edit View Search Comms Tools Window Help Deel LBI lt lV IAS Olle ole gt OFFLINE JE No Forces El a H OIER OG wo Dl No Edits lz Forces Disabled E Die AB ETA Node 0d CD User AEX A Tmericouier ndroui Compare DAR mz BTW Y Og Help Block Transfer Write Controller Module Type Generic Block Transfer Rack 000 i Controller Properties o Processor Status p AU 10 Configuration Control Block BT7 0 PE Channel Configuration Data File N8 0 S Length 64 a Passwords and Privileges Conti No Program Files Setup Screen syso 4 LAD Zn BTR GJ Data Files IT oe Block Transfer Read B Cross Reference Module Type Generic Block Transfer Pi Rack 000 J 00 EA E n Module 0 s2 Control Block BT7 1 B3 Data File N8 70 Length 64 if Continous No c5 Setup Screen D re BT7 NB N21 CONFIG E Force Files o0 n Extended Force Files D Fie1 File 2 AP Ne ite2 I For Help press F1 Class 1 Control amp Feedback via the N8
28. E Ne 0 0 0 E 0 50 5 0 3 0 0 Memory NG 10 0 0 0 o 0 0 0 0 0 0 Area to NS 20 0 0 0 0 0 0 0 0 0 0 Ka N8 30 0 0 0 0 0 0 0 0 0 0 1771 C 18 40 0 0 0 0 0 0 0 0 0 0 8 50 0 0 0 0 0 0 0 0 0 0 8 60 0 0 0 0 0 0 0 0 0 0 Te 70 0 0 502 0 60 50 0 2 0 0 8 80 0 0 0 0 0 0 0 0 0 0 8 90 0 0 0 0 0 0 0 0 0 0 N8 100 0 0 0 0 0 0 0 0 0 N8 110 0 0 0 0 0 0 0 0 1 N8 120 3 51 102 51 50 51 51 2590 49 52 N8 130 92 91 3 60 mimi HE Redke Decmal Symbot al 10 S ml NS Properties Usage Help State after writing table 0 configuration values File NB dec SEE 0 0 1 2 3 5 6 7 8 9 8 0 1 0 0 5 0 3 0 0 NS 10 0 0 0 0 0 0 0 0 0 0 NS 20 0 0 0 0 0 0 0 0 0 0 Ng 30 0 0 0 0 0 0 0 0 0 0 NB 40 0 0 0 0 0 0 0 0 0 0 NS 50 0 0 0 0 0 0 0 0 0 0 NB 60 0 0 0 0 0 0 0 0 0 0 NS 70 0 I 502 0 50 5 0 3 0 0 NS 90 0 0 0 0 0 0 0 0 0 0 NS 90 0 0 0 0 0 0 0 0 0 0 NS 100 0 0 0 0 0 0 0 0 0 0 Ng 110 0 0 0 0 0 0 0 0 0 2 NS 120 4 42 42 42 42 42 az 211 42 42 NS 130 75 75 2 50 KI BEI Radix Decimal z Smt SSS E Columns f10 x bess o E Ne Properties Usage Help Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 50 Qo EIM CONTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 5 3 4 4 Table 0 The Run Time Feedback Values From 1771 C RSLOGIX 5 This screen demonstrates examples of the run time information that the 1771 C report
29. Interface Analog output register DAC Analog counts Valve position setpoint Valve position 0 gt 100 in 0 1 increments Analog counts 0 1 AINO Analog input 0 position indicator This value indicates the actual position of the actuator Analog counts AIN1 Analog input 1 Torque indicator pot Analog counts AIN2 Analog input 2 User analog input 1 Analog counts AIN3 Analog input 3 User analog input 2 Water hammer setpoint Analog counts Analog counts Modulation delay time 100 25500 0 001 second ESD delay timer 0 65535 0 001 second Position bandwidth 4 205 Analog counts Speed bandwidth 12 410 Analog counts Default Setpoint on Analog Input Fault Indication AIN1 Torque Pot ZERO calibration scaling factor 0 4095 Analog counts Analog counts AIN1 Torque Pot SPAN calibration scaling factor Analog counts AIN2 User AIN 1 ZERO calibration scaling factor Analog counts Analog counts AIN2 User AIN 1 SPAN calibration scaling factor AIN3 User AIN 2 ZERO calibration scaling factor Analog counts AIN3 User AIN 2 SPAN calibration scaling factor Analog counts Analog output ZERO calibration scaling factor Analog counts Analog output SPAN calibration scaling factor LSA setpoint 0 4095 Analog counts Analog counts LSB setp
30. Oo actual controlling equipment The main function VE y kl kanna of the 1771 C is to provide the interface between a PLC and its network of valve YU ep actuators Acting as a Host the PLC controls A B 1771 Chassis the network by sending data to the 1771 C for verre routing to a particular actuator The 1771 C N AG R network master polls the individual actuators for Network Master lt 120vac information and makes it available to the PLC eer ee when requested A typical ring topology network and network master are illustrated in Figure 1 The 1771 C module serves as a master within this Modbus Modbus RTU master slave network The module will manage network operation by JE at keeping an orderly cycle of data transfers JU Ju between itself and each slave valve actuator Figure 1 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 2 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SS The 1771 C master will handle network communication error detection alarming and network recovery Other features include e Reporting of inaccessible actuators e Reporting of network faults e Emergency shutdown broadcasting e Minimal Interfacing with the Relay Ladder Logic RLL program in the PLC CPU module Each 1771 C module can support a single network of up to 60 valve actuators Multiple modules can be installed in a PLC 5 system rack to
31. VS r G mv ct OD J o Oo Properties Usage Help I Class 1 00 Last Node on 48 Node Network Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 63 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 5 4 8 Tables 9 amp 10 Digital Input Accumulators Totalizers 1 amp 2 Words 4 gt 63 PLC access Read Write These tables contain 16 bit accumulator totalizer numbers stored in holding registers 66 amp 67 in the actuators This data is retrieved with a separate Modbus read command when the particular actuator is being polled scanned e Table 9 Value for Accumulator Totalizer 1 e Table 10 Value for Accumulator Totalizer 2 These tables are not polled for unless the 1771 C is configured to allow it e if Table 0 Word 7 0 The accumulator totalizer information is NOT requested when actuators are polled the default e if Table 0 Word 7 0 The accumulator totalizer information is requested when actuators are polled The PLC may reset these tables and the counters in the actuators with any value is prefers All it needs to do is insert the new value in the table and send it to the 1771 C as a write command The 1771 C will then send the value to the actuator A read back of Tables 9 amp 10 will s If awrite command issued reflect the write command accepted by the 1771 C s fa read c
32. Version 5 21 Network Master Users Guide 2004 11 18 6 4 App Note Memory Maps All references to memory maps in EIM actuators reflects the description of the memory as of the date of the document To ensure correctness in the future refer to current descriptions of the memory for the particular EIM product 6 4 1 Specific Holding Registers Referenced by the Network Master Holding Register 00 02 Description Coils 00 15 Coils 32 47 Discrete Inputs inputs 00 15 Valve Status Information inputs 16 31 Valve Position 0 100 in 1 increments Received in poll but not used Inputs 32 47 Received in poll but not used Duplicate of register 06 inputs 16 31 Received in poll but not used Analog Output Register Valve Postion Setpoint 320A reserved 320B inputs 48 63 Received in poll but not used Valve Position 0 100 0 in 0 1 increments AINO Valve Position 0 4095 AIN1 Torque Pot input Received in poll but not used AIN2 User Analog Input 1 AIN3 User Analog Input 2 44 Software Version ID Totalizer Accumulator 1 Totalizer Accumulator 2 100 MFG ID Network Address TEC2000 Inputs 1000 1015 TEC2000 Inputs 1016 1031 TEC2000 Inputs 1032 1047 TEC2000 Inputs 1048 1063 TEC2000 Co
33. Via Port 2 the 1771 C e can communicate with actuators 1 3 and e cannot communicate with actuator 4 by definition e actuators 5 8 depends upon the hardware problem at the actuator Via Port 1 the 1771 C e can communicate with actuators 8 4 and e actuators 3 1 depends upon the hardware problem at the actuator In summary for table 1 possibilities e All actuators can communicate over at least one port so no total COM faults no 3 entries in table 1 e There is a possibility that all actuators could communicate on both channels except 4 many 0 entries and possibly one 2 entry in table 1 e There is a possibility that none of the actuators could communicate on both channels many 1 and 2 entries in table 1 Since all actuators could communicate Bit 14 in table 2 would be clear for all actuators Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 98 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 6 2 6 Bringing Units On Line After a Power Cycle ACTUATOR POWER CYCLE If you cycle power on the actuators the 1771 C will indicate that the actuators are off line and it will only bring them back on line during the next diagnostic scan ACTUATOR POWER CYCLE lt RESET gt If you cycle power on the actuators and press the reset button on the 1771 C the 1771 C will bring the actuator
34. actuators if any the network master will poll and control the discrete outputs on the actuator This configuration information is loaded into table 16 Upon reset the 1771 C default configuration will assume That there are 60 actuators on the network A Scan Period of 50 scans before a diagnostic scan Do not poll the actuator totalizers 2 additional valves to scan making a total of 3 valves scanned in the scan time slice before servicing the PLC No 320A solid state relays contactors installed in any actuators No additional response delay for messages returning from actuators No specific register to poll from all nodes on the network No block of registers to get from a specified actuator node on the network The scan period reset value is zero but do not reset the counter now No direct monitoring or control of discrete outputs on specific actuators on the network Do not poll TEC2000 input registers Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 88 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 6 1 4 Behavior if a Delay in Loading Table 0 Configuration Information The 1771 C does not store configuration information if power is cycled When the 1771 C restarts it reverts to factory default values 60 actuators 50 Scan Period It is the responsibility of the PLC to ensure that system configuration information is writte
35. and they are addressed as coils 1000 1011 in register 1004 such that e Coil 1000 RO1 Relay Output 1 e Coil 1001 RO2 Relay Output 2 e Coil 1002 ROS Relay Output 3 e Coil 1003 RO4 Relay Output 4 s Coil 1004 RO9 Relay Output 9 e Coil 1005 RO10 Relay Output 10 e Coil 1006 RO11 Relay Output 11 e Coil 1007 RO12 Relay Output 12 e Coil 1008 SO6 Solid State Output 6 e Coil 1009 SO7 Solid State Output 7 e Coil 1010 SO8 Solid State Output 8 e Coil 1011 ROQ Relay Output 9 Ordering is such tha e Coil 1000 is the LSB and located in the bit 0 position the right most position e Coil 1011 is the MSB and located in the bit 11 position Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 76 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 320A B DISCRETE OUTPUTS COILS On a the other system types 320A and 320B there are 3 outputs and they are addressed as coils 3 5 in register 00 such that e Coil 3 ESD monitor relay e Coil 4 User Output Relay 1 e Coil 5 User Output Relay 2 Ordering is such that e Coil 3 is the bit 3 position the 4 position in from the right e Coil 4 is the bit 4 position the 5 position in from the right e Coil 5 is the bit
36. as an exchange buffer area To prevent potential overwriting problems when performing BTWs amp BTRs there are two actual 64 word buffers in this exchange area e Basic Input Buffer BIB PLC fills to send 64 words to the 1771 C s Basic Output Buffer BOB 1771 C fills to send 64 words to the PLC This is the only address accessed by the PLC when executing the BTW amp BTR commands meaning that all reads amp writes by the PLC are to and from these buffers 1771 C MODBUS RTU BTR amp BTW commands commands executed by the executed by the 1771 C driver 1771 C and PLC operations actuators 64 Word Exchange Buffers Standard RAM Tables ACTUATOR Figure 3 1 Concept Diagram of Command Operations Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 26 Vg EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 4 3 1 Operation PLC Write Data Tables To or Read Tables From the 1771 C Relative to BTW BTR commands from the 1771 C perspective there is no difference in handling e Writing a value to any table in the 1771 C memory e Writing a value to a table in the 1771 C memory that is also passed on to the specified actuator on the network They both require a BTW block transfer command The only difference is in the 2 word in the block being transferred word 1 s If word 1 0 then this a BTW command to table from the 1771 C s If word
37. command for a particular valve has not changed value in the table is the same as before then nothing is sent to the particular valve it is skipped Basically when the 1771 C starts acting on a command to write data to the actuators it compares the current value in the table with the new one If the values are different then the actuator is flagged as one to write information to When writing discrete output control commands directly controlling coils 3 5 or 100 1011 the 1771 C does NOT compare the value to the last one When commanded to write to the coils it is performed ONE TIME and then turned off for that actuator however monitoring the status of those outputs is left on for that actuator When the 1771 C starts writing data to the actuators is starts with the lowest address number and proceeds through to the highest address number This write operation is completed after all appropriate actuators have been written to In general there is one Modbus command response set issued for EACH PLC command to write data to a particular actuator ex writing analog output data However as per the specification when a position control command is issued the 1771 C is required to ensure that a SSR contactor configuration bit is set on any 320A system prior to receiving a control command Therefore there are up to 3 Modbus command response sets issued for EACH PLC command to write position data in any particular 320A actuat
38. considered Low Level communication errors The value of the word gives the following status s 0 good communication through both ports s 1 error communicating through Port 1 but success on Port 2 s 2 error communicating through Port 2 but success on Port 1 e 3 No communication to the valve actuator at all In this case bit 14 in Table 2 will also b This table can be used by the PLC system to diagnose valve actuators that are not communicating If a network requires maintenance then information in this table can help trace the problem During a network fault this information can help point to the section that s in fault During communication with the actuators a time out value is implemented to flag network errors The network master will try to communicate with the valve from the currently preferred port three 3 times If the valve does not respond within those three times the valve is flagged to communicate on the current backup port and the 1 port is identified as having a problem with that valve in table 1 The backup port immediately tries to communicate with the valve three more times If the valve still fails to respond the particular actuator is flagged as having a general communication error by having e Its table 1 entry set 3 s Its bit 14 in table 2 set 1 The data in this table is always updated any time the 1771 C tries to communicate with the network However
39. data if its not being used ex only poll for static non changing data one time and stop prevents unnecessary delays to gathering the more important data from the network Remember The 1771 C uses explicit read write commanding of the tables such that if word 1 in any table is zero 0 then it is a table read request by the PLC Otherwise the command is a table write command Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 1 O EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 1 Introduction 1 1 Overview of 1771 C System This document is intended for end users as a Guide in applying an EIM AB 1771 C Network Master The software that enables network operation is called a communication driver It is used in conjunction with an Allen Bradley 1771 DB Series B module thereby creating the 1771 C network master module The 1771 C allows an AB PLC 5 controller to acquire data from and send information to an EIM Controlinc Actuator Network Other than changes to tables 11 amp 12 version 5 21 is fully backwards compatible with version 5 03 mm m Re a N GENERAL SYSTEM PURPOSE The EIM 1771 C network master serves as a data concentrator for applications that use an AB PLC 5 Programmable Logic Controller PLC 9 In general the network master off loads network communication and management tasks from the mal rer
40. factor Analog output SPAN calibration scaling factor LSA setpoint LSB setpoint Valve CLOSE Duty Cycle Timer ON Time Valve CLOSE Duty Cycle Timer OFF Time Valve OPEN Duty Cycle Timer ON Time Valve OPEN Duty Cycle Timer OFF Time COM1 baud rate COM1 response delay COM2 baud rate COM2 response delay Passcode characters 1 amp 2 1 gt LSB 2 gt MSB Passcode characters 3 amp 4 3 gt LSB 4 gt MSB Software Version ID Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 105 ey EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 320A Holding Register Description Current torque at 10 open while opening valve Current torque at 20 open while opening valve Current torque at 30 open while opening valve Current torque at 40 open while opening valve Current torque at 50 open while opening valve Current torque at 60 open while opening valve Current torque at 70 open while opening valve Current torque at 80 open while opening valve Current torque at 90 open while opening valve Archived torque at 10 open while opening valve EEPROM Archived torque at 20 open while opening valve EEPROM Archived torque at 30 open while opening valve EEPROM Archived torque at 44 open while opening valve EEPROM Archived torque at 50 open while opening valve EEPROM
41. from the actuator at the address specified in word 4 Therefore if a read of table 15 indicates that e Word 4 0 then the data is not valid there are not valves with address 0 that can respond with data e Word 4 0 then the data in the table came from a valve If the PLC is utilizing table 15 it is recommended that the PLC also poll table 20 If an exception message is returned then the block of data won t be inserted into table 15 but the exception message indicator will be inserted into table 20 If detected and the PLC wants to try again it should initialize table 15 to some known value and either explicitly clear table 20 or wait until after the next diagnostic scan which automatically clears table 20 before trying again Example Scenario If there are multiple types of EIM equipment on the network and the table 15 command requests a block of data from an actuator that is not supported by that type of actuator but is on the others the particular actuator will return a Modbus Exception for that message and the block of data will NOT be loaded into tables 15 However the exception codes will be loaded into table 20 For example if requesting a block of registers 15 30 from unit 5 and it is a e 320A system the block of registers is returned e TEC2000 system an exception code is returned Notes on table 15 use s It is recommended that the PLC only keep this operation active u
42. gt Ro Ca oe n MV BE First Node IE on Network EN T yoann ooo Forces Disabled Driver AB_ETH 1 o o wo wo o o CO Dal os ss so ef EE Oo o g G o G fig ct EE Jo _ Ra Decimal dv Columns 10 vi Last Node on 48 Node Network Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 57 y E G EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 5 4 4 Table 4 Valve Position Indication 0 100 0 Words 4 gt 63 PLC access Read Only The Network Master receives the valve position from the actuator as an integer representing 0 gt 100 open in 0 1 increments In other words it receives a value from 0 1000 and each increment indicates a 0 1 s 0 gt Full Closed 0 0 open s 1000 gt Full Open 100 0 open This data is derived from holding register 13 in the actuator Itis retrieved with the standard data request Modbus read command when the particular actuator is being polled scanned Example Table 4 Feedback 48 node network Characteristics e Unit 1 indicated position is 22 9 open e Unit 2 indicated position is 12 2 open e The rest of the network s indicated position is fully open at 100 0 open RSLogix 5 EIM File N8 dec File Edit View Search Comms Tools Window Help LD gt tel amp oH First Node on Network FRENTE RUM e Forces Disabled Driver AB
43. in the actuators and is retrieved with the standard data request Modbus read command when the particular actuator is being polled scanned When the 1771 C sends a new value to the actuators it uses the Modbus function 6 command to write to holding register 10 in the actuators The output is a linear scaling based on 0 0x0000 4mA e 4095 OxOFFF 20 mA Note Only values 0 gt 4095 are allowed all others are ignored A read back of Table 8 will e lf awrite command issued reflect the write command accepted by the 1771 C s fa read command issued reflect the current value of the analog output register in the actuators Note Please read the Operators Manual the particular actuator for more information Note This is an option that must be installed on the actuator Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 62 V Gg G EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Ss Example Table 8 Feedback 48 node network Characteristics e On this network none of the analog output values have been activated a 1 value recorded there valid values are 0 4095 RSLogix 5 EIM File N8 dec File Edit View Search Comms Tools Window Help EELE SHS Selo el O EY R sno No Forces 2 A O JE E gt F on Network Forces Disabled Driver AB_ETH 1 on o o m m p xe Hai
44. interpret bit indicator data s Units 1 amp 2 o Selector switch in REMOTE bit 4 1 o Communication Alarm exists bit 14 1 e The rest of the network is all the same o Selector switch in OFF bits 4 amp 5 00 o Open Torque Alarm is active bit 6 1 o Unit Alarm is active bit 15 1 RSLogix 5 EIM File N8 hex First Node on Network Oe amp ae SEA Noro e Driver AB_ETH 1 Node Od t U 9 8040 0 1 2 3 ae 170 lt mA o 208 0 208 D4020 4020 8040 8040 8040 8040 8040 8040 8040 8040 8040 8040 8040 8040 8040 8040 FF9D FF9D FFSD FF9D 8040 8040 8040 8040 8040 8040 8040 8040 8040 8040 8040 8040 FF9D FFSD FF9D FF9D 8040 8040 8040 8040 FF9D Table 2 in HEX because this table represents bit indications Columns 10 vw Help d Properties Usage Classi Last Node on 48 Node Network Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 55 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 5 4 3 Table 3 Discrete Control Mode Open Close Stop Words 4 gt 63 PLC access Read Write This table commands the actuator to move the valve either OPEN CLOSED STOP There are three discrete valve control commands available 1 1 0x0001 Tor Open 2 2 0x0002 for Close 3 3 0x0003 for Stop now at the current location The 1771 C will
45. is five 5 The maximum number is 200 Note If your system requires highest performance and speed then you may want to raise this value 200 is max If the system does not require performance but requires high reliability and early communication fault detection you might want to lower this number 5 is minimum Note For more information on using the scan period value and the diagnostic scan refer to the Application Note at the end of this document Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 42 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Ss Word 6 FUNCTION Poll for Accumulator Totalizer Data This is a flag that indicates whether or not the 1771 C should request accumulator totalizer data from the actuators when scanning The totalizer values are stored in tables 9 amp 10 This data is retrieved with a separate Modbus read command when the particular actuator is being polled scanned If word 6 do not poll for totalizer data If word 6 0 any non zero value poll for totalizer data By default word 6 0 do not poll for totalizer data Word 7 Additional Valves to Poll in the scan time slice The process scheduler has 2 primary processes to monitor 1 Scanning the network polling valves 2 PLC communication amp service Each process is given a particular time slice to operate in with By pro
46. sec increments 0 1 sec increments 0 1 sec increments 1 sec increments 1 sec increments 1 sec increments 1 sec increments GC G G G 0 1 sec increments 0 1 sec increments If the information is scan period based then the information is updated only at the end of the last scan for the particular scan period Note All real time timing information reported reported back by the 1771 C module has an accuracy Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 of 50ms Page 47 VG EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 5 3 4 Table 0 RSLOGIX 5 Examples 5 3 4 1 Example RSLOGIX 5 Screen De EAR Yew Search Comms Took window beb DEMS ihe Waa larn ft oe A No Eds I Forces Disabled Node 04 IFK User KBr Dover AB_ETH Tam Koute t L 090 6 TTL NED fesrnoaebecsnsoot cooooaccnooooe No G o o o o oOo lO in G N G 000 o 0 0 G oO 0o 00 olg G oo o o o o oOo oOo oO oO ogg e O O O O O O O O O O ORS 0 0 0 0 0 0 D 0 0 0 0 0 3 w N w n e re in in N DE Radix Decimal x Columns 10 v Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 48 EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 5 3 4 2 Table 0 The Configuration Valu
47. takes about 1 145ms character transmitted per byte in the message being transmitted 11 bits in each char 9600 baud DIAGRAM OF COMMUNICATION ON THE NETWORK Command Message Turn Around Response Message Turn Around Command Message Turn Around Transmit Time 8ms Transmit Time 10ms Transmit Time 8ms 6 5 1 Modbus RTU Functions Command Codes Implemented 1771 C system utilizes a subset of Modbus RTU protocol The protocol is implemented in accordance with Modicon Modbus Protocol Reference Guide PI MBUS 300 Rev J The following Modbus function codes are used Acton and Data Type Read Coil Status Read current status of a group of discrete output bits Read Holding Register Read binary value in one or more 16 bit registers Set Force Single Coil Write a single discrete output bit on or off 06 Set Single Register Write a binary value to a specific 16 bit register Set Force Multiple Coils T Write on off state to a group of coils Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 116 V G Q EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 K 6 5 2 Modbus Function Command Code Descriptions Most of the rest of the information in this section came directly or was paraphrased from the Modbus Specification 6 5 2 1 Modbus Function Code 01 Read Coil Status Using function code 01 the Modbus master host may directl
48. the rest of the standard data from the valve Note If the 1771 C can t communicate with this particular actuator that is supposed to be on line it marks that actuator as off line to skip on the next scan cycle If there are problems communicating on any particular channel to the actuator this is also recorded the PLC interface time slice g If ready to interface with the PLC ready for the PLC time slice then do it When finished with this PLC interface time slice if the number of valves changed in table 0 end this loop reset the rest of the tables and setup to enter a diagnostic scan restart with new data Otherwise still in the valve scan time slice If not at the last valve on the network loop back to step a above and get data from the next actuator Ill Network Scan cleanup e Label Non Used Actuator Operation Mark all non used actuator entries in the tables with an invalid value 99 e Determine if the network is down by counting the number of actuators that did not communicate with the 1771 C If the network is down then turn LED2 on and force the next scan to be a diagnostic scan Otherwise ensure LED is off e Account for network scan timings to be displayed in table 0 IV Loop back to the top and start another network scan Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 92 So EIM CO NTROLS Controlin
49. 00 Reg 1210 Event Log Record 3 Reg 1211 Event Log Record 4 ICRC High byte CRC Low Byte Log Entry Number Reg 1212 Event Log Record 4 Register 1000 Inputs 1000 1015 Reg 1213 Event Log Record 4 Register 1001 Inputs 1016 1031 Reg 1214 Event Log Record 4 Register 1002 Inputs 1032 1047 Reg 1215 Event Log Record 4 Time minutes Time seconds Reg 1216 Event Log Record 4 Time Hour Reg 1217 Event Log Record 4 Date Month Reg 1218 Event Log Record 4 orque 0 100 Position 0 100 Event Log Record 4 Reg 1220 Event Log Record 5 CRC High byte CRC Low Byte Log Entry Number Reg 1221 Event Log Record 5 Register 1000 Inputs 1000 1015 Reg 1222 Event Log Record 5 Register 1001 Inputs 1016 1031 Reg 1223 Event Log Record 5 Register 1002 Inputs 1032 1047 Reg 1224 Event Log Record 5 Time minutes Time seconds Event Log Record 5 Date Day Time Hour Reg 1226 Event Log Record 5 Date Year Date Month Reg 1227 Event Log Record 5 orque 0 100 Position 0 100 Reg 1228 Event Log Record 5 Reg 1229 Event Log Reco
50. 1 Network Master Users Guide 2004 11 18 SG 5 4 14 Tables 16 amp 17 Monitor amp Control Discrete Digital Outputs Words 4 gt 63 PLC access Read Write The entire operation to monitor and control the discrete outputs requires 2 tables e Table 16 CONTROL store commands desired states for discrete outputs coils e Table 17 MONITORING feedback actual states of discrete outputs coils Table 16 allows the operator the ability to monitor poll and control the discrete outputs on an actuator All discrete output control is performed via this table no table 0 entries are required Table 17 is the feedback information for polling the discrete outputs e This data is retrieved with a separate Modbus read command when the particular actuator is being polled scanned e This data is only polled for when the matching valve entry in table 16 indicates that the 1771 C should start monitoring these coils Once polling monitoring has started it must be explicitly turned off s This table will only reflect the status of bits representing coils All others are either ignored or zeroed out e The PLC may reset this table with any value is prefers All it needs to do is insert the new value in the table and send it to the 1771 C as a write command The table will be reset even though nothing will be sent out to any actuator TEC2000 DISCRETE OUTPUTS COILS On a TEC2000 system there are 12 outputs
51. 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 110 R W 1104 S EIM CONTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 6 4 8 TEC2000 Memory Map Table for Holding Registers Reg 1000 Discrete Inputs 1000 1015 Reg 1001 Discrete Inputs 1016 1031 Reg 1002 Discrete Inputs 1032 1047 Reg 1003 Discrete Inputs 1048 1063 Reg 1004 Coils 1000 1015 Reg 1005 Coils 1016 1031 Reg 1006 Coils 1032 1047 Reg 1007 Coils 1048 1063 Reg 1008 Coils 1064 1079 Reg 1009 Coils 1080 1095 Reg 1010 Coils 1096 1111 GENERAL DESCRIPTION HIGH BYTE LOW BYTE Reg 1011 Factory Setup Model ID Char 1 Model ID Char 0 Reg 1012 Factory Setup Model ID Char 3 Model ID Char 3 Factory Setup Model ID Char 5 Model ID Char 4 Factory Setup Serial Num Char 0 Model ID Char 6 Factory Setup Serial Num Char 2 Serial Num Char 1 Factory Setup Serial Num Char 4 Serial Num Char 3 Factory Setup Serial Num Char 6 Serial Num Char 5 Factory Setup Serial Num Char 8 Serial Num Char 7 Factory Setup MFG Date Char 0 Serial Num Char 9 Factory Setup MFG Date Char 2 MFG Date Char 1 Reg 1021 Fac
52. 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 34 Se EIM CONTROLS S Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 5 1 Table Arrangement Table 6 Table 7 Table 0 Table 1 Table 2 Table 3 Table 4 Table 5 Table 8 Table 9 Table 10 Table 11 Table 12 Table 13 Table 14 Table 15 System nfo Table Comm Error Status Interpreted Valve Status Bits Reg 06 Valve Control Discrete Control Valve Position Feedback 0 100 Valve Control Valve Setpoint Analog Input 1 Analog Output 1 Input 2 Totalizer 1 Totalizer 2 Valve Position 0 4095 Status Bits for Discrete Digital Input s Additional Register to All Valves on Network Command in 0 1 O C S increments 0 4095 R W 0 0 0 reg 14 reg 05 Read Only Read Only 0 0 R W R W Block of Registers particular valve R W Reserved Reserved F W ID Reserved Reserved Reserved F W ID F WID F WID Reserved F W ID Reserved F WID FIWID Reserved Reserved F W ID F W ID F W ID F W ID Reserved Reserved Reserved F W ID Reserved F W ID Reserved F W ID Reserved F W ID Reserved F W ID 1 2 3 OQ wo ESD ESD Valve 1 AIN 1 Valve 2 AIN 1 Valve 3 AIN 1 ve 4 N 1 Val
53. 489 Page 91 V Gg EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 6 2 2 Detailed Description of 1771 C Operation 1 Power up and self initialization LED1 amp LED2 both on 2 Perform the initial diagnostic scan to determine which actuators are actually on the network 3 Turn LED1 amp LED2 off 4 Stay in a loop performing the following activities I Setup to start new scan of network s f diagnostic scan Ensure the communication ports are setup correctly The previous scan period group of scans has finished Toggle the preferred communication port e Toggle the state of LED1 on or off Il Perform the Network Scan Using a time slice time sharing methodology loop through all the actuators on the network starting from 1 and going through n the highest number on the network such that the valve scan time slice a Ifa diagnostic scan Clear any communication failure indications for the particular valve to be polled Get system type ID try on both ports If an EIM system get the firmware version ID b If supposed to get data for the valve do it c If supposed to request a specific holding register do it If supposed to request a block of holding registers from this actuator do it d If supposed to monitor or control the discrete user relay outputs on this actuator do it e If supposed to get TEC2000 input data do it f Get
54. 5 position the 6 position in from the right FORMAT There are 2 distinct areas in each word in table 16 e Command Control bits bits 15 13 in the upper most nibble e Desired coil output states o Bits 11 0 for TEC2000 systems o Bits 5 3 in other systems Only these bits are set in this table All others are zeroed out COMMAND CONTROL There are only 3 valid control values upper nibble in the word the PLC can send to the 1771 C concerning this operation 1 1000 binary Setting the upper nibble 1000 top 1 bit set tells the 1771 C to start monitoring the status of the output coils and recording them in table 17 The 1771 C will also clear the desired state bits set table 16 bits 3 5 000 2 1110 binary Setting the upper nibble 1110 top 3 bits set tells the 1771 C to e Start monitoring the status of the output coils and recording their states in table 17 e ONE TIME write the desired states of the output coils to the particular actuator Once successful bit 13 is set 0 to prevent further excess writes 3 Oxxx binary Setting the bit 0 bit 15 0 and don t care about the others tells the 1771 C to terminate monitoring and writing Essentially clear the command The 1771 C will also clear the bits representing the desired state of all output coils in table 16 The 1771 C will only react to these values from the PLC in the upper nibble A
55. 78 O EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Ss Example Tables 16 amp 17 Feedback 48 node network Characteristics e To make it more meaningful tables 16 amp 17 are in hex because of bit indications e Monitoring is being performed on units 1 6 bit 15 1 in table 16 e The PLC commanded the 1771 C to set all the coils on units 3 6 bits 15 13 111 OxEOxx in table 16 the value prior to the 1771 C acting upon the command bits 5 3 111 in table 16 e The 1771 C processed the command and wrote the new coil states to actuators 3 6 bits 15 13 110 OxCOxx in table 16 e Units 3 6 all have all 3 discrete outputs on bits 5 3 111 0x0038 in table 17 10 HEX 16 decimal 11 HEX 17 decimal RSLogix Z IM File N8 hex eie Edit Search Comms Tools Window Help mem noe fe Node od gt Nuser Ket Timer He q g ya 1 lt gt oD i SE T M8000 8000 C038 C038 C038 C038 o o 0 0 0 oO 0 o o 0 0 0 0O 0 o o o 0 oO oO 0 o o 0 0 O oO 0 O FF9D FF9D FFSD FF9D FF9D FF9D FFSD FFSD FF9D FFJD FF9D FFSD fet Radic HexD Coluyfns 10 gt Class 1 For Help press F1 Class 1 Last Node on 48 Node Network For Help press F1 Last Node on 48 Node Network Copyright 2004 EIM COMPANY ING 13
56. 840 PIKE ROAD MISSOURI CITY TX 77489 Page 79 y E EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 5 4 15 Table 18 Actuator System Type ID Words 4 gt 63 PLC access Read Only This data is primarily derived from holding registers 44 amp 100 in the actuator These registers are retrieved with 2 separate Modbus read commands when the particular actuator is being polled scanned during a diagnostic scan There are currently 4 types of EIM equipment identified There are 6 system type values that can be entered into table 18 s If EIM equipment type 320A value in table 18 1 s If EIM equipment type 320B value in table 18 2 s If EIM equipment type TEC2000 value in table 18 3 s If non EIM equipment type value in table 18 0 or 255 NOTE There are 2 possible values if the unit is identified as non EIM e 0 If failed identification method 1 e 255 If failed identification method 2 The 1771 C uses these values internally Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 80 VG EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Example Table 18 Feedback 48 node network Characteristics e Unit 1 is an EIM 320B system type 2 e Unit 2 is an EIM 320A system type 1 e Units 3 48 are EIM 320B systems
57. A ESD Valve 1 AIN 2 Valve 2 AIN 2 Valve 3 AIN 2 Valve 4 AIN 2 Valve 4 AOUT ESD ESD Valve 1 Valve 1 AOUT TTL 1 TTL 2 Valve 2 Valve 2 Valve 2 AOUT TTL 1 TTL 2 Valve 3 Valve 3 Valve 3 AOUT TTL 1 TTL 2 ESD Valve 1 ESD ESD Valve 1 Status Valve 2 Status Valve 3 Status a S Valve 4 atus ESD Valve 1 SSR Valve 2 SSR Valve 3 SSR Valve 4 SSR ESD ESD Valve 60 Comm Status Table 16 Command to Monitor amp or Control Discrete Digital Outputs Read Write R W Table 17 Status of Discrete Digital Outputs Read Write 0 Table 18 System Type Read Only 0 Valve 60 AIN 1 Valve 60 STPT Table 19 Firmware Version ID Read Only 0 Valve 60 AIN 2 60 Table 20 Modbus Exception Response Indications Read Write R W Valve AOUT Valve 60 Valve 60 TTL 1 Table 21 TEC2000 Inputs 1000 1015 Reg 1000 Read 1 Write R W Valve 4 Valve 4 TTL 1 TTL 2 TTL 2 Table 22 TEC2000 Inputs 1016 1031 Reg 1001 Read H Write R W Table 23 TEC2000 Inputs 1032 1047 Reg 1002 Read i E Write R W Table 24 TEC2000 Inputs 1048 1063 Reg 1003 Read 1 E Write R W B Reserved F W ID Reserved F W ID Reserved F W ID Reserved F W
58. CITY TX 77489 Page 96 amp EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SAMPLE NETWORK physical wiring Scenario 1 Scenario 2 Break network at Actuator 4 port A between actuators 3 amp 4 In this case the 1771 C must communicate with e actuators 1 3 via port 2 and e actuators 8 4 via port 1 This means that there would be problems communicating on e port 2 with actuators 8 4 and s port 1 with actuators 1 3 This means that in table 1 there would be the following values s 2 in the locations for actuators 8 4 s 1 in the locations for actuators 1 3 Since all actuators could communicate Bit 14 in table 2 would be clear for all actuators Break network at Actuator 4 port A amp Actuator 6 port B In this case the 1771 C must communicate with e actuators 1 3 via port 2 and e actuators 8 7 via port 1 and e actuators 6 4 cannot communicate This means that there would be problems communicating on e port 2 with actuators 8 7 and s port 1 with actuators 1 3 and e both ports with actuators 6 4 This means that in table 1 there would be the following values e 2 in the locations for actuators 8 7 e 1 in the locations for actuators 1 3 s 3 in the locations for actuators 6 4 Bit 14 in table 2 would be set 1 for actuators 6 4 It would be clea
59. E ROAD MISSOURI CITY TX 77489 Page 36 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 5 2 Standard Header Format All Tables Words 0 gt 3 The header is the first four 4 words in the data block Please refer to the list of tables in Figure 3 2 5 2 1 Word 0 Table ID As in the first word in the block data transfers this first word is the Table ID This can also be considered the Command ID 5 2 2 Word 1 Read Write Command Indicator If a Read Write Table If word 1 this is a command from the PLC to the 1771 C to read the specified table from 1771 C memory and place it into the exchange buffer so the PLC can read it out words 0 gt 63 If this is table 0 then this read back will include all current configuration information at the front of the table and current system run time information at the back of the table If word 1 0 any non zero value this is a command from the PLC to the 1771 C to remove the supplied table of data from the exchange buffer and place it into the 1771 C standard memory tables If this is table 0 then the configuration information is written Otherwise the table information is written to the 1771 C If this is the type of table that actually writes data to the actuators then that data is outputted to the actuators If a Read Only Table This word is ignored and the table is only read
60. ETH 1 Class 1 Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 58 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Ka 5 4 5 Table 5 Valve Position Setpoint 0 4095 Words 4 gt 63 PLC access Read Write This table commands the actuators to move to a setpoint position designated by the PLC When the 1771 C sends the new value to the actuators telling them to move it uses the Modbus function 6 command to write to holding register 11 in the actuator By sending a numeric value from 0 gt 4095 the actuator will be commanded to move to a position based on s 0 0x0000 0 Open closed e 4095 OxOFFF 100 Open A read back of Table 5 will s fa write command issued reflect the write command accepted by the 1771 C s Ifaread command issued reflect the current value of the setpoint register in the actuators Notes e Only values 0 gt 4095 are allowed to be written by the PLC all others are ignored e Any EIM actuator may use position control via setpoint values For the tightest position possible with minimal overshoot or undershoot the actuator must have the solid state or VFD control option Please read the Controlinc Quick Startup Guide for more information s Ifthe actuator position has been moved while the PLC is down or the valve was moved while in local control then as soon as the PLC and actuators are communicati
61. FYD FF9D 1 I Table 20 in HEX because it is easier to read exception messages returned by the actuators JE E Nevo fy RadiHex BCD Symbok 7 O Columns 10 lt Ne Properties Usage Help For Help sF1 Class 1 Last Node on 48 Node Network Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 84 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 5 4 18 Tables 21 24 TEC2000 Status Inputs Words 4 gt 63 PLC access Read Write The purpose of these tables is to afford the end user all critical status information from TEC2000 systems TEC2000 systems are backwards compatible with the 320A B systems However there are more things that can be checked in the TEC2000 For instance in the TEC2000 the Unit Alarm is also tripped by a Valve Drift Alarm The Valve Drift alarm is not available in the 320A B systems Therefore Eor maximum compatibility with the TEC2000 systems it is recommended that you enable monitoring the TEC2000 Status Inputs tables 21 24 This way you can ensure you have all critical status information for any TEC2000 system on the network This data is derived from holding registers 1000 1003 in the TEC2000 actuator These table entries are only filled in if e The particular valve is a TEC2000 system e The 1771 C is configured to poll these additio
62. ID Reserved F W ID Reserved F W ID Reserved F W ID Reserved F W ID Reserved F W ID 3 e gt G ESD Valve 3 Discrete Output Cmd Valve 4 Discrete Output Cmd Valve 60 Discre ESD ESD Valve 1 Valve 1 Valve 1 Valve 1 Discrete Output Cmd Discrete Out Status System Type Firmware ID Valve 2 Valve 2 Valve 2 Valve 2 Discrete Output Cmd Discrete Out Status System Type Firmware ID Valve 3 Valve 3 Valve 3 Discrete Out Status System Type Firmware ID ESD ESD Val Excel ve 1 ion Code V Exce V Excel V Excel Valve 4 Valve 4 Valve 4 Discrete Out Status System Type Firmware ID ve 2 ion Code ve 3 ion Code ve 4 ion Code Valve 60 Valve 60 Valve 60 Valve 60 ESD Valve 1 Inputs 1000 1015 Valve 2 Inputs 1000 1015 Valve 3 Inputs 1000 1015 Valve 4 Inputs 1000 1015 Valve 60 ESD Valve 1 nputs 1016 1031 Valve 2 nputs 1016 1031 Valve 3 nputs 1016 1031 V alve 4 nputs 1016 1031 Valve 60 ESD Valve 1 nputs 1032 1047 Valve 2 nputs 1032 1047 Valve 3 nputs 1032 1047 Valve 4 nputs 1032 1047 Valve 60 ESD Valve 1 uts 1048 1063 Valve 2 nputs 1048 1063 Valve 3 nputs 1048 1063 Valve 4 nputs 1048 1063 Valve 60 e Output Cmd Discre e Out Status Firmware ID Exception Code Inputs 1000 1015 Syst
63. K same as table 1 0 s Bit 14 1 General communication fault same as table 1 3 3 Table 20 high level Modbus Exception Indicators sent from the actuators Notes e Diagnostic communication error indications for problems on port 1 or port 2 are flagged anytime a transmission is attempted and fails on a particular port If an actuator is already flagged as having a problem on one port then the program will only try using the other port until the next diagnostic scan If a problem also exists on the 2 port then a general communication fault exists e General communication faults Table 1 3 and Table 1 bit 14 1 are flagged when a message fails to successfully transmit s If an actuator is already flagged as having a general communication fault can t communicate on either port then the program will not attempt to transmit on either port until the next diagnostic scan To truly understand the meaning of the values in Table 1 and the 1771 C s behavior on the network you must know the physical layout of the network and exactly how it was wired For instance at the actuators you must know if the wiring is actually coming in from NIU port A into port A in the actuator and out port B and into the next actuator in port A and out port B Actual as built diagrams from the electrical contractors often help here Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI
64. Lo byte 1 Data byte Coils 27 20 CD 9 2 Data byte Coils 29 28 01 10 CRC Hi byte 11 CRC Lo byte The query data contents are two bytes CD 01 hex 1100 1101 0000 0001 binary The binary bits correspond to the coils in the following way Bit L 1 0 0 1 1 Q 1 000000 Coil 27 26 25 24 23 22 21 20 The first byte transmitted CD hex addresses coils 27 20 with the least significant bit addressing the lowest coil 20 in this set The next byte transmitted 01 hex addresses coils 29 28 with the least significant bit addressing the lowest coil 28 in this set Unused bits in the last data byte should be zero filled Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 121 SY EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 6 5 3 Modbus Exception Messages Supported There are 3 Modbus Exception Messages supported by the CPU as responses back to the Modbus master for Modbus function calls to these registers e Exception01 gt gt _ Illegal function code received The query is not an allowable action for the slave e Exception02 gt gt Illegal data address received The query is not an allowable address for the slave e Exception03 gt gt lllegal data value received The value contained in the query field is not an allowable value for the slave This is a 5 byte packet whose structure is always the same such that e Byte 1
65. M Compile Date Char 4 CM Compile Date Char 3 Reg 1172 ID ACM Compile Date Char 6 CM Compile Date Char 5 Reg 1173 ID ACM Compile Date Char 8 CM Compile Date Char 7 Reg 1174 ID RESERVED NO OP Reg 1175 ID Reg 1176 Alarm Log Reg 1177 Alarm Log Reg 1178 Alarm Log Reg 1179 Alarm Log Reg 1180 Alarm Log RESERVED NO OP Alarm 0 Newest Alarm 2 Alarm 4 Alarm 6 Alarm 8 Alarm 1 Alarm 3 Alarm 5 Alarm 7 Alarm 9 Oldest Reserved NO OP Reserved NO OP Reserved NO OP Reserved NO OP Reg 1184 Event Log Record 1 Reserved NO OP Reserved NO OP Log Entry Number Reg 1185 Event Log Record 1 Register 1000 Inputs 1000 1015 Reg 1186 Event Log Record 1 Register 1001 Inputs 1016 1031 Reg 1187 Event Log Record 1 Register 1002 Inputs 1032 1047 Event Log Record 1 Time minutes Time seconds Reg 1189 Event Log Record 1 Time Hour Reg 1190 Event Log Record 1 Date Month Reg 1191 Event Log Record 1 Torque 0 100 Position 0 100 Reg 1192 Event Log Record 1 Event Log Record 2 CRC High byte CRC Low Byte Log Entry Number Event Log Record 2 Register 1000
66. OURI CITY TX 77489 Page 24 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 4 3 PLC Interface Time Slice 1771 C gt PLC Communication The primary interface for the PLC with the 1771 C module is with an array of 25 tables labeled 0 gt 24 stored in the 1771 C RAM Each table is 64 words long and each word is 16 bits From the perspective of the PLC interfacing with the network some of the tables are read only and some are read write depending upon a command word The Relay Ladder Logic RLL in the PLC CPU interfaces with the 1771 C module by using BTR BTW block transfers to transfer fixed blocks of 64 words with the table number command in Word 0 of each transfer Relative to BTW BTR commands from the 1771 C perspective there is no difference in handling table reads or table writes They both require a BTW BTR set of block transfer commands During the PLC interface time slice the 1771 C uses 2 functions to request BTW BTR operations These function calls are time locked in that the 1771 C must remain in the function waiting for a response from the PLC before it can resume network monitoring activities If the timer expires before the PLC sends the BTW BTR command e The function terminates s Ifa request for a BTW the PLC interface time slice terminates s lf arequest for a BTR the 1771 C o The 1771 C sends the table anyhow o The 1771 C performs an
67. Parity Odd Parity LSB in Local in Re R W 76 R W 75 R W 70 R W 69 R W 68 R W 67 R W 66 R W 65 R W Operations Reserved TSC TSO SS in Status Status Remote Indicator Indicator Position RO r RO 6 RO 5 SS in Remote Position RO 21 Phase Local ESD TSC Tso Power Thermal SS in x Monitor Input Alarm Alarm Alarm Monitor Overload Local or Off inputs Alarm P Alarm Alarm Position RO 46 RO 45 RO 44 Valve Stall Valve is Valve is LSC is LSO is Alarm Closing Opening Tripped Tripped 9 11 NON BIT ADDRESSABLE MEMORY Based ESD Signal Signal Mode is Active Fault Fault Indicator 63 f RO 62 Lot f RO 60 Ro RO 58 f RO 57 f RO 56 MRO 55 f RO 54 f RO 53 f Ro 52 f RO 51 Ro 50 f RO 49 f RO 48 END OF BIT ADDRESSABLE MEMORY inputs no op no op no op no op no op no op no op no op no op no op no op 12 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved S AINE ANZ sini SETUP Fault Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 107 So EIM CONTROLS SS 6 4 6 320B Memory Map Addressable Holding Registers Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 320B Range Increment Holding Description Valve Position Valve status inputs 16 gt 31 identical to register 6 Remote Interface Remote
68. Reserved No write Access COM2 Fault Indicator COM1 Fault Indicator AIN2 Fault Indicator AIN1 Fault Indicator Reserved NO OP Reserved NO OP Reserved NO OP Reserved NO OP Reserved NO OP RO 1057 Reserved NO OP RO 1056 Reserved NO OP R W 1026 R W 1025 R W 1024 RO 1044 RO 1043 Line Motor Frequency bit 2 of 2 Line Motor Frequency bit 1 of 2 3 Phase Starter Type bit 2 of 2 Starter Type bit 1 of 2 Multi Turn Valve Installation RIW 1063 Setpoint Source if AIN control R W 1061 RDM1 Installed RDM2 Installed RW 1061 R W 1060 R W 1059 ARM is Installed R W 1058 R W 1057 Enable Close Cycle Timer Enable Anti Water Hammer R W 1079 Controlinc ACM Installed Futronic ACM Installed R W 1073 Drive Sleeve Closes in CW direction R W 1072 Enable Inhibit Open Valve Operations Enable Inhibit Close Valve Operations ESD Trigger on Hardwired LOCAL ESD ESD Trigger on Remote Host Command R W 1075 ESD Trigger on Loss of Control R W 1073 R W 1072 1095 R W 1094 Motor Rotation is Electrically Reversed R W 1089 1095 R W 1094 Action if Lost Control Signal bit 1 of 21 R W 1093 R W 1092 R W 1091 Control Mode bit 1 of 3 R W 1108 R W 1110 Copyright
69. S Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 5 4 6 Tables 6 amp 7 User Analog Inputs 1 amp 2 Words 4 gt 63 PLC access Read Only These tables contain 12 bit numbers 0 gt 4095 representing the current value for analog input channels This data is derived from holding registers 16 amp 17 in the actuators and is retrieved with the standard data request Modbus read command when the particular actuator is being polled scanned e Table 6 Value for User Analog Input 1 holding register 16 in the actuators e Table 7 Value for User Analog Input 2 holding register 17 in the actuators Example Table 6 Feedback 48 node network Characteristics e There are no values on User Analog Input 1 on any unit on the network all zero RSLogix 5 EIM File N8 dec File Edit View Search Comms Tools Window Help LD ld amp First Node on Network en No Forces 12 Ser Driver AB ETH 1 Class 1 Last Node on 48 Node Network Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 61 y E EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 5 4 7 Table 8 Analog Output 1 Words 4 gt 63 PLC access Read Write This table command tells the actuator to place an appropriate 4 20 mA signal on its analog output channel This data is derived from holding register 10
70. SS EIM CONTROLS Ka User s Guide AB1771 C Network Master Version 5 21 For Allen Bradley Series PLC 5 Programmable Controllers Date 2004 11 18 Sy EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 User s Guide Controlinc Network Master AB1771 C Version 5 21 For Allen Bradley Series PLC 5 Programmable Controllers Table of Contents 0 Quick Start InformatiOn sssssssssssssssssssssssssssssssss sassa asas saans sss aaa assan 1 L Introduction nc decesctets a scaisac cn se nachna cizccnicniesasisiem uc sc siesinn sauibencen ce cauaneeuSensesinaztaaniouanas 2 1 1 Overview of 1771 C Sy stein ciccasssccvasesscavesesentscavacsvoesesisaseceaistiarnsansacedevsratanereenaeasiess 2 1 2 Overview of Changes in Version 5 21 eesoeesesvvessvnveesssvveessnnvensenevesnenneessesnvensenesenee 4 1 53 Reference Manuals samseassmeaegssannnunsgsdnktnaedemnnsmsinenminiksivv sdn 6 1 4 EIM Equipment Compatibility ssscesssciscssssvaccostvasascencnsaseseecssssaseeecgubisvivcessubeartseqeatss 7 1 5 GE nimi MR ON 7 TT ECE gt PT K 1 eusen nonins eesse iis ksseu sss rests sieh pe eiis S riesaa 8 2 1 Hardware Setup swasisscccsssecscavatacsscessnassadsssauseaansenseedsesssavesudseeentoesensessenseassasseentasiecaions 8 2 2 LED Vikan H 9 2 2 1 Green PTX amp PTR and Yellow LED1 amp LED2 LED Usage sss sse 9 222 Red BIE LED 8 an 11 3 Network Setup and Connecting to the NITU ssssssssssss
71. Setup Tag ID Char 1 Tag ID Char 0 Reg 1045 User Field Setup Tag ID Char 3 Tag ID Char 2 Reg 1046 User Field Setup Tag ID Char 5 Tag ID Char 4 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 111 Se EIM CONTROLS SG Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Reg 1047 User Field Setup Tag ID Char 7 Tag ID Char 6 Reg 1048 User Field Setup Tag ID Char 9 Tag ID Char 8 Reg 1049 User Field Setup Tag ID Char 11 Tag ID Char 10 Reg 1050 User Field Setup Tag ID Char 13 Tag ID Char 12 Reg 1051 User Field Setup Tag ID Char 15 Tag ID Char 14 Reg 1052 User Field Setup LSB Setting LSA Setting Reg 1053 User Field Setup Close Timer Start Position Close Timer Stop Position Reg 1054 User Field Setup Close Timer Pulse ON Time Close Timer Pulse OFF Time Reg 1055 User Field Setup Open Timer Start Position Open Timer Stop Position Open Timer Pulse ON Time Open Timer Pulse OFF Time Reg 1057 User Field Setup Water Hammer Start Position Water Hammer Pulse ON Time Reg 1058 User Field Setup Water Hammer Pulse Off Time Default Setpoint Position Reg 1059 User Field Setup Network Node Address Network Response Dela
72. Table 0 Word 12 The register number for the 1 holding register in the block to retrieve e Table 0 Word 13 The total number of registers to retrieve e Table 0 Word 14 This is a flag that indicates whether or not to start requesting that block of registers from that actuator when polling it If Table 0 Word 14 0 do not poll for the block of registers If Table 0 Word 14 0 any non zero value poll for the block of registers By default Table 0 Words 11 gt 14 0 do not poll OPERATIONAL OVERVIEW This data is retrieved with a separate Modbus read command when the particular actuator is being polled scanned The PLC may reset this table with any value is prefers To do this the PLC must insert the new value into the table and send it to the 1771 C as a write command The values in this table are not sent out to the actuators on the network A read back of Table 15 will s If a write command issued reflect the write command accepted by the 1771 C except words 4 13 are zeroed out e lf aread command issued reflect the last known values in the table Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 73 Vg EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Words 4 7 are only filled with non zero values if the block of data in words 14 63 table are actually values retrieved
73. ag that indicates whether or not to start requesting that block of registers from that actuator when polling it s If Word 14 do not poll for the block of registers s If Word 14 0 any non zero value poll for the block of registers By default Words 11 gt 14 0 do not poll Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 44 Vg EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Words 15 gt 16 FUNCTION Reset Scan Period Counter Accumulator This operation allows the operator the chance to reset the scan period counter accumulator e When desired word 15 0 e With the value desired word 16 value The scan period counter is located in table 0 words 47 amp 48 such that e Word 47 Rollover counter for the Scan Period Counter e Word 48 Scan Period Counter Both have a high end max value of 32 000 Word 48 is incremented at the start of scan 1 after the previous diagnostic scan Whenever word 48 rolls over e Word 48 is automatically filled with the value in word 16 e Word 47 is incremented If the counter is reset in the middle of a scan period which is most likely it must wait until after that scan period is finished and the accompanying diagnostic scan before it starts counting again Note that to determine the time for the rollover counter to rollover one time Rollove
74. agnitudes difference seconds for detection as compared to minutes or hours or even days for the service technician to respond Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 100 y D EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 6 3 App Note For Diagnostics Know the Physical Network Wiring When diagnosing a troublesome network it can become impossible to solve some problems without knowing the physical layout of the network also called as built by contractors If not known it is possible that the physical layout will have to be traced out For instance if you are having COM1 or COM problems in which you are having problems communicating in one direction and not the other table 1 values are 1 or 2 then if you know the physical wiring of the network it will make sense as to which ones are having problems and why Without knowing the physical layout of the network the information in this table can be meaningless Another scenario if an E gt Net ring if the contractor accidentally swapped the Port A amp B wires at one actuator normal communications will still work fine However COM1 or COM errors in table 1 will give incorrect indications as to where the problem lies Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 101 amp EIM CO NTROLS Controlinc 1771 C
75. alue and either explicitly clear table 20 or wait until after the next diagnostic scan which automatically clears table 20 before trying again Example Scenario If there are multiple types of EIM equipment on the network and the table 14 command requests data from an actuator that is not supported by that type of actuator but is on the others the actuator will return a Modbus Exception for that message and the values will NOT be loaded into tables 14 or 15 However the exception codes will be loaded into table 20 For example if requesting register 1010 from a e 320A system an exception code is returned e TEC2000 system the register containing coils 1069 1111 is returned Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 71 EIM CONTROLS Example Table 14 Feedback 48 node network Characteristics Last Node on 48 Node register 00 read back from the entire network cannot tell from here in table 0 To make it more meaningful table 14 is in hex because register 00 is bit indications Unit 1 has a value of 0x10C4 Coils set 12 7 6 2 Unit 2 has a value of 0x10C0 Coils set 12 7 6 Units 3 48 have a value of 0x10C4 Coils set 12 7 6 2 E HEX 14 Decimal View Search Comms Tools Window Help Pe Forces Disabled First Node on Network 10C4 10C4 1004
76. ation Failure Indications Low Level amp High Level cceee 96 6 2 6 Bringing Units On Line After a Power Cycle sese eee eee eee 99 6 2 7 Toggling the Preferred Port to Assist Diagnostics see eee 100 6 3 App Note For Diagnostics Know the Physical Network Wiring 101 64 App Note Memory Maps sesissscisessseiscesssncassssxesanacsecsosusnsssacsonaasesecsbapsssvesssbusssees 102 6 4 1 Specific Holding Registers Referenced by the Network Master sees 102 6 4 2 Specific Coils amp Inputs Referenced by the Network Master sees 103 6 4 3 320A Memory Map Table for Coils amp Inputs Version 2 01 sese 104 6 4 4 320A Memory Map Addressable Holding Registers Version 2 0 105 6 4 5 320B Memory Map Table for Coils amp INPUtS rrrrrnnnnrrrrrnnnrrrrrnnnnrrrnnnnnnnrnnn 107 6 4 6 320B Memory Map Addressable Holding Registers rrrnnnnnnnnnnnnnnnnnnnnnnnnn 108 6 4 7 TEC2000 Memory Map Table for Coils amp Inputs sss eee eee 110 6 4 8 TEC2000 Memory Map Table for Holding Registers eee 111 6 5 App Note Modbus Message Formats seeeessssvvvveessnnvnvevesnnnnnnvenesunnnnnesennnneneeee 116 6 5 1 Modbus RTU Functions Command Codes Implemented 00sseeeeee 116 6 5 2 Modbus Function Command Code Descriptions 117 6 5 2 1 Modbus Function Code 01 Read Coil Status sees 117 6 5 2 2 Modbus Function Code 03 R
77. c 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 6 2 3 Time Allocated Process Control Allocated Time Slices The Time Allocation Process Control operation acts as a process scheduler There are two primary processes scanning the network and servicing the PLC and each one gets a dedicated time slice The 1771 C uses this to ensure the primary processes are serviced in a deterministic and controllable manner The user adjustable configuration parameter in table 0 word 7 determines the number of Additional Valves to Scan in the Network Scan Time Slice before starting the PLC process time slice before interfacing with the PLC servicing the PLC interface process Values for the parameter e The default value is 2 This means 2 additional valves 3 total will be scanned in the scan time slice before the PLC process is serviced in its time slice when a BTW BTR command sequence from the PLC can be handled e The minimum number is 0 maximize the amount of PLC interfacing time e The maximum number is the lesser of o 9 o 1 less than the max number of valves on the network can t scan more valves than are on the network The larger the number the faster the scan period but the fewer interfaces with the PLC The smaller the number the scan period is slower but there are more frequent interfaces with the PLC If the number is too large it will take too long to service the PLC and control capabi
78. ch Later after the PLC is satisfied that the ESD is over and normal operations have resumed stand down from ESD has completed it is recommended that the PLC clear this stand down value and all aspects of ESD by resetting it to zero again in any table Summary The appropriate values for the ESD command word from the PLC are s 255 Ox00FF Engage ESD e 170 Ox00AA Stand down from ESD 0 Emergency shut down ESD control is not active Once any ESD command is written to any table the value is propagated throughout all tables Therefore the RLL does not have to remember which one it wrote to Warning Since the ESD is actually a function of the actuator control cards if an actuator is reset then that actuator will probably not be in ESD This also means that if the 1771 C loses power or is reset it has no prior knowledge of any valves in ESD It can turn off ESD once initialization of the software has occurred It is the responsibility of the RLL to repeat the ESD broadcast under the possibility of these circumstances Warning If any or some of the actuators are configured to move on ESD consider the electrical power required in performing a network ESD A large electrical power drop can possibly create a reset in the actuator by affecting the control voltage Note 1 Remember an ESD command from the PLC will inform the actuators to do what ever they were configured to do during an ESD condition Therefore this could easi
79. ction e Version 5 03 indicate the status of digital input 1 e Version 5 20 indicate the valve s current position in 0 4095 increments register 14 4 Table 12 has a different function e Version 5 03 indicate the status of digital input 2 e Version 5 20 indicate the status of all the actuator s discrete inputs register 05 5 Additional system configuration words in table 0 e Version 5 03 words 4 7 e Version 5 20 words 4 17 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 4 ey EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 6 Run Time data words in table 0 e Version 5 03 words 49 63 e Version 5 20 words 47 63 7 System Diagnostic Scan e Tests both ports Identifies node system type Table 18 e Only one port Identifies firmware Version ID Table 19 Gathers standard scan data 8 Faster full network response on power up if power cycled on entire network 9 Implemented Scan Period Counter Accumulator in table 0 words 47 amp 48 and the ability for the operator to reset the counter using table 0 words 15 amp 16 10 Separated communication errors such that if the error is due to the actuator slave responding with a Modbus exception code the low level communication was ok however the actuator rejected it with an exce
80. current operating environments Unlike the other operations that access the actuators on the network the diagnostic scan checks both ports when communicating with the actuators Because of this it also always takes longer to execute than standard data gathering scans However normal data is still gathered during a diagnostic scan The only major difference in data gathering between a standard scan and a diagnostic scan is s Inthe diagnostic scan the 1771 C determines actuator system type and actuator firmware version ID tables 18 amp 19 e Both ports are explicitly tested when getting the system type information e The diagnostic scan ensures that the hardware ports are set correctly 9600 8N1 Otherwise all other data gathering activities are the same as in a normal network scan Communication error indications may only be cleared during this scan The scan loop counter is always zero 0 during a diagnostic scan the diagnostic scan does not count as part of the scans in the scan period This is the only time the loop counter is zero during the diagnostic scan The diagnostic scan time increases as you increase the discrepancy between the number of valves actually on line and talking VS the number of valves configured to be on line Below shows a sample of diagnostic scan times empirically taken on a network when there was no network writes to the actuators Table 0 was configured for 60 valves As you ca
81. d Set the T F control flag whether or not to start polling the specific actuator for the block of registers FUNCTION Reset Scan Period Counter Accumulator Set the T F control flag whether or not to manually reset the Scan Period Counter Value that will always reset the scan period counter FUNCTION Poll TEC2000 Input Registers 1000 1003 Set the T F control flag whether or not to poll the input registers if the system is determined to be a TEC2000 system Remember Currently Words 18 gt 46 in table 0 are unused and should be considered reserved for future use Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 40 C EIM CONTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Words 47 gt 63 Run time feedback of real time values set by the 1771 C 1 Word 47 Rollover Counter for Scan Period Counter Accumulator 2 Word 48 Scan Period Counter Accumulator 3 Word 49 The port number for the currently preferred port 4 Word 50 Total number of valves polled during last network scan time slice before servicing the PLC communications Word 51 This scan period Last Network Scan Time 0 1 sec increments Word 52 Word 54 This scan period This scan period This scan period Total elapsed time Average scan time Shortest scan time 0 1 sec increments 0 1 sec increments 5 6 7 Word
82. d Write Command Specified Scan Period actuators on Flag to Poll Totalizers File NB Nec Additional Register to Poll from All Network Devices Flag to Start Polling Additional Register from gt 501 all Network 60 Devices 70 80 90 Table ID Read Write Command 120 130 92 Value to Reset the Scan Period Counter Flag to Poll TEC2000 Inputs Reset the Scan Period Counter Actuator Address to Poll Block of Registers Polling for Block of Registers Block of Registers Block of Registers Gl 000000 og Additional Register to Poll from All Network Devices O OD Current ESD Command State Firmware ID 5 02 Additional Valves in Network Scan time slice Additional Message Response Delay from Actuators Specified actuators on Network Flag to Poll Totalizers ail sit DZS Radix Decimal Symbol Columns 10 Properties Usage Help Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 49 O EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 5 3 4 3 Table 0 The Confiquration Values Writing Table 0 RSLOGIX 5 State prior to writing table 0 configuration values File N8 dec BEE Offset 0 1 2 3 4 5 6 7 8
83. dule User s Manual Catalog No 1771 DB Series B Publication No 1771 6 5 113 This manual is required for proper uploading of this driver into the hardware It includes specific information on Call Routines and handling block transfers instructions from the Basic Module to the PLC 5 back plane EIM Controlinc 320A Quick Startup Guide Rev F or later Publication No ECL 4004 0102 This manual is used for specific information on the Controlinc 320A Controller card located in the valve actuator This includes networking setup and available options EIM Controlinc 320B Quick Startup Guide Publication No ECL 4005 0404 This manual is used for specific information on the Controlinc 320B Controller card located in the valve actuator This includes networking setup and available options EIM TEC2000 Document TBD Publication No 777777777 At the time of this printing this TEC2000 publication had not been made available Other Allen Bradley manuals specific to the PLC 5 being applied These may be required to implement the necessary Relay Ladder Logic RLL for application of the driver For instance this may include o Allen Bradley PLC 5 Programmable Controllers Instruction Set Reference Publication 1785 6 1 This reference includes information in Chapter 15 on the AB Block Transfer Instructions Block Transfer Write and Block Transfer Read Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX
84. e bit indications are repeats of those in table 2 However not all Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 67 O EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S Example Table 12 Feedback 48 node network RSLogix 5 EIM File N8 hex fei File Edit View Search Comms Tools Window Help s DOSE Leje 9 Hgg HER Ow C HEX 12 Decimal First Node on Network Forces Disabled Node Od 7001 7001 7001 7001 7001 FF9D 7001 7001 7001 7001 7001 7001 7001 7001 7001 7001 FF9D FF9D 7001 7001 7001 7001 7001 7001 7001 7001 7001 7001 7001 7001 7001 7001 7001 7001 8 120 7001 FF9D FF9D Sn FFSD FF9D FF9D 7001 7001 7001 7001 7001 7001 7001 7001 FF9D FF9D 7001 7001 7001 7001 FFSD Table 12 in HEX because table represents bit indications Last Node on 48 Node Network N8 70 Radix Symbot oo e Columns f10 v il SSC CC Properties Usage Help z SI Class 1 For Help press F1 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 68 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 5 4 11 Table 13 Solid State Relay SSR Configuration Table Words 4 gt 63 PLC access Read Write This is a read write table tha
85. ead Holding Register sss sese 118 6 5 2 3 Modbus Function Code 05 Set Force Single Coil sese 119 6 5 2 4 Modbus Function Code 06 Set Single Register eee 120 6 5 2 5 Modbus Function Code 15 0x0F Set Force Multiple Cols sse eee ee 121 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page iii Sy EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 6 5 3 Modbus Exception Messages Supported sss eee 122 6 6 App Note Install the 1771 C Network Master Firmware ccscssseees 123 6 6 1 Configure the Module for a Firmware Upload cccccccseeeeeeeeeeeeeeeeeeeeeeeeees 124 6 6 2 Upload the 1771 C Finan EEE 125 6 6 3 Reset the 1771 C Module for Normal Operations sees eee 126 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page iv So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 0 Quick Start Information 1 Asa minimum you should have access to the following reference documents e This manual 1771 C User s Guide e Allen Bradley 1771 DB Series B Basic Module User s Manual Catalog No 1771 DB Series B Publication No 1771 6 5 113 s EIM Controlinc 320A Quick Startup Guide Rev F or later EIM Controlinc 320B Quick Startup Guide Rev A or later 2 Refer to Section 2 of this manual on how the jumpers should be set on the DB modu
86. eled Host B It connects to the 1771 C via port2 PRT2 the bottom DB25 connector Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 13 amp EIM CONTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 3 1 Field Connections at the Actuator Communication connections and wiring are important for the network and the master The following information was primarily derived from the Controlinc Quick Startup Guide 3 1 1 Step 1 Plan the Network Topology Before connecting actuators the entire network layout should be planned Topologies may be bus redundant bus E gt Net redundant E gt Net E gt Net ring and redundant E gt Net rings Planning should include node addressing wire routing terminations and grounding 3 1 2 Step 2 Select Network Cable Ensure correct cable is being used e Networks require twisted pair and shielded cable with characteristic impedance between 50 and 120 Ohms Capacitance between conductors must be less that 30 pF Ft 98 pF M 10 15pF Ft is ideal Shielding maybe aluminum foil with drain wire If cable has multiple pairs then individual pair shielding is required Only cables with stranded conductors are recommended Insulating and outer jacket materials must be selected for the application environment The following are acceptable Belden or equivalent cables for most network applications AWG 20 18 16 14
87. em Type nputs 1016 1031 nputs 1032 1047 Figure 5 1 Table Arrangement Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 35 nputs 1048 1063 O EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Ss EXAMPLE OF GENERAL TABLE FORMAT Characteristics e 48 node network e Table 1 feedback from the 1771 C what is given to the PLC RSLogix 5 EIM File N8 dec n File Edit Yiew Search Comms Tools Window Help X suare e sas STR 1 NoEdts fe Forces Disabled 2 orces Disabled Driver AB ETH 1 Node od Lib user Abit TimeriCounter Input Output 4 BE N8 70 Radix Decimal v Symbol Columns 10 v Properties Usage Help Class1 0 0000 gir Shaded area Standard 4 word header in front of any table 1 actual data word in table for valve 1 1 word in buffer Table ID Shaded area Unused part of 60 word data table because only 48 nodes on network Last data word used in this data table for valve 48 unused network locations marked with a 99 Last data word possible in any data table for valve 60 not used here L Columns ho gt led S NB E Properties Usage Help Classi 0 0000 APP REA For Help press F1 Copyright 2004 EIM COMPANY INC 13840 PIK
88. emember that the PLC cannot perform any block transfers until after the network master has finished polling the network for status information and LED2 has been turned off and the 1771 C starts indicating that it is ready for data after scanning starts Note 2 Even though LED1 turns off immediately after the initial scan after power up and then toggles back on after normal operations start the user will not normally see this at the most it would be a small flicker Therefore to the user that is observing the LED behavior after restart on a system that has actuators communicating it will appear that During the initial scan when the PLC cannot talk to the 1771 C LED1 ON LED2 ON Immediately after the initial scan when normal operations start start of 1 normal scan LED1 ON LED2 OFF Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 21 Vg EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 4 2 Network Interface Scan Time Slice 1771 C gt Network Communication 4 2 1 Operation Network Scanning to Gather Valve Actuator Data The Network Master polls and controls up to 60 valves on the network by sequentially polling scanning each device in sequence from slave actuator address 1 to the last slave address n on its network This polling gathers information from the actuators including alarms discrete information and actuato
89. eroed out 4 Words 47 gt 63 Run time feedback of real time values set by the 1771 C Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 39 EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Words 4 gt 17 control configuration parameters set by the PLC eS cl 10 11 12 13 14 Word 4 Word 5 Word 6 Word 7 Word 8 Word 9 Word 10 Word 11 Word 12 Word 13 Word 14 Word 15 Word 16 Word 17 Set the Number of Valves on the Network Set the Scan Period value scans before a communication diagnostic scan Set the T F control flag whether or not to poll for totalizers on network scans Set the additional number of valves to poll in the network scan time slice Set the Additional Message response delay to expect from actuators 10ms increments FUNCTION Poll specified additional register from all actuators on network Set the specified additional register to poll from all actuators on the network Set the T F control flag whether or not to start polling all actuators for the additional register FUNCTION Poll block of registers from one specific actuator on the network Set the specific actuator to get the block of holding registers from Set the starting register number in the block of holding registers to be requested Set the total number of holding registers being requeste
90. ers Being Polled From 1 Actuator 73 5 4 14 Tables 16 amp 17 Monitor amp Control Discrete Digital Outputs 76 5 4 15 Table 18 Actuator System Type lD 80 5 4 16 Table 19 Actuator Firmware Version lD eee 82 5 4 17 Table 20 Modbus Exception Message Response eee eee 83 5 4 18 Tables 21 24 TEC2000 Status INnputs 2 1c ccc cccecceeeeeeeteeeseeeceeeneeereeeneeece 85 6 Application Notes sss sss ssssssssssss sss sss sss ssss sassa sassa sassa soso s soso a essea 87 6 1 App Note Performance Tuning ccccsccccsscsssccscscecssssesssccscscssccesssceessseess 87 6 1 1 General Practices to Ensure Better Performance cceeeeeeeeeeeeeeeeeeeetees 87 6 1 2 Reading Run Time Information from Table Ql sss 87 6 1 3 Loading Table 0 with Configuration Information sss eee ee eee eee e 88 6 1 4 Behavior if a Delay in Loading Table 0 Configuration Information 89 6 1 5 Using the Scan Period Value sse eee eee 90 6 2 App Note 1771 C Operation Additional Detailed Information 91 6 2 1 Determining amp Exiting Network Down Condition sss sese esse eee eee eee eee eee eee 91 6 2 2 Detailed Description of 1771 C Operation eee eee 92 6 2 3 Time Allocated Process Control Allocated Time Slices rrrrnnnnnnnnnnnnnnnnnnnnnnnn 93 6 2 4 Preferred Communication Port Operation sees eee eee 95 6 2 5 Communic
91. es RSLOGIX 5 In this example the memory areas N8 0 gt N8 63 Indicates the 64 word table the PLC sends to the 1771 C N8 70 gt N8 133 Indicates the 64 word table the 1771 C sends back to the PLC Interesting amp Important Note in this example Memory Area to write table to 1771 C In this example the configuration the PLC would like to have N8 0 gt N8 16 does NOT agree with the configuration information the 1771 C actually has and is being read back N8 70 gt N8 86 Also notice the configuration values being reflected back by the 1771 C they are all factory default values This screen reflects a state in which the PLC has not sent a write table 0 command to the 1771 C to set configuration values Therefore this 1771 C is currently running and thinking that e There are 60 actuators on the network e The scan period should be 50 scans long e 2 more valves should be added to the network scan time slice total of 3 However the PLC actually wants e 50 actuators on the network s A scan period 5 scans long s 3 more valves should be added to the network scan time slice total of 4 To remedy this disparity of operation the PLC needs to send the write table 0 command to the 1771 C to set configuration values word 1 0 Additional Valves in Network Scan time slice Additional Message Response Delay from Actuators Rea
92. etwork Master Users Guide 2004 11 18 C 3 2 Field Network Cable Connection to the NIU Refer to Figure 3 2 for terminals on the EIM Network Interface Unit NIU The NIU is a dual port es RS232 to RS485 converter specifically designed for mo ring networks o s l Connect the twisted shielded pair cable of the field 2 network to NIU Terminals 1 2 Shield 3 of J1 of Port A DI NIU 84320 J i E The network shield must be connected to a good o earth ground at only one shield terminal point on the NIU RS232 Cable 37122 The network cabling should use recommended cabling for an RS 485 network able to handle the distance desired There should be little if any electrical noise on the network for the entire length of the network DB 25 Male DB 9 Male Connector Connector 1771 C Side NIU Side Figure 3 2 3 3 Cable Connection Between the NIU and the Network Master Refer to the Allen Bradley 1771 DB Series B Basic Module User s Manual for additional information on the pin out of the DB 25 female connections used for network ports one and two The module must be set up for RS 232 when connecting with EIM s Network Interface Unit NIU P N 84320 or a user supplied modem Refer to Figure 3 2 for the pin out of the DB 9 female connector Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 16 So EIM CO NTROLS Controlinc 1771 C Ver
93. ex 22 Decimal File NB hex Search Comms Tools SBI 3 4 7 Bejs No Forces Forces Disabled 4 gt user Abit Timer 9 0 Class 1 Last node on 48 node RSLogix 5 EIM File N8 hex Eile Edit View Search Comms Tools Hi E File Edit View Search Comms Ta Deh 6 i Belo alp eus mej EE gt E Ej 0 Forces Disabled Forces Disabled Driver AB_ETH 1 b Od Driver AB_ETH 1 0 0 0 0 0 0 0 0 0 0 0 0 0 FF9D FF9D FF9D FF9D FFSD FF9D FF9D FF9D 0 FF9D FF9D FF9D FF9D FF9D FF9D FF9D FF9D FF9D FF9D FF9D FF9D FF9D FF9D FF9D FF9D HE DE N8 70 Radix Hex BCD h N8 70 Radix Hex BCD v Columns 10 lt Columns 110 L Properties Usage H Properties Usage Help For Help press F1 Classi 0 0000 APP RE ZA For Help press F1 Classi Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 86 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 6 Application Notes 6 1 App Note Performance Tuning 6 1 1 General Practices to Ensure Better Performance To ensure optimal performance the PLC should at least 1 Ensure quick responses to the 1771 C requests fora BTW BTR cuts down 1771 C delaying other operations while waiting for the PLC 2 Ensure table 0 is set correctly and repeated in a timely manner Allow for frequent table 0 reads 3 Only control amp monitor discrete ou
94. file all other formats will create an error As the file is being transmitted the LED PT1R will blink in conjunction with the transmission of the code in the file at 9600 baud it could blink so fast that it appears to stay on After the file is finished being transmitted the gt will appear on the terminal screen to indicate finished Type PROG2 and press lt ENTER gt The module will respond back with a successful dialog If it doesn t repeat the previous step Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 125 S Q EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 6 6 3 Reset the 1771 C Module for Normal Operations 1 2 Power down the PLC Pull the 1771 C module from the PLC rack Set JW 4 back to normal e PRT1 ASCII e PRT2 ASCII e DH485 PGM Put the 1771 C module back into the desired slot Reconnect the PRT1 and PRT2 connections to the 1771 C Network Master Power the module up with the rack LED1 amp LED2 should light up and PT1X amp PT2X should flicker Finished Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 126
95. file table 19 requested only 3 actuators on network File N8 dec Table Number S Sent in 7 9 10 11 2 0 0 0 2 Table 0 0 0 0 sent in 0 0 0 0 0 with a BTW 0 0 0 0 0 0 0 0 0 0 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 header NB Properties Usage Help 3 Nodes on Network Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 32 Oe Racial Columns 114 v Ko EIM CONTROLS 5 System Tables From the perspective of the PLC all tables can be read but only some can be written to If the PLC attempts to perform a write to a read only table the 1771 C ignores it and treats it as a read command request Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 In general when writing data to be transmitted to the actuators over the network the Network Master will differentiate which values change in tables being received from the PLC and will only send new command information to the actuators that require a change The tables have the following PLC user access e Table 0 read write 6 Table 1 read only Table 2 read only e Table 3 read write s Table 4 read only e Table 5 read write 6 Table 6 read only Table 7 read only e Table 8 read write e Table 9 read write e Table 10 read write N Table 11 read only N Table 12 read only e Table 13 read wr
96. ge is not available for downloading the program any terminal program with the ability to upload ASCII text files may be used for instance the terminal program HyperTerminal which is installed with Windows95 98 NT can be used The firmware is stored in the EEPROM as discussed in the previous section Depending upon the setup the program is normally run from Random Access Memory RAM with Auto start Auto start uses a small script to automatically begin executing the machine code in the EEPROM This is useful when there has been a power outage to the PLC or the PLC requires maintenance Port 1 on the 1771 C Computer to Connector E transfer the new on end of 8 program from Cable Serial Cable with Null Modem Sample Connection Diagram Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 123 S Q EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 6 6 1 Configure the Module for a Firmware Upload 1 2 Note Disconnect the PRT1 and PRT2 connections to the 1771 C module After powering down the PLC pull the 1771 C module from the PLC rack Set JW 4 for s PRT1 Default Program Mode Default PGM e PRT2 ASCII e DH485 RUN JW 4 settings are screened on the side of the 1771 DB module Place the 1771 C module back in the rack Connect the serial communication cable between the 1771 C and the computer The correct cab
97. gram architecture it is guaranteed that after servicing a PLC request one valve the next on the network after the previous one polled will be polled for data The number in word 7 allows the operator to allocate additional valves to be polled before servicing the PLC again The larger this number is the shorter the network scan time but the fewer interactions with the PLC The lower the number the more service given to the PLC for control and feedback but the slower the network scan time because we are servicing the PLC commands to read write tables This number should be adjusted for the most optimal fit for the application The default value is 2 The minimum value is zero 0 The maximum value is the lesser of e 9 e 1 less than the number of valves on the network Word 8 Additional Message Response Delay Word 8 offers the operator the chance to enter a desired ADDITIONAL expected delay when receiving messages from the network The value is in 10 ms increments and can have a range of 0 30 0 300 ms The default value is 0 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 43 EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Words 9 amp 10 FUNCTION Poll Additional Holding Register From Entire Network Words This operation allows the operator the chance to poll the entire network for any particular holding register The registe
98. he minimum number of actuators is one 1 The maximum is 60 which is also the default Note to Remember with PLC Interfacing The 1771 C only fills in tables with data from the actuators during the network scan time slice If the PLC changes the Number of Actuators on the Network at some point in time after initial power up the 1771 C will only be filling in the new data X actuators at a time where X is the number of valves scanned per network scan time slide see word 7 for more information on this This means that it can take several network scan time Slices for the 1771 C to fill in new data for all actuators on the network The 1771 C will not attempt to fill in all data before interfacing with the PLC again because of the time it takes to poll the entire network this could lead to starving the PLC with a lack of communication The PLC RLL needs to be constructed to take this into consideration Word 5 Number of Scans in Scan Period Scan Period Size The scan period is the number of network scans before the network is retested for network failures before the next diagnostic scan The default is 50 scans If there is a communication error such as a broken communication cable then the system will look for a change such as a repair to the cable every 50 scans The diagnostic scan resets all communication error indicators so that both ports can be checked The minimum scan period number
99. he opportunity to simultaneously bring as many actuators on line as possible as soon as possible within the same scan and not have to wait an entire scan period This scenario happens when total power on a network is restored at once and the network master happened to be in the middle of a scan period when power was restored which is the most common scenario In this case the repeat diagnostic scan allows the network master the opportunity to bring as many systems as possible on line at one time as soon as possible and not have to wait until the end of the scan period for the next diagnostic scan In other words without this feature of repeating the diagnostic scan if the network went down and came back up in the middle of a diagnostic scan which was most probable then the program would usually detect only a portion of the network and would wait until the end of the scan period to check for the rest This is a relatively long time if we are considering the network going up down due network wiring and not actual powering of actuators which was most common Therefore to speed up getting most of the network on line early if the entire network goes down the program repeats the diagnostic scan one more time in an attempt to get more units on line LED2 will remain on until the diagnostic scan finishes and normal scan operations resume Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77
100. hermal Sai Valve Stall Valve is Valve is LSC is LSO is Monitor Overload Local or Off Alarm Alarm Position Monitor Alarm Alarm Closing Opening Tripped Tripped Input Alarm RO 46 START OF NON BIT ADDRESSABLE MEMORY Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 104 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 6 4 4 320A Memory Map Addressable Holding Registers Version 2 0 320A Holding Register Description Valve Position Valve status inputs 16 gt 31 identical to register 6 Analog output register DAC Valve position setpoint Valve position 0 gt 100 in 0 1 increments AINO Analog input 0 position indicator This value indicates the actual position of the actuator AIN1 Analog input 1 Torque indicator pot AIN2 Analog input 2 User analog input 1 AIN3 Analog input 3 User analog input 2 Water hammer setpoint Modulation delay time ESD delay timer Position bandwidth Speed bandwidth AIN1 Torque Pot ZERO calibration scaling factor AIN1 Torque Pot SPAN calibration scaling factor AIN2 User AIN 1 ZERO calibration scaling factor AIN2 User AIN 1 SPAN calibration scaling factor AIN3 User AIN 2 ZERO calibration scaling factor AIN3 User AIN 2 SPAN calibration scaling factor Analog output ZERO calibration scaling
101. icing the PLC Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 93 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S Below is a table of empirical values demonstrating the difference in network performance when changing the number of additional valves to scan in the scan time slice This network scan scenario is for base readings with e No Network Writes Only Polling e Zero BTR BTW delays waiting for the RLL to interface with the 1771 C 60 Number of nodes configured to be on network 25 Scan Period Polling base scan data no additional registers No additional delay time for Modbus response messages from the actuators Average Network Scan Time seconds after changing the number of Nodes Talking Additional Valves to Scan in the Network Scan Time Slice On Line The values in this table rounded values and have a precision of 1 of 60 60 i l E i E 0 2 seconds 2 of 60 59 60 3 of 60 58 60 6 of 60 55 60 12 of 60 49 60 24 of 60 30 of 60 31 60 36 of 60 25 60 42 of 60 19 60 48 of 60 13 60 54 of 60 7 60 60 of 60 1 60 Because of this these numbers are only appropriate for estimates and trend analysis Note For the most accurate scan period timing d
102. ils 1000 1011 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 102 Go EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Ka 6 4 2 Specific Coils amp Inputs Referenced by the Network Master 320A amp 320B CPU reset in 320A version 1 30 amp later Thermal Contactor Overload i Aux Open Alarm i i is Made RO 9 RO Valve Stall Alarm RO 24 TEC2000 STOP CLOSE Open SETUP REMOTE STOP v A c i x i Command Command Command Mode Mode Mode LOCAL Mode TSC is TSO is Valve is Valve is LSA is LSC is LSO is Active Active Active Selected Selected Selected Selected Tripped Tripped Closing Opening Tripped Tripped Tripped RO 1014 RO 1013 RO 1012 RO 1011 RO 1010 RO 1009 RO 1008 1006 RO 1005 RO 1004 RO 1002 RO 1001 RO 1000 Alarm a A 942 7 aa ae Alarm Lost Analog i Lost Signal Ctl Voltage RO 1024 RO 1017 Limits are ACM Digital ACM Digital ACM Analog Close Set APD EFM Status Net Status Net Status Status Contact Digital Input Digital Input f Digital Input Digital Input Status bit bit 1 of 2 bit 2 of 2 bit 1 of 2 bit 1 of 2 Engaged 5 State 3 State 2 State 1 State RO 1047 RO 1046 RO 1044 RO 1043 RO 1042 RO 1040 RO 1039 RO 1036 RO 1034 RO 1033 RO 1032 Indicator LDM Status f LDM Status CCM Status CCM Status bit 2 of 2 bit 1 of 2
103. inc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 2 2 LED Utilization 2 2 1 Green PTX amp PTR and Yellow LED1 amp LED2 LED Usage There are 2 Yellow LED lights on the front of the 1771 C module e LED1 e LED2 There are currently 3 general functions operating these LEDs 1 After CPU restart power up or pressing the lt RESET gt button both LED1 amp LED2 are ON until the 1771 C finishes initialization and starts polling the network 2 After initialization LED1 is used as a starting a new scan indicator by toggling on off at the start of each scan Ex Starting scan 1 LED1 is ON Starting scan 2 LED1 toggles to the OFF state Starting scan 3 LED1 toggles to the ON state 3 After initialization LED2 is used as an entire network is down indicator If the 1771 C ever detects zero 0 actuators on the network it will turn LED2 on and immediately enter a diagnostic scan and remain there until an actuator is found to be on line and communicating There are 4 communication LED lights green LED lights on the 1771 C module s PT1X Port 1 Transmit lights up when transmissions are going out port 1 e PT2X Port 2 Transmit lights up when transmissions are going out port 2 e PT1R Port 1 Receive lights up when characters are being received on port 1 e PT2R Port 2 Receive lights up when characters are being received on port 2 If the network is in a valid ring configu
104. ing the value to the actuator the next time the PLC sends table 5 in as a write command The 1771 C cannot cancel this command because it is not in its scope of responsibility to directly change process control commands Therefore it is the PLC s responsibility to write whatever safe value is appropriate for the particular actuator application at any time in case the actuator comes back online Note 3 The PLC should limit the rate in which these commands are sent to the 1771 C only write as fast as required to adequately control the valve The faster the PLC requests changes to valve setpoint positions in the valves the longer it takes the 1771 C to complete the write operation and continue scanning the network for data decreasing the overall performance concerning updating status information for all actuators on the network For example Sending write commands once per second might still afford good control and still update all status information However sending write commands 4 times a second might write the information out faster but delay the response status information for the entire network to a point where it is too difficult to control Warning If the valve has been moved while the PLC is down or the valve was moved while in local mode then as soon as the valve is communicating and accepting remote commands it will move according to values in tables 3 and 5 Please adjust the PLC RLL accordingly
105. ions at Power UD eee 21 4 2 Network Interface Scan Time Slice 1771 C lt Network Communication 22 4 2 1 Operation Network Scanning to Gather Valve Actuator Data 22 4 2 2 Operation The Network Communication Diagnostic Scan see 23 4 3 PLC Interface Time Slice 1771 C PLC Communication 0000 25 4 3 1 Operation PLC Write Data Tables To or Read Tables From the 1771 C 27 4 3 2 Operation PLC Commands to Write Data to the Actuators rrrrrrrrrrnnnrrrrnnnnn 30 4 3 3 RLL Example Manually Send New Table Auto Read Response 32 S5 System Tables ss 33 SL Table A v TTG LST T 35 5 2 Standard Header Format All Tables Words 0 3 sss sss sss sese sss 37 E R Word 0 PRP 37 5 2 2 Word 1 Read Write Command Indicator sss sese 37 5 2 3 Word 2 Reserved Firmware lD 37 5 2 4 Word 3 Emergency Shut Down ESD Command Word amp Indication 38 5 3 Table 0 System Information Table eeessssvsvssvvveensvnvensnnvvensnnveeennnnvensnnesennnee 39 SSL Table O0 OVES Lekende aaea a Aaa a aa iaaeaie aia 39 5 3 2 Table 0 Configuration Words Words 43 17 42 5 3 3 Table 0 Run Time Information Words Words 473 63 rrrrrnrnnnnnnnnnnnnnnnn 47 5 3 4 Table 0 RSLOGIX 5 Examples 48 5 3 4 1 Example RSLOGIX 5 Screen eee 48 5 3 4 2 Table 0 The Configuration Values RSLOGIX 5 eee 49 5 3 4 3 Table 0 The Configurati
106. it is only necessary if the unit is a 320A system 320B and TEC2000 systems do not need this configuration assistance Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 69 VG EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Example Table 13 Feedback 48 node network Characteristics e Units 1 8 are NOT configured to support an SSR Units 9 16 are configured to support an SSR Units 17 18 are NOT configured to support an SSR Units 19 26 are configured to support an SSR Units 27 48 are NOT configured to support an SSR e Note that the units that are not configured to support an SSR either just don t have one in the system or the units are not 320A systems RSLogix 5 EIM File N8 dec File Edit View Search Comms Tools Window Help De e a i melo Jaa Een No Forces f HE TE HOGG gt Forces Disabled Driver AB_ETH 1 Last Node PE sa Kag N8 70 Radix Decimal vi etwor Columns 10 v Properties For Help press F1 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 70 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 5 4 12 Table 14 Additional Register Being Polled From Entire Network Words 4 gt 63 PLC access Read Write This operation allows the operator the chance to poll the entire network for any par
107. ite e Table 14 read write e Table 15 read write e Table 16 read write e Table 17 read write Table 18 read only Table 19 read only e Table 20 read write e Table 21 read write e Table 22 read write e Table 23 read write e Table 24 read write Table 0 is a system focused table It is focused on information about the network system and network master All the rest of the tables are focused on information about individual actuator units NOTE ln tables 1 gt 24 except 15 the last 60 words hold information for particular actuators Words 4 gt 63 are in sequence with valve actuator network node addresses A particular actuator is represented by its POSITION in the table as an offset starting from word 3 the end of the header For instance Word 7 in all tables will always have valve 4 information Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 33 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG There are two parts to a table e General Header Information Words 0 gt 3 e Table Specific Information Words 4 gt 63 In table 0 words 4 gt 63 are divided into three parts e Words 4 gt 17 System Configuration Information e Words 18 gt 46 reserved currently not used e Words 47 gt 63 Run time information inserted by the 1771 C Copyright
108. le 3 The 1771 C module comes from EIM pre programmed with the network master program in it However if for some reason the module needs to be flashed again ex a field upgrade then refer to Section 5 on installing the firmware in the module Note Remember you will need to connect a serial cable between the 1771 C and the computer The correct cable is a Null Modem Cable connected between the PRT1 port bottom DB25 connector on the module and the serial communications port on the computer used for the upload 4 Ensure the PLC rack power is turned off Install the module in the correct slot in the PLC rack Connect all cables and power the system up 5 The PLC RLL will start interfacing with the 1771 C after the 1771 C performs initial scans of the network on power up NOTES To ensure optimal performance some things the PLC should do 1 Ensure table 0 is set correctly and repeated in a timely manner Allow for frequent table 0 read backs 2 Restrict the rate of data writes to the actuators only write as fast as required to adequately control the valve cuts down on the interruptions to scanning the network gathering data 3 Expedite responses to BTW BTR requests made by the 1771 C Delaying them can slow 1771 C operations 4 Only activate writing to or reading from tables if actually in use or when needed ex do not write to the analog output table if analog outputs are not used ex do not read totalizer
109. le is a Null Modem Cable connected between the PRT1 port bottom DB25 connector on the module and the serial communications port on the computer used for the upload Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 124 L Q EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 6 6 2 Upload the 1771 C Firmware Please refer to the Allen Bradley Basic Module Manual Cat No 1771 DB Series B 1 Make sure that the terminal program is running and that it is set for 1200 Baud 8 N 1 and Software Flow Control XON XOFF Power the PLC rack up While in the terminal program the startup screen for the 1771 C will be transmitted on power up This also occurs on module reset as well Press lt ENTER gt several times to make sure that there is correct communication The gt a line item caret will appear every time you press it If you want and can communicate at a 9600 baud rather than 1200 baud perform the following NOW 1 Type in the command PUSH 9600 2 Type in the command CALL 78 3 Change your terminal program over to 9600 baud 4 Continue with the standard procedure Type in the command CALL 100 The module then waits for an upload from the terminal program Use the Send Text File command in your particular terminal program to send the file The appropriate file is in Intel hex format which is an ASCII text
110. lities by the HMI may fall off ex they could generate a control placement error in which the process control can t move a modulating valve to a specified position within a specified time frame In other words if too much time is allocated for scanning valves before servicing the PLC then the PLC might not be serviced often enough for adequate control However servicing the PLC too often is a waste of time if it can t adequately process any differences between the services That waste of time could be better spent polling more valves for data This parameter is end user adjustable in Table 0 and is 100 dependent upon the application Therefore the operator must adjust tune this parameter to the specific application to get the best fit of e best scan rate e best service rate for the PLC block transfers e control via the PLC e the PLC getting table information not skipping tables a potential byproduct if performing asynchronous transmission NOTE To help prevent accidental delays to servicing the PLC due to taking too long to scan the desired number of valves in the valve scan time slice a 650ms timer is in place This timer is reset every time the 1771 C finishes servicing the PLC process In between polling individual actuators during the valve scan time slice if the 650ms timer ever expires then the PLC process will get serviced In other words there is a time based limit to how long the network can be scanned before serv
111. ll others are ignored Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 77 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG DESIRED STATES The desired states of the digital outputs are directly reflected in the bits in the table which directly reflect the coils bits in the holding registers in the actuator This means that the bits still maintain their original position in all the registers For example e Coil 3 is in register 00 bit 3 and in tables 16 amp 17 in bit position 3 e Coil 4 is in register 00 bit 4 and in tables 16 amp 17 in bit position 4 e Coil 5 is in register 00 bit 5 and in tables 16 amp 17 in bit position 5 Therefore the PLC must set clear bits 3 5 to control the outputs For example e Coil 1000 is in register 1004 bit 0 and in tables 16 amp 17 in bit position 0 e Coil 1005 is in register 1004 bit 5 and in tables 16 amp 17 in bit position 5 Therefore the PLC must set clear bits 0 1 5 to control these outputs IMPORTANT NOTE Since a single command is sent to the actuator that affects all discrete outputs on a system at one time it is important that the PLC be aware of the state of all coils on the particular valve before sending a command because ALL OUTPUTS ON THE VALVE will be affected EVERYTIME o
112. ly This table contains the 0 4095 representation of the valve position for the actuators This data is derived from holding register 14 in the actuators and is retrieved with the standard data request Modbus read command when the particular actuator is being polled scanned Example Table 11 Feedback 48 node network Characteristics e Unit 1 position indication is 2331 out of 4095 56 9 open s Unit 2 position indication is 1457 out of 4095 35 5 open e Unit 3 position indication is 592 out of 4095 14 4 open e The rest of the network s position indication is fully open 4095 out of 4095 RSLogix 5 EIM File N8 dec File Edit View Search Comms Tools Window Help De B amp vi amp First Node on Network EE EE Jorn Oo w Forces Disabled m Node od Lilb user Ket Tena eT Co Driver AB ETH 1 a 5 6 7 8 4095 4095 4095 4095 4095 99 Last Node ig Decimal v on 48 Node N8 70 Radix Decimal Network i Columns 10 v Properties For Help press F1 Class 1 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 66 ey EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 5 4 10 Table 12 Discrete Input Statuses Words 4 gt 63 PLC access Read Only This table contains the status indications of the discrete inputs on 320A B systems Each bit in each word in the
113. ly override any other control commands already sent to them or about to be sent ex commands placed in any write Tables 3 5 8 might be rejected by the actuator because of the ESD condition Note 2 If monitoring the network the values of OxAA amp OxFF are not the values transmitted to the actuators The program actually uses a Modbus command 05 to set clear a bit coil in the register map in the actuators From then on the actuators do what ever they are configured to do when ESD is either started or ended Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 38 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 5 3 Table 0 System Information Table 5 3 1 Table 0 Overview This table is a read write table in that is used for system level configuration and run time status diagnostic information Basically it is not actuator focused but more focused on the entire network of actuators When told to write this table the information is not sent out onto the network Also only the configuration words are written into the table The run time status information is supplied by the 1771 C Table 0 has 4 parts to it 1 Words 0 gt 3 Standard header information common in all tables 2 Words 4 gt 17 System Configuration Control words set by the PLC 3 Words 18 gt 46 Not currently used Reserved for future use Z
114. monstrates the relationship between the diagnostic scans scan periods the current scan period the previous scan period This example a scan period value of 10 and 25 valves on the network This means that all the valves on the network will be scanned 10 times before the scan period is over and before the next diagnostic scan is performed Previous Current Scan Period Scan Period all 10 network scans of 25 so far 5 network scans valves completed completed Diagnostic scan Individual network scans Diagnostic scan Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 20 EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 4 1 5 1771 C System Operations at Power Up The 1771 C software boots up on a power up or a reset from depressing switch S1 on the 1771 C module In general on boot the software will 1 2 Illuminate LED1 amp LED2 as an indication that the software is initializing itself and the network Perform basic internal initializations Perform the initial diagnostic scan of the network and identify all actuators on the network Finish internal initializations Turn off LED1 amp LED2 Start standard scanning of the network Initialization is finished Normal operations scanning have commenced and are allowing PLC communications LED1 toggles ON during the start of this first scan Note 1 R
115. n ID High Num Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 113 So EIM CONTROLS SG Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Reg 1153 ID LDM Compile Date Char 0 LDM Version ID Low Num Reg 1154 ID LDM Compile Date Char 2 LDM Compile Date Char 1 Reg 1155 ID LDM Compile Date Char 4 LDM Compile Date Char 3 Reg 1156 ID LDM Compile Date Char 6 LDM Compile Date Char 5 Reg 1157 ID LDM Compile Date Char 8 LDM Compile Date Char 7 Reg 1158 ID RESERVED NO OP Reg 1159 ID RESERVED NO OP Reg 1160 ID APD Version ID Mid Num PD Version ID High Num Reg 1161 ID APD Compile Date Char 0 PD Version ID Low Num Reg 1162 ID APD Compile Date Char 2 PD Compile Date Char 1 Reg 1163 ID APD Compile Date Char 4 PD Compile Date Char 3 Reg 1164 ID APD Compile Date Char 6 PD Compile Date Char 5 Reg 1165 ID APD Compile Date Char 8 PD Compile Date Char 7 Reg 1166 ID RESERVED NO OP Reg 1167 ID RESERVED NO OP Reg 1168 ID ACM Version ID Mid Num CM Version ID High Num Reg 1169 ID ACM Compile Date Char 0 CM Version ID Low Num Reg 1170 ID ACM Compile Date Char 2 CM Compile Date Char 1 Reg 1171 ID AC
116. n from the left and coil 52 is the LSB of this byte The status of coils 56 through 52 is ON ON OFF ON ON Note how the three remaining bits toward the high order end are zero filled Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 117 So EIM CONTROLS S Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 6 5 2 2 Modbus Function Code 03 Read Holding Register Using function code 03 the Modbus master host may directly address and read any memory register in the actuator This includes all registers containing discrete values inputs amp coils Refer to the previous section that describes the Addressable Holding Registers Example in byte order of a request to read registers 40108 40110 internal holding registers 107 109 from slave device 17 Slave Address 11 Function 03 Starting Address Hi byte Starting Address Lo byte No of Registers Hi byte No of Registers Lo byte CRC Hi byte CRC Lo byte 107 decimal is 0x6B Response example in byte order Slave Address Function Byte Count Data Hi Register 40108 Data Lo Register 40108 Data Hi Register 40109 Data Lo Register 40109 Data Hi Register 40110 Data Lo Register 40110 CRC Hi byte CRC Lo byte The contents of register 40108 are shown as the two byte values of 02 2B hex or 555 decimal The contents of registers 40109 40110 are 00 00 and
117. n see as you increase the number of off line units you increase the diagnostic scan time Nodes Talking On Line 1 60 Version 5 21 Diagnostic Scan Times secs The values inthis table rounded values and have a precision of 1 second Because of this these numbers are only appropriate for estimates and trend analysis Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 23 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S Notes e Though not much the diagnostic scan time can also vary with the number of valves in the valve scan time slice e The greater the number of valves configured to be on line the longer the diagnostic scan time more valves to check e During normal operations an operator can use the HMI to force the system into a diagnostic scan by temporarily changing the scan period value in table 0 to a value lower than the current scan loop counter This will cause the program to enter a diagnostic scan as soon as this scan loop has finished e Because the diagnostic scan detects faulty communication ports and flags them there can be a perceived increased performance in the normal network scans because off line actuators have already been flagged and will be skipped Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISS
118. n to the 1771 C The PLC should periodically read the configuration back to ensure that the 1771 C still has the correct configuration in it the DB module was not reset Example Assume a network of 25 actuators If power is cycled on the PLC the 1771 C will revert to factory default values 60 actuators The sooner the PLC can reload the correct Table 0 configuration the sooner the 1771 C will start polling the correct number of units Until this happens the operator will see what appears to be a dead space in the transmitting and receiving of data when watching the tx rx LEDs on the DB module What happens is that A diagnostic scan has determined that only 25 of 60 actuators are on line A new scan starts 25 actuators are communicated with The 1771 C steps through the next 35 actuators preventing communication to them because they are off line This is the dead space when watching the LEDs aS 5 The scan ends go back to step 2 if not at the end of the scan period In this situation the operator will see a very regular pattern of dead space on each scan each time LED1 changes state Solution Ensure the PLC writes the configuration information and periodically ensures it stays correct Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 89 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 6 1 5 Usi
119. nal registers This data is retrieved with a separate Modbus read command when the particular actuator is being polled scanned These tables are not polled for unless the 1771 C is configured to allow it e if Table 0 Word 17 0 The TEC2000 status input information is NOT requested when actuators are polled the default e if Table 0 Word 17 0 The TEC2000 status input information is requested when actuators are polled The PLC may reset these tables with any value is prefers All it needs to do is insert the new value in the table and send it to the 1771 C as a write command The table will be reset even though nothing will be sent out to any actuator A read back of Tables 21 24 will s If awrite command issued reflect the table write command accepted by the 1771 C s fa read command issued reflect the last known values of the status input registers in the TED2000 actuators Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 85 Z EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Example Tables 21 24 Feedback 48 node network Characteristics e Only 1 TEC2000 system on the network unit address 1 e Tables 21 24 are displayed hex because they represent bit indications easier to read Table ID is Node 1 is only TEC2000 Table ID is 15 hex This is register 1000 16 hex 21 Decimal File NB h
120. ne of these commands is sent This is why e Monitoring can be activated without writing values e Monitoring remains active after a write until explicitly turned off By monitoring table 17 the PLC can ensure correct behavior A read back of Table 16 will e lf awrite command issued reflect the status of the network write amp network monitor commands accepted by the 1771 C e lf aread command issued reflect the last status of the network write amp network monitor commands issued out to the network Notes on table 16 use 1 The PLC can monitor when a write happened by viewing the upper nibble of the word for the particular valve When it changes from 1110 OxE gt gt 1100 OxC the write has happened and the system is still monitoring the states of the relays 2 The PLC can activate deactivate monitoring these relays any time by setting clearing bit 15 see the Command Control section above However anytime the PLC writes a value to the coils in an actuator monitoring is automatically started and will not terminate until the PLC terminates it Therefore the PLC needs to monitor this and deactivate the operation when not needed anymore otherwise the additional polling will slow lengthen network scan times 3 The 1771 C uses a Modbus Command 05 to write multiple coils when writing values to the actuators Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page
121. ng and accepting remote commands it will move according to the existing value in this Table e Issuing a command in Table 5 will zero out any discrete block mode command issued on Table 3 for the particular valve e Any NEW discrete control command in table 3 will change the corresponding setpoint control value in Table 5 to either 0 4095 or current position e Ifthe 1771 C ever returns a value of OxFFFF for a setpoint indication in this table it means that the particular actuator is returning the standard invalid setpoint and is currently stopped and waiting for a new command to move the valve Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 59 O EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Ss Example Table 5 Feedback 48 node network Characteristics e Unit 1 setpoint position is 940 out of 4095 22 9 open e Unit 2 setpoint position is 555 out of 4095 13 5 open e The rest of the network s setpoint position is fully open 4095 out of 4095 RSLogix 5 EIM File N8 dec File Edit View Search Comms Tools Window Help ZN 4 7 Ky L Laa t De 8 amp BEN o First Node 4 ae on Network EGE flor 0 Forces Disabled Driver AB_ETH 1 Last Node on 48 Node Network Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 60 Sod EIM CO NTROL
122. ng the Scan Period Value The Scan Period value is placed in table 0 for the end user HMI to dynamically adjust the network behavior to the needs of the application This value indicates the size of the Scan Period the number of network scans before the 1771 C performs a diagnostic scan to try and bring back on line any units that had stopped communicating During normal operations the 1771 C will skip any actuator that it has already determined is off line this is to save time when trying to gather data from the other actuators that are running The only time it will bring any off line systems back on line is e During the diagnostic scan e After reset If the end user application HMI believes that allowing off line units to come back on line it is less important than normal data gathering or just not something to be concerned with then it should increase the scan period size 200 is the maximum indicating that a diagnostic scan will happen after every 200 network scans for data If however the speed of units coming back on line is more critical than the increased interruption due to increasing the rate of diagnostic scans then the HMI should lower the scan period number 5 is the minimum indicating that a diagnostic scan will happen after every 5 network scans for data In other words recovery time to get an actuator back on line increases as the scan period value increases Therefore to s
123. nishes writing the entire table of values to the valves if a write command e completes the set of scans in the next network scan time slice Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 28 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SS Note 6 Once the 1771 C reads in a table from the PLC s BTW the 1771 C will always deliver the feedback table almost immediately for BTR handling whether or not it was a read or write table command Therefore the best practice to maintain synchronization between the PLC and 1771 C is for the PLC to conceptually wait for a feedback response from the 1771 C before continuing even if only to throw away the table This will also increase the 1771 C overall speed because it waits for an acknowledgement of the feedback before continuing with command execution REMEMBER Speed in servicing of the BTW BTR requests expedites system throughput Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 29 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 4 3 2 Operation PLC Commands to Write Data to the Actuators When valve control commands change setpoint open stop or close are generated by the PLC the Network Master sends the appropriate command s over the network to the addressed slave device actuator However if the
124. ntil the data is received and then deactivate it setting table 0 word 14 0 e When the PLC writes data to this table the 1771 C only overwrites the last 50 words with the data sent in The rest of the table is zeroed out Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 74 O EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Ss Example Table 15 Feedback 48 node network Characteristics e From actuator node 33 e Which happens to be 320B EIM equipment type 2 e Starting from register 00 and e 50 registers were read back 50 registers were read back From actuator node 33 Which happens to be 320B EIM equipment type 2 Starting from register 00 RSLogix 5 EIM File N8 dec gr ER Forces Disabled Node Od LS LER user ABit TivfriCountey Input Output A 4 Driver AB_ETH 1 ffse 4 T 8 8 70 8 80 16384 8 90 32704 99 4228 32704 1 anag 8 100 0 0 0 100 0 4l 123 1 data E byte read 8 110 784 3928 784 3928 680 3407 0 0 0 back register 8 120 0 0 2600 8 19200 8 0 0 302 120 00 8 Last data byte read back register 49 Properties For Help press F1 Class 1 Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 75 So EIM CO NTROLS Controlinc 1771 C Version 5 2
125. o not use the 1 scan period after a power cycle or environment change wait until the 2 scan period or beyond Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 94 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 6 2 4 Preferred Communication Port Operation The 1771 C operates on both communication ports In a standard E gt Net Ring topology the e Port 2 top port on the 1771 C goes to Port A on the EIM NIU s Port 1 bottom port onthe 1771 C goes to Port B on the EIM NIU The implementation of this communication scheme works in conjunction with the aspect of Communication Failure Indications such that if a failure is detected on a particular port for a particular actuator it will remain actively announced to assist in the diagnostics and troubleshooting required by a service technician The 1771 C tries to utilize both communication ports evenly It has a preferred port anda packup port such that the program will try to communicate over the preferred port to a particular actuator However if there is a problem communicating with the preferred port the program will automatically try the backup port The 1771 C alternates port 1 amp 2 as being the preferred port after every scan period That is at the start of every diagnostic scan the preferred port is changed Example scenario 1 Scan period n s Preferred Port Port
126. oint 0 4095 Analog counts Valve CLOSE Duty Cycle Timer ON Time 0 65535 0 001 second Valve CLOSE Duty Cycle Timer OFF Time 0 65535 0 001 second Valve OPEN Duty Cycle Timer ON Time 0 65535 0 001 second Valve OPEN Duty Cycle Timer OFF Time 0 65535 0 001 second COM1 baud rate 1200 38400 Baud rate COM1 response delay 8 60 0 001 second COM2 baud rate 1200 38400 Baud rate COM2 response delay 8 60 0 001 second Passcode characters 1 amp 2 1 gt LSB 2 gt MSB ASCII ASCII Passcode characters 3 amp 4 3 gt LSB 4 gt MSB ASCII ASCII Software Version ID Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 108 S 320B Holding Register 4 EIM CONTROLS Description Open coast distance Range Remote Interface Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Increment Remote Interface Analog counts Close coast distance Current torque at 10 open while opening valve Analog counts Analog counts Current torque at 20 open while opening valve Analog counts Current torque at 30 open while opening valve Analog counts Current torque at 40 open while opening valve Analog counts Current torque at 50 open while opening valve Analog counts
127. ommand issued reflect the last known values of the totalizer registers in the actuators Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 64 XG EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Example Table 9 Feedback 48 node network Characteristics e Totalizer 1 has not engaged for any unit on the network This means that the digital input s assigned to this totalizer accumulator have not toggled low high since the last power up on any unit on the network o On 320A B systems user input 1 o On TEC2000 systems it depends upon the configuration e This also means that the feature is probably not implemented on the actuators RSLogix 5 EIM File N8 dec File Edit View Search Comms Tools Window Help Dah amp RO Ca a b Fh La First Node on Network ERTS aez gt or NoEdts Forces Disabled Forces Forces Disabled 2 D Pan Driver AB ETH 1 Node od Lil user ABL Printer Input Output 0 0 0 0 0 1 oO w PS TT Rad Decimal Columns 10 v Usage Help Class 1 Last Node on 48 Node Network Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 65 y E G EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 5 4 9 Table 11 Valve Position Indication 0 4095 Words 4 gt 63 PLC access Read On
128. ommunications Network Scan Time Slice Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 17 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 4 1 2 Diagram Describing Network Scanning amp Actuator Writing Logic This example demonstrates how a normal scan cycle gets elongated with data writes to the actuators The more writes being performed the longer it will take to complete data scans This is where the PLC HMI must make a value decision for the best fit for their application e Fast enough repetitive writes to control the system e Slow enough repetitive to ensure effective feedback to control the system Polling data Network Scan Time Slice Polling for data Writing data Time to poll 30 actuators for data without any writing to actuators Writing data to the network PLC Interface Time Slice Polling for data Time to poll 25 actuators for data Performing 3 sets of z data writes ja interspaced within ata the single scan loop Polling for data Writing data Polling for data Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 18 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 4 1 3 Diagram Demonstrating Adding Additional Valves in Valve Scan Time Slice This e
129. on Values Writing Table 0 RSLOGIX 5 50 5 3 4 4 Table 0 The Run Time Feedback Values From 1771 C RSLOGIX 5 51 5 4 Tables 1 gt 20 Actuator Information Tables ssesssssvessnnvvevsnvvneenseseeseneee 52 5 4 1 Table 1 Communication Error Status eee 52 5 4 2 Table 2 Actuator Operational Status 54 5 4 3 Table 3 Discrete Control Mode Open Close Stop sse eee eee eee 56 5 4 4 Table 4 Valve Position Indication O 100 0 sees eee 58 5 4 5 Table 5 Valve Position Setpoint O 4095 rrrrrrrrnvornnnnnnnrrnrrrvrnnnnnnnnnnnnnenr 59 5 4 6 Tables 6 amp 7 User Analog Inputs 1 amp 2 rrnnnnnnnnrnrrnrnnnnnnnnnnnnrnrvnnnnnnnnnnnnnnnne 61 5 4 7 Table 8 Analog Output i siisii ee in eles 62 5 4 8 Tables 9 amp 10 Digital Input Accumulators Totalizers 1 amp 2 rrrrnrrnnrnnnnnnn 64 5 4 9 Table 11 Valve Position Indication O 4095 rrrrrrrrrnnnnnnnnnnnrrrrrrrnnnrnnnnnnnnnn 66 5 4 10 Table 12 Discrete Input StatUSes eee 67 5 4 11 Table 13 Solid State Relay SSR Configuration Table eee 69 Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page ii Y G EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 5 4 12 Table 14 Additional Register Being Polled From Entire Network 71 5 4 13 Table 15 Additional Block of Regist
130. ond MFG ID Network Address ee SS EIM CONTROLS Ka 6 4 7 TEC 2000 Memory Map Table for Coils amp Inputs Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Register 1000 inputs STOP Command Active CLOSE Command Active Open Command Active SETUP Mode Selected REMOTE Mode Selected STOP Mode Selected LOCAL Mode Selected TSO Open Valve is Closing Valve is Opening LSB is Tripped LSA is Tripped LSC is Tripped LSO is Tripped 1001 inputs Alarm Valve Stalled Valve is Moving Alarm System Service Required Hardwired ESD Alarm Hardwired ESD Alarm Close Inhibit Alarm Open Inhibit Alarm Motor Overload Alarm Lost Control Voltage Signal 1002 inputs RO 1030 Emergency STOP Signal Status RO 1028 ating ibit nal tus 1025 RO 1031 AUX Close Contact Engaged RO 1030 RO 1029 RO 1028 Digital Input 5 State RO 1027 Digital Input 4 State Digital Input 3 State RO 1025 Digital Input 2 State Digital Input 1 State Limits are NOT Set Indicator 1003 inputs 1043 1047 RO 1044 RO 1043 RO 1042 RO 1041 CCM Status bit 2 of 2 RO 1040 CCM Status bit 1 of 2 RO 1063 Reserved NO OP Reserved No write Access Reserved NO OP Reserved No write Access
131. only react to these values The mechanism used to execute these commands is s f OPEN command a setpoint of 4095 is transmitted to the actuator s If CLOSE command a setpoint of 0 is transmitted to the actuator s If STOP command o A Modbus command is sent to the actuator to read the current position o That current position is sent to the actuator as the setpoint to go to A read back of Table 3 will s If a write command issued reflect the write command accepted by the 1771 C s fa read command issued reflect the last status of the discrete commands unless changed by a new table 5 entry Note 1 While the table will accept any value any illegal data will be ignored Note 2 Any NEW discrete control command in this table will change the corresponding setpoint control value in Table 5 to either 0 4095 or current position Note 3 If a NEW change setpoint command is issued in Table 5 for a particular valve then the corresponding discrete control command in this table Table 3 will be zeroed out Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 56 O EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Ss Example Table 3 Feedback 48 node network Characteristics e There are no discrete commands waiting for execution RSLogix 5 EIM File N8 dec File Edit View Search Comms Tools Window Help k ZR
132. or If the actuator is configured to have an SSR in it table 13 1 A Modbus command is sent to the actuator requesting status information to verify the SSR configuration coil is set 2 If the coil is not set a Modbus command is sent to set it 3 The Modbus command is sent to indicate the new setpoint Note 1 Discrete OPEN CLOSE STOP commands The discrete OPEN CLOSE STOP commands in table 3 are handled exactly the same as if a setpoint was sent e OPEN send a 100 open setpoint e CLOSE send a 0 open setpoint e STOP send a setpoint matching the last position read For more information on how this works refer to the actuator s operation manual Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 30 ey EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Note 2 If writing to a valve and the write fails then the internal flag to write the value REMAINS ACTIVE This means that even though the communication process will prevent the program from trying to transmit when there is an error the program will keep this value identified as one to send out until it is actually sent out or cleared by the PLC This also means that the write to this particular actuator will be attempted the next time the PLC sends this table in with a write table command associated with it For example If this was a value in table 5 the 1771 C will retry writ
133. or that particular actuator 1 5 Firmware The firmware is a driver program which is a compiled application program not an interpreted one It is loaded and stored in the module s 32K EEPROM A B P N 1771 DBMEM2 The user is required to provide configuration information from the PLC Relay Ladder Logic RLL for each specific application the RLL must load table 0 with appropriate configuration information Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 7 ey EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 2 1771 C Hardware 2 1 Hardware Setup Refer to Chapter 1 of the 1771 DB manual The following hardware jumper settings are required If the 1771 DB module was supplied by EIM jumpers are already set and no other settings are required For the 1771 C to run the jumper settings on the DB module should be set as follows e JW1 enable watchdog timer e JW2 32K EEPROM e JW3 turbo e JW4 PRT1 ASCII PRT2 ASCII DH485 PGM e JW5 8 point mode e JW6 9600 bit s e JW7 enable battery e JW8 RS232 e JWI RS232 This jumper configuration is normally performed by EIM before shipping the 1771 C Figure 2 1 Hardware jumpers of the 1771 DB Jumper settings are screened on the side of the 1771 DB module Copyright 2004 EIM COMPANY NC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 8 So EIM CO NTROLS Control
134. ors on the network The Scan Period number of network scans before a diagnostic scan Whether or not to poll actuator totalizers The number of additional valves to scan in the scan time slice before servicing the PLC Table 13 Which 320A actuators have Solid State Contactors for modulating control Any additional response delay for messages returning from actuators Any specific register to poll from all nodes on the network Any block of registers to get from a specified actuator node on the network The value to reset the scan period counter Any direct monitoring and control of discrete outputs on specific actuators on the network coils 1000 1011 on TEC2000 systems coils 3 5 on the other systems Whether or not to poll input registers on TEC2000 systems The RLL is responsible for all configuration each time the system is reset Except for 2 circumstances all configuration is performed in table 0 Exceptions 1 The RLL must identify which 320A actuators require SSR control and load table 13 with the data The optional Solid State Relay SSR is required to be in an actuator if the actuator is to receive modulating control commands from any controller If an actuator is supposed to have an SSR installed the network master will check and if necessary set the actuator internal configuration bit indicating an SSR is installed before sending it a modulation command The RLL must identify which
135. p through and write to all appropriate actuators on the network 9 The PLC interface time slice is now finished Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 27 ey EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 As per affecting network performance unless the command is to write data to the actuators the PLC does not have to limit the rate in which these commands are sent to the 1771 C because the 1771 C only sends back the table information it already has stored in memory Conceptually these do delay the overall scan time However the amount of delay is very minor from a global perspective Obviously the PLC must still ensure all appropriate BTR BTW handshaking is performed As per writes that send data to the actuators the rate should be limited Please refer to the section that discusses writing data to the actuators on the network Note 1 All tables can be read by the PLC To ensure you only read from a read write table access it with the command word set to 0 zero Note 2 An invalid table ID sent to the 1771 C will default to a read request for table 0 data Note 3 On write commands from the PLC reading the immediate feedback is optional for the PLC In other words if the PLC has no need to inspect this table then it can read it back but just throw it out However servicing the BTR request is important to overall system throughp
136. peed up the recovery time make the scan period value low To lengthen the recovery time make the scan period value high RECOMMENDATIONS Typically EIM will not recommend any particular value for the scan period value EIM cannot make that type of decision for any end user However EIM will work with a user to explain what happens if a value is chosen The user must then make the choice of value that best suits their application Basically they need to evaluate the priority levels and effects of the time period of having an actuator off line vs the interruptions in the normal data gathering to perform system diagnostics allowing off line systems the chance of coming back on line Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 90 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 6 2 App Note 1771 C Operation Additional Detailed Information 6 2 1 Determining amp Exiting Network Down Condition If the 1771 C ever detects network down no actuators communicating then LED2 will come on and the program enters the diagnostic scan mode and remains there until at least one actuator responds After scanning the down network if any actuator responds and the number of actuators that responded is not the same as the number configured in table 0 then the 1771 C will perform one more network scan in the diagnostic mode to afford t
137. provide support for multiple networks up to 60 actuators each Note 1 It is important to note that the 1771 C Network Master may be used in any slot in the 1771 rack not just slot 0 next to the PLC 5 CPU It may also be located in remote 1771 racks Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 3 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 1 2 Overview of Changes in Version 5 21 Any later releases of this document for this version of the product 5 21 are to only correct entries in this document primarily grammatical or typos that are discovered in the future Major ideas will be documented with a separate line entry Major document changes 1 This document 2004 11 18 Previous document 2004 08 17 Major Change Memory Maps adjusted 2 New document 2004 08 17 Previous document 2004 08 06 Major Changes Memory Maps adjusted and this section added The following list identifies the most significant functional changes between version 5 20 and 5 21 1 Table 17 was changed from read only to read write to allow an end user to clear it The following list identifies most significant functional changes between version 5 03 and 5 20 1 The previous firmware release version 5 03 2 The number of tables increased e Version 5 03 tables 0 13 e Version 5 20 tables 0 24 3 Table 11 has a different fun
138. ption the 1771 C now does NOT report this as a communication error table 1 records the exception code and error code sent by the actuator table 20 clears the exception code on the next diagnostic scan 11 Compatibility with multiple EIM equipment types 320A 320B TEC2000 e Types are identified in table 18 e 320A amp 320B Firmware version ID is identified in table 19 e 1771 C will check amp test for SSR bit only if a 320A node 12 User Configurable Additional Message Response Delay Time e Configure table 0 word 8 13 User Configurable Poll Specific Register From All Nodes on Network e Configure table 0 words 9 amp 10 e The response is in table 14 14 User Configurable Poll Block of Registers From a Specific Node on the Network e Configure table 0 words 11 14 e The response is in table 15 15 User Configurable Control Discrete Digital Outputs e Configure table 16 e Monitoring the status of the outputs is in table 17 16 User Configurable Poll TEC2000 Inputs registers 1000 1003 e Configure table 0 word 17 e Response tables 21 24 Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 5 1 3 EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Reference Manuals Allen Bradley 1771 DB Series B Basic Mo
139. r position and places it in tables that can be transmitted to the PLC The scan operation cannot stop in the middle of a request for data from a particular actuator Therefore the 1771 C can only interface with the PLC once it has finished all required communications with the actuator it is currently getting data from Network scanning resumes with the next actuator after interfacing with the PLC and processing any requests made by the PLC writes to tables writes to actuators table reads For example if the 1771 C is currently scanning actuator 5 and the PLC wants to write a new valve position setpoint to 22 actuators then the 1771 C will 1 Finish getting data from actuator 5 2 Get the new command table from the PLC 3 Write the new valve position setpoint to all 22 actuators 4 Restart network scanning where it left off the next actuator 6 after the last one polled 5 Standard data is gathered from the actuators by a single Modbus 03 command However a 2 Modbus 03 command is generated if any of the following are true s f requesting totalizer data e If requesting a specific holding register e If requesting a block of holding registers from this actuator s f requesting to monitor the discrete outputs on this actuator s f requesting TEC2000 input data This is one reason why additional data should only be requested when needed it will slow the entire scan time of the system by a minimum of 30 50 m
140. r for the rest of them Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 97 Scenario 3 Scenario 4 EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Actuator powered down If the actuator is just powered down and nothing else is physically wrong with the network the network communication is supposed to pass through to the next unit In this case the 1771 C should be able to communicate with the entire network except for the system that is powered down This means that in table 1 there would be the following values e 3 in the locations for actuator that is powered down e 0 in the locations for the rest of the actuators Bit 14 in table 2 would be set 1 for the actuator that is powered down It would be clear for the rest of them Actuator is having problems communicating on a particular channel particular side A B or Left Right or In Out In this scenario the problems could be reflected in many ways by the 1771 C depending upon the type of problem at the actuator However the highest probability is that the problem would be reflected on the appropriate 1771 C port for that actuator and any actuator that is physically located between the 1771 C and the specific actuator having problems For example assume port A on actuator 4 was having a problem communicating In this case
141. r increment time time for the scan period diagnostic scan time FORMAT Word 15 This is a flag that indicates whether or not to reset the Scan Period Counter Word 16 The value used to reset the Scan Period Counter s If Word 15 do not reset the counter e If Word 15 0 any non zero value e Word 47 0 e Word 48 Word 16 By default Words 15 amp 16 0 do not reset the counter Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 45 EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Word 17 FUNCTION Poll for Input Registers 1000 1003 on TEC2000 Systems This is a flag that indicates whether or not the 1771 C should request the input registers on any TEC2000 system detected when scanning The input register values are stored in tables 21 24 such that Table 21 contains register 1000 status bits Table 22 contains register 1001 status bits Table 23 contains register 1002 status bits Table 24 contains register 1003 status bits This data is retrieved with a separate Modbus read command when the particular actuator is being polled scanned If word 17 do not poll for input registers If word 17 0 any non zero value poll for input registers By default word 17 0 do not poll Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI
142. r values polled are stored in table 14 This data is retrieved with a separate Modbus read command when the particular actuator is being polled scanned This data is retrieved with a separate Modbus read command each time an actuator is polled scanned FORMAT Word 9 The holding register desired Word 10 This is a flag that indicates whether or not to start requesting that register from the actuators when scanning s If Word 10 do not poll for the register s If Word 10 0 any non zero value poll for the register specified in word 9 By default Words 9 amp 10 0 do not poll 11 gt 14 FUNCTION Poll Additional Block of Registers From Single Specified Actuator This operation allows the operator the chance to poll a single actuator for a block of registers The register values returned are stored in table 15 such that s Table 15 words 4 7 header information about information returned e Table 15 words 8 13 not used reserved e Table 15 words 14 63 register information returned This data is retrieved with a separate Modbus read command when the particular actuator is being polled scanned FORMAT Word 11 The actuator address to get the block of registers from Word 12 The register number for the 1 holding register in the block to retrieve Word 13 The total number of registers to retrieve Word 14 This is a fl
143. ration then a transmission on either port will generate a receive indication on BOTH receive LEDs PT1R amp PT2R Observing this is a sign that the ring topology is correct Manual Reset button switch Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 9 EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Green LED App Note Green LED Lights amp System Initialization with Table 0 After startup if table 0 is not initialized shortly after the 1771 C finishes its initial diagnostic scan the program starts running with factory default settings This means that unless the network actually has 60 actuators on it the 1771 C will believe the other valves are just off line Plus an operator can often determine when the PLC RLL actually writes to table 0 configures the system by watching the green LED lights For instance On a network that actually has 25 valves on it addressed 1 25 until table 0 word 4 gets initialized with 25 the program thinks that there are still supposed to be 60 actuators on the network only the last 35 happen to be off line Then if viewing the green LED lights when a scan starts LED1 changes state you will see the green LEDs flash while the 1771 C communicates with valves 1 25 Then you will observe a dead space in time when the program is trying to determine if any of
144. rd 6 CRC High byte CRC Low Byte Log Entry Number Reg 1230 Event Log Record 6 Register 1000 Inputs 1000 1015 Reg 1231 Event Log Record 6 Register 1001 Inputs 1016 1031 Reg 1232 Event Log Record 6 Register 1002 Inputs 1032 1047 Reg 1233 Event Log Record 6 Time minutes Time seconds Reg 1234 Event Log Record 6 Date Day Time Hour Reg 1235 Event Log Record 6 Date Year Date Month Reg 1236 Event Log Record 6 Torque 0 100 Position 0 100 Reg 1237 Event Log Record 6 Reg 1238 Event Log Record 7 ICRC High byte CRC Low Byte Log Entry Number Reg 1239 Event Log Record 7 Register 1000 Inputs 1000 1015 Reg 1240 Event Log Record 7 Register 1001 Inputs 1016 1031 Reg 1241 Event Log Record 7 Register 1002 Inputs 1032 1047 Reg 1242 Event Log Record 7 Time minutes Time seconds Reg 1243 Event Log Record 7 Date Day Time Hour Reg 1244 Event Log Record 7 Date Year Date Month Reg 1245 Event Log Record 7 orque 0 100 Position 0 100 Reg 1246 Event Log Record 7 Reg 1247 Event Log Record 8 CRC High byte CRC Low
145. rom Allen Bradley Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 11 Sod EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 3 Network Setup and Connecting to the NIU In general the EIM NIU Network Interface Unit is a beefed up and configurable RS232 lt gt RS485 converter The ports on the 1771 C Port1 PRT1 and Port 2 PRT2 are configured for serial communication using RS 232 The network communication parameters are pre configured and fixed at 9600 baud 8 bit no parity 1 stop bit The NIU isolates and protects the 1771 C and the PLC from the network and is 2 powered by its own 120 AC circuit Its HARE primary function is to convert RS232 communications to RS485 communications The RS485 connection by others i 1 i EIM Controlinc po then communicates to a ring or ring m bd Ag Hasta 120vac network 1771 6 Note To help with isolation there are two 2 entirely separate boards in the NIU However because of this there are two 2 120 VAC connections to the NIU Ensure that both are connected you can jumper the circuits together at t d EJ Valves T 9 Figure 1 The Controlinc network is connected to the 1771 C module via the Network Interface Unit NIU It doesn t matter if you connect e Port 2 PRT2 top DB25 connector connects to the NIU at the port labeled
146. rt The amount of time the CPU is held in reset how long the lt RESET gt button is held down has no affect on the network master CPU it doesn t care if its asleep for 0 1 seconds or 10 seconds However it can have an effect on the PLC RLL in how it is interfacing with the 1771 C Short presses ex less than a second of the button might not give the RLL enough time to detect the fact that the DB module is being reset Longer presses might give the RLL a better chance of detecting the 1771 C being off line and allow it to recover better Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 99 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 6 2 7 Toggling the Preferred Port to Assist Diagnostics The preferred port toggles between PORT1 amp PORT2 every time a system diagnostic scan is performed This timing has been shown to be long enough to give good deterministic information about communicating on any particular port and still be short enough to flag a problem that is developing on the network Also since the intention behind this toggling is only to help out diagnostics to flag an actuator when a port is starting to go bad the relative time reference here is the time to get a technician to see and service the actuator amp network Therefore the scan period between diagnostic scans is more than fast enough for this Several scaling m
147. s back to the PLC File NB dec Memory Last Network Last Network T This Scan Area to Scan Scan This Scan This Scan This Scan This Scan Rollover Scan Period write Total number of Time Period Period Period Period Counter Period Current S valves polled 5 1 sec ae Shortest R G C Counter Paged S during erio ol Valve Scan 10 2 sec 5 1 sec Counter time slice 3 Memory Area to read table from 1771 C Duration of T Duration of Current Current J _ Last Previous scan loop Number of EE 10 Diagnostic Diagnostic counter Vaes Last Scan Last Scan Last Scan Last Scan Scan Scan Online Period Period Period 9 2 sec 9 1 sec Average Total Elapsed Shortest Longest Scan Scan Time time Scan Time Time 5 1 sec 259 0 sec 4 9 sec 5 2 sec Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 51 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 C 5 4 Tables 1 gt 20 Actuator Information Tables 5 4 1 Table 1 Communication Error Status Words 4 gt 63 PLC access Read Only The Communication Error Status Table is used by the network master to track communication faults with each actuator This data is totally derived by the 1771 C These are
148. s each time an actuator is polled for this data For instance if all 5 of the above are requested for each actuator an extra 30 50 ms is required for EACH meaning that the scan time could be increased by almost a factor of 5 dramatically slowing down the system A typical scan time time to scan all the actuators on the network to gather standard information on 60 actuators is less than 10 seconds depending upon the 1771 C configuration When gathering data the data is stored in the appropriate tables in the 1771 C Values in the table for a particular actuator will not be overwritten if there is an error communicating on both ports with the actuator Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 22 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 4 2 2 Operation The Network Communication Diagnostic Scan After a predetermined number of loops through the network scanning the actuators the scan period the 1771 C performs a communication diagnostic scan to determine if any off line actuators can come back on line If there are any that are ready the 1771 C will bring them back on line without human intervention This is the only time an off line system can come back on line The number of loops around the network is determined by the scan period value The PLC adjusts this value to accommodate site requirements and
149. s on line shortly after it comes out of reset because one of the last things it does when coming out of a reset is perform a diagnostic scan to see who is on the network and ready to talk COMPLETE POWER CYCLE When there is a complete power failure to the actuators and Master Station at same time if power cycles on the entire system actuators PLC amp 1771 C what happens when depends upon what system comes back on line first If an actuator comes on line before the 1771 C is out of reset then the 1771 C will see it when it performs its network check as it comes out of reset it will be on line If the 1771 C comes up before an actuator then that actuator will not get on line with the 1771 C until the next diagnostic scan is performed GENERAL Usually if any actuators do not start communicating with the 1771 C after it performs its diagnostic scan the places to look are outside the 1771 C the actuators the interconnecting network USING THE lt RESET gt BUTTON If the end user wants to manually perform this diagnostic scan now without waiting for the normal scan period time to elapse and without having the HMI change the scan period value then he is to press the lt RESET gt button on the 1771 C This is the manual procedure The lt RESET gt button is located on the top of the 1771 C module immediately behind the front panel Pressing this button places the 1771 C module in reset mode as if ready to resta
150. sion 5 21 Network Master Users Guide 2004 11 18 C 4 1771 C General Theory of Operation 4 1 Operational Overview The interface for the PLC with the actuators through the 1771 C module is with an array of 25 tables 64 words per table with the table number command in Word 0 of each This is based on the 64 word BTR BTW interface protocol established by Allen Bradley for the PLC 5 systems The 1771 C operates using a Non Interruptible Time Slice Process Allocation communication methodology This means that it must finish executing the process that is executing in its allocated time slice before another process can operate The two processes being scheduled are e Scanning the network for data e Interfacing with the PLC This means that the 1771 C will ignore any new commands from the PLC while scanning the network during the network scan time slice and no network scanning will take place while processing a command from the PLC during the PLC interface time slice 4 1 1 Diagram Describing Relationship Between Process Time Slices Process time slicing is how the 1771 C divides its time when performing its 2 primary communication tasks communicating with the PLC and communicating with the actuator network This diagram helps demonstrate the relationship between the two communication processes PLC Backplane PLC gt 1771 C Communications 1771 C gt Actuators on PLC Interface Time Slice Network C
151. ssssssssssssssssssssssssss 12 3 1 Field Connections at the Actuator cscssccccssssssscssssssssccscssssscssssssssscssssssscseees 14 3 1 1 Step 1 Plan the Network Topology eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaeeseeeeeeeess 14 3 1 2 Step 2 Select Network Cable eee 14 3 1 3 Step 3 Route Cable away from Electrical Interference sse 15 3 1 4 Step 4 Observe Polarity and Network Grounding ceeeeeeeeeeeeeeeeeeeeees 15 3 1 5 Step 5 Wire Preparation and Cormedhons u uuanannanmeenamnmm nnn 15 3 1 6 Step 6 Test Nkr 15 3 2 Field Network Cable Connection to the NIU sssesssecccssosececssooccesssooccessssecseesoo 16 3 3 Cable Connection Between the NIU and the Network Master cse00 16 4 1771 C General Theory of Operation ss sss sssssssssssssssssssssssssssssssssssssssssssssss 17 4 1 Operational Overview vedaene 17 4 1 1 Diagram Describing Relationship Between Process Time Slices 0 17 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page i Sy EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 4 1 2 Diagram Describing Network Scanning amp Actuator Writing Logic 00 18 4 1 3 Diagram Demonstrating Adding Additional Valves in Valve Scan Time Slice 19 4 1 4 Diagram Describing Relationship Between Scan Period amp Diagnostic Scan 20 4 1 5 1771 C System Operat
152. t is used to help configure the actuators on the network Itis intended to work with actuators that are setup for modulating control mode If a 320A actuator has an OPTIONAL SSR installed the network master must ensure the actuator knows it is configured with an SSR By writing a non zero POSITIVE value to these positions in table 13 tells the network master to tell the particular 320A actuator to configure itself to use an SSR set coil 37 1 on the actuator If not a 320A actuator this table value has no purpose SUMMARY e If word n where n is 4 gt 63 this actuator does not have a SSR s If word Ini gt 0 any non zero POSITIVE value this actuator has a SSR An example would be a network of actuators in which 3 are 320A systems that have SSCs lets say on valves 2 4 and 10 by Modbus address The corresponding words for these actuators are e Valve 2 Word 5 2 3 e Valve 4 Word 7 4 3 e Valve 10 Word 13 10 3 A read back of Table 13 will verify the write command being accepted by the 1771 C Note Ifan actuator e has an SSR installed AND e itis NOT configured for SSR control AND e itis placed in modulating mode then the remote host will be unable to control the valve via setpoint control The actuator will read the desired setpoint positions but will not be able to send the valve to the position and effectively stop it there Note Remember setting this configuration b
153. t values in the table If the PLC is utilizing tables 14 or 15 it should also poll this table There are many reasons for this For example if there are multiple types of EIM equipment on the network and the PLC requests data from an actuator that is not supported by that type of actuator but is on the others the actuator will return a Modbus Exception for that message and the values will NOT be loaded into tables 14 or 15 However the exception codes will be loaded into table 20 Note The intention of this table is not to identify and maintain this status in real time It is to only serve as a general flag to the PLC operator that an exception has occurred with this actuator and that the PLC operator might want to investigate more thoroughly later Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 83 O EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Ss Example Table 20 Feedback 48 node network Characteristics e Table 20 is displayed hex to make it easier to interpret Modbus Exception messages returned from the actuators e No actuators have responded with a Modbus Exception message so far this scan period 14 HEX 20 Decimal Ep EIM File N8 hex P Forces Disabled First Node on Network 0 0 0 0 0 8 120 0 Co F9D FFOD FFSD FFOD FFSD FF9D FFSD FF9D 8 130 FF9D F YD F
154. table indicates the status of a particular discrete hardwired digital input for a particular actuator This data is derived from holding register 05 in the actuators and is retrieved with the standard data request Modbus read command when the particular actuator is being polled scanned If a TEC2000 was polled the TEC2000 system correlates appropriate values to the bits being returned This status word can be bit parsed to give s Bit 0 LSO Limit Switch Open switch input is active is tripped e Bit 1 LSC Limit Switch Close switch input is active is tripped e Bit 2 AUX Open Contactor input is active is engaged e Bit 3 AUX Close Contactor input is active is engaged s Bit 4 SS in Local Position input is active is tripped e Bit 5 SS in Remote Position input is active is tripped s Bit 6 TSO Torque Switch Open input is active is tripped not the alarm s Bit 7 TSC Torque Switch Close input is active is tripped not the alarm s Bit 8 Power Monitor Alarm input is active e Bit 9 Thermal Overload Alarm input is active s Bit 10 Phase Monitor Alarm input is active only if Phase Sentry is Installed e Bit 11 Local Hardwired Alarm input is active Bit 12 AUX Alarm input is active s Bit 13 User Input 1 is active s Bit 14 User Input 2 is active e Bit 15 Reserved no operation Note Bit 0 is the LSB in the word Bit 15 is the MSB in the word Some of thes
155. the final 35 valves it believes to be connected are available and of course none are because the network only has 25 valves on it As soon as a new scan starts all 60 valves have been checked and ready to scan the network again LED1 changes state then the green LEDs will start flickering again while the 1771 C communicates with valves 1 25 Then the dead space time will be observed again This sequence will repeat until the PLC program initializes the 1771 C by writing to table 0 Copyright 2004 EIM COMPANY ING 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 10 Y D G EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 2 2 2 Red BTL LED Usage The red BTL LED indicates low battery status The purpose of the battery in the DB module is to back up portions of RAM and other resources For guaranteed long term repeatability of operations the EIM 1771 C program does not utilize any of these resources Therefore it doesn t matter what state the battery is in installed and fully charged inline and dead or totally removed from the unit the EIM network master program will always run the same This also means that a new 1771 C module might run with the BTL LED off for a while and then turn on when the battery dies This is normal and has NO effect on the system However if for some reason you want to replace the battery you can order it directly f
156. ticular holding register The register values polled are stored in this table This data is retrieved with a separate Modbus read command when the particular actuator is being polled scanned This table is not polled for unless the 1771 C is configured to allow it e Table 0 Word 10 contains the register number to poll for e Table 0 Word 10 is a flag that indicates whether or not to start requesting that register from the actuators when scanning such that o if Table 0 Word 11 0 The register is not polled the default o if Table 0 Word 11 0 The register information is requested when actuators are polled The PLC may reset this table with any value is prefers To do this the PLC must insert the new value into the table and send it to the 1771 C as a write command The values in this table are not sent out to the actuators on the network A read back of Table 14 will s If awrite command issued reflect the write command accepted by the 1771 C s lf a read command issued reflect the last known values of the specified register polled in the actuators If the PLC is utilizing table 14 it is recommended that the PLC also poll table 20 If an exception message is returned then the value won t be inserted into table 14 but the exception message indicator will be inserted into table 20 If detected and the PLC wants to try again it should initialize table 14 to some known v
157. tory Setup Motor ID Char 0 MFG Date Char 3 Factory Setup Motor ID Char 2 Motor ID Char 1 Factory Setup Motor ID Char 4 Motor ID Char 3 Factory Setup Motor ID Char 6 Motor ID Char 5 Factory Setup Factory Setup Factory Setup Factory Setup Factory Setup Reg 1030 Factory Setup Reg 1031 Factory Setup Motor Run AMPS Char 1 Motor Run AMPS Char 0 Reg 1032 Factory Setup Motor Run AMPS Char 3 Motor Run AMPS Char 2 Reg 1033 Factory Setup Motor Stall AMPS Char 1 Motor Stall AMPS Char 0 Factory Setup Motor Stall AMPS Char 3 Factory Setup Max Torque 0 100 Factory Setup Reg 1037 User Field Setup Torque Spring Type RO2 Function CAM Card Type Network RO1 Function Reg 1038 User Field Setup RO4 Function RO3 Function Reg 1039 User Field Setup RO9 Function RO5 Function Reg 1040 User Field Setup RO11 Function RO10 Function Reg 1041 User Field Setup Field Setup Pass Code Char 0 RO12 Function Field Setup Pass Code Char 2 Field Setup Pass Code Char 1 Reg 1043 User Field Setup Max Close Torque 0 100 Max Open Torque 0 100 Reg 1042 User Field Setup Reg 1044 User Field
158. tputs tables 16 amp 17 if and when needed cuts down on the time to gather data from each actuator 4 Only read additional registers if and when the application program requires them cuts down on the time to gather data from each actuator 5 Restrict the rate of data writes to the actuators only write as fast as required to adequately control the valve cuts down on the interruptions to scanning the network gathering data 6 Only write to or read tables if actually in use ex do not write to the analog output table if analog outputs are not used prevents unnecessary delays to gathering the more important data from the network 6 1 2 Reading Run Time Information from Table 0 The PLC should perform a read of table 0 in a timely enough manner so that an operator can view the run time changes in a manner that makes sense For example the operator should be able to watch the scan counter increment by 1 or 2 if it appears to jump by 15 or so because the PLC is not reading table 0 enough then it is a lot more difficult to use the information Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 87 A O EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 S 6 1 3 Loading Table 0 with Configuration Information To maximize system performance the RLL must load configuration information that includes The Number of Actuat
159. tus word can be bit parsed to give Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 8 Bit 9 Bit 10 Bit 11 Bit 12 Bit 13 Bit 14 Bit 15 LSO is tripped valve is at the end of its OPEN travel limits LSC is tripped valve is at the end of its CLOSE travel limits Valve is moving in the OPENING direction Valve is moving in the CLOSING direction Selector Switch is in the Local position Selector Switch is in the Remote position Open Torque ALARM is active Close Torque ALARM is active Valve Stall Alarm is active valve not moving on command Power Monitor Alarm is active loss of control voltage alarm Motor Overload Alarm is active Phase Monitor Alarm is active only if Phase Sentry is Installed Local Hardwired Alarm is active Fail Alarm Self diagnostics Alarm is active Comm Alarm Valve not communicating with the network Same as the value 3 in Table 1 Unit Alarm Set when any actuator alarm is set Note Bit 0 is the LSB in the word Bit 15 is the MSB in the word Some of these bit indications are repeats of those in table 12 However not all Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 54 So EIM CONTROLS S Example Table 2 Feedback 48 node network Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 Characteristics e The format is displayed in HEX because HEX is easier to
160. ut For instance the PLC program might be architected such that it treats an output pipe command as just that a one way pipe that has no feedback In this case the PLC would use other mechanisms for feedback ex other tables and does not require the redundant feedback on write commands Note 4 When any request fora BTW BTR is made by the 1771 C the 1771 C program waits in the respective request function until either the transfer completes or until a timeout is triggered currently set at 2 seconds This extended timeout time is to assist a PLC program that is having other hopefully temporary difficulties and might take a while to return to normal behavior This operation does not allow for exiting the function early keep processing and returning later to check results It cannot exit check the function with an activated but not finished indication Therefore to not slow down 1771 C network scanning activities the PLC RLL needs to service these requests as soon as possible even if it is to only throw away the table read back Servicing the request fora BTW BTR made by the 1771 C is critical for overall timing efficiency Note 5 One main point to remember on BTW BTR timing is that once the 1771 C responds to a BTW command the 1771 C will not return to process setup for another BTW command from the PLC until it e responds with an immediate feedback BTR request for the table being addressed e fi
161. xample demonstrates how increasing the additional number of valves to be scanned before servicing the PLC communication task decreases the total network scan time This is where the PLC HMI must make a value decision for the best fit for their application e Increasing the number Speeds up data collection Lowers PLC control capabilities e Decreasing the number Slows down data collection Increases PLC control capabilities Example of scale for time to scan network different values for Additional valves in scan time slice Network size 8 Network size 8 Additional valves 0 Additional valves 3 4 S Poll 4 valves for data gt Service PLC cmd Poll 1 valve for data Service PLC cmd Poll 1 valve for data Service PLC cmd a 9 Poll 4 valves for data la Service PLC cmd Poll 1 valve for data Service PLC cmd Poll 1 valve for data Service PLC cmd Poll 1 valve for data Service PLC cmd Poll 1 valve for data Service PLC cmd Poll 1 valve for data Service PLC cmd Poll 1 valve for data Service PLC cmd Note the relative time differences are for illustration purposes only not to any exact scale Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 19 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG 4 1 4 Diagram Describing Relationship Between Scan Period amp Diagnostic Scan This example de
162. y Reg 1060 User Field Setup Speed Control Bandwidth Position Bandwidth Reg 1061 User Field Setup ESD Delay Time Modulation Delay Time Reg 1062 User Field Setup Event Log Index Discrete Input Inversion Bits Reg 1063 User Field Setup Reg 1064 User Field Setup RESERVED NO OP Date Time Clock Minutes Loss of COM Alarm Delay Time Date Time Clock Seconds Reg 1056 User Field Setup Reg 1065 User Field Setup Date Time Clock Day Date Time Clock Hour Reg 1066 User Field Setup Real Time Data Date Time Clock Year Current Torque 0 100 Date Time Clock Month Current Position 0 100 Real Time Data Last Open Torque at 3 10 Last Open Torque at 0 2 Real Time Data Last Open Torque at 21 30 Last Open Torque at 11 20 Reg 1070 Real Time Data Last Open Torque at 41 50 Last Open Torque at 31 40 Reg 1071 Real Time Data Last Open Torque at 61 70 Last Open Torque at 51 60 Reg 1072 Real Time Data Last Open Torque at 81 90 Last Open Torque at 71 80 Reg 1073 Real Time Data Last Open Torque at 98 100 Last Open Torque at 91 97 Reg 1074 Real Time Data Last Close Torque at 3 10 Last Close Torque at 0 2 Real Time Data
163. y address and read bits that indicate the live discrete outputs software generated status bits and configuration bits Refer to the previous section that identifies Standard Coils i Response example in byte order Example in byte order of a request to read 37 coils 20 56 internal coil _ Slave Address 11 addresses 19 55 from slave device 17 2 Function 01 Slave Address 11 Byte Count 05 Function 01 f i Data Coils 27 20 CD Starting Address Hi byte 00 Data Coils 35 28 6B Starting Address Lo byte 13 Data Coils 43 36 B2 No of Coils Hi byte 00 Data Coils 51 44 OE No of Coils Lo byte Data Coils 56 52 1B CRC Hi byte 9 CRC Hi byte CRC Lo byte 10 CRC Lo byte The status of coils 27 20 is shown as the byte value CD hex or binary 1100 l 1101 Coil 27 is the MSB of this byte and coil 20 is the LSB 19 decimal is 0x13 Left to right the status of coils 27 through 20 is ON ON OFF OFF ON 37 decimal is 0x25 ON OFF ON By convention bits within a byte are shown with the MSB to the left and the LSB to the right Thus the coils in the first byte are 27 through 20 from left to right The next byte has coils 35 through 28 left to right As the bits are transmitted serially they flow from LSB to MSB 20 27 28 35 and so on In the last data byte the status of coils 56 52 is shown as the byte value 1B hex or binary 0001 1011 Coil 56 is in the fourth bit positio
164. y other required actions like writing values to the actuators o The PLC time slice terminates Once the PLC interface time slice terminates the PLC must wait until the next PLC interface time slice starts before there is another chance at a BTW BTR command A side effect of this is that it is possible for the entire network scan time to slow down if the 1771 C has to wait to get data from the PLC before it can continue with collecting data from the valves Control is based on bits 13 DN amp 15 EN in control word 0 in the BT data structure These are the standard block transfer control bits and the PLC and back plane is normally control setting and clearing these bits Note Ifa BTW command is never issued by the PLC or received by the 1771 C the PLC interface time slice terminates and the 1771 C will never request a BTR to send a table back to the PLC Note Refer to the following Allen Bradley Documents e Allen Bradley PLC 5 Programmable Controllers Instruction Set Reference Publication 1785 6 1 e Allen Bradley 1771 DB Series B Basic Module User s Manual Catalog No 1771 DB Series B Publication No 1771 6 5 113 Copyright 2004 EIM COMPANY INC 13840 PIKE ROAD MISSOURI CITY TX 77489 Page 25 So EIM CO NTROLS Controlinc 1771 C Version 5 21 Network Master Users Guide 2004 11 18 SG Conceptually the interfacing between the PLC and the 1771 C is performed in the 1771 C module in a section of RAM that is used

Download Pdf Manuals

image

Related Search

Related Contents

Netgear MA311 User Guide  FR IT GR ES PT  How to Change Your GPS for the New Map Datum  Bedienungsanleitung D & GB  Zone Franche Urbaine, mode d`emploi  Multi-Stage Booster Pump Pompe de surpression  Aastra Powertouch 390 User's Manual  Zenith C27V22 27" TV  Perceuse-visseuse sans fil  

Copyright © All rights reserved.
Failed to retrieve file