5. Software Control - Lightware Device Controller
RAP-B511 series
– User's Manual
40
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
RS-232 Message Sending
The message in the field can be sent out via the
current RS-232 port. Response cannot be seen in
the surface.
ATTENTION!
The escaping is done automatically when sending a message via this surface. When the
message is an LW3 command, it has to be closed by Carriage return and Line feed, e.g.: CALL /MEDIA/
VIDEO/XP:switch(I1:O1)\x0d\x0a.
RS-232 Message Recognizer
This tool can be used to recognize messages coming
from the RS-232 port. The message can be used as a
Condition in Event manager and define an Action for it.
Definitions
#message
Delimiter sequence (hex):
Each message is closed by this
separator (if defined).
Accept timeout (ms):
When the set time is elapsed after the
last received message and delimiter was not detected,
the device saves the data into the Text, Hex, and Hash
properties. The timeout setting is useful if there is no
special or easily defined delimiter in the incoming data,
but there is a time gap between the messages.
Text:
The recognized message in ASCII-format.
Hex:
The recognized message in hex format.
Hash:
Binary data that is mapped from the original
message. The length of the hash is shorter, and the same
message results the same hash.
Working Method
A message got recognized from the incoming data, if one
of the following occurs:
▪
The set DelimiterHex is detected in the message, or
▪
The set TimeOut has been elapsed since receiving
the last data bit.
5.5.2.
GPIO
GPIO tab in Control menu
The GPIO port has 3 pins, which operate at TTL digital signal levels and can be controlled by LDC or protocol
commands. Select a GPIO pin and under the Port settings section; the settings (pin direction and input level)
are displayed on the port tiles as well:
1
GPIO pin name
4
High level indicator *
2
GPIO port icon
5
Pin direction:
Input
: down arrow
Output
: up arrow
3
Low level indicator
6
GPIO port number
* Highlighted with black means the current setting.
INFO:
Output level can be set only in case of setting the pin direction to Output. In case of input direction
the output level setting and the Toggle button is not available.
1
2
3
5
4
6