Processor module DCP 642

Similar documents
Central Unit with EDGE CPU HZS 512

C-DIAS EtherNet/IP Slave CIP 022

Profibus DP slave. dual ported RAM 2Kbyte. Maximum length for I/O data. Maximum length for output data. Status display

C-DIAS Serial Interface CSI 021

The possibility of combining interface modules allows various bus and network systems to be integrated into the B&R SYSTEM 2005.

Test Functions C-1. Equipment Manuel OP25, OP35, OP45 Release 04/96

1. CP430, CP470, CP474, CP770 and CP774

IPC 221 Industrial PC

Auxiliary Board MP-Bus HZS 562

Advant OCS. The Compact and Cost Effective Advant Controller. Advant Controller 210. Open Control System

HZS 772 Touch Operating Panel

Intelligent Devices IDI 1100 Series Technical Manual

C-DIAS Analogue Conversion Module CAM 124 for eight 0 10V DC inputs and four 10V outputs

AI-917-A0. Analogue Input Module (4x 0-20 ma)

Power Panel. Terminal block, 12 pin, 20 pcs., cage clamps. Table 5: Order data for PP41

Hardware Manual RM CANview

Expansion Module HZS 541-1S

Installation and Operating Instructions. webremote

General Operating, Maintenance and Installation Manual

C-DIAS Profibus DP Slave module CPB 021

DIAS Interface Module VARAN DIV 511

Installation Guide Serial Interface T942SI

Technical Data. C-DIAS-MULTI l/o MODULE CIO 013

Lantech LSC-1102B SERIAL TO TCPIP CONVERTER. User Manual

3.1 I-7560 Pin Assignment and Specifications: Introduction

I-7560U/7561U/7563U. User Manual WARRANTY WARNING COPYRIGHT TRADEMARKS CONTACT US

USB to RS-232/RS422/485. US-101-I USB To Serial Operation Manual

HZS Internal Controller Expansion

PS 101 S-DIAS Power Supply Module

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

GT- IRDM-9603 Product description Rev. 2 17/06/2014

C-DIAS Digital Input Module CDI 161 with 16 inputs

SK CU4-CAO Part number:

Industrial PC IPC191V2. General Operating, Maintenance and Installation Manual. Hardware Platform Protocol Converter

C-DIAS Analogue Output Module CAO 081 for eight 10V DC outputs

PK2200 Series. Features. C-Programmable Controller. Specifications Board Size Enclosure Size Operating Temp.

Control Panel ETV 0851-I

Brief Instruction. 4.2 ISDN devices. 4.2 GSM devices MDH 502 MDH 536 MDH 506 MDH 512 MDH 542 MDH 522

5.2 CP0201, CP0291, CP0292

SSW7-RK512/RS422. Adapter for MPI Bus with RK512 Protocol, RS VK21. User Manual. Version: 1 / HW: 1 / FW: 2.

EMERALD-MM-8P. 8-Channel Software Programmable Protocol. Serial Port PC/104 TM Module. User Manual V1.20

C-DIAS Analogue Conversion Module CAM 011 for 3 x 0-10V DC inputs 2 x PT100 inputs and 1 x ±10V output

485DRCI. Industrial RS-232 to RS-422/485 Converter B&B ELECTRONICS PRODUCT INFORMATION. Specifications Serial Technology

C-DIAS-Temperature Recording module CAI x Temp. inputs 50 C to +150 C

VARAN Digital Combined Module VDM 086

Protected VARAN Digital Mixed Module PVDM 086

i-7550 PROFIBUS to RS-232/422/485 Converter User's Manual High Quality, Industrial Data Acquisition, and Control Products

MEV Limited USB232/485 INSTRUCTION MANUAL

SK TU4-CAO-C Part number:

SSW7. User Manual. Adapter for MPI-Bus. Version:2 / HW: 1 / FW: 3.0 and higher. Order number of manual: VK21/en VK21

ICD105A 1008 page 1/ r001 ICD105A. Industrial RS-232 to RS-422/485 Converter

SK CU4-PBR-C Part number:

Modular controllers CECX

PLC PFC200 Controller PFC200 CS 2ETH RS

The purpose of this course is to provide an introduction to the RL78's flash features and archectecture including security features, code and data

386EX PC/104 Computer with CompactFlash and PCMCIA SBC1390

