Programming

Configuration Port Commands (Cont.)

Command

Description

 

 

PULSE <D:P:S, or NAME,

Pulses a channel on a device on and off. The device can be on any

CHAN>

system the Master you are connected to can reach. You can specify the

 

device number, port, and system; or the name of the device that is defined

 

in the DEFINE_DEVICE section of the program.

 

Example:

 

>PULSE[50001:8:50,1]

 

Sending Pulse[50001:8:50,1]

 

 

PWD

Displays the name of the current directory.

 

Example:

 

pwd

 

The current directory is doc:

 

 

REBOOT <D:P:S>

Reboots the Master or specified device.

 

Example:

 

>REBOOT [0:1:0]

 

Rebooting...

 

 

RELEASE DHCP

Releases the DHCP setting for the Master.

 

Example:

 

>RELEASE DHCP

 

The Master must be rebooted to acquire a new DHCP lease.

 

 

ROUTE MODE DIRECTNORMAL

Sets the Master-to-Master route mode:

 

• Normal mode - allows a Master to communicate with any Master

 

accessible via the routing tables (shown with the SHOW ROUTE

 

command). This includes a directly-connected Master (route metric =1)

 

and indirectly connected masters (route metric greater than 1, but less

 

than 16).

 

• Direct mode - allows communication only with masters that are directly

 

connected (route metric = 1). Indirectly connected masters cannot be

 

communicated within this mode.

 

Examples:

 

>ROUTE MODE DIRECT

 

Route Mode "Direct" Set

 

>ROUTE MODE NORMAL

 

Route Mode "Normal" Set

 

 

SEND_COMMAND D:P:S or

Sends a specified command to a device. The device can be on any sys-

Name,Command

tem the Master you are connected to can reach. You can specify the

 

device number, port, and system; or the name of the device that is defined

 

in the DEFINE_DEVICE section of the NetLinx Program. The data of the

 

string is entered with NetLinx string syntax. The Command uses the fol-

 

lowing NetLinx string syntax:

 

Example:

 

>Ex: send_command 1:1:1,"'This is a test',13,10"

 

Ex: send_command RS232_1,"'This is a test',13,10"

 

 

SEND_STRING D:P:S or

Sends a string to a device. The device can be on any system the Master

Name,String

you are connected to can reach. You can specify the device number, port,

 

and system; or the name of the device defined in the DEFINE_DEVICE

 

section of the NetLinx Program. The data of the string is entered with

 

NetLinx string syntax.

 

 

144

NI-3101-SIG Signature Series NetLinx Integrated Controller

Page 150
Image 150
AMX NI-3101-SIG manual Pulse DPS, or Name, Pwd, Name,Command, Name,String