HMI commands #Q
Interface settings are done in HMIDesigner. Please open the related project and find the settings under "Hardware" section.
Connect to WiFi (HMI WIFI Connect) |
"SSID string"; "Password string" |
|
Get WiFi list (HMI WIFI List) |
Array-Id (SSID), Array-Id (RSSI), <Callback macro> |
#QWC |
SSID string, Password string |
The command establishes a connection to the selected network. the connection status can be queried with the calculation command plcW(). The return value of the signal strength is coded as follows:
Signal strength |
||
-2 |
RS485 |
|
-1 |
Ethernet |
|
0 |
No connection |
|
1 |
WIFI unusable |
RSSI < -110dB |
2 |
WIFI not good |
RSSI -90dB to -110dB |
3 |
WIFI okay |
RSSI -70dB to -90dB |
4 |
WIFI very good |
RSSI -30dB to -70dB |
5 |
WIFI amazing |
RSSI > -30dB |
#QWL |
Array-Id (SSID), Array-Id (RSSI), Callback macro |
The command scans for all available WiFi networks, stores the result in two arrays (SSID and RSSI) and calls the callback macro at the end. The signal strength is coded as follows:
Signal strength |
||
-2 |
RS485 |
|
-1 |
Ethernet |
|
0 |
No connection |
|
1 |
WiFi unusable |
RSSI < -110dB |
2 |
WiFi not good |
RSSI -90dB to -110dB |
3 |
WiFi okay |
RSSI -70dB to -90dB |
4 |
WiFi very good |
RSSI -30dB to -70dB |
5 |
WiFi amazing |
RSSI > -30dB |