HuddleCamHD Serial Joystick Controller Model Number: HC-JOY-G3

TABLE OF CONTENTS. Communication Functions

V40 Single Board Computer with A-to-D Converter SBC2040

General Specifications

Compact Saia PCD3.M2x30V6 User s Guide

GT- HE910-EUD. Product description Rev. 8 21/02/ Overview

Table 1 Specifications Software Required for Configuration

to 12a Added Standard and Electrical requirements for UL table 1.1

User s Manual INT131

C-DIAS Temperature sensing module CAI x temp. inputs C 8 x digital outputs +24V

M1600 Parallel Input / Output

User Manual A08. User Manual

ARB-0612 Converter USB RS 232/422/485/485-4W/TTL Manual

Software Support Compatible Hardware Mounting/Packaging

VARAN Splitter Module VSV 041

485DRCI. Industrial RS-232 to RS-422/485 Converter PRODUCT INFORMATION B&B ELECTRONICS. Specifications Serial Technology

USB to RS-232/RS422/485. URK-228-I USB To Serial Operation Manual

PCIe Card Selection Guide. PCIe-CAN Card. PCIe-COM Card. Taiwan Pulse Motion Co.,Ltd. Bus Interface PCI Express x 1 LPE-C122 PCE-C122D PCE-C122T

DIN Rail RTU 540CMD01 Data sheet

Motors Automation Energy Transmission & Distribution Coatings. Profibus DP SRW 01. User s Manual

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

SBPC-21-PB FifeNet to Profibus Gateway

Power Panel Integrated control, operation and visualization

eprom 1 Fri Oct 13 13:01:

CPCI-ASIO4 CAN - RS-232, RS-422, RS-485

Industrial PC IPC191V3 (Linux OS) IPC191V3WIN (Windows OS) General Operating, Maintenance and Installation Manual

Nanotec Electronic GmbH Gewerbestrasse Landsham near Munich Tel: 089/ Fax: 089/

Product description Rev. 3 11/06/14

ISE 021 S-DIAS Interface Module RS232 / RS485

Manual PCD2.F2xxx serial interface modules

PAC BI-DP BIM and 8701-CA-BI Carrier

HZS Solar Module

EZL-200F Application Notes (003) Serial Interface (RS232/RS422/RS485)

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an

Supply voltage. Input current. Encoder supply. Memory SIMATIC S7-200, CPU 221 COMPACT UNIT, DC POWER SUPPLY 6 DI DC/4 DO DC, 4 KB CODE/2 KB DATA,

Sauter Systems

Installation Guide of Hi-Speed USB to Octal RS-232/422/485 Adapter

Quick Start Installation Guide

VARAN Bus Coupler Module VBC 021 For connecting two VARAN bus systems

Added Standard and Electrical requirements for UL table Switching-off inductive loads 1.2

Introduction & Specifications of Hi-Speed USB to Serial Adapters

Serial communication with PCs. Multi-COM. The intelligent 6-channel serial PC board

USER S MANUAL Enhanced Communication Function

ACE PLUS CORP. APCON100 series Operation Manual RS-232 to Ethernet Converter

Transcription:

Processor module DCP 642 The DCP 642 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 64 Internal I/O no Instruction execution time typically 0.3 µs minimum 0.094 µs Internal program storage (Flash-PROM) Internal program storage (SRAM) Internal data storage (SRAM) Interfaces Data preservation Status display Status LEDs Real time clock 40 kbyte 496 kbyte 252 kbyte 2 x CAN 1 x RS 232 1 x RS 232 or RS 422 or RS 485 Lithium battery yes yes yes 17.02.2009 Page 1 a

Electrical requirements Supply voltage Supply voltage current consumption Supply to DIAS bus Current drawn at the DIAS bus (Supply of the I/O/ P modules) + 5 V DC typically 600 ma via a power supply module DPS 001 (Article number: 05-002-001) no fibre optic cable exit DPS 211 (Article number: 05-002-211) 1 fibre optic cable exit DPS 221 (Article number: 05-002-221) 2 fibre optic cable exits see power supply module 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-642 Module identification at the DIAS Bus no Hardware version 1.x Standardization UL (E247993) Environmental conditions Storage temperature -20 +85 C Operating temperature 0 +60 C Humidity EMV stability 0 95 %, without condensation in accordance with EN 61000-6-2 (Industrial area) Resistance to shocks EN 60068-2-27 150 m/s² Protective system EN 60529 IP 20 Page 2 c 17.02.2009

