TCP Message Recognizer
DIFFERENCE:
#tcprecognizer #message
Preparation
Step 1.
Step 2. DelimiterHex and the TimeOut
Step 3.
Step 4.
Working Method
▪ The set DelimiterHex
▪ The set TimeOut
DelimiterHex is detected
later, or the TimeOut parameter is set meanwhile, the data appears in the Rx, RxHex, Hash and ActiveRx,
ActiveRxHex, ActiveRxHash properties.
Setting the IP Address of the TCP Server
Command and Response
ç )
æ )
Parameters
The
Example
ç
æ
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
*
Command and Response
ç )
æ )
Example
ç
æ
Connecting to a TCP Server
Command and Response
ç
æ
Example
ç
æ
Disconnecting from a TCP Server
Command and Response
ç
æ
Example
ç
æ
Setting the Delimiter Hex
Command and Response
ç
æ
Parameters
The
Example
ç
æ
...00PWR_0100...
Stored string