0% found this document useful (0 votes)
86 views18 pages

DCP 161 Eng

The DCP 161 processor module is the central processing unit of the automation system. It executes the control program but does not have its own power supply or I/O capabilities, requiring connection to external modules. The module has an Intel 386EX processor, CAN and RS-232 interfaces, and provides data storage, real-time clock functions, and status displays.

Uploaded by

lfnluna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views18 pages

DCP 161 Eng

The DCP 161 processor module is the central processing unit of the automation system. It executes the control program but does not have its own power supply or I/O capabilities, requiring connection to external modules. The module has an Intel 386EX processor, CAN and RS-232 interfaces, and provides data storage, real-time clock functions, and status displays.

Uploaded by

lfnluna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

PROCESSOR MODULE DCP 161

Processor module DCP 161

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

Addressable I/O/ P modules 16

Internal I/O no

Instruction execution time typically 0.3 µs minimum 0.094 µs

Internal program storage (Flash-PROM) 40 kByte

Internal program storage (SRAM) 112 kByte

Internal data storage (SRAM) 124 kByte

Interfaces 1 x CAN
1 x RS 232
1 x RS 232 or RS 422 or RS 485

Data preservation Lithium battery

Status display yes

Status LED´s yes

Real time clock yes

17.02.2009 Page 1 a
PROCESSOR MODULE DCP 161

Electrical requirements

Supply voltage + 5 V DC

Supply voltage current consump- typically 600 mA


tion

Supply to DIAS bus via a power supply module


DPS001 (Article number: 05-002-001) – no fibre optic cable exit
DPS211 (Article number: 05-002-211) – 1 fibre optic cable exit
DPS221 (Article number: 05-002-221) – 2 fibre optic cable exits

Current drawn at the DIAS bus see power supply module


(Supply of the I/O/ P modules)

Connection requirements

Required terminal module DKL 002 (Article number: 05-024-002)

Mechanical coding | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

Connection technique 21 pole spring terminal strip 3 row


D–Sub plug

Miscellaneous

Article number 05-004-161

Module identification at the DIAS no


Bus

Hardware version 1.x

Standardization UL (E247993)

Environmental conditions

Storage temperature -20 – +85 °C

Operating temperature 0 – +60 °C

Humidity 0 – 95 %, without condensation

EMV stability in accordance with EN 50082 part 2 (industrial)

Resistance to shocks EN 60068-2-27 150 m/s²

Protective system EN 60529 IP 20

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

21-pole 3-row terminalblock

Pin assignment for the CAN bus interface

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

Pin assignment for the RS232 interface RS1

9-pole D-SUB plug Pin Function


1 DCD
1 5 2 Rx
3 Tx
4 DTR
5 GND
6 DSR
6 9 7 RTS
8 CTS
9 RI

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.

Macros are obtainable for the operation of the RS 232 interface!

17.02.2009 Page 3 a
PROCESSOR MODULE DCP 161

Pin assignment for the RS232 interface RS2

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.

Macros are obtainable for the operation of the RS 232 interface!

Terminal assignment for the 21-pole 3-row spring terminal strip

Terminal Row a Row b Row c


1 not assigned not assigned GND
2 not assigned not assigned GND
3 CAN A CAN B GND
4 CAN A CAN B GND
5 not assigned not assigned GND
6 not assigned not assigned GND
7 + 24 V/ 1 + 24 V/ 2 GND

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

Status LEDs for the CPU

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

Status LEDs for the interfaces

The status LEDs indicate the signal statuses of the interfaces.

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

The status LEDs setup

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

SET and RESET buttons

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

CAN BUS setup


In this section it is explained how the CAN bus is correctly configured. For this purpose the follow-
ing parameters must be set: station number and transmission rate.

CAN Bus station number

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!

CAN Bus transmission rate

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.

Value Baud rate Maximum length


0 615 kBit / s 60 m
1 500 kBit / s 90 m
2 250 kBit / s 200 m
3 125 kBit / s 450 m
4 100 kBit / s 600 m
5 50 kBit / s 1000 m
6 20 kBit / s 1000 m
7 1 Mbit / s 5m

