
CP347 – User Guide, Rev. 1.3
www.kontron.com
// 22
3/
Configuration
3.1.
Hardware Configuration
Configuration of the serial communication channels for the various operation types as well as serial line termination
for differential communication (RS422/RS485) is accomplished via hardware and software configuration.
The four serial I/O channels are independent and can be configured individually for RS232, RS422 or RS485 serial
communication through setting an 8-port DIP switch, resistor assembly or jumper assembly.
Serial Mode Configuration
3.1.1.
The CP347 offers the possibility to configure each channel’s operation mode with either a per default mounted eight-
port DIP switch (SW1) or with eight 0
Ω
resistors (R16- R23). Because the switches are implemented as GND switches,
and the DIP switch and the resistor option are wired OR, it is possible to use both options. A switch that is ‘On’ or a
resistor that is ‘Set’, always has the higher priority. Two dedicated switches or resistors are necessary to configure
one channel.
Figure 4: 8-port DIP Switch (Default Position – Switches OFF)
The following table shows the possible settings where switch setting are either ‘On’ or ‘Off’ and resistor setting are
either ‘Open’ or ‘Set’.
Table 7: Serial Mode DIP Switch CP347 Configuration
Channel#
Channel 0
Channel 1
Channel 2
Channel 3
Switch #/ Resistor
1 / R23
2 / R22
3 / R21
4 / R20
5 / R19
6 / R18
7 / R17
8 / R16
RS232 (default)
Off/Open Off/Open Off/Open Off/Open Off/Open Off/Open Off/Open Off/Open
RS422 (4-wire)
Off/Open On/Set
Off/Open On/Set
Off/Open On/Set
Off/Open On/Set
RS485 (2-wire)
with local echo
On/Set
Off/Open On/Set
Off/Open On/Set
Off/Open On/Set
Off/Open
RS485 (2-wire)
without local echo
On/Set
On/Set
On/Set
On/Set
On/Set
On/Set
On/Set
On/Set
RS422/RS485 Termination Jumpers
3.1.2.
Two 120
Ω
termination resistors per serial channel can be used to terminate the differential line pairs in case the
serial channel is a beginning or end node of a RS422/RS485 network. To enable the 120
Ω
resistors set the respective
solder-jumper (JP1-JP8), by means of connecting the jumper pad with a tin bridge or adding a 0
Ω
resistor.
Table 8: RS422/RS485 Termination Jumper Settings
Mode
Channel 0 Channel 1 Channel 2 Channel 3 RS422/485 Mode Options
Full duplex JP7
JP6
JP3
JP2
120
Ω
termination between TxD+ and TxD-
lines enabled
JP8
JP5
JP4
JP1
120
Ω
termination between RxD+ and RxD-
lines enabled
Half duplex JP7
JP6
JP3
JP2
120
Ω
termination between TRxD+ and TRxD-
lines enabled