Difference between revisions of "MC-Basic:SYSTEM.IPADDRESSMASK"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:SYSTEM.IPADDRESSMASK to MC-Basic:SYSTEM.IPADDRESSMASK: Global renaming of Axystems: namespace into (Main):)
m
Line 56: Line 56:
 
* [[MC-Basic:PING|PING]]
 
* [[MC-Basic:PING|PING]]
  
 
+
[[Category:MC-Basic:System|MC-Basic:System]]
 
}}
 
}}

Revision as of 14:26, 28 May 2014

Sets or queries the IP address and subnet mask for the Ethernet interface. The system performs a primary test to ensure that the address and subnet mask match. Manual changing of the IP address or subnet mask may stop communication between ControlStudio and the softMC. When IP address is set to “dhcp”, softMC will try to connect DHCP server and obtain IP address.

IMPORTANT.svgIMPORTANT

Manually changing the IP address or mask may stop communication between ControlStudio and the softMC.
Upon successful setting of IP address by DHCP server, ControlStudio will not be able to change IP address of controller.

Syntax

Sys.IPAddressMask=<address:mask>

System.IPAddressMask=<address:mask>

System.IPAddressMask=<dhcp>

?Sys.IPAddressMask

?System.IPAddressMask

Availability

All versions

Type

String

Scope

Set in Configuration only, Query in Task or Terminal

Limitations

Set from Config.prg. Changing of the IP address and/or subnet mask from the terminal may lead to a lost connection between the controller and ControlStudio. This is applicable only for Ethernet interfaces. You must close all open connections before changing the IP address or subnet mask.

Examples

?Sys.IPAddressMask

sys.IPAddressMask=”212.25.84.109:255.255.255.128”

Sys. IPAddressMask=”dhcp”

See Also