MMX8x4-HT series – User's Manual 139
Command and Response
ç <loc>.ServerPort(<port_no>)
æ <loc>.ServerPort(<port_no>)
Example
ç
æ
Connecting to a TCP Server
Command and Response
ç <loc>:connect()
æ <loc>:connect
Example
ç
æ
Disconnecting from a TCP Server
Command and Response
ç <loc>:disconnect()
æ <loc>:disconnect
Example
ç
æ
Setting the Delimiter Hex
Space). The value has to be in hex format (e.g.0D, 0A, 20).
Command and Response
ç <loc><delimiter>
æ <loc><delimiter>
Parameters
The <delimiter> parameter can be max. 8-character long (16 hex digit) in hex format.
Example
ç
æ
...00PWR_0100...
Stored string
Setting 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
ç <loc><timeout>
æ <loc><timeout>
Parameters
The <timeout> parameter sets the time value in milliseconds: 0 means the timeout is disabled, min. value
is 10.
Example
ç
æ
the clear() method is called.
TIPS AND TRICKS:
follow each other, the action will execute once. (A Condition can be detected in Event Manager if a change
happens. But if the same string is saved into the property after each other, it will not cause a change.)
Command and Response
ç <loc>.Rx
æ <loc>
Parameters
The parameter can be max. 128 byte long.
Example
ç
æ