Texas Instruments 990 User Manual page 115

Dx10 hdlc communications package
Hide thumbs Also See for 990:
Table of Contents

Advertisement

Applications Programming
Code
Meaning
00
Read operation has been
successfully
completed
by
the
communications
package.
01
Not used.
02
Not used.
03
Invalid SID specified.
04
No input data has been
received
for
the program to read.
05
Not used.
06
The
communications
package
is
not
active.
07
Not used.
08
Invalid DID specified.
09
Buffer length specified is too
small
to read input data.
OA
Not used.
OB
Not used.
4.6.2.2
WRIT4D Subroutine Call.
Subroutine
WRIT4D
builds
an SVC block and executes an SVC with
I/O opcode 2.
A call to this subroutine causes one block of data
in the calling program to be transferred from the
program~s
data
buffer
to
a
communications
output
buffer
for
subsequent
tr a nsmis s ion to a DID in ano th e r s ta t ion.
Con tr
01
is re tu rned to
the calling program immediately upon completion of the data being
transferred to the communications output buffer.
No provisions are made
for
automatic
response
from
the
DID.
Applications
programs
can
establish
their
own
methods
for
validating data sent and/or received (for example, DID can send a
message back to the SID to validate data received).
The syntax for the call statement is as follows:
FORTRAN:
CALL WRIT4D «buffe,r>, <char cnt>, <did>, <s id>, <st code»
2270526-9701
4-29

Advertisement

Table of Contents
loading

Table of Contents