PPM-C412/Configuration
v1.0
www.winsystems.com
Page 32
MODE - Selects the communication mode of the serial port (set in BIOS and should be
maintained).
Example:
Set COM1 to RS-485 Auto with termination and COM2 RS-422 Auto with
SKEW:
Write 0x00 to 0x1E9
Points to COM1-2 Mode controls
Write 0x2E to 0x1EA
COM1 - 485TE, TERM2, EN1, MODE 2
Write 0x37 to 0x1EB
COM2 - 485TE, SLEW2, EN2, MODE 3
Layout and Pin Reference
Line Printer Port (LPT)
The LPT port is a multimode parallel printer port that supports the PS/2 standard
bidirectional parallel port (SPP), enhanced parallel port (EPP), and extended capabilities
port (ECP) functionality. The output drivers support 8 mA per line.
The LPT interface is provided at connector
J7
, which is an 80-pin Hirose high density
connector. WinSystems offers the cable CBL-251-G-1-1.5 to simplify the connection.
The pinout for the connector and cable is listed in detail in the cable drawing. This cable
is includes in the cable set CBL-SET-412-1.
If a printer is not required, the printer port can also be used as two additional
general-purpose I/O ports. The first port is configured as eight input or output only
lines. The other port is configured as five input and three output lines.
Table 19:
Modes
Mode
Description
0
LOOPBACK
1
RS232
2
RS485
3
RS422
DB-9 Female
Pin
RS-232 Interface Signal
1
Protection grounding DCD
2
Receiving data SIN (RXD)
3
Sending data SOUT (TXD)
4
Data termination preparation DTR
5
Signal grounding GND
6
Data equipment preparation DSR
7
Request sending RTS
8
Clear sending CTS
9
Ring indication RI