SET_IPAddr dmindex |
Purpose | To set the IP address of this PLC's built-in Ethernet port
using the parameters stored in DM[dmindex] to
DM[dmindex+4]. |
Examples | DM[100] = 192 DM[101] = 168 DM[102] = 1 DM[103] = 101 DM[104] = 9080 SET_IPAddr 100 ' set the IP address to 192.168.1.101:9080 SETSYSTEM 252,0 ' required for Nano-10 and FMD PLCs only RESTART ' power cycle the PLC |
Comments: |
|
See Also | GET_IPAddr, SET_DNS, SET_GATEWAY, SET_SMTP, SET_SUBNET |