Envoy Application Programming Manual

Table Of Contents
Contents
Envoy Application Programming Manual427159-001
xv
Examples (continued)
Examples (continued)
Example 8-3. Continuous Polling 8-11
Example 8-4.
Change a Line’s Polling Type 8-13
Example 8-5.
Specific Polling 8-14
Example 8-6.
Selective Polling (Before Calling DEFINELIST) 8-16
Example 8-7.
Selective Polling (After Calling DEFINELIST) 8-17
Example 8-8.
Remove Terminals from the Nonresponding List 8-17
Example 8-9.
MCW in Count Read or Written 8-18
Example 8-10.
TINET Polling Procedure 8-22
Example 8-11.
TINET Select Procedure 8-24
Example 8-12.
CONTROL Procedure (Send EOT) 8-25
Example 8-13.
CONTROL Procedure (Send ENQ) 8-25
Example 8-14.
CONTROL Procedure (Send CAN) 8-25
Example 8-15.
Program Code for TINET Multipoint Supervisor 8-33
Example 9-1.
Initial READ (Line in CONTROL State) 9-9
Example 9-2.
Continuation READ 9-10
Example 9-3.
Initial READ (Line in WRITE State) 9-12
Example 9-4.
Initial WRITE (Line in CONTROL State) 9-12
Example 9-5.
Continuation WRITE 9-14
Example 9-6.
CONTROL Procedure (Send EOT) 9-15
Example 9-7.
CONTROL Procedure (Enable RVI) 9-16
Example 10-1.
MCW and the Message Block Number 10-15
Example 10-2.
WRITE Procedure 10-17
Example 10-3.
WRITEREAD Procedure 10-18
Example 10-4.
Define a Noncontinuous Break for 200 Milliseconds 10-19
Example 10-5.
Define a Noncontinuous Break 10-20
Example 10-6.
Read-Only Programming Example 10-23
Example 10-7.
Declarations Used in Asynchronous Supervisor Examples 10-25
Example 10-8.
Poll a Terminal and Read a Message 10-26
Example 10-9.
Select a Terminal and Send a Message 10-26
Example 10-10.
Send a Break Signal 10-27
Example 10-11.
Enable and Disable a Switched Line 10-27
Example C-1.
Use of the File Number Parameter C-2