Download Simpact Freeway 1300 User guide

Transcript
Protocol Software Toolkit Programmer Guide
9.2.7.3 Writing Data to an ICP Link
The write command provides data to the ICP for transmission on the specified link. The
client establishes a DLI_OPT_ARGS structure requesting the write, then sends the structure along with a buffer containing the data to the ICP by calling the DLI dlWrite function.
To transmit data on an ICP link, the client sends a message with the optional arguments
structure shown in Figure 9–18. The data area in the write is the data to be
transmitted.
DLI_OPT_ARGS.usFWPacketType FW_DATA
DLI_OPT_ARGS.usFWCommand
FW_ICP_WRITE
DLI_OPT_ARGS.usFWStatus
n/a
DLI_OPT_ARGS.usICPClientID
n/a
DLI_OPT_ARGS.usICPServerID
n/a
DLI_OPT_ARGS.usICPCommand
DLI_ICP_CMD_WRITE
DLI_OPT_ARGS.iICPStatus
n/a
DLI_OPT_ARGS.usICPParms [0] n/a
DLI_OPT_ARGS.usICPParms [1] n/a
DLI_OPT_ARGS.usICPParms [2] n/a
DLI_OPT_ARGS.usProtCommand
DLI_PROT_SEND_NORM_DATA
DLI_OPT_ARGS.iProtModifier
n/a
DLI_OPT_ARGS.usProtLinkID
Link ICP is to transmit on
DLI_OPT_ARGS.usProtCircuitID n/a
DLI_OPT_ARGS.usProtSessionID Session ID (See attach, Section 9.2.3 on page 164)
DLI_OPT_ARGS.usProtSequence n/a
DLI_OPT_ARGS.usProtXParms [0] n/a
DLI_OPT_ARGS.usProtXParms [1] n/a
Figure 9–18: Send Data Command Format
182
DC 900-1338I