MC-Basic:SYSTEM.IPADDRESSMASK

From SoftMC-Wiki
Revision as of 14:43, 20 March 2014 by Lisa (talk | contribs) (Text replace - "AllVersions" to "All versions")
Jump to: navigation, search

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.svgIMPORTANT

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.

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”

See Also