SET_IP "aaa.bbb.ccc.ddd:nnnn"

Purpose To set the IP address of this PLC's built-in Ethernet port.
Examples SET_IP "192.168.1.20:9080"
Comments:
  1. To change the IP address of the PLC's ethernet port, you can load a simple program and run a single custom function containing the SET_IP "IP address:port number " string mentioned above (constant  only, string variable is not accepted). 
  1. For Nano-10 and FMD PLCs,  you should soft-reset or restart (cold boot) the PLC after changing the IP address so that the new IP address will be saved into the virtual EEPROM
  1. The PLC will only assume the new IP address after it has been rebooted (via the RESTART command or power-on reset).
  2. This command is ignored by i-TRiLOGI  simulator.

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