ZCOM Tables and Data Structures

Message Header

MSRESP- Response code

The response code is used in two ways. Firstly, for message types 2, 4, 10, and 12 (send message), it indicates the type of response expected when this message is sent or delivered. Secondly, for other message types, it is the status of the completed message.

 

 

 

 

Response code for message type 2 and 10 are shown in Table 3-36.

Table 3-36

 

Response code for message type 2 and 10 Format

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

6

 

5

 

4

3

 

2

 

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LPR

 

 

XPS

 

 

 

 

PGW

 

BFR

 

DEF

ERR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ERR

Response if error exists

 

 

 

 

 

 

 

 

 

DEF

Definite response (error or no error)

 

 

 

 

 

 

 

BFR

Return status and message buffer as response (for data

 

 

 

 

 

 

message only)

 

 

 

 

 

 

 

 

 

PGW

Program is waiting for response

 

 

 

 

 

 

 

XPS

Express transmit message

 

 

 

 

 

 

 

LPR

Low priority transmit message

 

 

 

 

 

 

 

Response code for all other message types are shown in Table 3-37.

Table 3-37

 

Response code for all other message types

 

 

 

 

 

 

 

 

 

 

7

6

 

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ZCOM error code or 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MZDEST - Destination ZCOM address

This is the ZCOM address to which the message is to be sent.

MZSRCE - Source ZCOM address

This is the ZCOM address of the sender of the message. This field is returned in the message header with the zread routine. When a message is received from a terminal, the sender zaddr.zlu is the ZLU number of the terminal.

Chapter 3

115