Display data profile, Daviscomms (s) pte ltd – WaveWare TMR1P User Manual
Page 10

DAVISCOMMS (S) PTE LTD
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: “[“ + P + “]” are used to control
the 8 output ports.
Note: “[ ]” pair must exist which is the sub-
prefix of the control code.
P represents the control code sent
simultaneously to the 8 corresponding ports
and stands for either one of the characters:
“1”, “0”, “k” or “K” or “s” or “S”.
“1”- all the 8 output ports set to logic high
(source)
“0”- all the 8 output ports set to logic low
(sink)
“k” or “K” - all the 8 output ports’ states
remain unchanged from the previous states
“s” or “S” - all the 8 output ports toggle to the
opposite states from the previous states
“r” or “R” - all the 8 output ports are Reset to
high impedance state. This is the same state as
when the TMR1P has just been programmed
by the TPS.
2.2
Display Data Profile
This is used to send control commands to the RS232 serial output port for display control
purpose.
Message format: (Sub-address) + (Header1 + Header2) + (Source ID) + Display data + (Trailer1
+ Trailer2)
Message Format of the message that the user sends:
Sub-address: 4 Characters
(0~9, a~z,, A~Z)
This Sub-address can be
enabled or disabled via the
TPS.
“[[“ + Header2 + “]]”
Character type: “0”~”F”
(2~40 characters, must
be even or in pairs)
If there is no “[[ ]]” pair,
the TMR1P will treat the
Header2 as display data.
Display data: Up
to 3000
characters
per message
“??” + Trailer1
Character type:
“0”~”F” (2~40
characters, must be
even or in pairs)
Note: Label “??” is
the prefix of
Trailer1. This
Trailer label will be
selectable through
10
500088R03
DAVISCOMMS (S) PTE LTD
Blk70 Ubi Crescent #01-07 Singapore 408570. Tel: (65) 65471127 Fax: (65) 65471129