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

From SoftMC-Wiki
Jump to: navigation, search
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= Sys.IPAddressMask=<''address:mask''><br> System.IPAddressMask=<''address:mask''> System.IPAddressMask=<''dhcp''> ?Sys.IPAddressMask<br> ?…')
 
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:SYSTEM.IPADDRESSMASK}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 15: Line 16:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
AllVersions
+
All versions
  
 
|DESCRIPTION=
 
|DESCRIPTION=
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 Basic Moves Development Studio and the controller. When IP address set to “dhcp” MC will try to connect DHCP server and obtain IP address.
+
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.
 
+
{{Note/Important|
 
+
Manually changing the IP address or mask may stop communication between ControlStudio and the softMC.<br/>
 
+
Upon successful setting of IP address by DHCP server, ControlStudio will not be able to change IP address of controller.
''Manually changing the IP address or mask may stop communication   between Basic Moves Development Studio and the controller.''
+
}}
 
 
''Upon successful setting of IP   address by DHCP server, Basic Moves Development Studio will not be able to   change IP address   of controller.''
 
 
 
 
 
  
 
|TYPE=
 
|TYPE=
Line 42: 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=
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 BASIC Moves Development Studio. This is applicable only for Ethernet interfaces. You must close all open connections before changing the IP address or subnet mask.
+
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.
  
 
|EXAMPLE=
 
|EXAMPLE=
 
?Sys.IPAddressMask<br>
 
?Sys.IPAddressMask<br>
  
sys.IPAddressMask=”212.25.84.109:255.255.255.128”
+
sys.IPAddressMask="212.25.84.109:255.255.255.128"
  
Sys. IPAddressMask=”dhcp”
+
Sys. IPAddressMask="dhcp"
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:ACCEPT|ACCEPT]]
+
* [[MC-Basic:ACCEPT|ACCEPT]]
* [[Axystems:MC-Basic:CLOSE|CLOSE]]
+
* [[MC-Basic:CLOSE|CLOSE]]
* [[Axystems:MC-Basic:CONNECT|CONNECT]]
+
* [[MC-Basic:CONNECT|CONNECT]]
* [[Axystems:MC-Basic:OPENSOCKET|OPENSOCKET]]
+
* [[MC-Basic:OPENSOCKET|OPENSOCKET]]
* [[Axystems: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.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

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"

See Also