5. Device Concept
UCX series – User's Manual
43
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
5.9.
Serial Interface
Serial data communication can be established via the local RS-232 port (Phoenix connector).
#new
Summary of Serial Ports
RS-232
UCX-2x2-H30
2x
UCX-2x1-HC30
1x
UCX-4x2-HC30
2x
UCX-4x2-HC30D
2x
5.9.1.
Serial Port Diagram
The UCX switcher works as an RS-232 bi-directional converter. The TCP signal is converted to RS-232 data
and vice versa. TCP/IP port numbers are defined for serial ports (8001, 8002) for this purpose. If a command
is coming from the Ethernet interface which addresses to the port no. 8001, it will be transmitted to the Tx
pin of the local RS-232 port (P1). That works in the opposite direction of course and the method is the same
on the serial interface of the Ethernet port as well, but the serial message will be transmitted to all opened
TCP socket (if the TCP connection closed meanwhile, the message will not transmitted). It handes with max.
20 connection in the same time.
Disable
Serial over IP
function disconnects the Serial/TCP converter from the Ethernet layer and the serial data
won't be transmitted to the Ethernet network. This setting is available in Lightware Device Controller software
(in Setting menu,
tab) or with LW3 protocol command (
Enable/Disable Network Service Port
The switcher can manage maximum 20 pcs connected clients at the same time for each serial port.
Ethernet
RS-232
Local serial/
TCP
converter
Message Sending Function
Message sending function allows RS-232 command sending to a third-party (or a Lightware) device from
the Taurus UCX series. Any format is acceptable (text, binary, hexadecimal,etc.), maximum message size
is 100Kb. Escaping is unnecessary. Serial message sending is possible by using HTTP Post with Lightware
REST API.
ɯ
header:
POST·http://
<ip>
/api/V1/MEDIA/SERIAL/
<serial_port>
/send·HTTP/1.1
ɯ
body:
<message>
<serial_port>
is P1 or P2.
The MP1 (CPU) is available over REST API interface. The MP1 (CPU) sends the message via the serial port,
to a third-party (or a Lightware) device. This is a one-way communication, the response will not be interpreted
by the CPU. Consider using Serial over IP function instead if listening to a serial device is important.
#new
For more details about the Lightware REST API see
chapter.
Serial Options - Example
External Controller Concept
The projector is turned on and off by the external System Controller. The
System controller
has an internal
REST API client which is connected to the UCX switcher. It sends a HTTP POST to the
UCX-4x2-HC30D
. The
Switcher
sends a serial message over the P1 port to the
Projector
.
Security:
When the interpreting of the response from the projector is necessary, serial over IP port (8001 or
8002) can be enabled, in this case, the 8001 or 8002 ports are available from other devices, too and it makes
the system unsecured.
Ethernet
RS-232
MP1(CPU)
REST API
serial message
sending