Envoy Application Programming Manual
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Application Programming With Envoy
- 7 ADM-2 Multipoint Supervisor Protocol
- 8 TINET Multipoint Supervisor Protocol
- 9 Burroughs Point-To-Point Protocol
- 10 Asynchronous Line Supervisor Protocol
- A ASCII Character Set
- B ASCII to EBCDIC Code Conversion
- C File-System Procedures
- D Statistics Messages
- E S-Series Changes to Envoy
- NonStop™ Himalaya S-Series Server Architecture
- G-Series Migration Considerations
- CBSENSEON and CFSENSEON Modifiers
- LEOTRESYN and NOLEOTRESYN Modifiers
- Treatment of Characters After the Termination Character
- Number of SYN Characters
- DTR Drop
- Reporting of Parity Error
- Half-Duplex Support for Asynchronous Lines
- Controller Replacement
- SYSGEN and COUP
- Unit Numbers
- FDX Line Changes
- No Support for Auto-Call Unit
- Glossary
- Index
BISYNC Multipoint Tributary Protocol
Envoy Application Programming Manual—427159-001
5-39
Programming Examples
Example 5-14 shows the control sequences that take place when the station is selected
and receives a message from the supervisor station.
Example 5-15
contains a program coding example for an Envoy line using the BISYNC
Multipoint Tributary protocol. The program consists of the following procedures:
•
The check^line procedure checks for a line completion;
•
The check^term procedure checks for a terminal completion
•
The write^term procedure displays a message on the terminal
•
The send procedure sends a message to the supervisor station
•
The doit procedure is the main execution loop.
Example 5-14. Selected Tributary Receives a Message
Tributary (Local) Supervisor (Remote)
poll state = inactive
select state = active
CALL READ
|
| <-- EOT SYN SYN Sa ENQ (select)
| ACK0 -->
| <-- message 1
(READ completes)
error = 0
line state = READ
MCW.<8:15> = 1
CALL READ
| ACK1 -->
| <-- EOT
|
(READ does not complete)
|
| <-- EOT SYN SYN PA ENQ (poll)
| EOT -->
|
v