GET_WIFI_SUBNET  dmindex
Purpose To return the SUBNET address of this PLC's built-in WiFi port and store each '.' separated valued in DM[dmindex] to DM[dmindex+3].
Examples

GET_WIFI_SUBNET 100      'Return the SUBNET address

Assuming the SUBNET address for the WiFi stored in the PLC is 255.255.255.0:

	DM[100]  = 255
	DM[101]  = 255
	DM[102]  = 255
	DM[103]  = 0 
Comments:
  • To retrieve the SUBNET address of a PLC's WiFi port into the variables DM[100] to DM[103] (e.g. to display on a HMI panel), you can invoke a function that runs GET_WIFI_SUBNET.
  • This command is ignored by i-TRiLOGI  simulator.
See Also SET_WIFI_SUBNET
GET_WIFI_IPAddr, GET_WIFI_DNS, GET_WIFI_GATEWAY, GET_WIFI_MACID,
SET_WIFI_IPAddr, SET_WIFI_DNS, SET_WIFI_GATEWAY

backbutton.gif (507 bytes)  Basic to TBASIC Reference Manual