Surge Protective Devices MODBUS Guide Applicable to ASCO SPD’s with “T” in the monitoring position (10th or 13th position) of the model number. Example: 13 position SPD Model Numbers: 560 _ _ _ _ _ _ T _ _ _ 16 position SPD Model Numbers: 560_ _ _ _ _ _ _ _ _ T _ _ _ Scan this QR code to learn more about ASCO Surge Protection. Active Surge Monitor “ASM” TABLE OF CONTENTS 1.0 Introduction ........................................................................................................... 2 2.0 MODBUS Connections ............................................................................................. 3 3.0 Display Screen - MODBUS Settings .......................................................................... 3 4.0 Web Page: Configuration — MODBUS Settings ........................................................ 4 5.0 MODBUS 5.1 Introduction ................................................................................................................. 5 5.2 Supported Protocol Parameters ....................................................................................... 5 5.3 Supported Function Codes.............................................................................................. 6 5.4 Register Map ................................................................................................................ 7 5.5 Appendix I.................................................................................................................. 18 Installation, Operation and Maintenance Manual IO-70110 Page | 1 Rev 1, 4-16 1.0 Introduction Thank You for choosing the ASCO Active Surge Monitoring package with your Surge Protective Device. ASCO Surge Protective Devices (SPDs) are high quality, high energy surge current diversion system designed to protect sensitive equipment from damaging transient voltage surges resulting from load switching, lightning strikes and other sources. ASCO makes it easy to monitor your electrical system by integrating its Active Surge Monitoring package within its SPDs. The web-based device allows the end-user real time power quality measurements, logged events, statistical summaries and premium power protection. The installer should perform the following steps to assure a quality installation. Please read all instructions before starting the installation of this product. These instructions do not replace national or local electrical codes – check applicable codes to ensure compliance. This manual provides information pertaining to the MODBUS operation of the SPD monitoring system. For general SPD installation instructions, please refer to the installation manual provided with your SPD. Installation, Operation and Maintenance Manual IO-70110 Page | 2 Rev 1, 4-16 2.0 MODBUS Connections (typically located on monitoring system PCB - behind SPDs front door/cover) Communications wiring should be installed in dedicated conduit wherever possible. When installed without conduit, wiring should be contained within the building/structure wherever possible. If the wire exits the building/structure and is not contained within conduit, the length shall not exceed 140 feet. (per UL 60950). RS-485 Communication – two 3-position terminal blocks - (J13 and J15). Wire Size: #24-#14 Torque: 3 in/lbs (4kg/cm) J13- Isol Gnd TxDTxD+ J15- Isol Gnd RxDRxD+ ISOL RXRX+ ISOL TXTX+ J15 J13 Ethernet Connection — x1 female RJ-45 Ethernet connection port. (J6) Ethernet port may be located on the interior or the exterior of the SPD depending on the option selected. J6 3.0 Display Screen — MODBUS Settings -Provides MODBUS TCP Port, RTU Port, & RTU Baud rate. -User configurable The systems MODBUS TCP Port, RTU Port, & RTU Baud rate can be user modified by selecting the password protected Modify feature. The unit is shipped from the factory with a default password of “1234”. See IO-70109 Active Surge Monitor Installation & Operation Manual for system PASSWORD PROTECTION information. Installation, Operation and Maintenance Manual IO-70110 Page | 3 Rev 1, 4-16 4.0 Web Page: Configuration — MODBUS Settings [//IP Address/ModbusSettings.html] The MODBUS Settings web page can be used to configure Node Address, TCP, & RS485 settings. Hover the curser over the “Configuration” tab to activate a pull-down menu where various configuration web pages can be selected. Select MODBUS Settings. To modify settings on this page, a login password must be entered. The unit is shipped from the factory with a default password of “1234”. See IO-70109 Active Surge Monitor Installation & Operation Manual for system PASSWORD PROTECTION information. See Section 5.0 MODBUS for additional information. Installation, Operation and Maintenance Manual IO-70110 Page | 4 Rev 1, 4-16 5.0 MODBUS 5.1 Introduction This design specification describes the Modbus communications protocol as supported by the monitoring/metering system. For packet details and examples, refer to Appendix I of this document. The TCP or RS485 communication port must be active and configured properly. 5.2 Supported Protocol Parameters Implementation Basics operates as slave device only The maximum number of bytes contained within one packet of communications is 255. This equates to supporting a read request for 125 registers. Transmission Format Only Modbus ASCII mode is not supported. The RS485 controller only supports the following format: 8 data bits no parity 1 stop bit Refer to register map for baud rate supported Device address 1 - 247 Packet Framing and Timing Three timing intervals as follows: Maximum time between two consecutive bytes within a packet < 3.5 character times Minimum time between two consecutive packets is > 3.5 character times Maximum response time from a Master request to a slave response is < 50 milliseconds Installation, Operation and Maintenance Manual IO-70110 Page | 5 Rev 1, 4-16 5.3 Supported Function Codes Function # 03 (03h) — Read Holding Registers This function code allows the master to read one or more consecutive data registers (up to 125). Refer to Register Map section for details Function #16(10h) — Preset Multiple Registers This function code allows the master device to modify the contents of consecutive configuration registers within the system. This monitoring/metering system currently only supports the following Preset Multiple Register addresses (decimal): 40026-40029, 4004440051 and 40079. The maximum allowable write data registers are 10. If a function code #16 command is issued to registers outside of these corresponding register ranges, the unit will respond with an invalid address range Exception. Exception Responses If the Modbus master device sends an unsupported command, attempts to read an invalid holding register, or attempts to write invalid data, the unit will issue an exception response. Error codes of 01, 02, 03 and 04 are currently supported. Refer Appendix I for details. Installation, Operation and Maintenance Manual IO-70110 Page | 6 Rev 1, 4-16 5.4 Register Map Reg. Address Reg. Type 40001 ‐ 40010 40011 40012 40013 40014 40015 40016 40017 40018 40019 40020 40021‐400047 40048 40049‐40064 40065 40066‐40091 40092 40093 40094‐400100 40101 40102‐40107 40108‐40113 40114‐40119 40120‐40127 40128‐40199 40200 40201‐40208 RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO 40209 40210 40211‐40321 40322‐40329 40330‐40421 40422‐40429 40430‐40454 40455 40456 40457 40458 40459 40460 40461‐40462 40463 40464 40465 40466 40467 40468 40469‐40579 40580 40581 40582 40583‐40999 41000 41001 41002 41003‐41005 41006 RW RW RW RW RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RW Parameter Description Undefined L1‐ N voltage L2 ‐ N voltage L3 ‐ N voltage L ‐ N average voltage L1 ‐ L2 voltage L2 ‐ L3 voltage L3 ‐ L1 voltage L ‐ L average voltage L ‐ L voltage unbalance L ‐ N voltage unbalance Undefined Frequency on L1 Undefined Nominal Voltage Undefined Line to line average voltage Frequency on L1 Undefined Frequency on L1 Software Version string Software build date string Device Serial Number Device model Number Undefined System Type Undefined Data Range 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 – 59,000 0 – 59,000 0 – 59,000 0 – 59,000 0 – 100% 0 – 100% 40 to 80 115‐59999 0 – 59,999 40 to 80 40 to 80 12 ASCII characters 12 ASCII characters 12 ASCII characters 16 ASCII characters 0‐Y,1‐D,2=H,3=S,4=T,5=L,6=N 0:9600 1:19.2k MB 485 comm. port baud rate 2:38.4k 3:57.6k, 4:115200 MB 485 comm. port device address 1 to 247 Undefined Unit Name 16 ASCII chars Undefined Unit Location 16 ASCII chars Undefined Minimum L1 ‐ N Voltage 0 ‐ 59,999 Maximum L1 ‐ N Voltage 0 ‐ 59,999 Minimum L2 ‐ N Voltage 0 ‐ 59,999 Maximum L2 ‐ N Voltage 0 ‐ 59,999 Minimum L3 ‐ N Voltage 0 ‐ 59,999 Maximum L3 ‐ N Voltage 0 ‐ 59,999 Undefined Minimum L1 ‐ L2 Voltage 0 ‐ 59,999 Maximum L1 ‐ L2 Voltage 0 ‐ 59,999 Minimum L2 ‐ L3 Voltage 0 ‐ 59,999 Maximum L2 ‐ L3 Voltage 0 ‐ 59,999 Minimum L3 ‐ L1 Voltage 0 ‐ 59,999 Maximum L3 ‐ L1 Voltage 0 ‐ 59,999 Undefined L1 Voltage THD 0 to 10000 L2 Voltage THD 0 to 10000 L3 Voltage THD 0 to 10000 Undefined Nominal Voltage 115‐59999 Undefined System Type Undefined Temporary Overvoltage Threshold 40 to 80, >100 indicates off Installation, Operation and Maintenance Manual Units / Remarks Volt Volt Volt Volt Volt Volt Volt Volt Hz Volt Volt Hz Hz Volt Volt Volt Volt Volt Volt Volt Volt Volt Volt Volt Volt % x100 % x100 % x100 Volt % Deviation IO-70110 Page | 7 Rev 1, 4-16 Reg. Address Reg. Type Parameter Description Data Range 41007 41008 41009 41010 41011 41012 41013 41014‐41049 41050‐41057 41058‐41063 41064‐41071 41072‐41079 41080‐41088 41088‐41093 41094‐41100 41101 41102 41103 41104 RW RW RW RW RW RW RW RO RO RW RW RO RO RW RW RW RW Swell Threshold Overvoltage Threshold Sag Threshold Dropout Threshold Outage Threshold THD Threshold Frequency Threshold Undefined Device Model Number Device Serial Number Unit Name Unit Location Undefined Software Version string Software build date string Screen Update Screen Timeout Backlight Timeout DHCP Enabled 20 to 40, >100 indicates off 10 to 40, >100 indicates off 10 to 30, >100 indicates off 20 to 30, >100 indicates off 10 to 25, >100 indicates off 0 to 25 1 to 10, >100 indicates off 16 ASCII characters 12 ASCII characters 16 ASCII chars 16 ASCII chars 12 ASCII characters 12 ASCII characters 5‐100 0‐600 0‐600 Boolean 41105 ‐ 41108 RW IP Address Hex 41109 ‐ 41112 RW Subnet Mask Hex 41113 ‐ 41116 41117 41118 RW RW Gateway MB TCP port device address Undefined 41119 41120 41121 41122 41123 41124 41125 41126 41127‐41999 42000 42001 42002 42003 42004 42005 42006 42007 42008 42009 42010 42011 42012 42013 42014 42015 42016 42017 42018 42019 42020 42021 42022 RW RW RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO MB 485 comm. port baud rate MB 485 comm. port device address Year Month Day Hour Minute Second Undefined L1 ‐ N voltage L2 ‐ N voltage L3 ‐ N voltage L ‐ N average voltage L ‐ N voltage unbalance L1 ‐ L2 voltage L2 ‐ L3 voltage L3 ‐ L1 voltage L ‐ L average voltage L‐ L voltage unbalance Crest Factor L1‐N Crest Factor L2‐N Crest Factor L3‐N Crest Factor L1‐L2 Crest Factor L2‐L3 Crest Factor L3‐L1 Voltage RMS THD L1‐N Voltage RMS THD L2‐N Voltage RMS THD L3‐N Voltage RMS THD L1‐L2 Voltage RMS THD L2‐L3 Voltage RMS THD L3‐L1 Voltage Fundamental THD L1‐N Hex 1 to 247 0:9600 1:19.2k 2:38.4k 3:57.6k, 4:115200 1 to 247 0 to 99 1 to 12 1 to 31 0 to 23 0 to 59 0 to 59 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 – 100% 0 – 59,000 0 – 59,000 0 – 59,000 0 – 59,000 0 – 100% 0 to 1000 0 to 1000 0 to 1000 0 to 1000 0 to 1000 0 to 1000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 Installation, Operation and Maintenance Manual Units / Remarks % Deviation % Deviation % Deviation % Deviation % Deviation % Deviation % Deviation Seconds Seconds Seconds W only when DHCP Enabled=False W only when DHCP Enabled=False W only when DHCP Enabled=False Volt Volt Volt Volt Volt Volt Volt Volt Ratio x 1000 Ratio x 1000 Ratio x 1000 Ratio x 1000 Ratio x 1000 Ratio x 1000 % x100 % x100 % x100 % x100 % x100 % x100 % x100 IO-70110 Page | 8 Rev 1, 4-16 Reg. Address 42023 42024 42025 42026 42027 42028 42029 42030 42031 42032 42033 42034‐42035 42036 42037 42038 42039 42040 42041 42042‐44999 45000 45001 45002 45003 45004 45005 45006 45007 45008 45009 45010 45011 45012 45013 45014 45015 45016 45017 45018 45019 45020 45021 45022 45023 45024 45025 45026 45027 45028 45029 45030 45031 45032 45033 45034 45035 45036‐45999 46000 46001 46002 46003 Reg. Type RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO Parameter Description Voltage Fundamental THD L2‐N Voltage Fundamental THD L3‐N Voltage Fundamental THD L1‐L2 Voltage Fundamental THD L2‐L3 Voltage Fundamental THD L3‐L1 Minimum L1 ‐ N Voltage Maximum L1 ‐ N Voltage Minimum L2 ‐ N Voltage Maximum L2 ‐ N Voltage Minimum L3 ‐ N Voltage Maximum L3 ‐ N Voltage Undefined Minimum L1 ‐ L2 Voltage Maximum L1 ‐ L2 Voltage Minimum L2 ‐ L3 Voltage Maximum L2 ‐ L3 Voltage Minimum L3 ‐ L1 Voltage Maximum L3 ‐ L1 Voltage Undefined 3rd Voltage Harmonic L1‐N 3rd Voltage Harmonic L2‐N 3rd Voltage Harmonic L3‐N 3rd Voltage Harmonic L1‐L2 3rd Voltage Harmonic L2‐L3 3rd Voltage Harmonic L3‐L1 5th Voltage Harmonic L1‐N 5th Voltage Harmonic L2‐N 5th Voltage Harmonic L3‐N 5th Voltage Harmonic L1‐L2 5th Voltage Harmonic L2‐L3 5th Voltage Harmonic L3‐L1 7th Voltage Harmonic L1‐N 7th Voltage Harmonic L2‐N 7th Voltage Harmonic L3‐N 7th Voltage Harmonic L1‐L2 7th Voltage Harmonic L2‐L3 7th Voltage Harmonic L3‐L1 9th Voltage Harmonic L1‐N 9th Voltage Harmonic L2‐N 9th Voltage Harmonic L3‐N 9th Voltage Harmonic L1‐L2 9th Voltage Harmonic L2‐L3 9th Voltage Harmonic L3‐L1 11th Voltage Harmonic L1‐N 11th Voltage Harmonic L2‐N 11th Voltage Harmonic L3‐N 11th Voltage Harmonic L1‐L2 11th Voltage Harmonic L2‐L3 11th Voltage Harmonic L3‐L1 13th Voltage Harmonic L1‐N 13th Voltage Harmonic L2‐N 13th Voltage Harmonic L3‐N 13th Voltage Harmonic L1‐L2 13th Voltage Harmonic L2‐L3 13th Voltage Harmonic L3‐L1 Undefined Year Event 1 Month Event 1 Day Event 1 Hour Event 1 Installation, Operation and Maintenance Manual Data Range 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 ‐ 59,999 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 10000 0 to 99 1 to 12 1 to 31 0 to 23 Units / Remarks % x100 % x100 % x100 % x100 % x100 Volt Volt Volt Volt Volt Volt Volt Volt Volt Volt Volt Volt % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 % x100 IO-70110 Page | 9 Rev 1, 4-16 Reg. Address Reg. Type Parameter Description Data Range 46004 46005 46006 46007 RO RO RO RO Minute Event 1 Second Event 1 Milliseconds Event 1 Event Type Event 1 0 to 59 0 to 59 0 to 999 1 to 7 46008 RO Mode Affected Event 1 0 to 6 46009 ‐ 46010 RO Duration Event 1 0 to 4294967295 46011 RO Peak Severity Event 1 0 to 600 46012 46013 46014 46015 46016 46017 46018 RO RO RO RO RO RO RO Year Event 2 Month Event 2 Day Event 2 Hour Event 2 Minute Event 2 Second Event 2 Milliseconds Event 2 0 to 99 1 to 12 1 to 31 0 to 23 0 to 59 0 to 59 0 to 999 Installation, Operation and Maintenance Manual Units / Remarks 0 ‐ None, 1 ‐ Surge, 2 ‐ Tov, 3 ‐ Swell, 4 ‐ OV, 5 ‐ Sag, 6 ‐ Dropout, 7 ‐ Outage, 8 ‐ Neutral_Bond, 9 ‐ THD, 10 ‐ Freq, 11 ‐ Protect_Fail, 12 ‐ Power_On, 13 ‐ Settings, 14 ‐ FW_Upgrade, 15 ‐ Comm_Error, 16 ‐ SW_Reset, 17 ‐ Factory_Reset, 18 ‐ Surge_Disabled, 19 ‐ Freq_Lock_Lost, 20 ‐ Freq_Lock_Enabled 0 ‐ N, 1 ‐ L1, 2 ‐ L2, 3 ‐ L3, 4 ‐ L1‐L2, 5 ‐ L2‐L3, 6 ‐ L3‐L1, in ms for Sag & Swell, in us for Surge, in seconds for Outage Volts for Sag & Swell, 0 – Cat A, 1 – Cat B, 2 – Cat C, for Surge IO-70110 Page | 10 Rev 1, 4-16 Reg. Address Reg. Type Parameter Description Data Range 46019 RO Event Type Event 2 1 to 7 46020 RO Mode Affected Event 2 0 to 6 46021 ‐ 46022 RO Duration Event 2 0 to 4294967295 46023 RO Peak Severity Event 2 0 to 600 46024 46025 46026 46027 46028 46029 46030 46031 RO RO RO RO RO RO RO RO Year Event 3 Month Event 3 Day Event 3 Hour Event 3 Minute Event 3 Second Event 3 Milliseconds Event 3 Event Type Event 3 0 to 99 1 to 12 1 to 31 0 to 23 0 to 59 0 to 59 0 to 999 1 to 7 Installation, Operation and Maintenance Manual Units / Remarks 0 ‐ None, 1 ‐ Surge, 2 ‐ Tov, 3 ‐ Swell, 4 ‐ OV, 5 ‐ Sag, 6 ‐ Dropout, 7 ‐ Outage, 8 ‐ Neutral_Bond, 9 ‐ THD, 10 ‐ Freq, 11 ‐ Protect_Fail, 12 ‐ Power_On, 13 ‐ Settings, 14 ‐ FW_Upgrade, 15 ‐ Comm_Error, 16 ‐ SW_Reset, 17 ‐ Factory_Reset, 18 ‐ Surge_Disabled, 19 ‐ Freq_Lock_Lost, 20 ‐ Freq_Lock_Enabled 0 ‐ N, 1 ‐ L1, 2 ‐ L2, 3 ‐ L3, 4 ‐ L1‐L2, 5 ‐ L2‐L3, 6 ‐ L3‐L1, in ms for Sag & Swell, in us for Surge, in seconds for Outage Volts for Sag & Swell, 0 – Cat A, 1 – Cat B, 2 – Cat C, for Surge 0 ‐ None, 1 ‐ Surge, 2 ‐ Tov, 3 ‐ Swell, 4 ‐ OV, 5 ‐ Sag, 6 ‐ Dropout, 7 ‐ Outage, 8 ‐ Neutral_Bond, 9 ‐ THD, 10 ‐ Freq, 11 ‐ Protect_Fail, 12 ‐ Power_On, 13 ‐ Settings, 14 ‐ FW_Upgrade, 15 ‐ Comm_Error, 16 ‐ SW_Reset, 17 ‐ Factory_Reset, 18 ‐ Surge_Disabled, 19 ‐ Freq_Lock_Lost, 20 ‐ Freq_Lock_Enabled IO-70110 Page | 11 Rev 1, 4-16 Reg. Address Reg. Type Parameter Description Data Range 46032 RO Mode Affected Event 3 0 to 6 46033 ‐ 46034 RO Duration Event 3 0 to 4294967295 46035 RO Peak Severity Event 3 0 to 600 46036 46037 46038 46039 46040 46041 46042 46043 RO RO RO RO RO RO RO RO Year Event 4 Month Event 4 Day Event 4 Hour Event 4 Minute Event 4 Second Event 4 Milliseconds Event 4 Event Type Event 4 0 to 99 1 to 12 1 to 31 0 to 23 0 to 59 0 to 59 0 to 999 1 to 7 46044 RO Mode Affected Event 4 0 to 6 46045 ‐ 46046 RO Duration Event 4 0 to 4294967295 46047 RO Peak Severity Event 4 0 to 600 46048 46049 46050 46051 46052 46053 46054 RO RO RO RO RO RO RO Year Event 5 Month Event 5 Day Event 5 Hour Event 5 Minute Event 5 Second Event 5 Milliseconds Event 5 0 to 99 1 to 12 1 to 31 0 to 23 0 to 59 0 to 59 0 to 999 Installation, Operation and Maintenance Manual Units / Remarks 0 ‐ N, 1 ‐ L1, 2 ‐ L2, 3 ‐ L3, 4 ‐ L1‐L2, 5 ‐ L2‐L3, 6 ‐ L3‐L1, in ms for Sag & Swell, in us for Surge, in seconds for Outage Volts for Sag & Swell, 0 – Cat A, 1 – Cat B, 2 – Cat C, for Surge 0 ‐ None, 1 ‐ Surge, 2 ‐ Tov, 3 ‐ Swell, 4 ‐ OV, 5 ‐ Sag, 6 ‐ Dropout, 7 ‐ Outage, 8 ‐ Neutral_Bond, 9 ‐ THD, 10 ‐ Freq, 11 ‐ Protect_Fail, 12 ‐ Power_On, 13 ‐ Settings, 14 ‐ FW_Upgrade, 15 ‐ Comm_Error, 16 ‐ SW_Reset, 17 ‐ Factory_Reset, 18 ‐ Surge_Disabled, 19 ‐ Freq_Lock_Lost, 20 ‐ Freq_Lock_Enabled 0 ‐ N, 1 ‐ L1, 2 ‐ L2, 3 ‐ L3, 4 ‐ L1‐L2, 5 ‐ L2‐L3, 6 ‐ L3‐L1, in ms for Sag & Swell, in us for Surge, in seconds for Outage Volts for Sag & Swell, 0 – Cat A, 1 – Cat B, 2 – Cat C, for Surge IO-70110 Page | 12 Rev 1, 4-16 Reg. Address Reg. Type Parameter Description Data Range 46055 RO Event Type Event 5 1 to 7 46056 RO Mode Affected Event 5 0 to 6 46057 ‐ 46058 RO Duration Event 5 0 to 4294967295 46059 RO Peak Severity Event 5 0 to 600 46060 46061 46062 46063 46064 46065 46066 46067 RO RO RO RO RO RO RO RO Year Event 6 Month Event 6 Day Event 6 Hour Event 6 Minute Event 6 Second Event 6 Milliseconds Event 6 Event Type Event 6 0 to 99 1 to 12 1 to 31 0 to 23 0 to 59 0 to 59 0 to 999 1 to 7 Installation, Operation and Maintenance Manual Units / Remarks 0 ‐ None, 1 ‐ Surge, 2 ‐ Tov, 3 ‐ Swell, 4 ‐ OV, 5 ‐ Sag, 6 ‐ Dropout, 7 ‐ Outage, 8 ‐ Neutral_Bond, 9 ‐ THD, 10 ‐ Freq, 11 ‐ Protect_Fail, 12 ‐ Power_On, 13 ‐ Settings, 14 ‐ FW_Upgrade, 15 ‐ Comm_Error, 16 ‐ SW_Reset, 17 ‐ Factory_Reset, 18 ‐ Surge_Disabled, 19 ‐ Freq_Lock_Lost, 20 ‐ Freq_Lock_Enabled 0 ‐ N, 1 ‐ L1, 2 ‐ L2, 3 ‐ L3, 4 ‐ L1‐L2, 5 ‐ L2‐L3, 6 ‐ L3‐L1, in ms for Sag & Swell, in us for Surge, in seconds for Outage Volts for Sag & Swell, 0 – Cat A, 1 – Cat B, 2 – Cat C, for Surge 0 ‐ None, 1 ‐ Surge, 2 ‐ Tov, 3 ‐ Swell, 4 ‐ OV, 5 ‐ Sag, 6 ‐ Dropout, 7 ‐ Outage, 8 ‐ Neutral_Bond, 9 ‐ THD, 10 ‐ Freq, 11 ‐ Protect_Fail, 12 ‐ Power_On, 13 ‐ Settings, 14 ‐ FW_Upgrade, 15 ‐ Comm_Error, 16 ‐ SW_Reset, 17 ‐ Factory_Reset, 18 ‐ Surge_Disabled, 19 ‐ Freq_Lock_Lost, 20 ‐ Freq_Lock_Enabled IO-70110 Page | 13 Rev 1, 4-16 Reg. Address Reg. Type Parameter Description Data Range 46068 RO Mode Affected Event 6 0 to 6 46069 ‐ 46070 RO Duration Event 6 0 to 4294967295 46071 RO Peak Severity Event 6 0 to 600 46072 46073 46074 46075 46076 46077 46078 46079 RO RO RO RO RO RO RO RO Year Event 7 Month Event 7 Day Event 7 Hour Event 7 Minute Event 7 Second Event 7 Milliseconds Event 7 Event Type Event 7 0 to 99 1 to 12 1 to 31 0 to 23 0 to 59 0 to 59 0 to 999 1 to 7 46080 RO Mode Affected Event 7 0 to 6 46081 ‐ 46082 RO Duration Event 7 0 to 4294967295 46083 RO Peak Severity Event 7 0 to 600 46084 RO Year Event 8 46085 RO Month Event 8 46086 RO Day Event 8 46087 RO Hour Event 8 46088 RO Minute Event 8 46089 RO Second Event 8 46090 RO Milliseconds Event 8 Installation, Operation and Maintenance Manual 0 to 99 1 to 12 1 to 31 0 to 23 0 to 59 0 to 59 0 to 999 Page | 14 Units / Remarks 0 ‐ N, 1 ‐ L1, 2 ‐ L2, 3 ‐ L3, 4 ‐ L1‐L2, 5 ‐ L2‐L3, 6 ‐ L3‐L1, in ms for Sag & Swell, in us for Surge, in seconds for Outage Volts for Sag & Swell, 0 – Cat A, 1 – Cat B, 2 – Cat C, for Surge 0 ‐ None, 1 ‐ Surge, 2 ‐ Tov, 3 ‐ Swell, 4 ‐ OV, 5 ‐ Sag, 6 ‐ Dropout, 7 ‐ Outage, 8 ‐ Neutral_Bond, 9 ‐ THD, 10 ‐ Freq, 11 ‐ Protect_Fail, 12 ‐ Power_On, 13 ‐ Settings, 14 ‐ FW_Upgrade, 15 ‐ Comm_Error, 16 ‐ SW_Reset, 17 ‐ Factory_Reset, 18 ‐ Surge_Disabled, 19 ‐ Freq_Lock_Lost, 20 ‐ Freq_Lock_Enabled 0 ‐ N, 1 ‐ L1, 2 ‐ L2, 3 ‐ L3, 4 ‐ L1‐L2, 5 ‐ L2‐L3, 6 ‐ L3‐L1, in ms for Sag & Swell, in us for Surge, in seconds for Outage Volts for Sag & Swell, 0 – Cat A, 1 – Cat B, 2 – Cat C, for Surge IO-70110 Rev 1, 4-16 Reg. Address Reg. Type Parameter Description Data Range 46091 RO Event Type Event 8 1 to 7 46092 RO Mode Affected Event 8 0 to 6 46093 ‐ 46094 RO Duration Event 8 0 to 4294967295 46095 RO Peak Severity Event 8 0 to 600 46096 46097 46098 46099 46100 46101 46102 46103 RO RO RO RO RO RO RO RO Year Event 9 Month Event 9 Day Event 9 Hour Event 9 Minute Event 9 Second Event 9 Milliseconds Event 9 Event Type Event 9 0 to 99 1 to 12 1 to 31 0 to 23 0 to 59 0 to 59 0 to 999 1 to 7 Installation, Operation and Maintenance Manual Units / Remarks 0 ‐ None, 1 ‐ Surge, 2 ‐ Tov, 3 ‐ Swell, 4 ‐ OV, 5 ‐ Sag, 6 ‐ Dropout, 7 ‐ Outage, 8 ‐ Neutral_Bond, 9 ‐ THD, 10 ‐ Freq, 11 ‐ Protect_Fail, 12 ‐ Power_On, 13 ‐ Settings, 14 ‐ FW_Upgrade, 15 ‐ Comm_Error, 16 ‐ SW_Reset, 17 ‐ Factory_Reset, 18 ‐ Surge_Disabled, 19 ‐ Freq_Lock_Lost, 20 ‐ Freq_Lock_Enabled 0 ‐ N, 1 ‐ L1, 2 ‐ L2, 3 ‐ L3, 4 ‐ L1‐L2, 5 ‐ L2‐L3, 6 ‐ L3‐L1, in ms for Sag & Swell, in us for Surge, in seconds for Outage Volts for Sag & Swell, 0 – Cat A, 1 – Cat B, 2 – Cat C, for Surge 0 ‐ None, 1 ‐ Surge, 2 ‐ Tov, 3 ‐ Swell, 4 ‐ OV, 5 ‐ Sag, 6 ‐ Dropout, 7 ‐ Outage, 8 ‐ Neutral_Bond, 9 ‐ THD, 10 ‐ Freq, 11 ‐ Protect_Fail, 12 ‐ Power_On, 13 ‐ Settings, 14 ‐ FW_Upgrade, 15 ‐ Comm_Error, 16 ‐ SW_Reset, 17 ‐ Factory_Reset, 18 ‐ Surge_Disabled, 19 ‐ Freq_Lock_Lost, 20 ‐ Freq_Lock_Enabled IO-70110 Page | 15 Rev 1, 4-16 Reg. Address Reg. Type Parameter Description Data Range 46104 RO Mode Affected Event 9 0 to 6 46105 ‐ 46106 RO Duration Event 9 0 to 4294967295 46107 RO Peak Severity Event 9 0 to 600 46108 46109 46110 46111 46112 46113 46114 46115 RO RO RO RO RO RO RO RO Year Event 10 Month Event 10 Day Event 10 Hour Event 10 Minute Event 10 Second Event 10 Milliseconds Event 10 Event Type Event 10 0 to 99 1 to 12 1 to 31 0 to 23 0 to 59 0 to 59 0 to 999 1 to 7 46116 RO Mode Affected Event 10 0 to 6 46117 ‐ 46118 RO Duration Event 10 0 to 4294967295 46119 RO Peak Severity Event 10 0 to 600 46120 RW Event Number 0 to 1999 46121 46122 46123 46124 RO RO RO RO Year Event Month Event Day Event Hour Event 0 to 99 1 to 12 1 to 31 0 to 23 Installation, Operation and Maintenance Manual Units / Remarks 0 ‐ N, 1 ‐ L1, 2 ‐ L2, 3 ‐ L3, 4 ‐ L1‐L2, 5 ‐ L2‐L3, 6 ‐ L3‐L1, in ms for Sag & Swell, in us for Surge, in seconds for Outage Volts for Sag & Swell, 0 – Cat A, 1 – Cat B, 2 – Cat C, for Surge 0 ‐ None, 1 ‐ Surge, 2 ‐ Tov, 3 ‐ Swell, 4 ‐ OV, 5 ‐ Sag, 6 ‐ Dropout, 7 ‐ Outage, 8 ‐ Neutral_Bond, 9 ‐ THD, 10 ‐ Freq, 11 ‐ Protect_Fail, 12 ‐ Power_On, 13 ‐ Settings, 14 ‐ FW_Upgrade, 15 ‐ Comm_Error, 16 ‐ SW_Reset, 17 ‐ Factory_Reset, 18 ‐ Surge_Disabled, 19 ‐ Freq_Lock_Lost, 20 ‐ Freq_Lock_Enabled 0 ‐ N, 1 ‐ L1, 2 ‐ L2, 3 ‐ L3, 4 ‐ L1‐L2, 5 ‐ L2‐L3, 6 ‐ L3‐L1, in ms for Sag & Swell, in us for Surge, in seconds for Outage Volts for Sag & Swell, 0 – Cat A, 1 – Cat B, 2 – Cat C, for Surge Write to load the Event into registers 46121‐46132 IO-70110 Page | 16 Rev 1, 4-16 Reg. Address Reg. Type Parameter Description Data Range 46125 46126 46127 46128 RO RO RO RO Minute Event Second Event Milliseconds Event Event Type Event 0 to 59 0 to 59 0 to 999 1 to 7 46129 RO Mode Affected Event 0 to 6 46130 ‐ 46131 RO Duration Event 0 to 4294967295 46132 RO Peak Severity Event 0 to 600 46133‐46999 47000‐47001 47002‐47003 47004‐47005 47006‐47007 47008‐47009 47010‐47011 47012‐47013 47014‐47015 47016‐47017 47018‐47019 47020‐47021 47022‐47023 47024‐47025 47026‐47027 47028‐47029 47030‐47031 47032‐47033 47034‐47035 47036‐47037 47038 RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO Undefined Total Surge Count Total Swell Count Total Sag Count Surge Count L1 Surge Count L2 Surge Count L3 Surge Count N Swell Count L1N Swell Count L2N Swell Count L3N Swell Count L1L2 Swell Count L2L3 Swell Count L3L1 Sag Count L1N Sag Count L2N Sag Count L3N Sag Count L1L2 Sag Count L2L3 Sag Count L3L1 Relay Active 0 to 4294967295 0 to 4294967295 0 to 4294967295 0 to 4294967295 0 to 4294967295 0 to 4294967295 0 to 4294967295 0 to 4294967295 0 to 4294967295 0 to 4294967295 0 to 4294967295 0 to 4294967295 0 to 4294967295 0 to 4294967295 0 to 4294967295 1 to 4294967295 2 to 4294967295 3 to 4294967295 4 to 4294967295 Boolean Installation, Operation and Maintenance Manual Units / Remarks 0 ‐ None, 1 ‐ Surge, 2 ‐ Tov, 3 ‐ Swell, 4 ‐ OV, 5 ‐ Sag, 6 ‐ Dropout, 7 ‐ Outage, 8 ‐ Neutral_Bond, 9 ‐ THD, 10 ‐ Freq, 11 ‐ Protect_Fail, 12 ‐ Power_On, 13 ‐ Settings, 14 ‐ FW_Upgrade, 15 ‐ Comm_Error, 16 ‐ SW_Reset, 17 ‐ Factory_Reset, 18 ‐ Surge_Disabled, 19 ‐ Freq_Lock_Lost, 20 ‐ Freq_Lock_Enabled 0 ‐ N, 1 ‐ L1, 2 ‐ L2, 3 ‐ L3, 4 ‐ L1‐L2, 5 ‐ L2‐L3, 6 ‐ L3‐L1, in ms for Sag & Swell, in us for Surge, in seconds for Outage Volts for Sag & Swell, 0 – Cat A, 1 – Cat B, 2 – Cat C, for Surge Counters_Struct.Total_Surge_Count Counters_Struct.Total_Swell_Count Counters_Struct.Total_Sag_Count Counters_Struct.Phase_Surge_Count[L1] Counters_Struct.Phase_Surge_Count[L2] Counters_Struct.Phase_Surge_Count[L3] Counters_Struct.Phase_Surge_Count[NG] Counters_Struct.Phase_Swell_Count[L1N] Counters_Struct.Phase_Swell_Count[L2N] Counters_Struct.Phase_Swell_Count[L3N] Counters_Struct.Phase_Swell_Count[L1L2] Counters_Struct.Phase_Swell_Count[L2L3] Counters_Struct.Phase_Swell_Count[L3L1] Counters_Struct.Phase_Sag_Count[L1N] Counters_Struct.Phase_Sag_Count[L2N] Counters_Struct.Phase_Sag_Count[L3N] Counters_Struct.Phase_Sag_Count[L1L2] Counters_Struct.Phase_Sag_Count[L2L3] Counters_Struct.Phase_Sag_Count[L3L1] Alarms_Struct.Active_Relay IO-70110 Page | 17 Rev 1, 4-16 5.5 Appendix I Modbus RTU Overview This section describes some of the details of the Modbus communications protocol as supported by the Monitoring/Metering system. It includes instructions on how to communicate with devices via the Modbus network. This documentation should be used by individuals wishing to integrate this system into their facility by developing software to communicate with it. Additional detail of Modbus specification can be found on the Modbus organization’s Web site http://www.modbus.org/specs.php. Modbus Protocol Modbus RTU Packet Format Every Modbus Packet consists of the following fields: Device Address Field Function Code Field Data Field Error Check Field Device Address Field. This is the first byte of each Modbus RTU transmission. This device address is a number limited to the range of 1 - 247 and is associated with a single device configured with a matching address. Only the slave device whose address matches the value in this field will respond to the specified command. Function Code Field. This is a second byte of each transmission and represents the commanded action to the slave device (for queries from the master) or the action that was taken by the slave device (for responses from the slave). Codes between 1 and 127 are defined as Modbus RTU functions. The function codes are detailed on section 6.3 “Supported Function Codes”. Data Field. The data field varies in length depending on whether the message is a request or a response packet. This field typically contains information required by the slave device to perform the command specified in a request packet or data being passed back by the slave device in a response packet. Error Check Field. The error check field consists of a 16 bit (2 byte) Cyclical Redundancy Check (CRC16). It allows the receiving device to detect a packet that has been corrupted with transmission errors. Packet Framing and Timing Because the Modbus RTU protocol does not define any explicit packet synchronization bytes, synchronization is accomplished implicitly with the use of silent intervals. According to the Modbus RTU standard, all messages must start with a silent interval of at least 3.5 character times. This means that every byte within a packet must follow the previous byte by fewer than 3.5 character times based on the baud rate. And every new packet of data must wait at least 3.5 character times after the packet that had preceded it. Installation, Operation and Maintenance Manual IO-70110 Page | 18 Rev 1, 4-16 Supported Function Codes Function # 03 (03h) — Read Holding Registers This function code allows the master to read one or more consecutive data registers (up to 125) . The data registers are always 16 bit (two byte) values, transmitted high order byte first. Refer to Register Map section for details about the data register definitions of the system. Transmit/Receiving packet format Master Transmission Slave Response Slave address (For the number of register read request) Function code Slave address Data starting address (high byte) Function code Data starting address (low byte) Byte count Number of registers (high byte) Data word #1 (high byte) Number of registers (low byte) Data word #1 (low byte) CRC16 (low byte) Data word #2 (high byte) CRC16 (high byte) Data word #2 (low byte) Data word #3 (high byte) Data word #3 (low byte) ….. CRC16 (low byte) CRC16 (high byte) Installation, Operation and Maintenance Manual IO-70110 Page | 19 Rev 1, 4-16 Function #16(10h) — Preset Multiple Registers This function code allows the master device to modify the contents of consecutive configuration registers. The data registers are always 16 bit (two byte) values, transmitted high order byte first. Refer to Register Map for details about the data register type definitions. Only those registers with the register type RW defined are allowed to process with function code #16. If a function code #16 command is issued out of these corresponding register ranges, the system will respond with an invalid address range Exception Response (see section of Exception Responses). The maximum number of registers that can be preset with a single 10H command is 10. Transmit/Receiving packet format: Master Transmission (For the number of registers requested) Packet Format Slave address Function code Data starting address (high byte) Data starting address (low byte) Number of registers (high byte) Number of registers (low byte) Byte count Data word #1 (high byte) Data word #1 (low byte) Data word #2 (high byte) Data word #2 (low byte) Data word #3 (high byte) Data word #3 (low byte) ……. CRC16 (low byte) CRC16 (high byte) Slave Response Slave address Function code Data starting address (high byte) Data starting address (low byte) Number of registers (high byte) Number of registers (low byte) CRC16 (low byte) CRC16 (high byte) Installation, Operation and Maintenance Manual IO-70110 Page | 20 Rev 1, 4-16 Exception Responses If the Modbus master device sends an unsupported command, attempts to read an invalid holding register, or attempts to write invalid data, the system (Modbus slave) issues an exception response. The format for the exception response is as follows: 1. SLAVE ADDRESS 2. FUNCTION CODE (with the most-significant-bit set to a 1) 3. ERROR CODE 4. CRC16 — low order byte 5. CRC16 — high order byte *Note: The high order bit of the function code has been set to one to indicate an exception response has been generated. Exception codes supported: 01 Illegal function - The slave does not support the function code contained in the master query packet. 02 Illegal data address - The slave does not support the Holding Register address referenced in the data field of the master query packet. 03 Illegal data value - The slave does not support the data referenced in the data field of the master query packet. 04 Device failure - The addresses slave is unable to perform the action requested due to an internal failure or malfunction. Installation, Operation and Maintenance Manual IO-70110 Page | 21 Rev 1, 4-16 NOTES Installation, Operation and Maintenance Manual IO-70110 Page | 22 Rev 1, 4-16 Scan this QR code to learn more about ASCO Surge Protection. 14550 58th Street North Clearwater, Florida 33760 P (800) 237-4567 P (727) 535-6339 F (727) 539-8955 E [email protected] While every precaution has been taken to ensure accuracy and completeness in this literature, ASCO assumes no responsibility, and disclaims all liability for damages resulting from use of this information or for any errors or omissions. IO-70110 (Rev 1 4-16) Installation, Operation and Maintenance Manual Printed in USA IO-70110 Page | 4 Rev 1, 4-16