This shows you the differences between two versions of the page.
en:sim:manual:menu_nastaveni:modbus [2018/07/02 12:20] ondra |
en:sim:manual:menu_nastaveni:modbus [2018/08/13 13:08] (current) jitka |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Modbus ===== | ===== Modbus ===== | ||
+ | |||
+ | |||
---- | ---- | ||
- | Solar Monitor používá otevřený komunikační protokol Modbus SunSpec, který odpovídá standardu [[https://sunspec.org/|SunSpec Alliance]]. \\ \\ | + | |
- | V základním nastavení jednotky SM2-MU je Modbus zakázan. | + | |
- | {{ .:modbus_zakazan.png?direct |}} \\ \\ | + | Solar Monitor uses open communication protocol Modbus SunSpec, which meets requirements of [[https://sunspec.org/|SunSpec Alliance]] standard.\\ |
- | Povolte Modbus \\ | + | \\ |
- | {{ .:modbus_nastaveni.png?direct |}} \\ | + | Positive: fast communication |
- | **Port** \\ | + | |
- | Port pro komunikaci zařízení. Jako výchozí hodnota je nastaven port číslo 502. V případě potřeby proveďte změnu. \\ \\ | + | |
- | **Power Control** \\ | + | Negative: communication isn't secured |
- | Zde se nastavuje, čím bude řízen výkon: \\ | + | |
- | //NO// - řízení výkonu prostřednictvím SM2-MU přes modul [[ ..:rozsirujici_moduly:sm2_pc|SM2-PC]]. \\ | + | |
- | //Yes// - řízení výkonu přes Modbus protokol | + | <WRAP info> Maximum number of clients who can send requests to Solar Monitor at the same time is 2 clients. </WRAP> In default setting of SM2-MU Modbus is disabled.\\ |
- | \\ \\ | + | {{ :en:sim:manual:menu_nastaveni:modbus_zakazan.png?direct& }}\\ |
- | **Mode** \\ | + | \\ |
- | Způsob síťové komunikace. \\ \\ | + | Enable Modbus\\ |
- | Po uložení nastavení se otevře komunikace na daném portu. \\ | + | {{ :en:sim:manual:menu_nastaveni:modbus_nastaveni.png?direct& }}\\ |
+ | **Port** \\ | ||
+ | Port for device communication. In default setting there is port 502 (same for TCP or UDP). This port works with packets. Modbus device address is a part of packet. You can change it if you need.\\ | ||
+ | \\ | ||
+ | **Power control** \\ | ||
+ | Select here, which tool will control the output:\\ | ||
+ | //No//- power wil be controlled by SM2-MU via module [[:en:sim:manual:rozsirujici_moduly:sm2_pc|SM2-PC]].\\ | ||
+ | //Yes//- <font 12.8px/arial;;#000000;;#ffffff>power wil be controlled via</font> Modbus protocol.\\ | ||
+ | \\ | ||
+ | **Regime** \\ | ||
+ | Type of network communication.\\ | ||
+ | //TCP// - max. 2 TCP channels, i.e. only PLC devices can be connected at the same time\\ | ||
+ | //UDP// - any number of PLC or programmes can communicate via UDP protocole (e.g. Tecomat Foxtrot)\\ | ||
+ | //UDP & TCP// - only 1 TCP channel and any number of PLC or programmes via UDP protocol\\ | ||
+ | \\ | ||
+ | When you have saved your choice, communication opens at the port.\\ | ||
+ | \\ | ||
+ | Modbus communication can be displayed in application [[http://sunspec.org/download‐sunspec‐dashboard/|SunSpec Dashboard]] (more info and installation conditions to be found [[https://sunspec.org/sunspec-dashboard/|here]]).\\ | ||
+ | \\ | ||
+ | __Example:__ \\ | ||
+ | In Solar Monitor's web interface we can see these devices detected.\\ | ||
+ | {{ :en:sim:manual:menu_nastaveni:sm_detected_devices.png?direct& }}\\ | ||
+ | In SunSpec Dashboard app click on bookmark //Device// and then //Open//.\\ | ||
+ | {{ :en:sim:manual:menu_nastaveni:dashboard.png?direct& }}\\ | ||
+ | \\ | ||
+ | A window with access parameters settings to Solar Monitor will open.\\ | ||
+ | Fill in //IP Address // with Solar Monitor address. Fill in //Slave ID // with number of detected device (e.g. inverter). {{ :en:sim:manual:menu_nastaveni:open_device.png?direct& }}\\ | ||
+ | Application will search the inverter and display blocks which will show values of parameters. Supported versions enable also writing the values.\\ | ||
+ | <WRAP half column> </WRAP> <WRAP half column> {{ :en:sim:manual:menu_nastaveni:common.png?direct& }}</WRAP> <WRAP half column> {{ :en:sim:manual:menu_nastaveni:inverter.png?direct& }}</WRAP> <WRAP half column> {{ :en:sim:manual:menu_nastaveni:controls.png?direct& }}\\ | ||
+ | </WRAP> <WRAP half column> {{ :en:sim:manual:menu_nastaveni:mppt.png?direct& }}\\ | ||
+ | </WRAP> If you want to read the parameters repeatedly, click on //Read // button on dashboard.\\ | ||
+ | For recording values, click on //Write//. | ||
+ | === How to add a file with more definitions of SunSpec model (SMDX). === | ||
+ | |||
+ | |||
+ | In application SunSpec Dashboard click on bookmark //Tools// and then //Model Directories//.\\ | ||
+ | {{ :en:sim:manual:menu_nastaveni:dashboard_tools.png?direct& }}\\ | ||
+ | Click on //Add…//and search for smdx files in your PC.\\ | ||
+ | {{ :en:sim:manual:menu_nastaveni:add_directories.png?direct& }}\\ | ||
+ | Click on OK button.\\ | ||
+ | File will be added to search path of information model. | ||