Netlinx programming, Device:port:system (d:p:s), Port assignments – AMX MAX-CSE User Manual
Page 81
NetLinx Programming
75
MAX-CSE/MAX-CSD10 Operation/Reference Guide
NetLinx Programming
You can program the MAX unit by using the commands in this section to perform a wide variety of
operations using Send_Commands and variable text commands. A device must first be defined in the
NetLinx programming language with values for the Device: Port: System.
In these programming examples,
Device:Port:System (D:P:S)
NetLinx requires a Device:Port:System (D:P:S) specification. This D:P:S triplet can be expressed as a
series of constants, variables separated by colons, or a DEV structure.
For example:
STRUCTURE DEV
{
INTEGER Number // Device number
INTEGER Port // Port on device
INTEGER System // System the device belongs to
}
The D:P:S notation is used to explicitly represent a device number, port and system. For example,
128:1:0 represents the first port on device 128 on this system. If the system and Port specifications are
omitted, (e.g. 128), system 0 (indicating this system) and port 1 (the first port) is assumed. Here's the
syntax:
NUMBER:PORT:SYSTEM
where:
Port Assignments
The following table outlines the Ports used by the MAX-CSE and MAX-CSD10 by referencing their
Port # assignments:
NUMBER:
16-bit integer represents the device number
PORT:
16-bit integer represents the port number (in the range 1 through the number of
ports on the device)
SYSTEM:
16-bit integer represents the system number (0 = this system)
MAX-CSE Port Assignments
Port/Description
ICSP Port #
Video Encoder
1
RS-232/422/485 Serial Port
2
IR/Serial Port
3
I/O Port
4
IR RX Port
5
LCD Display
6
ALL Commands used on the MAX-CSE are case sensitive and must be entered as
shown within this section.