X25AM Programming Manual

Contents
X25AM Programming Manual527201-001
iii
2. ITI Applications (continued)
2. ITI Applications (continued)
Terminal Reset 2-14
Optimizing Output Data from 6530 Terminals 2-14
Data Processing 2-16
Forwarding Data from the PAD 2-16
Data Packetizing by ITI 2-17
Disposition of Terminal Control Characters by ITI 2-18
ITI Application Programming 2-20
ITI Programming Tasks 2-20
ITI Procedure Statements Summary 2-25
ITI Programming Example 2-45
3. PTP Applications
Overview of PTP Protocol 3-1
The PTP File-System Interface 3-2
File-System Procedures Supported by PTP 3-2
Initiating a Call 3-2
Waiting for a Call 3-3
Exchanging Data 3-3
Clearing a Call 3-4
PTP Data-Exchange Modes 3-5
D, Q, and M Bits 3-6
Mode 0 3-7
Mode 1 3-8
Mode 2 3-9
Mode 3 3-21
Subdevice States 3-23
The Two-Step Read 3-23
PTP Application Programming 3-24
PTP Programming Tasks 3-24
PTP Procedure Statements Summary 3-29
Programming Examples Using a Permanent Virtual Circuit 3-43
Start the Data Exchange (Use Mode 0) 3-43
Wait for the Data Exchange (Use Mode 0) 3-45
Programming Examples Using a Switched Virtual Circuit 3-47
Start the Data Exchange (Use Mode 0) 3-47
Wait for the Data Exchange (Use Mode 0) 3-49
Start the Data Exchange (Use Mode 1) 3-50
Wait for the Data Exchange (Use Mode 1) 3-52