MMX8x4-HT series – User's Manual 132
RS-232 Message Recognizer
Working Method
▪ The set DelimiterHex is detected in the message, or
▪ The set TimeOut has been elapsed since receiving the last data bit.
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>
æ <serial_port>
Parameters
Parameter Parameter description
<serial_port> Serial port number
P1, P2
true
false
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> parameter can be max. 8-character long (or 16 hex digit) in 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 milli seconds: 0 means the timeout is disabled, min.
value is 10.
Example
ç
æ
: Login name : ...
Delimiter (hex format: 3A)
Stored string