ZCOM Tables and Data Structures

Physical Terminal Tables

The IN bit indicates whether the terminal is considered as part of the current configuration. It is initialized by TTGEN and maintained by the driver. The EN and AC bits represent the current status of the terminal. They are initialized by TTGEN and maintained by the driver. They are reflected in the opposite sense by DS and IA on the interface card and in

PTFWST.

When the ZCOM subsystem starts up, the driver sets the AV bit if the terminal is successfully initialized.

PTFWST - Firmware terminal status

This word contains the TMSTAT and TMSTT2 bytes from the Mux (via $STDT buffer)

Figure 3-5

Firmware terminal status PTFWST

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

DS

SP

IA

GP

DN

DC

GA

GM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DS - Terminal is disabled

SP - Terminal is on slow poll list

IA - Terminal is inactive (no poll)

GP - Terminal is group polled

DN - Terminal is down

DC - Terminal downcounter expired

GA - Group poll active

GM - Group poll master

The status in bits 7-0 is copied from the $STDT buffer. These bits represent the field TMSTT2 from the interface terminal table.

PTTYPE - Terminal type (physical)

Protocol module terminal type. It is initially setup by TTGEN in the memory image file but is subsequently maintainable.

SCFG_LEN - Length of the special protocol configuration bytes.

This field contains the length of any protocol specific configuration data contained in the spec_cfg[] field.

SPEC_CFG - Special protocol configuration data

This field contains any protocol specific configuration data that might be needed. The details on its contents and how to configure this field is documented in the protocol manuals.

72

Chapter 3