Interfaces CAN Bus and RS232 DKL 002 CAN 1 RS 1 1 7 RS 2 21-pole 3-row terminalblock Pin assignment for the CAN bus interface CAN1 9-pole D-SUB socket 5 1 9 6 Pin Function 1 CAN1 A 2 not assigned 3 not assigned 4 not assigned 5 GND 6 CAN1 B 7 not assigned 8 not assigned 9 + 5 V Pin assignment for the RS232 interface RS1 9-pole D-SUB plug 1 5 6 9 Pin Function 1 DCD 2 Rx 3 Tx 4 DTR 5 GND 6 DSR 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 RS232 interface! 17.02.2009 Page 3

Pin assignment for the RS232 interface RS2 9-pole D-SUB plug 1 5 6 9 Pin Function 1 not assigned 2 Rx 3 Tx 4 not assigned 5 GND 6 not assigned 7 DTR 8 RI 9 not assigned The RS232 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 Rx A Rx B GND 2 Tx A Tx B GND 3 CAN1 A CAN1 B GND 4 CAN1 A CAN1 B GND 5 CAN2 A CAN2 B GND 6 CAN2 A CAN2 B GND 7 + 24 V/ 1 + 24 V/ 2 GND Supply + 24 V/ 1: reserved Supply + 24 V/ 2: reserved Page 4 17.02.2009

Use of RS 2 as RS 422 or RS 485 With the DCP 642 an RS 422 or an RS 485 interface can also be selected on the serial interface RS 2. The selection is made via jumpers on the DKL 002 terminal module. The interface protocol must be set with the system call SYS 130, function 30 or function 31. These interfaces are only available on the 21-pole, 3-pole spring terminal strip. Terminal Row a Row b Row c 1 Rx A Rx B GND 2 Tx A Tx B GND 3 CAN1 A CAN1 B GND 4 CAN1 A CAN1 B GND 5 CAN2 A CAN2 B GND 6 CAN2 A CAN2 B GND 7 power supply + 24 V/ 1 power supply + 24 V/ 2 GND Jumper for interface-selection Tx Rx 422/485 Jumper for terminating resistors For selecting the desired interface the jumpers are set as follows: 422/485 422/485 RS 422 RS 485 17.02.2009 Page 5

On both terminal devices in the RS 422 or RS 485 network the line must be terminated with terminating resistors. This prevents reflections in the circuit and makes higher transmission rates possible. These resistors are already available on the DKL 002 terminal module and are activated with jumpers when needed. For termination, the jumpers must be set as shown in the following diagrams: No conclusion Conclusion RS 422 Conclusion RS 485 Connection to the spring terminal: RxA Rx RxB TxA Tx TxB GND GND Page 6 a 17.02.2009

Mechanical dimensions 80 mm 98 mm 45mm 93 mm 17.02.2009 Page 7

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. Page 8 17.02.2009

Status LEDs for the interfaces The status LEDs indicate the signal statuses of the interfaces. LED 7 green Rx CAN1 LED 8 yellow Tx CAN1 LED 9 green Rx CAN2 LED 10 yellow Tx CAN2 LED 11 green Rx RS232 RS1 LED 12 yellow Tx RS232 RS1 LED 13 green Rx RS232 RS2 LED 14 yellow Tx RS232 RS2 LED 15 green Rx DIAS Bus LED 16 yellow Tx DIAS Bus Illuminates, when data from the CAN1 bus are being received. Illuminates, when data from the CAN1 bus are being sent. Illuminates, when data from the CAN2 bus are being received. Illuminates, when data from the CAN2 bus are being sent. Illuminates when data from the RS1 serial interface are being received Illuminates when data from the RS1 serial interface are being sent Illuminates when data from the RS2 serial interface are being received Illuminates when data from the RS2 serial interface are being sent Illuminates, when data to the DIAS bus are being received. Illuminates, when data to the DIAS bus are being sent. The status LEDs setup Together with the display, the status LEDs show the configuration of the process module. CA1 red CAN 1 configuration CA2 red CAN 2 configuration RS1 red not used ST red station number BD red baud rate LD red not used Illuminates when the parameters for the CAN 1 are being shown on the display. Illuminates when the parameters for the CAN 2 are being shown on the display. Illuminates when the station number is being shown on the display. Illuminates when the baud rate is being shown on the display. 17.02.2009 Page 9

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 642 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 repeated 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. Page 10 17.02.2009

