Morningstar Product Connectivity Manual
Total Page:16
File Type:pdf, Size:1020Kb
Morningstar Product Connectivity Manual Networking & Communications 4 December 2020 MORNINGSTAR Corporation www.morningstarcorp.com Contents 1.0 Introduction 1.1 Communications Protocols 1.2 Communications Interfaces 1.3 RS-232 vs. USB 2.0 Networking Hardware 2.1 Morningstar Equipment 2.2 Other Equipment 3.0 MeterBusTM Networks 3.1 Overview 3.2 Networking Rules 3.3 Example Networks 3.4 Setup Your MeterBusTM Network 4.0 MODBUS™ Networks 4.1 Overview 4.2 Local Connections 4.3 Remote Connections 5.0 MSView™ 5.1 Overview 5.2 Installation 5.3 Establishing A Connection 5.4 Creating New Displays 5.5 Setup Wizards 6.0 MSLoad™ 6.1 OverView 6.1 Uploading Firmware 6.1 Firmware Upgrades Without A DB-9 (RS-232) Connection 7.0 Web site Hosting via HTTP 2 Contents 8.0 E-mail Alerts / SNMP Traps / SNMP Polling 9.0 Data Logging 10.0 Network Security 11.0 Troubleshooting & Misc. Appendix I - TSMPPT & EMC-1 Networking I. Introduction II. Connect to LAN III. Remote Access IV. Multi-Controller Networking V. Additional Info Appendix II - Advanced System Example General Safety Information: • Only minimal voltages/currents are present in communications circuits, however, it is always necessary to exercise caution when working with electronic circuits. Please observe caution while performing any installation/ maintenance outlined in this document. • Do not allow any electronic components to be exposed to water at any time. • Read installation and configuration procedures thoroughly before proceeding with physical connections. The following symbols are used throughout this document to indicate potentially dangerous conditions or mark important safety instructions. WARNING: Indicates a potentially dangerous condition. Use extreme caution when performing this task. CAUTION: Indicates a critical procedure for safe and ! proper operation of the components in use. NOTE: Indicates a procedure or function that is important for the safe and proper operation of the system. Morningstar Product Connectivity Manual 3 1.0 Introduction Thank you for choosing Morningstar for your PV control system needs. Morningstar prod- ucts offer a wide range of networking, logging, data transfer, and custom setting capabili- ties. Please review this document carefully and become familiar with all the networking/ communication options Morningstar products have to offer. 1.1 Communications Protocols Various protocols are used by Morningstar products to either communicate between Morningstar devices, or with a PC/other 3rd party hardware. A brief description of these protocols follow: 1.1.1 Morningstar MeterBusTM MeterBusTM Protocol is Morningstar’s proprietary messaging structure for communication be- tween Morningstar products. This protocol is used for communications between controllers and meters, controllers and Relay Drivers, and for other inter-product data transfer. Morningstar products supporting this protocol feature RJ-11 ports. Physical connections between MeterBusTM devices are made using standard 4 or 6 conductor phone cords with RJ-11 connec- tors. MeterBusTM networks have a 15 device capability, a simple RJ-11 interface, and are easy to setup and maintain. Meter Hubs are used to network MeterBusTM capable devices. Each network device is assigned a unique MeterBus™ ID. In these networks, some devices supply power to the network, while oth- ers receive power from the network. For more information into the capabilities of MeterBusTM and how to setup a MeterBusTM network, please refer to Section 3. 1.1.2 MODBUS MODBUSTM is an open and license-free protocol that is widely regarded as the de facto standard in the industrial automation industry. There is an abundance of software and equipment available that directly support MODBUSTM. Additionally, sample source code for a variety of platforms is readily available online. Morningstar’s free MSView™ PC software uses MODBUSTM for all com- munications. MODBUSTM does not rely on any one physical communication interface; it works the same on all physical interfaces. Each device is configured to be a master or a slave. Masters always ‘poll’ or start conversations on the network and either slaves or other masters can respond. Two modes of MODBUSTM transmission exist, ASCII and Remote Terminal Unit (RTU). 4 Introduction IMPORTANT: Morningstar products are MODBUS™ ! RTU devices. For more information into the capabilities of MODBUSTM, please refer to Section 4. 1.1.3 MODBUS TCP/IPTM The MODBUSTM protocol can also be used over Internet Protocol (IP) via an Ethernet connection. MODBUSTM data over IP is identical to MODBUSTM data over serial RS-232, however, it is embedded in data packets characteristic of IP. MODBUS TCP/IPTM uses an Ethernet (RJ-45) connection and is supported by all Morningstar products with an Ethernet port. It allows the user to connect to the Ethernet enabled unit using the MSViewTM software package and view real-time system data, log system data, and program custom charging setpoints. Morningstar products without an Ethernet port (but with another communications port) require the EMC-1 Ethernet to MeterBus™ Adapter or a MODBUSTM Ethernet to Serial converter serving as a bridge between MODBUS IPTM and serial MODBUSTM in order to be connected to an Ethernet network. See Sections 2.1.4 and 2.2.10. 1.1.4 HTTP HyperText Transfer Protocol is the most common communications protocol used for transmitting data over the internet. Ethernet capable Morningstar controllers feature HTTP compatibility, enabling it to host web pages that display controller settings, real-time system data, logged historical data, and system status. 1.1.5 SMTP Simple Mail Transfer Protocol (SMTP) is used by Ethernet enabled Morningstar controllers to deliver e-mail alerts and regular status updates of the system. See Section 8 for more information on the ability to provide e-mail/sms alerts via SMTP. 1.1.6 SNMP Simple Network Management Protocol (SNMP) is an internet standard protocol that is used to manage and monitor devices on an IP network. It is typically supported by devices found in IT infrastructures, such as servers, modems, routers, printers, workstations, and other network components. Using the defined communication standards and management topology, SNMP allows for a simple and convenient way to view and modify the status of critical system components on a private Local Area Network (LAN) or across a Wide Area Network (WAN), if so desired. See Section 8 for more information on how SNMP is implemented with Morningstar controllers. Morningstar Product Connectivity Manual 5 1.2 Communications Interfaces The following table outlines the various communications interfaces found on Morningstar prod- ucts. (Each dot represents one interface.) Product RJ-11 RS-232 EIA-485 USB Ethernet PC MeterBus™ Adapter (MSC) ● ● RS-232 / RS-485 Adapter (RSC-1) ● ● USB MeterBus™ Adapter (UMC-1) ● ● Ethernet MeterBus™ Converter (EMC-1) ● ●* ● Meter Hub (HUB-1) ● ● ● ● ● ● Relay Driver (RD-1) ● ● ● Remote Meter (RM-1) ● TriStar Meter (TS-M-2) ● ● TriStar Remote Meter (TS-RM-2) ● ● TriStar Meter 600V (TS-M-2-600V) ● ● SunSaver Duo (SSD-25) ● SunSaver MPPT (SS-MPPT-15L) ● ProStar (PS-xx..) (3rd Generation only) ● ProStar MPPT (PS-MPPT-xx..) ● TriStar (TS-xx) ● ● TriStar MPPT 150V (TS-MPPT-xx) ● ●** ●**, *** ● TriStar MPPT 600V (TS-MPPT-60-600V-48...) ● ●** ●** ● SureSine (SI-300-xxxV) ● Table 1. Morningstar Device Communication Interfaces * RS-232 serial connection required for products that include an RS-232 port. The EMC-1 included Y- cable is required to draw power from the RJ-11 port while communicating via the RS-232 port. An EMC-1 connection to RD-1 requires a MeterBus™ connection from a device that can supply power. See Table 2 in section 3.2.2. ** RS-232 and EIA-485 connections share the same internal hardware, therefore, only one interface can be used at a given time. *** EIA-485 and Ethernet ports are only available for 60A model (TS-MPPT-60) of the TriStar MPPT 150V models. The TS-MPPT-30 and TS-MPPT-40 models do not include the EAI-485 or Ethernet ports. 1.3 RS-232 vs. USB Many Morningstar products use the RS-232 interface as standard for communication with a PC. Some have inquired as to why a USB interface was not used instead. The following describes 6 Introduction some of the problems with USB and why RS-232 was chosen to be the Morningstar standard: RS-232 is a more universal standard • USB cannot go long distances (maximum range without repeaters/hubs is 5 meters) • USB requires more expensive hardware • USB requires more software / RS-232 requires no driver support • USB isn’t easily opto-isolated (opto-isolation helps protect devices from transient power surges) • USB is less popular as an industrial standard Ethernet has emerged as the more useful interface than USB, therefore, many new Morningstar products will have a built-in Ethernet interface. As a convenience for those who are using a PC or laptop that does not include a RS-232 port Morningstar has introduced the UMC-1 USB MeterBusTM Adapter (Section 2.1.3). There are also 3rd party USB to RS-232 devices available on the market (Section 2.2.8) Morningstar Product Connectivity Manual 7 2.0 Networking Hardware There are many pieces of networking hardware. The following is a description of the most com- mon hardware used to network Morningstar devices. 2.1 Morningstar Equipment 2.1.1 PC MeterBus™ Adapter (MSC) Figure 1. Morningstar PC MeterBus™ Adapter (model: MSC) The PC MeterbusTM Adapter (model: MSC) converts the Morningstar MeterBusTM RJ-11 electrical interface to a standard RS-232 interface which allows MODBUSTM communication between a PC and a Morningstar charge controller or inverter**. Controllers with only an RJ-11 port require the MSC to program custom charging setpoints or log data using Morningstar’s MSViewTM PC soft- ware. The MSC can also be used with any 3rd party MODBUSTM capable hardware to communi- cate with the Morningstar unit. ** controllers or inverters with a MeterBusTM connection that do not have a serial port or other communications port 2.1.2 RS-232 / EIA-485 Adapter (RSC-1) Figure 2.