NetIPC 3000/XL Programmer's Reference Manual (5958-8600)

Table Of Contents
Appendix D 213
Migration From PTOP to NetIPC and RPM
Exchanging Data
Syntax
PWRITE(
dsnum
,
target
,
tcount
[,
itag
]
If the slave requires a master function, send the PWRITE request
function (=3) on the virtual circuit to the slave.
If the slave requires the requested data length, send
tcount
on the
virtual circuit.
If a tag is specified, send the master tag on the virtual circuit.
If the slave may call either ACCEPT or REJECT, receive a one byte
accept or reject indication on the virtual circuit from the slave,
Otherwise assume the slave accepted the request.
If the slave accepted the requested, send the target data on the
virtual circuit to the slave, using the
tcount
length.
If a tag is specified, receive the slave tag from the virtual circuit.
To convert the PTOP intrinsic listed below, perform the following steps.
Syntax
PCONTROL (
dsnum
[,
itag
]
If the slave requires a master function, send the PCONTROL request
function (=4) on the virtual circuit to the slave.
If a tag is specified, send the master tag on the virtual circuit, and
receive the slave tag from the virtual circuit.
Exchanging Data: In the Slave Program
To convert the PTOP intrinsic listed below, perform the following steps.