Tmr1p message protocol, Control data profile, Daviscomms (s) pte ltd – WaveWare TMR1P User Manual
Page 9: 2tmr1p message protocol

DAVISCOMMS (S) PTE LTD
2
TMR1P Message Protocol
2.1
Control Data Profile
This is used to send control commands to the 8 output ports for control purpose.
Message Format: (Sub-address) + Prefix + Control data
TPS Option:
Control Data Prefix: “[“ / “#”
Sub-address: 4 Characters
(0~9, a~z, A~Z)
This Sub-address can be
enabled or disabled via
the TPS.
Prefix: “[[[“ or
“###” is a TPS
programmable
option. It is the
label of output
control code.
Control data: “[“ + P1P2P3P4P5P6P7P8 + ”]”
are used to control the 8 output ports.
Note: “[ ]” pair must exist which is the sub-
prefix of the control code.
P1~P8 represents the control code sent to the 8
corresponding ports and stands for either one
of the characters: “1”, “0”, “k” or “K” or “s”
or “S”.
“1”- the corresponding output port set to logic
high (source)
“0”- the corresponding output port set to logic
low (sink)
“k” or “K” - the corresponding output port’s
state remains unchanged from the previous
state
“s” or “S” - the corresponding output port
toggles to the opposite state from the previous
state
“r” or “R” - the corresponding output port is
reset to high impedance state
User can also send a shorter command to control the 8 output ports. However, the states of the 8
output ports will be identical after the control data is received successfully. The message format is
the same, except the Control data.
9
500088R03
DAVISCOMMS (S) PTE LTD
Blk70 Ubi Crescent #01-07 Singapore 408570. Tel: (65) 65471127 Fax: (65) 65471129