Programming
15
NXC-ME260 NetLinx Master-Ethernet Card/Module
Programming
The NetLinx programming language allows numbers in the range 0-32,767. Device 0 refers to the
Master Card; numbers greater than 32,767 are reserved for internal use only.
The NetLinx programming language requires a Device:Port:System (D:P:S) syntax where Axcess
expects only a device number. The NetLinx D:P:S triplet variable is expressed as:
DEVICE:PORT:SYSTEM
where:
Program Port Commands
The Program port commands listed in the Program Port Commands table below can be sent directly
to the Master Card using a terminal program (i.e. Telnet). In order for Telnet to be effective, you
must initiate a session with the master. Be sure that your PC's COM port and terminal program's
communication settings match those in the following table.
In your terminal program, type "
Help" or a "?" <Enter> to display the Program port commands
listed below.
• Device: 16-bit integer representing the device number (0-32,767).
0 = the local Master.
• Port: 16-bit integer representing the port number (in the range 1 through the number of
ports on the NetLinx Master or device).
• System: 16-bit integer representing the system number (0 = this system).
PC COM Port Communication Settings
Baud 38400 (default)
Parity none
Data Bits 8
Stop Bits 1
Flow Control none
Program Port Commands
Command Description
ECHO OFF
Disables terminal character's echo (display) function.
ECHO ON
Enables terminal character's echo (display) function.
DATE
Displays the current date and day of the week.
Example:
>DATE
10/31/2001 Wed
Comments to this Manuals