CAN BUS setup In this section it is explained how the CAN bus is correctly configured. For this purpose the following 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 5 m These values apply to the following cable: 120 Ω, Twisted Pair. Note: For the CAN bus protocol: 1 kbit/s = 1 kbaud. 17.02.2009 Page 11

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 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 LEDs 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. Page 12 17.02.2009

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 DCP 642 e.g. Terminal ET 081 e.g. Terminal ET 805 CAN-Bustermination on terminal module CAN-Bus-Connections D-SUB-plug with terminating resistors If the DCP 642 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. Tx Rx 422/485 Jumper for CAN bus termination DKL 002 17.02.2009 Page 13

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! Page 14 a 17.02.2009

Switching-on procedure Main voltage on Online with PG-Software? no yes Output of a reset of the peripheral modules Output of a reset of the peripheral modules Deletion of specific data areas Deletion of specific data areas Status RESET Program in external memory module functional? no yes Copy program into application program memory Program in internal memory module functional? no yes Status RUN ROM Copy program into application program memory Program in application program memory functional? no yes Call of application program Status RUN ROM Status RUN RAM Status CHKSUM or POINTER Call of application program Call of application program 17.02.2009 Page 15

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

06 ERROR 07 08 09 PROM DEFECT RESET 10 STOP 11 12 13 14 15 16 17 WD DEFECT BUSY PROG PGM TOO LONG Error occurred programming program memory module. The CPU has been RESET and is waiting for further instructions. The application program is not processed. The hardware watchdog is defect. The CPU checks the watchdog functions after booting. If an error occurs during this test, the CPU intentionally goes into an endless loop and no longer accepts any instructions. The CPU is currently programming a program memory module with the operating system and application program. The program is too long for the type of memory being used. PROG END Programming the program memory module has been ended successfully. PROG EEPROM STOP BRKPT CPU HALT INT ERROR The CPU is programming the program memory module now. The CPU has been stopped by a breakpoint. The CPU has been stopped by the PG software (F6 HALT in debugger). The CPU has incorrectly generated an interrupt and the application program ended. 18 SINGLE STEP The CPU is in single step mode. Causes: - Defect program memory module - Application program too long - Missing program memory module Solution: - Replace program memory module Solution: - Replace CPU Solution: - Use a larger program memory module. Causes: - A non-existent operating system instruction has been used - Stack error (unequal amount of PUSH and POP instructions) - The application program was s- topped by a software error Solution: - Correct program error 17.02.2009 Page 17

19 20 21 22 23 24 25 READY LOAD BAD MODULE MEMORY FULL NOT LINKED A module or project has been sent to the CPU and it is now ready to be run. Program processing has stopped and the CPU is receiving a module or project. The CPU has received a module that doesn't belong to the project. During the transfer of a module or project to the CPU, not enough program memory was found. During the CPU start, a module was 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 - Result of a division doesn't fit in the result register Solution: - Correct program error DIAS ERROR 26 WAIT CPU is busy An error has occurred while accessing a DIAS module 27 OP PROG Reprogramming operating system 28 OP INSTALLED Reinstalling operating system 29 OP TO LONG Operating system is too long 30 Possible Causes: - Module doesn't exist - DIAS Bus error Solution: - Check DIAS Bus - Check termination resistor NO OP-SYSTEM No operating system Possible Causes: - The CPU cannot find a valid operating system in memory - The checksum of the operating system has been destroyed Solution: - Reload the operating system with the PG Software 31 SEARCH OP SYS The Base operating system is looking for a valid operating system Page 18 17.02.2009

32 NO MEMORY External program memory module doesn't exist. Possible Causes: - An attempt is being made to program an external program memory module although none is installed in the CPU 33 UNUSED CODE The CPU has received an invalid instruction from the programming software. 34 MEM ERROR The operating system does not correspond with the hardware configuration. 35 MAX. IO s The maximum number of addressable DIAS modules has been exceeded. 17.02.2009 Page 19

Page 20 17.02.2009