DCP 161 Eng
DCP 161 Eng
The DCP 161 processor module executes the control program and
constitutes a major part of the automation system. Since it has no
internal power supply, the processor module has to be supplied
from a DPS module.
Technical data
Performance data
Processor INTEL386EX
Internal I/O no
Interfaces 1 x CAN
1 x RS 232
1 x RS 232 or RS 422 or RS 485
17.02.2009 Page 1 a
PROCESSOR MODULE DCP 161
Electrical requirements
Supply voltage + 5 V DC
Connection requirements
Mechanical coding | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
Miscellaneous
Standardization UL (E247993)
Environmental conditions
Page 2 c 17.02.2009
PROCESSOR MODULE DCP 161
Interfaces
CAN Bus and RS232
CAN 1
DKL 002
RS 1 1 7
RS 2
Pin
Pin Function
Function
9-pole D-SUB socket 1 CAN A
2 not assigned
3 not assigned
5 1 4 not assigned
5 GND
6 CAN B
7 not assigned
8 not assigned
9 6 9 +5V
The RS232 interface must be installed with the system call SYS 130, Function 1.
The system call SYS 130 also operates the routines for the sending and receiving of data.
17.02.2009 Page 3 a
PROCESSOR MODULE DCP 161
Pin Function
9-pole D-SUB plug 1 not assigned
2 Rx
1 5 3 Tx
4 not assigned
5 GND
6 not assigned
7 DTR
8 RI
6 9 9 not assigned
The RS 232 interface must be installed with the system call SYS 130, Function 20.
The system call SYS 130 also operates the routines for the sending and receiving of data.
Supply + 24 V/ 1: reserved
Supply + 24 V/ 2: reserved
Page 4 a 17.02.2009
PROCESSOR MODULE DCP 161
Jumper
422/485
OPEN/CLOSE
OPEN/CLOSE
TX
CA2
CA1
DKL 002
Since the RS2 interface of the dcp 161 is not able to handle RS422/485, the jumpers on the DKL 002
are not assigned.
17.02.2009 Page 5 a
PROCESSOR MODULE DCP 161
Mechanical dimensions
80 mm 98 mm
45mm
93 mm
Page 6 17.02.2009
PROCESSOR MODULE DCP 161
Status displays
The status LEDs for the CPU signal the operating status of the processor module.
RO yellow Run ROM Illuminates when the program from the external memory module is executing.
Flashes when the program from the internal memory module (Flash-
PROM) is executing.
RA yellow Run RAM Illuminates when the program from the internal applications program storage
(SRAM) is executing.
ER red Error Flashes when an error has occurred.
The error code is displayed in the status line of the PG-Software.
DC green DC OK Illuminates when the supply voltage to the CPU is connected correctly.
17.02.2009 Page 7
PROCESSOR MODULE DCP 161
LED 7 green Rx
Illuminates, when data from the CAN bus are being received.
CAN
LED 8 yellow Tx
Illuminates, when data from the CAN bus are being sent.
CAN
LED 11 green Rx
Illuminates when data from the RS1 serial interface are being received
RS232 – RS1
LED 12 yellow Tx
Illuminates when data from the RS1 serial interface are being sent
RS232 – RS1
LED 13 green Rx
Illuminates when data from the RS2 serial interface are being received
RS232 – RS2
LED 14 yellow Tx
Illuminates when data from the RS2 serial interface are being sent
RS232 – RS2
LED 15 green Rx
Illuminates, when data to the DIAS bus are being received.
DIAS Bus
LED 16 yellow Tx
Illuminates, when data to the DIAS bus are being sent.
DIAS Bus
Together with the display, the status LEDs show the configuration of the process module.
CA1 red CAN 1 Illuminates when the parameters for the CAN 1 are being shown on the display.
configuration
CA2 red CAN 2 Illuminates when the parameters for the CAN 2 are being shown on the display.
configuration
RS1 red not used
ST red station number Illuminates when the station number is being shown on the display.
BD red baud rate Illuminates when the baud rate is being shown on the display.
LD red not used
Page 8 17.02.2009
PROCESSOR MODULE DCP 161
The push-button R (Reset) is used to trigger a reset at the processor module. The processor module
will then display the error „Er 08“. „[08 Reset]“ will be displayed in the PG status line.
The push-button S is used to change the configuration of the processor module. This procedure is
described in the CAN bus set-up.
Display
The DCP 161 processor module possesses a 2-digit, decimal display (7 segment display) for the
following functions:
- During the configuration of the processor module, the parameters are shown on the display.
- If an error occurs during the execution of the program or if no valid applications program is found,
the display will give an error message. In this case „Er“ (= error) and the error code will be re-
peated alternately. The same error code will also be displayed in the PG status line.
- During execution of the program, the display can be used for displaying digits.
For this purpose the data storage D 0001 (system variable Display) is used. Valid values are
0 to 255, values over 99 are, however, not displayed and the display remains dark.
17.02.2009 Page 9
PROCESSOR MODULE DCP 161
Each CAN bus station has its own station number. Under this station number the other bus elements
can fetch data from the station and send data to it. It is possible to install up to 31 elements on one
CAN bus system. Please note that each station number in the CAN bus system may be allocated only
once!
It is possible to set different transmission rates (baud rates) on the CAN bus. The greater the length
of the bus line, the smaller the transmission rate must be.
Page 10 17.02.2009
PROCESSOR MODULE DCP 161
1. Press push-button R (Reset). The currently set parameters will be displayed one after another on
the status display on the processor module in the following order:
Each of the illuminated status LEDs gives information about the parameter currently shown on
the display.
Parameter (e.g.: LEDs CA1 + BD illuminated Ö the value of the baud rate of the CAN1 bus is
being shown on the display).
2. If during this the push-button S (Set) is pressed, the set-up is called. The status LEDs indicate the
first parameter to be changed.
3. By brief presses on the push-button S (Set) the value can now be changed. If in the process the
highest possible value is reached, the display begins again from the start.
4. To reach the next parameter the push-button S (Set) must be pressed for about 2 seconds. The
status LED´s indicate the next parameter to be changed.
5. The set-up is terminated by pressing the push-button R (Reset) again. The values will be saved
and the processor module will return to normal operation.
17.02.2009 Page 11
PROCESSOR MODULE DCP 161
On both terminal devices in a CAN bus system the line must be terminated. This is necessary for
preventing transmission errors occurring through reflections in the circuit.
CAN-Bus- D-SUB-plug
termination on with terminating
terminal module resistors
CAN-Bus-Connections
If the DCP 161 processor module is one of these terminal devices, the termination can be done by
setting a jumper on the terminal module.
On the DKL 002 a jumper is available for each of the CAN1 and the CAN2. The jumper for CAN2 is
in this case of no relevance for this processor module.
1 7
Page 12 17.02.2009
PROCESSOR MODULE DCP 161
Buffer battery
The buffer battery takes care of preserving programs and data in the applications program storage
(RAM) when the supply voltage is switched off. The lithium battery is fitted in the factory.
The capacity of this battery is sufficient for securing data for a period of 3 years while the supply
voltage is turned off.
However, for your own security we recommend exchanging the battery yearly.
FIRMA DATA
Replace Battery with RENATA, Part No. CR2450N only! Use of another battery may present a
risk of fire or explosion!
Caution:
A change of battery may only take place, of course, when the control terminal is switched on –
otherwise a loss of data occurs!
17.02.2009 Page 13 a
PROCESSOR MODULE DCP 161
Switching-on procedure
Main voltage
on
Online with no
PG-Software?
yes
Output of a Output of a
reset of the reset of the
peripheral modules peripheral modules
Deletion of Deletion of
specific specific
data areas data areas
Program in
Status external memory no
RESET module functional?
yes
yes
yes
Call of Status
application Status Status CHKSUM
program RUN ROM RUN RAM or
POINTER
Call of Call of
application application
program program
Page 14 17.02.2009
PROCESSOR MODULE DCP 161
17.02.2009 Page 15
PROCESSOR MODULE DCP 161
06 ERROR
PROM DEFECT Error occurred programming program Causes:
memory module. - Defect program memory module
- Application program too long
07
- Missing program memory module
Solution:
- Replace program memory module
RESET The CPU has been RESET and is waiting
08 for further instructions.
The application program is not processed.
WD DEFECT The hardware watchdog is defect. Solution:
The CPU checks the watchdog functions - Replace CPU
09 after booting. If an error occurs during this
test, the CPU intentionally goes into an
endless loop and no longer accepts any
instructions.
10 STOP
BUSY PROG The CPU is currently programming a
11 program memory module with the operat-
ing system and application program.
PGM TOO The program is too long for the type of Solution:
12 LONG memory being used. - Use a larger program memory mo-
dule.
PROG END Programming the program memory
13
module has been ended successfully.
PROG EEPROM The CPU is programming the program
14
memory module now.
STOP BRKPT The CPU has been stopped by a break-
15
point.
CPU HALT The CPU has been stopped by the PG
16
software (F6 HALT in debugger).
INT ERROR The CPU has incorrectly generated an Causes:
interrupt and the application program - A non-existent operating system
ended. instruction has been used
- Stack error (unequal amount of
17 PUSH and POP instructions)
- The application program was s-
topped by a software error
Solution:
- Correct program error
18 SINGLE STEP The CPU is in single step mode.
Page 16 17.02.2009
PROCESSOR MODULE DCP 161
17.02.2009 Page 17
PROCESSOR MODULE DCP 161
Page 18 17.02.2009