wiki:01_btms:01_bm-gw_web_ui:modbus
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:01_btms:01_bm-gw_web_ui:modbus [2023/03/21 12:06] – removed - external edit (Unknown date) 127.0.0.1 | wiki:01_btms:01_bm-gw_web_ui:modbus [2023/05/26 13:04] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Modbus protocol ====== | ||
+ | |||
+ | BM-GW enables reading of all real-time data via the Modbus TCP/IP protocol. It is intended for the connection of 3rd party control applications (SCADA, BMS, ...) to the BTMS system. The Modbus TCP/IP server is accessible on the WAN (and also LAN) IP address, standard port 502. | ||
+ | |||
+ | ===== UPS data ===== | ||
+ | |||
+ | **ui = UPS index (1-32)** | ||
+ | |||
+ | |< 900pt 150pt 75pt 90pt 50pt 50pt 50pt 100pt >| | ||
+ | ^ var | ||
+ | | ups_status | ||
+ | | ups_voltage | ||
+ | | ups_current | ||
+ | | ups_soc | ||
+ | |||
+ | ===== Strings data ===== | ||
+ | |||
+ | **si = string index (1-32)** | ||
+ | |||
+ | |< 900pt 150pt 75pt 90pt 50pt 50pt 50pt 100pt >| | ||
+ | ^ var ^ unit ID | ||
+ | | string_ups_id | ||
+ | | string_status | ||
+ | | string_voltage | ||
+ | | string_current | ||
+ | | string_soc | ||
+ | | string_balance | ||
+ | | string_state | ||
+ | | string_alarm | ||
+ | | string_cell_count | ||
+ | | string_ambient_temperature | ||
+ | | string_ambient_humidity | ||
+ | | string_relay_status | ||
+ | | string_aux_input_status | ||
+ | |||
+ | ===== Cells data ===== | ||
+ | |||
+ | **si = string index (1..32); ci = cell index (1..120)** | ||
+ | |||
+ | |< 900pt 150pt 75pt 90pt 50pt 50pt 50pt 100pt >| | ||
+ | ^ var | ||
+ | | cell_status | ||
+ | | cell_voltage | ||
+ | | cell_resistance | ||
+ | | cell_temperature | ||
+ | | cell_soc | ||
+ | | cell_soh | ||
+ | | cell_alarm | ||
+ | | cell_remaining_time | ||
+ | |||
+ | ===== Legend ===== | ||
+ | |||
+ | |< 250pt 50pt >| | ||
+ | ^ type || | ||
+ | ^ bit | 1 bit (0..1) | ||
+ | ^ int | 16 bit signed (-32768..32767) | ||
+ | ^ long | 32 bit signed (-2147483648..2147483647) | ||
+ | ^ scale || | ||
+ | ^ 0.01 | 12345 => 123.45 | ||
+ | ^ origin | ||
+ | ^ IC | Internal calculation | ||
+ | ^ SS | String Sensor | ||
+ | ^ MC | Master Controller | ||
+ | |||