SINAUT ST7 : Telegram structure

 

Transmission of a single telegram byte

The digital signal is represented by a "0" or "1" ( + / - ). Each pulse is of the same length, irrespective of it being a NULL or ONE. The complete message is subdivided into 11 bit data strings.

Each string consists of the same number of pulses of equal strings : one start bit, 8 data bits, one parity bit and one stop bit. The data bits and parity bit may either take the low level state ( logical 0 ) or high level state ( logical 1 ).

 

Telegram format with variable length

The length of the information within the message is variable. In addition to this information block of variable length, the message has also a header and address block of fixed length.

The telegram with variable length is used for data transmission of user data between master station and slave station and in the opposite direction.

 

Data telegram SINAUT ST7 :

 

Telegram format with fixed length

The telegram with fixed length is normally provided for the services of the link layer. In special cases this format with fixed length is also used as acknowledge instead of a single character.

 

Polling command SINAUT ST1 / ST7 :

 

Long achnowledge SINAUT ST1 / ST7 :

 

Single character

The single character is normally used in order to acknowledge service data of the link layer and user data.

 

Short acknowledge SINAUT ST1 / ST7 :

 

E5H = A C K from SS : Positive acknowledge from the substation to the master ( monitoring direction )
A2H = A C K from master : Positive acknowledge from the master to the substation ( control direction )

 

F1 field :

 

TZ

Telegram counter ( 0... 7 )

TZ = 0 : Start up identifier
TZ = 1... 7 : 1st to 7th telegram

KC

Control code

polling mode :
in reply message :
0 = nth message
1 =last message
in polling message :
0 = normal message
1 = 1st message after system start up 

in spontaneous and cyclic mode ( acknowledged ) :
0
= nth message
1 = 1st message after system start up

FA

Function selection

0 = processing on TIM
1 = processing in the CPU

AE

Address extension

0 = ST1 Telegram without address extension
1 = ST1 Telegram with address extension
2 = ST7 Telegram

RB

Direction bit : physical transmission direction ( direction )

RB = 0 : Data from the substation to the master ( monitoring direction )
RB = 1 : Data from the master to the substation ( control direction )

 

F2 field :

 

US

Message from substation

res

reserved

X

Telegram without memory function

PACK

Package grid for ST1 telegrams with AE = 1

S7

S7 telegram

S7 = 0 : ST7 telegram
S7 = 1 : S7 telegram

 

F3 field :

 

TA

Telegram type

TA = 0 : organizational telegram
TA = 1 : requested organizational telegram
TA = 2 : process telegram
TA = 3 : requested process telegram

S

Data object locked

Z

Telegram with time stamp

P

Permanent transmission

U

Unconditional spontaneous transmission

B

Conditional spontaneous transmission

PR

Image memory method of TIM

PR = 0 : Image memory method
PR = 1 : Transmit buffer method

 

F4 field :

 

DV

Data loss

DS

Data transmission locked

res

reserved

SEG

Telegram segmentation

SEG = 0 : no segmentation
SEG = 1 : 1st segment
SEG = 2 : 2nd till next last segment
SEG = 3 : Last segment

 

Time status bits :

 

2 0 ( UZG )

Time valid

UZG = 0 : time is not valid
UZG = 1 : time is valid

2 1 ( SOZ )

Summer time

SOZ = 0 : winter time ( normal time )
SOZ = 1 : Summer time 

2 2

reserved

2 3 ( AKB )

Announcement bit, only set in time synchronization telegrams 

AKB = 0 : not significant
AKB = 1 : announcement for summer-/ winter time switch

 

Information type identification ( TypeID ) :

The TypeID is unfortunately not recognizable out of the ST7 telegram. In the process system it is defined by the subscriber- and the object number. In LIAN 98 an unambiguously TypeID is defined for each data type in order to display the information ( message, measurand ... ) in an easily readable plaintext and not only hexadecimal. Organizational telegrams are not affected.

Via the <parameter list> the correct TypeID can be assigned to the objects of the particular subsribers. The TypeID value ZERO is not used.

 

Process information in monitoring direction

 

TypeID    
1 ST7 : 4 byte information each 8 bit binary. BIN_04B
2 ST7 : 2 analogous values, each 16 bit integer. ANA_02W
3 ST7 : 4 analogous values, each 16 bit integer. ANA_04W
4 ST7 : 1 counter value, 32 bit ST1 format. CNT_01D
5 ST7 : 4 counter value, 32 bit ST1 format. CNT_04D
...    
7 ST1 : 1 byte information, each 8 bit binary. MT__01B
8 ST1 : 2 byte information, each 8 bit binary MT__02B
9 ST1 : 4 byte information, each 8 bit binary MT__04B
10 ST1 : 1 analogous values, 16 bit ST1 format. AT__01W
11 ST1 : 4 analogous values, 16 bit ST1 format. AT__04W
12 ST1 : 8 analogous values, 16 bit ST1 format. AT__08W
13 ST1 : 1 counter value, 32 bit ST1 format. ZT__01D
14 ST1 : 2 counter value, 32 bit ST1 format. ZT__02D
15 ST1 : 4 counter value, 32 bit ST1 format. ZT__04D
...    

 

Process information control direction :

 

TypeID    
17 ST7 : 1 byte command, 16 bit ( 1 of  8 ) ST1 format. CMD_01B
18 ST7 : 1 setpoint, 16 bit analogous format ST7. SET_01W
19 ST7 : Parameter object, max. 12 DWORD. PAR_12D
20 ST7 : Data object, max. 12 DWORD. DAT_12D
...    
22 ST1 : 1 byte command, 16 bit ( 1 of  8 ) ST1 format. BT__01B
23 ST1 : 1 setpoint ( type 0 ), 16 bit analogous format ST1 ( left sided ). ST__01W_0
24 ST1 : 1 setpoint ( type 1 ), 16 bit analogous format ST1 ( right sided ). ST__01W_1
25 ST1 : 1 setpoint ( type 2 ), 16 bit binary ( bit pattern ) ST__01W_2
26 ST1 : 1 setpoint ( type 3 ), 16 bit analogous, integer format. ST__01W_3
27 ST1 : Data, max. 26 WORD. DT__26W
...    

 

Organizational ST7 Telegrams :

 

Index    
0 ST7 : General interrogation  
2 ST7 : Impulse indication  
4, 6 ST7 : Connection indications  
8 ST7 : State-indication  
...    
256 ST7 : Time synchronization  
258 ST7 : accounting data, state of line  
260 ST7 : accounting data, state of line acknowledge  
262 ST7 : accounting data, state of line request  

 


MAYR Software

Wuerzburger Ring 39,  D 91056 Erlangen

Manual LIAN 98


LIAN 98 Protocol Router, Simulator and Analyzer
© Copyright 2001, 2006, 2011 by Werner Mayr. All Rights reserved.