GET_WIFI_IPADDR  dmindex
Purpose To read the IP address settings of this PLC's WiFi port as well as FServer port number and store each '.' separated valued and the FServer port number in DM[dmindex] to DM[dmindex+4].
Examples

GET_WIFI_IPADDR 100    'Return the WiFi IP address and FServer port number settings

Assuming the IP address stored in the PLC is 192.168.1.101 and the port number is 9080. After you have run the above example DM[100] to DM[104] will be assigned the values as shown below:

	DM[100]  = 192
	DM[101]  = 168
	DM[102]  = 1
	DM[103]  = 101
	DM[104]  = 9080
Comments:
  • To read the IP address configuration setting of a PLC's WiFi port and the FServer port number into the variables DM[100] to DM[104] (e.g. to display on a HMI panel), you can invoke a function that runs GET_IPADDR.
  • This command is ignored by i-TRiLOGI  simulator.
See Also SET_WIFI_IPADDR
GET_WIFI_DNS, GET_WIFI_SUBNET, GET_WIFI_GATEWAY, GET_WIFI_MACID,
SET_WIFI_DNS, SET_WIFI_SUBNET, SET_WIFI_GATEWAY,

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