Chipkin CAS-2700-24 User Manual

Sma modbus (rtu and tcp) / bacnet / html gateway

Advertisement

CAS-2700-24
SMA Gateway
Modbus / BACnet / HTML Gateway
CAS-2700-24
SMA
Modbus (RTU and TCP) / BACnet / HTML Gateway
©2014 Chipkin Automation Systems, 3381 Cambie St- Box 211, Vancouver, BC, Canada, V5Z 4R3
Tel: (866) 383-1657,
Fax:
(416) 915-4024
Email: dfs@chipkin.com
Website: www.chipkin.com

Advertisement

Table of Contents
loading

Summary of Contents for Chipkin CAS-2700-24

  • Page 1 SMA Gateway Modbus / BACnet / HTML Gateway CAS-2700-24 Modbus (RTU and TCP) / BACnet / HTML Gateway ©2014 Chipkin Automation Systems, 3381 Cambie St- Box 211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024 Email: dfs@chipkin.com...
  • Page 2 Blank Page © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 2014 Tel: (866) 383-1657, Fax: (416) 915-4024...
  • Page 3: Table Of Contents

    CAS-2700-24 SMA Gateway Manual Page 3 of 62 TABLE OF CONTENTS TABLE OF CONTENTS ..........................3 1. SMA Gateway Description ......................6 2. Connections ..........................7 2.1. Block Diagram ..........................7 2.2. Wiring / Connections ........................8 2.2.1. Modbus RTU Connections ....................... 8 2.3.
  • Page 4 CAS-2700-24 SMA Gateway Manual Page 4 of 62 5.3. Interpreting Modbus Data ......................25 5.4. Test Procedure – Use CAS Modbus Scanner ................26 6. Reading BACnet Data ........................ 29 6.1. Most Common BACnet Problem ....................29 6.2. Interpreting BACnet Data ......................29 6.3.
  • Page 5 CAS-2700-24 SMA Gateway Manual Page 5 of 62 9.1.4. Backup State .......................... 57 9.1.5. Error ............................58 9.2. SMA Sunny Island Data Enumerations ..................59 9.2.1. Mode ............................. 59 9.2.2. Invertor Operating State (InvOpStt) ..................59 9.2.3. Relay State (Rly1Stt, Rly2Stt) ....................59 9.2.4.
  • Page 6: Sma Gateway Description

    CAS-2700-24 SMA Gateway Manual Page 6 of 62 SMA Gateway Description The SMA Gateway connects to a SMA Sunny Webbox via an Ethernet (TCP/IP) connection. The SMA Gateway can then be configured to poll for data values from a number of devices that are connected to the Webbox.
  • Page 7: Connections

    CAS-2700-24 SMA Gateway Manual Page 7 of 62 Connections 2.1. Block Diagram © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 2014 Tel: (866) 383-1657, Fax: (416) 915-4024...
  • Page 8: Wiring / Connections

    CAS-2700-24 SMA Gateway Manual Page 8 of 62 2.2. Wiring / Connections 2.2.1. Modbus RTU Connections Port 0 – RS485 Mode Terminals  All 4 jumpers required for 2 wire operation.  CAS recommends the use of 3 conductors for so called 2-Wire RS485.
  • Page 9: Limitations And Best Practices

    CAS-2700-24 SMA Gateway Manual Page 9 of 62 2.3. Limitations and Best Practices Maximum Number of SMA Sunny Webboxes per Gateway Only 1 SMA Sunny Webbox can be connected to a single gateway. RS232 Best Practices We recommend a maximum of 30ft for the RS232 cable. A well-made cable in a clean environment can easily run to 100ft and provide satisfactory performance.
  • Page 10: Configuration And Settings

    CAS-2700-24 SMA Gateway Manual Page 10 of 62 Configuration and Settings 3.1. SMA Sunny Webbox Connection Settings To poll for data from a Sunny Invertor, Sunny Island, or SensorBox all that is needed is the IP address of the Sunny Webbox that these devices are connected to.
  • Page 11: Modbustcp Settings

    CAS-2700-24 SMA Gateway Manual Page 11 of 62 3.3. ModbusTCP Settings To connect using ModbusTCP you need to know the IP address of the gateway and the Modbus ‘Station’ number (also known as ‘Device Address’ or ‘Node ID’) and the TCP Port for the connection.
  • Page 12: Bacnet Ip Settings

    CAS-2700-24 SMA Gateway Manual Page 12 of 62 3.5. BACnet IP Settings BACnet supports discovery. Thus any BACnet tool will discover the gateway and report its properties. Each gateway must be allocated a unique device instance number and thus this is a configurable setting.
  • Page 13 CAS-2700-24 SMA Gateway Manual Page 13 of 62 © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 2014 Tel: (866) 383-1657, Fax: (416) 915-4024...
  • Page 14: Adding Sma Devices

    CAS-2700-24 SMA Gateway Manual Page 14 of 62 Change the Settings and click Submit to save them. To cancel changes simply close the page without submitting. Note on IP Addresses: Another method is provided to change the Netmask and Gateway address.
  • Page 15: Configuration Tools

    In order to complete the configuration process, the names and serial numbers of the SMA devices are needed. There is a tool that is required to get this information called the RPC Client. Please contact Chipkin Automation Systems to get access to this tool and for help with configuration. © Chipkin Automation Systems, 3495 Cambie St.
  • Page 16: Reading Data Using Html / Web Browser

    CAS-2700-24 SMA Gateway Manual Page 16 of 62 Reading Data using HTML / Web Browser Use a Web Browser to browse to this page. This is the IP address of your gateway http://192.168.1.113/bin/sma/report You are presented with a screen similar to this one.
  • Page 17: Reading Modbus Data

    CAS-2700-24 SMA Gateway Manual Page 17 of 62 Reading Modbus Data Need to know more about Modbus? Read this guide. http://www.chipkin.com/september-2010-newsletter 5.1. Modbus Function Supported (RTU and TCP) The Gateway supports functions 1, 2, 3, and 4. Most masters should be configured to use function 3 (Read Holding Registers).
  • Page 18 Note 2: All of these values will be sent a 16 bit values, therefore any real (decimal) values will be sent as their whole number part (i.e. 24.3 will be sent as 24). If you require the entire decimal value, please contact Chipkin Automation Systems. © Chipkin Automation Systems, 3495 Cambie St.
  • Page 19 Note 1: All of these values will be sent a 16 bit values, therefore any real (decimal) values will be sent as their whole number part (i.e. 24.3 will be sent as 24). If you require the entire decimal value, please contact Chipkin Automation Systems. Typical Sunny Island Data...
  • Page 20 CAS-2700-24 SMA Gateway Manual Page 20 of 62 40006 BatSoc 40007 BatSocErr 40008 BatTmp 40009 BatVtg 40010 CardStt 40011 ChpPwrAt 40012 ChpRmgTm 40013 ChpStrRmgTm 40014 ChpStt 40015 EgyCntIn 40016 EgyCntOut 40017 EgyCntTm 40018 Error 40019 E-Total 40020 E-Total-In 40021 ExtCur...
  • Page 21 CAS-2700-24 SMA Gateway Manual Page 21 of 62 40028 ExtPwrAtSlv2 40029 ExtPwrAtSlv3 40030 ExtPwrRt 40031 ExtPwrRtSlv1 40032 ExtPwrRtSlv2 40033 ExtPwrRtSlv3 40034 ExtVtg 40035 ExtVtgSlv1 40036 ExtVtgSlv2 40037 ExtVtgSlv3 40038 Fac 40039 Firmware 40040 FwVer 40041 FwVer2 40042 GdCtcCnt 40043 GdEgyCntIn...
  • Page 22 CAS-2700-24 SMA Gateway Manual Page 22 of 62 40050 GnEgyTm 40051 GnOpTmh 40052 GnRmgTm 40053 GnRnStt 40054 GnStrCnt 40055 GnStt 40056 h-On 40057 Iac 40058 InvCur 40059 InvCurSlv1 40060 InvCurSlv2 40061 InvCurSlv3 40062 InvFrq 40063 InvOpStt 40064 InvOpSttSlv1 40065 InvOpSttSlv2...
  • Page 23 CAS-2700-24 SMA Gateway Manual Page 23 of 62 40072 InvPwrRtSlv1 40073 InvPwrRtSlv2 40074 InvPwrRtSlv3 40075 InvVtg 40076 InvVtgSlv1 40077 InvVtgSlv2 40078 InvVtgSlv3 40079 Mode 40080 Msg 40081 OnTmh 40082 OpStt 40083 OpSttSlv1 40084 OpSttSlv2 40085 OpSttSlv3 40086 Pac 40087 Prio...
  • Page 24 CAS-2700-24 SMA Gateway Manual Page 24 of 62 40094 Sic1PvPwr 40095 Sic1TdyEgyCntIn 40096 Sic2EgyCntIn 40097 Sic2PvPwr 40098 Sic2TdyEgyCntIn 40099 Sic3EgyCntIn 40100 Sic3PvPwr 40101 Sic3TdyEgyCntIn 40102 Sic4EgyCntIn 40103 Sic4PvPwr 40104 Sic4TdyEgyCntIn 40105 Soh 40106 TotBatCur 40107 TotExtCur 40108 TotExtPwrAt 40109 TotExtPwrRt...
  • Page 25: Interpreting Modbus Data

    If you require the data as floats, please contact Chipkin Automation Systems to update the configuration and Modbus map. These values will be encoded as IEEE754 format floating point numbers.
  • Page 26: Test Procedure - Use Cas Modbus Scanner

    Page 26 of 62 5.4. Test Procedure – Use CAS Modbus Scanner You can test the ModbusTCP data using free test software provided by Chipkin Automation Software. This is a link to the download page. http://www.chipkin.com/cas-modbus-scanner Configure the scanner as follows 1.
  • Page 27 CAS-2700-24 SMA Gateway Manual Page 27 of 62 4. Click the Poll Button 5. Use the values found in the ‘int16 column and the data map table to review the data. © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3...
  • Page 28 CAS-2700-24 SMA Gateway Manual Page 28 of 62 © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 2014 Tel: (866) 383-1657, Fax: (416) 915-4024...
  • Page 29: Reading Bacnet Data

    CAS-2700-24 SMA Gateway Manual Page 29 of 62 Reading BACnet Data BACnet supports discovery. When you discover the gateway, objects and properties you will find appropriately named objects that report data from the SMA Devices. Because BACnet supports discovery, usually knowledge of the BACnet Device Instance Number does not need to be known in advance.
  • Page 30 CAS-2700-24 SMA Gateway Manual Page 30 of 62 For the following BACnet objects, each set of data (Invertor, SensorBox, and Sunny Island) will be described as if it was the first device configured. Each additional device added will be offset by 100. So the first device will have data starting with analog-input 1, the second device will have data starting at analog-input 101, the third device will have data starting at analog-input 201, etc.
  • Page 31 CAS-2700-24 SMA Gateway Manual Page 31 of 62 analog_input (18) analog_input (19) Serial Number analog_input (20) VacL1 analog_input (21) VacL2 analog_input (22) Vpv-_PE analog_input (23) Max Temperature analog_input (24) Max Vpv analog_input (25) Vfan Typical SensorBox Data analog_input (1) ExlSolIrr...
  • Page 32 CAS-2700-24 SMA Gateway Manual Page 32 of 62 Typical Sunny Island Data analog_input (1) analog_input (2) AptPhs analog_input (3) AptTmRmg analog_input (4) BatChrgOp analog_input (5) BatChrgVtg analog_input (6) BatSoc analog_input (7) BatSocErr analog_input (8) BatTmp analog_input (9) BatVtg analog_input (10)
  • Page 33 CAS-2700-24 SMA Gateway Manual Page 33 of 62 analog_input (22) ExtCurSlv1 analog_input (23) ExtCurSlv2 analog_input (24) ExtCurSlv3 analog_input (25) ExtFrq analog_input (26) ExtPwrAt analog_input (27) ExtPwrAtSlv1 analog_input (28) ExtPwrAtSlv2 analog_input (29) ExtPwrAtSlv3 analog_input (30) ExtPwrRt analog_input (31) ExtPwrRtSlv1 analog_input (32)
  • Page 34 CAS-2700-24 SMA Gateway Manual Page 34 of 62 analog_input (44) GdEgyCntOut analog_input (45) GdEgyTmh analog_input (46) GdOpTmh analog_input (47) GdRmgTm analog_input (48) GnDmdSrc analog_input (49) GnEgyCnt analog_input (50) GnEgyTm analog_input (51) GnOpTmh analog_input (52) GnRmgTm analog_input (53) GnRnStt analog_input (54)
  • Page 35 CAS-2700-24 SMA Gateway Manual Page 35 of 62 analog_input (66) InvOpSttSlv3 analog_input (67) InvPwrAt analog_input (68) InvPwrAtSlv1 analog_input (69) InvPwrAtSlv2 analog_input (70) InvPwrAtSlv3 analog_input (71) InvPwrRt analog_input (72) InvPwrRtSlv1 analog_input (73) InvPwrRtSlv2 analog_input (74) InvPwrRtSlv3 analog_input (75) InvVtg analog_input (76)
  • Page 36 CAS-2700-24 SMA Gateway Manual Page 36 of 62 analog_input (88) Rly1Stt analog_input (89) Rly2Stt analog_input (90) RmgTmEqu analog_input (91) RmgTmFul analog_input (92) Serial Number analog_input (93) Sic1EgyCntIn analog_input (94) Sic1PvPwr analog_input (95) Sic1TdyEgyCntIn analog_input (96) Sic2EgyCntIn analog_input (97) Sic2PvPwr analog_input (98)
  • Page 37 CAS-2700-24 SMA Gateway Manual Page 37 of 62 analog_input (110) TotInvCur analog_input (111) TotInvPwrAt analog_input (112) TotInvPwrRt analog_input (113) TotLodPwr analog_input (114) TotMccLodPwr analog_input (115) TotSicBatCur analog_input (116) TotSicDyEgyCntI analog_input (117) TotSicEgyCntIn analog_input (118) TotSicPvPwr analog_input (119) TotTmh analog_input (120) ©...
  • Page 38: Bacnet Test Procedure

    CAS-2700-24 SMA Gateway Manual Page 38 of 62 6.4. BACnet Test Procedure You have been provided with a USB key to the CAS BACnet Explorer. This key activates the software. It cannot run without it. If you don’t have your USB key, you can still activate the application –...
  • Page 39 CAS-2700-24 SMA Gateway Manual Page 39 of 62 Device(s) were discovered. Click the + to open © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 2014 Tel: (866) 383-1657, Fax: (416) 915-4024...
  • Page 40 CAS-2700-24 SMA Gateway Manual Page 40 of 62 Select the device and click discover again. © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 2014 Tel: (866) 383-1657, Fax: (416) 915-4024...
  • Page 41 CAS-2700-24 SMA Gateway Manual Page 41 of 62 Check the ‘Discover properties’ box. Click the Send button. © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 2014 Tel: (866) 383-1657, Fax: (416) 915-4024...
  • Page 42 CAS-2700-24 SMA Gateway Manual Page 42 of 62 You get a list of objects with properties. © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 2014 Tel: (866) 383-1657, Fax: (416) 915-4024...
  • Page 43 CAS-2700-24 SMA Gateway Manual Page 43 of 62 Present value is the value found in the Veeder Device. © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 2014 Tel: (866) 383-1657, Fax: (416) 915-4024...
  • Page 44: Commissioning, Diagnostics And Trouble Shooting

    CAS-2700-24 SMA Gateway Manual Page 44 of 62 Commissioning, Diagnostics and Trouble Shooting 7.1. What to Take to Site for Commissioning 1. The gateway and other supplied components. 2. USB->485 Converter Any will do. This will allow you run tests using the 485 serial connection for Modbus RTU.
  • Page 45 CAS-2700-24 SMA Gateway Manual Page 45 of 62 8. Serial Mini Tester 9. DB9 and DB25 male and female connector make-up kits (Solder free) Always useful but not required if you have tested your cable prior to attending the site.
  • Page 46 CAS-2700-24 SMA Gateway Manual Page 46 of 62 11. Gender Benders Always useful but not required if you have tested your cable prior to attending the site. 12. Ethernet Patch cables © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3...
  • Page 47 CAS-2700-24 SMA Gateway Manual Page 47 of 62 13. Hub Used as a last resort if there are problems on Modbus or BACnet A hub is not a switch. A hub can be used for trouble-shooting whereas only a ‘supervised’...
  • Page 48: Gateway Status

    CAS-2700-24 SMA Gateway Manual Page 48 of 62 7.2. Gateway Status Browse to http://192.168.1.113/bin/sma/report and you will the present values of the data points If all of the data values are displayed as “-1” (or whatever the configured default value is) then it could mean one of two things.
  • Page 49: Debug Log

    CAS-2700-24 SMA Gateway Manual Page 49 of 62 7.4. Debug log. The debug messages are sent on UDP port 514 to the broadcast IP address: {255.255.255.255} as plain ASCII text. You can use "logview4net" tool to view and recorded the debug messages as they are sent from the device.
  • Page 50 CAS-2700-24 SMA Gateway Manual Page 50 of 62 Timeout Abnormal operation. No communication with device. Perform Veeder Device Connection Diagnostics. © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 2014 Tel: (866) 383-1657, Fax: (416) 915-4024...
  • Page 51: Veeder Device Connection

    CAS-2700-24 SMA Gateway Manual Page 51 of 62 Operating Normally Occasional timeout messages should be tolerated. Normal Operation. 7.5. Veeder Device Connection Use a mini tester to check the serial ports. Connect the cable to the Veeder device only – RD should be green. If it isn’t this means the cable to the Veeder device is wrong or the port isn’t working.
  • Page 52 CAS-2700-24 SMA Gateway Manual Page 52 of 62 © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 2014 Tel: (866) 383-1657, Fax: (416) 915-4024...
  • Page 53: Another Method For Changing The Ip Address - Dhcp

    CAS-2700-24 SMA Gateway Manual Page 53 of 62 7.6. Another Method for Changing the IP Address - DHCP This device supports DHCP and DHCP is disabled. When shipped the device IP = 192.168.1.113 Mask = 255.255.255.0 Gateway = 192.168.1.1 If you simply want to change the IP address then use the simpler method provided in section 3.6 Change Configuration Settings.
  • Page 54: Discovering The Gateway

    CAS-2700-24 SMA Gateway Manual Page 54 of 62 To change the IP address complete the Fields and click the ‘Set’ button. Please set the IP, Network Mask, and Gateway fields. To set it to DHCP, simply put all fields to 0.0.0.0 and click the ‘Set’ button.
  • Page 55 CAS-2700-24 SMA Gateway Manual Page 55 of 62 A tool is provided. It can be downloaded from http://www.chipkin.com/articles/cas-gateway-firmware-download-tool Screen Shot from the Firmware update tool. File name and path may Click to find a gateway change. You will be (discover) provided with specific instructions.
  • Page 56: Specifications

    CAS-2700-24 SMA Gateway Manual Page 56 of 62 Specifications  UL and ULc approved  10/100BaseT with RJ-45 connector  1x RS232 Port  1x RS485 Port (Different Models have additional ports)  2MBytes flash memory, 8MBytes of SDRAM ...
  • Page 57: Sma Enumerations

    CAS-2700-24 SMA Gateway Manual Page 57 of 62 SMA Enumerations The following lists are the enumerated values for various SMA Data points 9.1. SMA Invertor Data Enumerations 9.1.1. Mode Offset Stop Disturbance Grid Monitoring Error Waiting Mpp Peak V Const...
  • Page 58: Error

    CAS-2700-24 SMA Gateway Manual Page 58 of 62 9.1.5. Error No Error EarthCurMax Srr MSD VAC MSD FAC K1 Open K2 Open EEPROM p Power Balance MSD Idif EarthCurMax Bfr Derating XFMR TEMP W EeRestore Grid Timeout VacL1 Bfr VacL2 Bfr...
  • Page 59: Sma Sunny Island Data Enumerations

    CAS-2700-24 SMA Gateway Manual Page 59 of 62 9.2. SMA Sunny Island Data Enumerations 9.2.1. Mode Same as 9.1.1 SMA Invertor Data Enumerations – Mode 9.2.2. Invertor Operating State (InvOpStt) None Startup Standby EmCharge Error 9.2.3. Relay State (Rly1Stt, Rly2Stt) 9.2.4.
  • Page 60: Gnstatus

    CAS-2700-24 SMA Gateway Manual Page 60 of 62 9.2.7. GnStatus Retry Init Disconnect Ready Cool Warm Lock Connect Fail FailLock 9.2.8. GnRnStatus 9.2.9. CHPStatus Idle Lock 9.2.10. Address (Adr) Master Slave1 Slave2 Slave4 9.2.11. Operating Status (OpStt) None Operating Warning Failure ©...
  • Page 61: Card Status (Cardstt)

    CAS-2700-24 SMA Gateway Manual Page 61 of 62 9.2.12. Card Status (CardStt) Operational Mount OutOfSpace BadFileSys Incomp Parameter ParamFailed WriteLogData WriteLogFailed 9.2.13. Error None 1xx_INV 2xx_BAT 3xx_EXT 4xx_GEN 5xx_GRD 6xx_RLY 7xx_SYS 8xx_AUX © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3...
  • Page 62: Cas-2700-24 Sma Gateway Manual

    CAS-2700-24 SMA Gateway Manual Page 62 of 62 Revision History Doc. Date Resp Format Driver Ver. Comment Rev. 12 Feb 2014 0.11 Document Created © Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 2014 Tel: (866) 383-1657,...

Table of Contents