![Lightware MMX4x2 Series Скачать руководство пользователя страница 33](http://html1.mh-extra.com/html/lightware/mmx4x2-series/mmx4x2-series_user-manual_1915430033.webp)
4. Device Concept
MMX4x2 series – User's Manual
33
Applied firmware package: v1.6.0b19 | LDC software: v2.5.13b5
4.11.
RS-232 Serial Interface
4.11.1.
Technical Background
ATTENTION!
Only MMX4x2-HT200 model has TPS serial link port.
Serial data communication can be established via the local RS-232 port (Phoenix connector) or via the TPS
port. The RS-232 ports – which are connected to the CPU – can be configured separately (e.g. if the Baud
rates are different, the CPU does the conversion automatically between the ports). The RS-232 port can be
switched to Control mode, Command Injection mode, or can be disconnected; see the figure below.
Block diagram of the MMX4x2-HT200 serial interface
The following settings are defined:
1
The serial port is in
Control mode
.
2
The serial port is in
Command Injection
mode
.
3
The serial port is
Disconnected
.
INFO:
All settings are available in the LDC software, see details in the
section.
Only one mode can be used at a time: Control mode, or Command Injection mode, or can be disconnected.
You can set different modes for the TPS serial link and local RS-232 port.
Control Mode
The incoming data from the given port is processed and interpreted by the CPU. The mode allows to control
the matrix directly. LW2 or LW3 protocol commands are accepted – depending on the current port setting.
Command Injection Mode
In this mode, the matrix works as a TCP/IP <-> RS-232 bidirectional converter. The TCP/IP data signal is
converted to RS-232 data and vice versa. TCP/IP port numbers are defined for the serial ports (TPS and
local) for this purpose. E.g. the default Command Injection port number of the local RS-232 port is 8001. If
data is coming from the TPS interface which is addresses to the port no. 8001, it will be transmitted to the
Tx pin of the local RS-232 port. This also works in the opposite direction of course, and the method is the
same on the serial interface of the TPS port as well.
RS-232 Signal Transmission – Example
The following ways are available for controlling the devices:
▪
The
System controller
can send TCP messages to the IP:port address of the
Matrix
. In this case, the
control is one-way, the System controller sends commands to the
HDTV
. You can see the details about
▪
The
System controller
sends messages over the LAN port of the
Matrix
to the given port number. The
Matrix converts the incoming TCP messages to RS-232 commands and transmits over the local
RS-232 port to the
HDTV
. The local RS-232 port has to be set to Command Injection mode. In this case
the direction of the communication is bi-directional between the Matrix and the System controller, so
the answer of the HDTV is received by the System controller.