UMX-TPS-TX100 series – User's Manual 133
RS-232 Message Recognizer
DIFFERENCE: This feature is available only in UMX-TPS-TX140K and UMX-TPS-TX140-Plus models from
This tool can be used to recognize messages coming from the RS-232 port. The message can be used as a
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.
* In that case, the not-recognized data is kept in the memory (up to 128 bytes). If the DelimiterHex is detected
later, or the TimeOut parameter is set meanwhile, the data appears in the Rx, RxHex, Hash and ActiveRx,
ActiveRxHex, ActiveRxHash properties.
Enable the Recognizer
Command and Response
ç <serial_port>.RecognizerEnable=<recognizer_enable>
æ <serial_port>.RecognizerEnable=<recognizer_enable>
Parameters
Parameter Parameter description
<serial_port> Serial port number
P1, P2
<recognizer_enable> Recognizer mode
true
Recognizer is enabled
false
Recognizer is disabled
Example
ç
æ
#recognizer #rs232recognizer #rs-232recognizer
MESSAGE
saved in Rx property
MESSAGE
MESSAGE
saved in ActiveRx property
ActiveRx property is cleared
ActiveProperty
Timeout
MESSAGE
saved in Rx property
MESSAGE
saved in ActiveRx property
ActiveRx property is cleared
ActiveProperty
Timeout
Delimiter
MESSAGE
TimeOut
with timeout
MESSAGE
no timeout,
no delimiter
*
Set the Delimiter Hex
hex format (e.g.0D, 0A, 20).
Command and Response
ç <delimiter>
æ <delimiter>
Parameters
The <delimiter>hex format.
Example
ç
æ
Set the Timeout
saves the data into the Rx, RxHex, Hash properties. The timeout setting is useful if there is no special or easily
Command and Response
ç <timeout>
æ <timeout>
Parameters
The <timeout> parameter sets the timeout value in milliseconds: 0 means the timeout is disabled, min.
value is 10.
Example
ç
æ
: Login name : ...
Delimiter (hex format: 3A)
Stored string