![Galil Motion Control DMC-40x0 Series Скачать руководство пользователя страница 229](http://html1.mh-extra.com/html/galil-motion-control/dmc-40x0-series/dmc-40x0-series_command-reference-manual_558773229.webp)
DMC-40x0 Command Reference
SM • 219
SM
FUNCTION:
Subnet Mask
DESCRIPTION:
The SM command assigns a subnet mask to the controller. All packets sent to the controller
whose source IP address is not on the subnet will be ignored by the controller. For example,
for SM 255, 255, 0, 0 and IA 10, 0, 51, 1, only packets from IP addresses of the form
10.0.xxx.xxx will be accepted.
ARGUMENTS:
SM sm0, sm1, sm2, sm3 or
SM n
where
sm0, sm1, sm2, sm3 are 1 byte numbers (0 to 255) separated by commas and represent the
individual fields of the subnet mask.
n is the subnet mask for the controller, which is specified as an integer representing the signed 32
bit number (two’s complement).
SM? will return the subnet mask of the controller
USAGE: DEFAULTS:
While Moving
Yes
Default Value
SM 0, 0, 0, 0
In a Program
Yes
Default Format
Command Line
Yes
OPERAND USAGE:
_SM0 contains the subnet mask representing a 32 bit signed number (Two’s complement)
RELATED COMMANDS:
Handle
address
EXAMPLES:
SM 255, 255, 255, 255
Ignore all incoming Ethernet packets
SM 0, 0, 0, 0
Process all incoming Ethernet packets
Содержание DMC-40x0 Series
Страница 2: ......
Страница 4: ......
Страница 10: ...vi i Table of Contents DMC 40x0 Command Reference This Page is Left Blank Intentionally ...