Program port commands (cont.) – AMX NETLINX MASTER NXC-ME260 User Manual

Page 21

Advertising
background image

Programming

17

NXC-ME260 NetLinx Master-Ethernet Card/Module

Program Port Commands (Cont.)

Command

Description

DISK FREE

Displays the total bytes of free space available on the Master Card's com-
pact Flash memory.

Example:

>DISK FREE

The disk has 2441216 bytes of free space.

GET IP <D:P:S>

Displays the Master Card's D:P:S, Host Name, Type (DHCP or Static), IP
Address, Subnet Mask, Gateway IP, and MAC Address.

Example:

>GET IP [0:1:50]

IP Settings for 0:1:50

HostName MLK_INSTRUCTOR

Type DHCP

IP Address 192.168.21.101

Subnet Mask 255.255.255.0

Gateway IP 192.168.21.2

MAC Address 00:60:9f:90:0d:39

MEM

Displays the largest free block of Master Card memory.

Example:

>MEM

The largest free block of memory is 11442776 bytes.

MSG ON

or

MSG OFF

MSG On sets the terminal program to display all messages generated by
the Master Card. MSG OFF disables the display.

Example:

> MSG ON

Extended diagnositic information messages turned on.

> MSG OFF

Extended diagnositic information messages turned off.

OFF <D:P:S, channel>

Turns off a channel on a device. The device can be on any system the
Master you are connected to can reach. You can specify the device num-
ber, port, and system, or the name of the device that is defined in the
DEFINE_DEVICE section of the program.

Syntax:

OFF[name,channel]

-or-

OFF[D:P:S,channel]

Example:

>OFF[5001:7:4]

Sending Off[5001:7:4]

ON <D:P:S, channel>

Turns on a channel on a device. The device can be on any system the
Master you are connected to can reach. You can specify the device num-
ber, port, and system; or the name of the device that is defined in the
DEFINE_DEVICE section of the program.

Syntax:

ON[name,channel]

or

ON[D:P:S,channel]

Example:

>ON[5001:7:4]

Sending On[5001:7:4]

Advertising