Difference between revisions of "MC-Basic:SYSTEM.IPADDRESSMASK"
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:SYSTEM.IPADDRESSMASK}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 38: | Line 39: | ||
|SCOPE= | |SCOPE= | ||
Set in Configuration only, Query in Task or Terminal | Set in Configuration only, Query in Task or Terminal | ||
+ | |||
+ | Up to 0.4.9.11 MC version it's possible to set system.IPAddressMask from *.PRG task also | ||
|LIMITATIONS= | |LIMITATIONS= | ||
Line 45: | Line 48: | ||
?Sys.IPAddressMask<br> | ?Sys.IPAddressMask<br> | ||
− | sys.IPAddressMask= | + | sys.IPAddressMask="212.25.84.109:255.255.255.128" |
− | Sys. IPAddressMask= | + | Sys. IPAddressMask="dhcp" |
|SEE ALSO= | |SEE ALSO= | ||
Line 56: | Line 59: | ||
* [[MC-Basic:PING|PING]] | * [[MC-Basic:PING|PING]] | ||
− | + | [[Category:MC-Basic:System|MC-Basic:System]] | |
}} | }} |
Latest revision as of 05:51, 2 May 2017
Language: | English • 中文(简体) |
---|
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 | |
Manually changing the IP address or mask may stop communication between ControlStudio and the softMC. |
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
Up to 0.4.9.11 MC version it's possible to set system.IPAddressMask from *.PRG task also
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"