Envoy Application Programming Manual

Table Of Contents
TINET Multipoint Supervisor Protocol
Envoy Application Programming Manual427159-001
8-19
Read Message
The TINET multipoint supervisor protocol supports the following message formats:
Read Message on page 8-19
Write-Data (Nontutorial) Message on page 8-19
Write-Tutorial-Mask Message on page 8-20
Read Message
Data blocks read from a terminal that responds to polling have the following form:
message = STX id aid seq {oc -data-}...ETX
where
id = terminal address: %040-%057, %140-%157
aid = aid byte: %064 = START (clear)
%065 = SUPV LABOR
%066 = LABOR ELAPS
%067 = * (labor)
%070 = CONTINUATION (tutorial)
seq = sequence count: %060-%077
oc = order code: %037 = SF = start field
(does not %021 = DC1 = device control - 1
precede first (input from auxiliary device 1)
field from
primary device) %022 = DC2 = device control - 2
(input from auxiliary device 2)
data = data input at terminal
(message length = 5 + data field lengths + number of data fields - 1)
Write-Data (Nontutorial) Message
A write-data message is used to display one or more fields of information on a TINET
data entry terminal or an auxiliary device connected to a TINET terminal. A write-data
message has the following form:
message = STX id seq cc wcc {oc lc -data-}...ETX
where
id = terminal address: %040-%057, %140-%157
seq = sequence count: %060-%077
cc = command code: %060 = WRITE DATA
for { %062 = END (XMIT)
diagnostic { %063 = +- (SUPV LABOR)
purposes { %064 = -= (LABOR ELAPS)
{ %065 = * (LABOR)