Difference between revisions of "MC-Basic:SYSTEM.IPADDRESSMASK"
m (note template) |
m (Text replace - "AllVersions" to "All versions") |
||
Line 15: | Line 15: | ||
|AVAILABILITY= | |AVAILABILITY= | ||
− | + | All versions | |
|DESCRIPTION= | |DESCRIPTION= |
Revision as of 14:43, 20 March 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 Basic Moves Development Studio and the controller. When IP address set to “dhcp” MC will try to connect DHCP server and obtain IP address.
IMPORTANT | |
Manually changing the IP address or mask may stop communication between Basic Moves Development Studio and the 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 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.
Examples
?Sys.IPAddressMask
sys.IPAddressMask=”212.25.84.109:255.255.255.128”
Sys. IPAddressMask=”dhcp”