User`s guide

50 DC 900-1339H
FMP Programmer’s Guide
Interface option (Section 4.22 on page 95) is valid only on the Freeway 1000, not the
Freeway 2000 or 4000.
An unsuccessful Configure Link command can return one of the following error codes
in the
dlRead pOptArgs.iICPStatus field (see Appendix C for error handling):
DLI_ICP_ERR_LINK_ACTIVE
The link is already started.
DLI_ICP_ERR_BAD_MODE
The function request is not available for the requested
access mode; see Table 2–2 on page 33.
DLI_ICP_ERR_BAD_PARMS
The parameter value(s) used for the function call are
illegal.
3.4.1.5 Start Link Command
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_SEND_BIND and the pOptArgs.usICPCommand field set to DLI_ICP_CMD_BIND to
start a link after issuing a Stop Link command (Section 3.4.1.6). After receiving this
command, the FMP software turns on the DTR modem control signal and prepares the
Figure 3–2: Link Configuration Block with Two Options
Word
configuration option = 1 (data rate)
configuration value = 9 (9600)
configuration option = 20 (block checking)
configuration value = 0 (disabled)
0
0
1
2
3
4
iBufLen = 10
pBuf