User`s manual
PK220040 s System Development
Library functions for the RS-232 port support communication with a
Hayes Smart Modem or compatible. Note the following points:
The CTS, RTS, and DTR lines of the modem are not used.
If the modem used is not truly Hayes Smart Modem compatible,
the user has to tie the CTS, RTS, and DTR lines on the modem
side together. The CTS and RTS lines on the PK2200 side also
have to be tied together.
A NULL connection is required for the TX and RX lines.
A commercial NULL modem will have its CTS and RTS lines tied
together on both sides.
Figure 4-4 shows the correct modem to PK2200 wiring.
Figure 4-4. Null Modem Cable Connections
Following are descriptions for Z180 port 0 functions. Similar functions
are available for the RS-232 (UART) expansion card. Please note the
following substitutions:
For the RS-232 expansion card, substitute uart for z0 in the function
name.
For Z180 port 1, substitute z1 for z0 in the function name.
For example, the initialization routine for the Z180 port 0 is called
Dinit
_
z0(). The equivalent function for the RS-232 expansion card is
Dinit
_
uart() The equivalent function for Z180 port 1 is Dinit
_
z1().
Refer to Appendix F, PLCBus, for details on software
support for the RS-232 expansion card.
RX
TX
GND
RTS
CTS
DTR
RX
TX
GND
RTS
CTS
Modem
Side
Controller
Side
$