These values apply to the following cable: 120 Ω, Twisted Pair.

Note: For the CAN bus protocol: 1 kBit/s = 1 kBaud.

Page 10 17.02.2009
PROCESSOR MODULE DCP 161

Configuration of the processor module

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:

Station number CAN 1 0 - 30


Baud rate CAN 1 0-6
Station number CAN 2 * 0 - 30
Baud rate CAN 2 * 0-6 * only with DCP 640, DCP 642, DIP 011

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

CAN bus termination

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.

Device 1 Device 2 Device 3 Device n


e.g. CPU e.g. Terminal e.g. Terminal
DCP 161 ET 081 ET 805

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

21-pole 3-row terminalblock DKL 002

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.

Order number for the battery: 01-690-027

FIRMA DATA

Lithium battery RENATA 3,0 V / 500 mAh

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

Copy program into Program in


application program internal memory no
memory module functional?

yes

Copy program into Program in


Status application program application program no
RUN ROM memory memory functional?

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

Status and Error Messages PG50

Number Message Meaning Cause/Solution


RUN RAM The application program is running. The
00
display is not influenced.
RUN ROM The application program, which is in the
01 application memory modules being run.
The display is not influenced.
RUNTIME The application program was interrupted Possible Causes:
by an cycle time of an incorrect length - Too many program loops
( > 100 msec).
- Endless loop
02
- Time intensive subroutine
Solution:
- Correct program error
POINTER Before the application program was run, Possible Causes:
erroneous program pointers were found. - Program memory module missing, is
not programmed or is defect
- Program in application program mem-
ory (RAM) will not run
- No longer battery buffered
03 - Software error - application program
partially overwritten
Solution:
- Reprogram program memory module.
If error occurs again, replace
- Replace battery
- Correct program error
CHKSUM Before running the application program, Cause/Solution: see POINTER
04
an incorrect checksum was found.
WATCHDOG The program was interrupted by the Possible Causes:
watchdog. - Interrupts blocked by application pro-
gram (Forgotten STI instruction)
- Erroneous hardware interrupt pro-
grammed.
05 - INB, OUTB, INW or OUTW instruc-
tion used incorrectly
- Defect processor
Solution:
- Correct program error
- Exchange CPU

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

READY A module or project has been sent to the


19
CPU and it is now ready to be run.
LOAD Program processing has stopped and the
20
CPU is receiving a module or project.
BAD MODULE The CPU has received a module that
21
doesn't belong to the project.
MEMORY FULL During the transfer of a module or
22 project to the CPU, not enough program
memory was found.
NOT LINKED During the CPU start, a module was
23 found to be missing in the program or a
module does not belong to the project.
DIV. ERROR An error has occurred during a division. Possible Causes:
- Division by 0
24
- Result of a division doesn't fit in the
result register
Solution:
- Correct program error
DIAS ERROR An error has occurred while accessing a Possible Causes:
DIAS module - Module doesn't exist
- DIAS Bus error
25
Solution:
- Check DIAS Bus
- Check termination resistor
26 WAIT CPU is busy
27 OP PROG Reprogramming operating system
28 OP INSTALLED Reinstalling operating system

29 OP TO LONG Operating system is too long


NO OP-SYSTEM No operating system Possible Causes:
- The CPU cannot find a valid operat-
ing system in memory
- The checksum of the operating sys-
30 tem has been destroyed
Solution:
- Reload the operating system with
the PG Software

SEARCH OP SYS The Base operating system is looking


31
for a valid operating system

17.02.2009 Page 17
PROCESSOR MODULE DCP 161

NO MEMORY External program memory module doesn't Possible Causes:


exist. - An attempt is being made to program
32
an external program memory module
although none is installed in the CPU
UNUSED CODE The CPU has received an invalid instruc-
33
tion from the programming software.
MEM ERROR The operating system does not correspond
34
with the hardware configuration.
MAX. IO´s The maximum number of addressable
35
DIAS modules has been exceeded.

Page 18 17.02.2009

You might also like