
Programming AMX Controllers for a Kaleidescape System
Kaleidescape recommends using TCP/IP over Ethernet for control connection in
most cases. TCP/IP over Ethernet offers several advantages over RS-232:
Very high bandwidth compared to RS-232
Error detection and correction
Standard Cat5/5e/6 cable and pinout (simple standard termination) usage
Longer cable runs possible
Only a single network port required
No extra COM port cards needed
Bandwidth can be a key issue, especially in multi-zone systems. Text-based
feedback from several zones can cause noticeable response latency over an RS-232
connection.
There are some installations that require RS-232. If controlling the power state of
an older Movie Player is an issue, RS-232 might be the only option. M-Class
players, the 1080p Player, 1080p Mini Player, Movie Player 2, Music Player, Cinema
One, and Alto can be powered on from TCP/IP over Ethernet commands. For more
information on controlling power states, see Power control on page 33.
The AMX module must be passed to a device for communication. This device can
be a physical RS-232 port (for example, 5001:1:0), or a virtual master port (for
example, 0:4:0). The module interprets a nonzero device number as an RS-232 port,
and a zero device number as a master port for TCP/IP communications. If the
communication device is an RS-232 port, the module sets the baud rate to match
the default baud rate of the Kaleidescape player. If the program sends a new baud
setting to any of the virtual devices, the module uses that new baud setting instead.
The module manages the IP connection through a master port, establishing the
connection and attempting to restore the connection if the connection fails.
Note: Connection settings are sent through any ONE of the defined virtual
devices. This device only needs to be set ONCE for the entire module, not
once per virtual device.
Inform the module that the RS-232 connection is using a nonstandard baud rate by
using the following command.
send_command KPLAYER1, 'SET BAUD 38400,N,8,1'
The module uses this string when the port comes online. Any command that starts
with SET BAUD is recognized as a port instruction. Do NOT send this command to
more than one virtual device. Send only once for each module.
The module can also be informed which IP address to use for connection with the
following command.
send_command KPLAYER1, 'IP 192.168.1.60'
Komentarze do niniejszej Instrukcji