Advertisement

Quick Links

WebdynSunPM
User Manual
www.webdyn.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Webdyn SunPM and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Flexitron Webdyn SunPM

  • Page 1 WebdynSunPM User Manual www.webdyn.com...
  • Page 2: Table Of Contents

    2.4.3 Indicators & Buttons ....................26 2.4.4 Extension Interface ....................30 2.4.5 Ethernet Interface ...................... 31 2.4.6 RS485/RS422 Serial Interface ................. 32 2.4.7 Input/Output Interface ....................35 contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 3 5.2.1 Command file ......................173 5.2.2 MQTT command message ..................175 5.2.3 SMS ..........................176 5.3 List of Commands ........................176 5.3.1 “connect”: Trigger a connection ................177 contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 4 8. FAQ ................................. 191 9. Appendices ............................196 9.1 ..............................Appendix A: “_config.ini” file......................196 9.2 Appendix B: Time zone list ....................... 211 Offices & Support Contact ....................214 contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 5: Glossary

    Internet Protocol: message protocol in charge of addressing and sending TCP packets over the network. Script language. See http://www.lua.org/ for more details. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 6 Topic MQTT information channels that publishers use to send messages. These messages can be read by subscribers. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 7 Extension to the HTTP protocol to improve the management of remote files. As part of the WebdynSunPM, the WebDAV protocol is used over HTTPS. We are therefore talking about WebDAV-HTTPS. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 8: About This Document

    • Training in the installation and configuration of computer systems. • Knowledge of and compliance with this document and all safety information. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 9 Micro SD card management Added WebDAV Added MQTT Application notes for ICT and proprietary protocols Modification of the edition and creation of equipment Added WebdynSunPM 4G version contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 10: Presentation

    Ethernet/ User 4G/3G/2G 0-10V / 4-20mA Sensors WebdynSunPM Dry contact Server 2 User Circuit, breaker, relay Modbus Dry contacts, 4-20mA, Modbus, propietary protocol... Electric grid management system contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 11: The Interfaces

    • Tx: Data sent on the RS485/RS422 serial port • Rx: Data received on the RS485/RS422 serial port • WAN: Connection status 6. Power button 7. Micro SD card slot contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 12: Supported Devices

    RTU and TCP devices. 1.5 Product References Product: REFERENCES DESCRIPTIONS WG0517-A01 WebdynSunPM (Europe and India version) WG0517-A02 WebdynSunPM (Monde version) WG0517-A03-DEIE WebdynSunPM in DEIE box (Europe and India version) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 13: Technical Specifications

    0.330 kg Operating temperature -5 °C / +40 °C Storage temperature Storage: -20 °C / +85 °C Humidity 25 - 75 % Pollution rating Certification ROHS REACH contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 14: Technical Specifications

    SIM format Standard SIM (mini SIM) 2FF format 1.8V and 3Vcompatible Ethernet interface 2x 10/100 Mbits/s ports available USB interface 1x USB2.0 port Serial interface 3x RS485/RS422 ports contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 15 824 MHz – 849 MHz 33 dBm (+-2dB GSM,GPRS,EDGE) E-GSM 900 880 MHz - 915 MHz 33 dBm (+-2dB GSM,GPRS,EDGE) DCS 1800 1710 MHz - 1785 MHz 30 dBm (+-2dB GSM,GPRS,EDGE) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 16: Software Specifications

    1.6.3 Software Specifications SPECIFICATIONS PROTOCOLS/FORMATS Embedded server HTTP Server communication protocol (IS) •FTP •SFTP •WebDAV-HTTPS •MQTT •MQTTS (generic and compatible with AWS IoT, Azure IoT and Google Cloud IoT) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 17: Safety Instructions

    1.8 Regulation The product is compliant with the European directives according to the EU declaration of Conformity available from Webdyn or from the web site: www.webdyn.com. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 18 These products are collected separately. Use an authorised battery collection and processing centre or contact Webdyn. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 19: Installation And Maintenance

    • WG0517-A02: WebdynSunPM in Monde version • WG0517-A03-DEIE: WebdynSunPM in Europe and India version in a DEIE box • WG0517-A04: WebdynSunPM 4G in Europe and India version contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 20 Each product is labelled with the following information: This label is accessible on the top of the product: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 21 Software version: The software version can be found on the concentrator web interface. The software version is available on the “Home” tab (See section3.2: “Embedded web interface”). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 22: Assembly

    Before fixing or removing the concentrator, make sure: • To cut the power supply to the equipment. • Remove the antenna taped to the back of the box. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 23: Interface Description

    The battery recharges on the concentrator’s external power supply. The battery may not have time to recharge if the concentrator suffers too frequent or long power cuts. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 24: Cellular Network

    To use the 2G/3G or 2G/4G modem connection and allow the concentrator to communicate with the remote server or servers, a mini SIM format SIM card must be inserted in the SIM card housing on the front of the concentrator. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 25 Webdyn does not supply any SIM cards. Please contact an M2M operator that supports the 2G/3G or 2G/4G network or a partner portal. To find out the information to enter to configure the modem, contact your SIM card provider. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 26: Indicators & Buttons

    • IP parameter reinitialisation: a press of between 4 and 14 seconds (at least 4 and at maximum 14 Activity LED pulses). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 27 The purpose of the WAN indicator is to help the user know the connection status. The indicator can have 3 different colours (green, orange and red) and depends on the primary server configuration. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 28 FTP/WebDAV connection problem Fast flashing Problem attaching to the cell network or unstable reception signal (RSSI < -89 dBm) Steady SIM card error (missing, no PIN code, PUK code) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 29 If necessary, a replacement of the SD card is recommended If an error occurs, the WAN LED stays on the last error until the next conclusive attempt or the product reboots. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 30: Extension Interface

    To insert the microSD card into the product, insert the microSD card into the slot on the front of the hub until you hear a click. Webdyn does not provide any SD card. Please contact a computer hardware retailer. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 31: Ethernet Interface

    These Ethernet interfaces allow the concentrator to be part of 2 different Ethernet networks to communicate with local IP devices belonging to 2 separate networks or to communicate with the IS using Ethernet. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 32: Rs485/Rs422 Serial Interface

    The WebdynSunPM concentrator has 3 RS485/RS422 serial ports marked “Serial” on the bottom of the product which are only used for modbus in RTU mode. This interface is Half Duplex (2 wires) and Full Duplex (4 wires) compatible. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 33 • Shorten the shielding down to the cable sheath. • Strip the wires over about 6 mm. • Connect the conductors to the terminal block marked “Serial” following the assignments in your RS485 communication bus. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 34 Several systems can be connected to the bus as shown on the following figure. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 35: Input/Output Interface

    The voltage delivered by this power output is equal to the concentrator’s power supply voltage. The earth on each analog terminal block is common. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 36 The voltage available for the sensors on the terminal block is the same as the power supply block voltage used to power the concentrator. The maximum power available for all the sensors must not exceed 7 watts. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 37 Collector open / Drain open / Dry contact Max voltage / current 4mA @5V “0” Switching threshold disabled > 3.5 V “1” Switching threshold enabled < 1 V Pulse counters > 20 ms contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 38 < 1 mA “HIGH” Switching threshold enabled > 15 mA > 2.5 mA ¨Power supply voltage Internal 24 V Internal 5 V Pulse counters > 20ms > 20ms contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 39 24 V Current The concentrator relay does not allow high power to be driven directly. In this case, it is necessary to use an intermediate external relay. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 40 • Command file (FTP, SFTP or WebDAV), MQTT/MQTTS message and SMS. (See chapter 5.3.9: ““setRelay”: Changing the state of the relay”). • LUA scripts. (See chapter 3.2.3.1: “Scripts”). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 41 The use of an SFTP or WebDAV server is preferable because of the extra security layers compared to a classic FTP server. Otherwise, different types of servers operate in the same way. SFTP based on login and password. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 42 There are several types of configuration file. There are files to configure concentrator operation (connection to the server, NTP management, passwords, modem, etc.) as well as connected device definition files. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 43 • DNS • Serial port configuration: • Speed • Parity • Data bits • Protocol type used: Modbus etc. • Declaration of each connected equipment: • Index contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 44 • SERVER_Address=<WebDAV-HTTPS server address or name> • SERVER_TYPE=webdav • If the connection is made by ethernet: • SERVER_Interface=ethernet • If the connection is made by modem: • SERVER_Interface=modem (by default) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 45 If the file is detected when connecting to the remote server, it is uploaded and the configuration is applied immediately regardless of the local configuration. The file has one row per configured schedule. Each row contains the schedule number with its corresponding parameters. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 46 Indicates the task start time in the following format: 00:00:00 “HH:MM:SS” Interval Indicates the connection repeat interval in minutes 1440 Count Indicates the maximum number of connections in one contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 47 The index number is calculated automatically by the concentrator starting with 0. If this file is modified manually, make sure there are no duplicate index numbers as this would result in the configuration being contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 48 Login to use to establish the connection. This login is provided by the operator and depends on it and the subscription type. This field can be empty. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 49 If the file is modified using “Excel” type spreadsheet software, the format may be modified and the “;” delimiters replaced by “,”, making it unusable by the concentrator. Always make sure to indicate the delimiter format when saving. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 50 Similarly, a second network interface is left with its default configuration, namely an IP address on “192.1682.12” and a subnet mask at “255.255.255.0”. All the other parameters are empty. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 51 If the file is modified using “Excel” type spreadsheet software, the format may be modified and the “;” delimiters replaced by “,”, making it unusable by the concentrator. Always make sure to indicate the delimiter format when saving. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 52 The possible values are: •2: the same 2 wires are used to send and receive data frames •4: data emission and reception use separate pairs of wires contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 53 The “InterFrame” parameter is used to define a silence time on the serial bus to allow certain devices to switch to waiting for data. Some manufacturers call this the “return time”. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 54 When editing this file using Excel, the following display is shown using the CSV format: type data_b parity stop_bits wires protocol interframe SERIAL1 9600 Modbus 0 ms SERIAL2 1200 SMANET 0 ms SERIAL3 19200 contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 55 For “modbus” devices, it contains the device address on the modbus network. Its value is therefore from 1 to 240. For “TIC”, “IO” and “SMA-Net” devices, this field is not used. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 56 This field is used to indicate the definition file that exactly describes all the variables and data exposed by the device. See the specific definition file section (Connected Device Definition). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 57 • INV proprietary protocol (see proprietary protocols application note): • modbus ethernet: • Index: 1. Index for the second modbus device configured on the concentrator. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 58 If the file is detected when connecting to the remote server, it is uploaded and the configuration is applied immediately regardless of the local configuration. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 59 3.1.2.2.1 Definition File Naming The file name is free and can be modified by the client at will, the gateway will use the name given in the daq.csv file. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 60 • modbusRTU: for a device on the serial connection. • modbusTCP: for modbus devices on Ethernet. 3.1.2.2.1.3 Proprietary Protocol Proprietary protocol file names are detailed in the proprietary protocols application note. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 61 Contains the unique variable identifier in the file. It is free form for the client as long as it remains unique. This field is used to identify the variables in the data file, the logs or the command files. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 62 This field contains information specific to the protocol used on the device. Refer to the specific protocol documentation below. Name Contains the variable name, which is free form as long as it is unique. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 63 (see proprietary protocol application note). The “Info1”, “Info2”, “Info3” and “Info4” fields are specific to each protocol and are therefore configured as follows: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 64 0x10 •4: “input”. The modbus read function code will be 0x04. As this type is for input reading, there is no associated write function. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 65 Similarly, the value “40008_1” configures a variable of which the data is at register 40008 at its 1st bit and of which the value is only 1 bit long considering that the number of bits is not indicated. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 66 If “var1” is equal to “1234” and “sf var1” equal to “-2”, the decimal point for “var1” will be offset by 2 digits to the left to obtain “12.34”. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 67 (see proprietary protocols application note) 3.1.3 Updates To update via the server: • Upload the new file to the server in the configured directory as follows: • Load the “config.ini” file contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 68 (see section 2.4.5: “Ethernet interface”). PARAMETERS LAN1 LAN2 IP address 192.168.1.12 192.168.2.12 • An authentication window is displayed: Enter your login and password: LOGIN PASSWORD userhigh high contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 69 The equipment has been found but one or more variables in the definition file are not functional The device was not found or the current configuration is not functional contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 70 The automatic detection of SunSpec devices requires the following steps: • Connect the device to the concentrator on one of the serial connections or the Ethernet network. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 71 For slower devices, the timeout value can be increased. • Then click the “Start detection” button to launch the detection. The progress window below is displayed: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 72 IP address “192.93.121.23” at register “40004” and modbus address “126”. • “End of SunSpec detection” means that SunSpec detection is complete. The line indicates the number of detected devices: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 73 • <idTable>_tableId: this variable will contain the identifier of the table in numeric form, as a 16-bit integer • <idTable>_tableSize: this variable contains the size of the table in number of registers, as a 16-bit integer contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 74 Devices can be managed manually on the web site. Everything is managed from the “Devices” tab described previously (see section 3.2.1: “Devices”). 3.2.1.2.1 Add a Device To add a device, first click the “+” button: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 75 • Serial port: if the device is only connected to one of the serial ports of the WebdynSunPM (for example for a device that does “modbus RTU”). Only serial ports whose settings are compatible with the selected protocol are displayed. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 76 • Launch an equipment detection • Select the definition file present in the drop-down list It is possible to import a new definition file by clicking on the “+” symbol. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 77 “Detect” button: Examine the result: The model, category, serial number, definition file as well as the status of the equipment is displayed when the equipment is found. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 78 If the desired device is not found in the “Device” drop-down lists, you must import the corresponding definition file. To do this, first click on the button: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 79 OK button to finalize the import of the definition file. Once the definition file is loaded, it is possible to select the required device characteristics in the drop- down lists. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 80 If the “Check status” is: The equipment has been found and the current configuration is functional The device was not found or the current configuration is not functional contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 81 Any definition file imported into the WebdynSunPM which is not used for 24 hours will be automatically erased by the concentrator during its next remote connection. 3.2.1.2.2 Deleting a Device To delete a device, first select the device to delete: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 82 To edit a device, first select the device to edit: Then click the edit button: As soon as the button is pressed, the device page changes. The device management button bar switches to edit mode: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 83 (see chapter 3.2.1.2.1: “- Adding equipment” ). 3.2.1.2.4 Modifying the Input/Output Configuration Input/output configuration can be done directly from the device management page. Just click the concentrator’s IO definition file button: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 84 The input/output status page display is then replaced by the following display: The first part of the screen is used to configure the 3 digital inputs: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 85 The second part of the input/output edit screen is used to configure the 4 analog inputs: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 86 Contains an identification making it possible to use the variable in scripts. (Calculation of totals, issuing of commands to multiple devices, etc.). This name must be unique to allow unambiguous identification and use in the scripts. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 87 Contains an identification allowing the use of the variable in question in scripts. (Calculation of accumulation, sending of command to multiple equipment, etc…). This name must therefore be unique to allow unequivocal identification and use in scripts. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 88 Diagnostic tools are made available to analyze the frames sent to the equipment as well as the frames received. These tools help to understand what happens in case of configuration problems. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 89 3.2.1.3.2 Exploitation of logs When communication logs are available on the concentrator, they will be deposited during the next connection to the server, in the directory configured for the logs. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 90 • “*** INVALID ID ***”: A slave responded to a ModbusTCP request with an incorrect ID. The frame was discarded. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 91 • Any other value contains the value of an analog input 3.2.2 Settings All the concentrator settings are grouped together on the “Settings” tab. The settings are split into several parts on the menu. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 92 <uid>. 3.2.2.2. Serial The “serial” part is used to configure 3 RS485/422 serial ports each with their own settings and output. (see section 2.4.6: “RS485/RS422 Serial interface”). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 93 •PW1: serial port configured for the PowerOne protocol Mode wires Serial interface mode: •RS485 2 wires: Half-Duplex (2 wires) RS485 serial connection •RS485 4 wires: Full-Duplex (4 wires) RS485 or RS422 serial connection contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 94 This option is used to create a communication tunnel between modbusTCP devices and the local modbusRTU network. The requests are slotted between the concentrator’s internal monitoring requests. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 95 Ethernet network. Netmask mask Your Ethernet network subnet mask. This mask limits the Ethernet network to defined IP addresses and separates the network ranges from each other. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 96 The “Modem” part is used to configure the modem and get network information. To use the modem, the SIM card must first be inserted into the product (see section 2.4.2.2: “SIM card”). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 97 If the SIM card has an activated PIN code and the PIN code entered into the concentrator is incorrect, the SIM card can lock. It can be unlocked using a mobile phone using the PUK code provided by the operator. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 98 IP address assigned automatically by the mobile operator DNS address DNS address assigned automatically by the mobile operator Network type The type of network the modem is connected to (2G/3G/4G.) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 99 As long as the problem persists, the concentrator will not be able to use the modem to connect to the remote server. On the other hand, the text message commands will function. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 100 The “Servers” part is used to configure the 2 servers available on the concentrator and schedule the synchronisation times with the remote servers or locally on an SD card. The concentrator supports 8 different types of remote servers, which are: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 101 Stopping the current connection by pressing the “Abort” button is not immediate, the stop occurs between two actions. If an action is in progress, it must end first. An action corresponds to each line described in the connection log. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 102 All server settings for the SD card interface are only accessible via the web interface and not stored in the hub configuration file. To use the concentrator’s SD card interface, you must activate it via the web interface. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 103 It is of course possible to force a connection by clicking on the “Connect” button present on the page. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 104 Type SERVER_Type Choice of server protocol: SERVER2_Type •FTP: FTP server •SFTP: SFTP server Address SERVER_Address IP address or server name SERVER2_Address Port FTP_Port FTP/SFTP server port FTP2_Port contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 105 Directory of certificate files on the FTP/ directory FTP2_DirCert SFTP server Synchronise FTP_SynchroniseCertificates Choice of synchronization of certificates: certificates FTP2_SynchroniseCertificates •Checked: Enable certificate synchronization •Unchecked: No synchronization of certificates contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 106 The directory structure on the remote FTP/SFTP server must be created before any connection. (see chapter 4.1: “The FTP/SFTP/ server”). 3.2.2.5.3 WebDAV over HTTPS The WevDAV over HTTPS server is a secure server with identification with a username and password. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 107 HTTP2_DirCmd WebDAV server Log directory HTTP_DirLog Directory of log files on the WebDAV HTTP2_DirLog server Definition HTTP_DirDef Directory of definition files on the directory HTTP2_DirDef WebDAV server contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 108 •Unchecked: ISO Format (YY/MM/DD- HH:MM:SS) L’arborescence des répertoires sur le serveur distant WebDAV-HTTPS est à créer avant toute connexion. (voir chapitre 4.1 : « Le serveur FTP/SFTP/ ») contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 109 Address SERVER2_Address IP address or server name Port MQTT2_Port MQTT server port (default 1883) Login MQTT2_Login Username used by the hub to connect to the MQTT server contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 110 •2: The message will necessarily be saved by the concentrator and will always send it as long as the broker does not confirm its sending. (avoids duplication of messages) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 111 If a topic name is entered, the concentrator remains in permanent connection mode with the MQTT server. MQTT is only available on server 2 (backup). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 112 DESCRIPTION INTERFACE configuration file Interface SERVER2_Interface Choice of the network interface to be used by the server: •Ethernet (see chapter 3.2.2.3: “Networks”) •Modem (see chapter 3.2.2.4: “Modem”) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 113 The file is to be retrieved from your MQTTS server and must be imported to the concentrator by FTP or by the web interface. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 114 •2: The message will necessarily be saved by the concentrator and will always send it as long as the broker does not confirm its sending. (avoids duplication of messages) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 115 If a topic name is entered, the concentrator remains in permanent connection mode with the MQTTS server. MQTTS is only available on server 2 (backup). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 116 •Modem (see chapter 3.2.2.4: “Modem”) Type SERVER2_Type Choice of server protocol: •MQTTS for AWS IoT: MQTTS server on “AWS IoT” Address SERVER2_Address IP address or server name contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 117 KeepAlive, the hub will automatically reconnect to the MQTT server. Data topic MQTT2_Topic Name of the topic for the data deposited by the concentrator. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 118 If a topic name is entered, the concentrator remains in permanent connection mode with the MQTTS server. AWS IoT MQTTS is only available on server 2 (backup). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 119 DESCRIPTION INTERFACE configuration file Interface SERVER2_Interface Choice of the network interface to be used by the server: •Ethernet (see chapter 3.2.2.3: “Networks”) •Modem (see chapter 3.2.2.4: “Modem”) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 120 Customizable unique identifier of the project defined on the MQTT server. This parameter is to be retrieved from your MQTT server and corresponds to “projectId” on Google Cloud IoT. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 121 •2: Not managed by the Google Cloud IoT MQTTS server contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 122 If a topic name is entered, the concentrator remains in permanent connection mode with the MQTTS server. The Google Cloud IoT MQTTS is only available on server 2 (backup). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 123 Choice of server protocol: •MQTTS for Azure IoT Hub: MQTTS server on “Azure IoT Hub” Address SERVER2_Address IP address or server name Port MQTT2_Port MQTT server port (default 8883) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 124 MQTT server. This parameter is to be retrieved from your MQTT server and corresponds to “device_id” on Azure IoT Hub. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 125 •Checked: Activates the publication of alarms. The concentrator remains in permanent connection mode with the MQTTS server. Azure IoT Hub MQTTS is only available on server 2 (backup). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 126 0 = no schedules Schedules are only defined for one day, if the settings exceed one day, only the schedules that do not exceed 23H59 will be taken into account. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 127 For a regular file upload every Sunday at midday, the schedule should be configured as follows: 3.2.2.6 Date & Time The “Date & Time” part is used to configure the concentrator’s date and time and the NTP servers. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 128 For example, if you select the “(GMT+01:00) Europe: Brussels, Copenhagen, Madrid, Paris” time zone, the concentrator will indicate: 15/02/2021 15:03 UTC+1. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 129 (GMT+08:00) Taipei (GMT+09:00) Osaka, Sapporo, Tokyo (GMT+09:00) Seoul (GMT+09:30) Darwin (GMT+10:00) Brisbane, Sydney (GMT+10:00) Guam, Port Moresby (GMT+10:30) Adelaide (GMT+11:00) Noumea (GMT+11:00) Magadan, Solomon Islands (GMT+13:00) Auckland, Wellington contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 130 The use of a specific NTP server is strongly recommended. Contact an NTP server portal or supplier. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 131 The concentrator time can be synchronised with the PC time by clicking the “Set time from PC” button. The time zone configured in the concentrator is then applied. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 132 Return to factory settings” ) or by the “Factory Reset” button (see chapter 2.4.3.2: “Factory Reset button”). 3.2.3 System All the system settings are grouped together on the “System” tab. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 133 The only way to import a new script into the concentrator is using the local web site. To do that, click the “Select your script file” zone as shown below. A dialogue window is displayed to select the file to import. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 134 Note that the scripts are imported stopped, this means they are not started automatically. The information displayed on the web page comes from the script, in particular the “header” section. Indeed the “ControlPower.lua” script starts with the following sequence: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 135 When the script is disabled, its status is greyed out and “Disabled” is displayed. When the script is enabled, its status is black and “Enabled” is displayed. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 136 The log file is displayed by pressing the view button: Pressing the button displays the following page: The page is closed by pressing the cross at the top right indicated above in the circle. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 137 When the user clicks this button, the script is loaded directly into the browser downloads directory using the name in the “Name” field followed by the “.lua” suffix. There is no confirmation message. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 138 • Click the “Select your firmware file” field. A window opens used to select the new firmware. • Select the “wgapp_x.x.x.xxxxx.spm” firmware that has a “.spm “ extension. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 139 Do not disconnect the concentrator and avoid operations on it during its update. If an error occurs during the update, the concentrator will keep its previous operational firmware. In that case, repeat the update procedure exactly as indicated. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 140 SD card. Also, the directories on the SD card not being configurable, the tree structure must respect the following format: • /CONFIG • /ALARM contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 141 It should be noted that the command files (CMD) present on the SD card are not processed on the SD card by the concentrator. Webdyn does not provide any SD card. Please contact a computer hardware retailer. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 142 You can configure your concentrator remotely from your server. This is only possible if your WebdynSunPM is properly configured to upload and synchronise its configuration on this one. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 143 Contains the log and debug files. The log file has the following format: <uid>_LOG_<timestamp>.log.gz The debug file has the following format: <uid>_ SYSTEME_<timestamp>.tar.gz /BIN Read Contains the update files. The concentrator update has the following format: wgapp_<version>.spm contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 144 The concentrator manages different formats depending on the file type. They can be grouped by extension: EXTENSION FILE TYPE DESCRIPTION .ini •Concentrator configuration file Configuration file in a data format •Connection schedule file •Data file (compressed) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 145 On the next connection to the server, the concentrator will carry out 2 steps: • Download the configuration file available on the server. • Apply the new configuration. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 146 “DEF” directory on the server. It is also possible to build your own definition file or to modify the automatically generated one. A new definition file or a modification to one of the definition files is automatically retrieved by the contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 147 • <interface>: the interface name from the following list: • TIC • IO • MODBUS • <timestamp>: The timestamp format is “YYMMDD_HHMMSS” so that an alphabetical sort of the directory gives the chronological order contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 148 • Blue: device-specific information or data. Where: • fileDefinitionName: definition file name for the Inputs/Outputs 4.1.3.2 Device Header (Modbus, inverters) The device data file header is the following: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 149 The min, max and mean values are reported. The instant value is reported. The instant value is reported and and alarm is generated every time the value changes. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 150 Input/Output (IO): Example of an IO data file with an acquisition frequency of every 10 seconds: • Input/Output Configuration: INPUT/OUTPUT “ACTION” CODE DISPLAY Instant value None Instant value contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 151 Example of a device data file with an acquisition frequency of every 10 minutes: • Device 1 index configuration: INDEX “ACTION” CODE DISPLAY Parameter value None 3-11 Instant value Instant value contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 152 The value of an alarm type input has + Value changed MODBUS Definition file name + Index The value of an alarm type index has + Value changed contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 153 Y. For the format, see variables FTP_ EuroDateFormat, FTP2_EuroDateFormat, HTTP_EuroDateFormat and HTTP2_EuroDateFormat in section 3.2.2.5: “Servers”. • info_X: Information on alarm X. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 154 A and B and the unit for each input or index. (see section “2.2. Definition File Content”). Example of a MODBUS alarm file: 21/02/12-07:00:19 MODBUS MODBUS_DELTA_M88H-COM1.20-Sunspec.csv OndA 0.000000 21/02/12-07:00:49 MODBUS MODBUS_DELTA_M88H-COM1.20-Sunspec.csv OndA 3.000000 contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 155 Examples: wgapp_3.2.9.34734.spm To perform the update, follow the procedure described in chapter 6.2: “By FTP/SFTP/WebDAV”). After applying the update, it is possible to delete the firmware file. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 156 Every time the concentrator connects to a server, either by modem or Ethernet, all operations are saved for future viewing. When the connection is forced by the local web interface, a window is displayed showing all ongoing operations as shown below: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 157 2021-02-11 14:25:21:WPM00BDE4_scl.ini: Action=Get remote file. Result=Success 2021-02-11 14:25:24:Sending WPM00BDE4_SYSTEM_210211_142521.tar.gz First features the information on the concentrator software version, then the connection to the NTP server for time synchronisation. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 158 It then indicates that file “WPM00BDE4_SunSpec_inverter_SMA_Solar_Inverter_9301_modbusTCP.csv” was modified on the remote server. It is then retrieved, read and imported locally: 2021-02-11 14:25:17:Checking WPM00BDE4_SunSpec_inverter_SMA_Solar_ Inverter_9301_modbusTCP.csv 2021-02-11 14:25:17:Getting remote changes contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 159 It also indicates that file “WPM00BDE4_daq.csv” was sent to the remote server. The log file ends by indicating that the system log files were sent: 2021-02-11 14:25:24:Sending WPM00BDE4_SYSTEM_210211_142521.tar.gz contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 160 Note that script log files are in “CSV” format so that they can be imported to spreadsheet software. 4.1.8.3 SunSpec Detection Logs During a SunSpec detection, the detection result is displayed on the local web page as it progresses: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 161 21/02/11-17:28:07;End of SunSpec detection on ethernet1. 1 devices found. Note that the SunSpec log files are in “CSV” format so that they can be imported to spreadsheet software. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 162 • An application identification: Unique identifier of the server allowing to have its own application space. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 163 Unlike the FTP/SFTP server, the data deposited on the MQTT/MQTTS server is formatted and takes into account the coefficients A and B defined as well as the unit defined for each variable. (see chapter 3.1.2.2.2: “Content of the definition file”). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 164 The data in the device or interface data file is in the following JSON format: “DAQ_Name_eqp_1”:[ “DEF_Name_var_1_eqp_1”:var_1_value_1_eqp_1, “DEF_Name_var_2_eqp_1”:var_2_value_1_eqp_1, “DEF_Name_var_X_eqp_1”:var_X_value_1_eqp_1, “date”:”YY/MM/DD-hh:mm:ss”, “timestamp”:value_timestamp_1_eqp_1 “DEF_Name_var_1_eqp_1”:var_1_value_Z_eqp_1, “DEF_Name_var_2_eqp_1”:var_2_value_Z_eqp_1, “DEF_Name_var_X_eqp_1”:var_X_value_Z_eqp_1, “date”:”YY/MM/DD-hh:mm:ss”, “timestamp”:value_timestamp_Y_eqp_1 “DAQ_Name_eqp_N”:[ “DEF_Name_var_1_eqp_N”:var_1_value_1_eqp_N, “DEF_Name_var_2_eqp_N”:var_2_value_1_eqp_N, “DEF_Name_var_X_eqp_N”:var_X_value_1_eqp_N, “date”:”YY/MM/DD-hh:mm:ss”, “timestamp”:value_timestamp_1_eqp_N “DEF_Name_var_1_eqp_N”:var_1_value_Z_eqp_N, “DEF_Name_var_2_eqp_N”:var_2_value_Z_eqp_N, “DEF_Name_var_X_eqp_N”:var_X_value_Z_eqp_N, “date”:”YY/MM/DD-hh:mm:ss”, “timestamp”:value_timestamp_Y_eqp_N contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 165 Example of an equipment data file with an acquisition period every 10 minutes: • Parameterization of the indexes of device 1 (modbusTCP): Index Code « Action » Display Parameter value 3-11 Instant value Instant value contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 166 “var_10”:0, “var_11”:0, “var_12”:0, “date”:”21/02/05-09:50:00”, “timestamp”:1612515000000 “var_1”:35, “var_3”:57, “var_4”:5, “var_5”:108, “var_6”:1, “var_7”:10, “var_8”:0, “var_9”:0, “var_10”:0, “var_11”:0, “var_12”:1, “date”:”21/02/05-10:00:00”, “timestamp”:1612515600000 “SMANET”:[ “var_1”:[16,32,26.00], “var_2”:[52,58,51.00], “date”:”21/02/05-09:50:00”, “timestamp”:1612515000000 “var_1”:[4,6,5.50], “var_2”:[102,105,103.00], “date”:”21/02/05-10:00:00”, “timestamp”:1612515600000 contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 167 Instant value • MQTT data file in JSON format: “IO”:[ “var_1”:0, “var_3”:0, “var_4”:5, “var_5”:1, “var_6”:[130,170,150], “var_7”:5, “var_8”:0, “date”:”21/02/05-09:50:00”, “timestamp”:1612515000000 “var_1”:0, “var_3”:1, “var_4”:2, “var_5”:2, “var_6”:[120,160,140], “var_7”:3, “var_8”:0, “date”:”21/02/05-10:00:00”, “timestamp”:1612515600000 contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 168 The format of alarm data in JSON format is as follows: “alarms”:[ “defName”:defName_alarms, “deviceName”:deviceName_alarms, “source”:source_alarms, “value”:value_alarms, “variableIndex”:variableIndex_alarms, “date”:”YY/MM/DD-hh:mm:ss”, “timestamp”:value_timestamp_alarms “alarmsDevice”:[ “type”:type_alarmsDevice, “info”:info_alarmsDevice, “date”:”YY/MM/DD-hh:mm:ss”, “timestamp”:value_timestamp_alarmsDevice contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 169 • timestamp: Timestamp of the alarm in UTC+0. Number of milliseconds elapsed since January 1, 1970. Example of an alarm on a device: “alarms”:[ “defName”:”WPM00C44F_SunSpec_inverter_SMA_Solar_Inverter_9301_ modbusTCP.csv”, “deviceName”:”modbusTCP”, “source”:”MODBUS”, “value”:”106”, “variableIndex”:3, “date”:”21/02/05-09:50:00”, “timestamp”:1612515000000 “alarmsDevice”:null contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 170 • password_value: Password for the FTP/SFTP server. The field must be “null” for an FTP/SFTP server. • checksum_value: Checksum of the new firmware in MD5 format to verify its integrity. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 171 The SD card is only read when the hub needs to access it. This means that all the rest of the time it can be removed without any consequences. The information is written as it is securely written to allow safe withdrawal of the card at any time. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 172 The level of use of the SD card can be consulted at any time on the server configuration page in the insert dedicated to the SD card: Webdyn does not provide any SD card. Please contact a computer hardware retailer. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 173 “parameters”:{ <paramètres de la fonction au format json> }, “callerId”:”<identifiant commande 1>” “rpcName”:”<nom du script>.<nom de la fonction>”, “parameters”:{ <paramètres de la fonction au format json> }, “callerId”:”<identifiant commande 2>” … contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 174 • callerId: The same identifier as in the request. So you can associate this answer to its original request. Each entry in the array corresponds to a different command result. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 175 The JSON format used for these messages is the JSON format described in chapter 5.2.1.1: “JSON format of the command file”. An MQTT message can contain only one command or result. Consequently, opening and closing square brackets are not allowed. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 176 Commands Descriptions MQTT/ Command MQTTS file connect Trigger a connection status Hub Status Recovery factory Return to factory settings reboot Restarting the hub updateFirmware Hub software update contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 177 • 1: Using server 1. • 2: Using server 2. Return: • If successful for an SMS command: no return. • If an error is encountered: an explanatory message. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 178 • dns: List of DNS servers used for name resolution for the Ethernet 1 interface. If several DNS servers are configured, they are separated by the ‘/’ character. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 179 • ftp: The server is FTP type. • sftp: The server is SFTP type. • webdav: The server is WebDAV-HTTPS type. • mqtt: The server is of MQTT type. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 180 Resetting the WebdynSun PM. The configuration files as well as the equipment acquisition data are deleted and the product is restarted immediately. Available via SMS only. factory No parameters. Return: • If successful for an SMS command: no return. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 181 • url: URL of the file to retrieve. Accepted protocols are HTTP, HTTPS, FTP, SFTP. The port can be specified using the address:port format. • login: Login. • password: Password. • checksum: MD5 checksum of the file for validity verification. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 182 Available via SMS only. apn=<apn>:<login>:<password> Settings: • aapn: Name of the APN to use for the modem connection. • login: User required for authentication on some APNs. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 183 • modem: Use the modem to establish the connection with the FTP server. The modem must have been configured beforehand. Otherwise, it is possible to use the apn command to configure it by SMS (See chapter 5.3.6: “apn: Modem configuration”). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 184 • If successful for an SMS command: no return. • If an error is encountered: an explanatory message. Example, command file: “rpcName”:”sunpm.log”, “parameters”:{ “interface”:”ethernet”, “duration”:2 “callerId”:”672” “rpcName”:”sunpm.log”, “parameters”:{ “interface”:”ethernet”, “duration”:1 “callerId”:”673” contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 185 • If an error is encountered: an explanatory message. Example SMS : setrelay=pulse 5.3.10 “discoverDevices”: Discovery of equipment Triggers a device discovery. Available via command file (FTP, SFTP or WebDAV), MQTT/MQTTS message and SMS. discoverdevices=<protocol>:<maxDevices>:<interface>:<timeout>:<port> contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 186 Return: • If successful for a JSON command: “OK”. • If successful for an SMS command: no return. • If an error is encountered: an explanatory message. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 187 • If successful for a JSON command: “OK”. • If successful for an SMS command: no return. • If an error is encountered: an explanatory message. Example SMS : writevariable=INV1: writevariable=INV1:setLimit:30 contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 188 If there is an error during the update, it will not be re-attempted. The failure to follow the order of the previously described steps will lead to the failure of the concentrator update. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 189 Failure to follow the order of the steps described in the procedure will lead to a failure of the concentrator update. Webdyn does not provide any SD card. Please contact a computer hardware retailer. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 190 WebdynSunPM definition files. This tool can be downloaded from the Webdyn web server at the following address: www.webdyn.com/ download/DefFileConverter.zip For any questions, contact support: support@webdyn.com contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 191 There are two configuration solutions, using the web interface and using text messages: • Configuration using the web interface: Start by establishing a connection to the concentrator by connecting to it to access the server configuration: contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 192 <server> <login> <password> <port> <interface> • connect: to launch the connection to the FTP server and load the configuration (see section 5.3.1: ““connect” connection command. connect <connection> contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 193 SIM card (see chapter 5.3.3: “Factory return command”). The factory reset restores the original configuration. The data is not kept. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 194 Yes, different Modbus devices can be connected to the same serial port. Device compatibility: • Same type of RS485 or 4 wire connection. • All devices should be able to be configured using identical bus specifications. Same speed, contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 195 WebdynSunPM. • Each device must be assigned a unique Modbus address (between 1 and 247) on the bus. (UnitID). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 196 FTP_DirCert FTP 1 server directory in which the concentrator /CERT will get the certificates to use for MQTT connections. See the MQTT configuration section for more details. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 197 Note that the directory MUST exist. The concentrator will not create it when uploading files. See the section on logs for the different available files (see section “4.1.8 “LOG””). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 198 FTP 1 server. The possible values are: •0: the temporary file is used •1: the temporary file is not used contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 199 FTP 2 server directory to which the concentrator /DATA uploads the data files collected during operation. Note that the directory MUST exist. The concentrator will not create it when uploading files. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 200 The password configured for the login configured in the “FTP2_Login” parameter to connect to server FTP 2. FTP2_Port The network port to use to connect to the FTP 2 server. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 201 This parameter is to be retrieved from your MQTT server and corresponds to: •“deviceId” on Google IoT Cloud. •“device_id” on Azure IoT Hub. Functional only for “mqtts_gcloud” and “mqtts_ azure” types contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 202 If a topic name is entered, the concentrator remains in permanent connection mode with the MQTT server. Works for all MQTT types except “mqtts_azure” contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 203 FTP or by the web interface. Works for all MQTT types except “mqtt” MQTT2_Login Username to access the MQTT server. Functional only for “mqtt” and “mqtts” types contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 204 Functional only in QoS 1 or QoS 2. MQTT2_TlsVersion TLS version supported by the MQTT server. tlsv1.2 The possible values are: •tlsv1.1: TLS in V1.1 •tlsv1.2: TLS in V1.2 Functional only for “mqtts” type contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 205 Note that the directory MUST exist. It will not be created by the hub during file uploads. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 206 Specifies the format to use for the timestamp of data sent to the WebDAV-HTTPS server 1. The possible values are: •0: ISO format is used (YY/MM/DD-HH:MM:SS) •1: the European format is used (DD/MM/YY- HH:MM:SS) contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 207 WebDAV-HTTPS 2 server directory where the /CERT hub will look for certificates to use for MQTT connections. See the section on WebDAV server configuration for more details. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 208 If a file is modified on the server, it is uploaded to the hub on the next connection. If a file is added to the server, it is ignored. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 209 (see section “4. System logs”). The values will be given by Webdyn support if needed. NTP_Server1 1st server to query to set the date/time. (factory value: pool.ntp.org). contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 210 The remote server address to use to connect to Server 2. This address can be a name if the DNSs are properly configured or an IP address. This value is mandatory. contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 211 9.2 Appendix B: Time zone list The list of authorised values for the “NTP_TimeZone” parameter is the following: (GMT-11:00) Midway Island, Samoa (GMT-10:00) Honolulu (GMT-10:00) Tahiti (GMT-09:30) Marquesas (GMT-09:00) Anchorage contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 212 (GMT+03:00) Moscow, St. Petersburg, Volgograd (GMT+03:00) Kuwait, Riyadh (GMT+04:00) Abu Dhabi, Dubai, Muscat (GMT+04:00) Baku, Tbilisi, Yerevan (GMT+04:30) Kabul (GMT+05:00) Karachi (GMT+05:00) Tashkent (GMT+05:30) Kolkata (GMT+05:45) Katmandu (GMT+06:00) Astana, Dhaka contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 213 (GMT+08:00) Taipei (GMT+09:00) Osaka, Sapporo, Tokyo (GMT+09:00) Seoul (GMT+09:30) Darwin (GMT+10:00) Brisbane, Sydney (GMT+10:00) Guam, Port Moresby (GMT+10:30) Adelaide (GMT+11:00) Noumea (GMT+11:00) Magadan, Solomon Islands (GMT+13:00) Auckland, Wellington contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...
  • Page 214 Av. Coronel Eduardo Galhardo 7-1ºC 1170-105 Lisbon Phone: +351.218162625 Email: comercial@lusomatrix.pt TAIWAN 5F, No. 4, Sec. 3 Yanping N. Rd. Datong Dist. Taipei City, 103027 Phone: +886.965333367 Email: contact@webdyn.com contact@webdyn.com | webdyn.com V2.05 subject to changes | Webdyn © by Flexitron Group...

Table of Contents