IFM Electronic CR2513 Device Manual
IFM Electronic CR2513 Device Manual

IFM Electronic CR2513 Device Manual

Ecomat 100 input/output module
Table of Contents

Advertisement

Available languages

Available languages

Quick Links

Geräte-Handbuch
Device manual
R
Ein-/Ausgangs-Modul
Input/output module
CR2513

Advertisement

Chapters

Table of Contents
loading

Summary of Contents for IFM Electronic CR2513

  • Page 1 Geräte-Handbuch Device manual Ein-/Ausgangs-Modul Input/output module CR2513...
  • Page 2: Table Of Contents

    CR2513 AUSGANGS MODUL Sicherheitshinweise Diese Beschreibung ist Bestandteil des Gerätes. Sie enthält Texte und Abbildungen zum korrekten Umgang mit dem Modul und muß vor einer Installation oder dem Einsatz gelesen werden. Befolgen Sie die Angaben der Dokumentation. Nichtbeachten der Hinweise, Verwendung außerhalb der nachstehend genannten bestimmungsgemäßen...
  • Page 3: Bestimmungsgemäße Verwendung / Funktion

    CR2513 AUSGANGS MODUL Bestimmungsgemäße Verwendung / Funktion Das Ein-/Ausgangs-Modul CR2513 dient zur dezentralen CAN-Bus-Anbindung von Sensoren und Aktoren. • Das Modul unterstützt binäre und analoge Ein-/Ausgänge und wird daher in die Geräteklasse „I/O Modul“ entsprechend CiA DS 401 eingeordnet und gekennzeichnet.
  • Page 4: Technische Daten

    CR2513 AUSGANGS MODUL Technische Daten Gehäuse geschlossenes, abgeschirmtes Metallgehäuse mit Flanschbefestigung Maße (L x B x H) 132 x 43 x 153 mm Montage Schraubbefestigung mit 4 Stk. M5 x L nach DIN 7500 bzw. DIN 7984 Einbaulage waagerecht liegend o. senkrecht stehend auf Montagewand Anschluß...
  • Page 5: Maße

    CR2513 AUSGANGS MODUL Maße ±1 ±1 106,5 Montage Um das Modul der geringsten mechanischen Belastung auszusetzen, ist es vor- zugsweise waagerecht liegend oder senkrecht stehend auf der Montagewand anzubringen. Dazu müssen vier Schrauben nach DIN 7500 bzw. DIN 7984 (M5xL) benutzt werden.
  • Page 6: Anschlußbelegung (Mit Konfigurationsbeispielen)

    CR2513 AUSGANGS MODUL Anschlußbelegung (mit Konfigurationsbeispielen) Supply Output +DC Supply GND Supply +DC Inputs Outputs +VBB +VBB Channel 5 Channel 1 +VBB Digital Channel 6 z.B. Wegeventil +VBB +VBB Channel 2 Channel 7 +VBB z.B. Proportionalventil Channel 8 +VBB Channel 3...
  • Page 7: Kenndaten Der Ein-/Ausgänge

    CR2513 AUSGANGS MODUL Kenndaten der Ein-/Ausgänge Ausgänge, Channel 1...4, konfigurierbar als: Halbleiterausgänge, plus-schaltend (high-side), kurzschluss- und überlastfest Schaltspannung 10 ... 30 V DC Schaltstrom max. 4 A Summenstrom max. 16 A PWM-Ausgänge PWM-Frequenz 20 ... 250 Hz Tastverhältnis 1 ... 1000 ‰...
  • Page 8: Parameter- Und Emcy-Objekt-Übersicht

    CR2513 AUSGANGS MODUL Parameter- und EMCY-Objekt-Übersicht Über die Funktion „Restore“ (s. Objektverzeichnis, Index 1011) können die Para- meter (Ausnahme Baudrate und Node-ID) mit den werkseitig hinterlegten Default-Werten belegt werden. Diese sind dann nach dem nächsten Einschalten der Versorgungsspannung gültig. Parameterliste...
  • Page 9 CR2513 AUSGANGS MODUL EMCY Objekte Folgende Fehlercodes gemäß DSP-401 bzw. DSP-301 werden unterstützt: EMCY Zusatz Error Reg Beschreibung Code code Input „Device Input Current“: 0x2100 0x81 channel - Überstrom an einem analogen Strom-Eingang bit-codiert „Device Output Current“: - Kurzschluß oder keine Last an einem Binär-Ausgang...
  • Page 10: Betriebsanzeige (Status-Led)

    CR2513 AUSGANGS MODUL Betriebsanzeigen LED-Farbe Zustand Beschreibung keine Versorgungsspannung Modul im Stand by-Modus CANopen-Status: PREOPERATIONAL / PREPARED Ausgänge = AUS Eingangszustände werden nicht übertragen grün Modul aktiv blinkend CANopen-Status: OPERATIONAL 2 Hz Ausgänge werden aktualisiert Eingangszustände werden übertragen Kommunikation ok Kommunikation gestört...
  • Page 11: Objektverzeichnis

    CR2513 AUSGANGS MODUL Objektverzeichnis Herstellerspezifische Profile; Index 2000 bis 5FFF Index S-Idx Name Default Beschreibung 2000 0x00 I/O configuration u8, rw 0x0C Anzahl der Einträge = Anzahl der I/O Kanäle 0x01 configuration u8, rw 0x02 Konfiguration Kanal 1 channel 1 0 = AUS 2 = Binär-Ausgang...
  • Page 12 CR2513 AUSGANGS MODUL Objektverzeichnis Herstellerspezifische Profile; Index 2000 bis 5FFF Index S-Idx Name Default Beschreibung 2000 0x0B configuration u8, rw 0x03 Konfiguration Kanal 11 channel 11 0 = AUS 3 = Analog-Eingang (Spannung) 0...10.000 mV 6 = Analog-Eingang (ratiometrisch) – ½U ) ÷...
  • Page 13: Kommunikationsprofile; Index 1000 Bis 1Fff

    CR2513 AUSGANGS MODUL Objektverzeichnis Kommunikationsprofile; Index 1000 bis 1FFF Index S-Idx Name Default Beschreibung 1000 device type u32, ro 0x0F0191 Prof. 401; Ein-/Ausgänge, binär und analog 1001 error register u8, ro 0x00 Bitcodiert gemäß Prof301; unterstützt wird: 0b 0000 0000...
  • Page 14 CR2513 AUSGANGS MODUL Objektverzeichnis Kommunikationsprofile ; Index 1000 bis 1FFF Index S-Idx Name Default Beschreibung 100D life time factor u8, rw 0x00 Wenn für "guard time" * "life time" kein "node guarding" empfangen wird, werden die Ausgänge ausgeschaltet. Der CANopen-Status wird nicht geändert.
  • Page 15 CR2513 AUSGANGS MODUL Objektverzeichnis Kommunikationsprofile; Index 1000 bis 1FFF Index S-Idx Name Default Beschreibung 1401 Receive PDO 2 u8, ro 0x02 Anzahl der Einträge Rec PDO 2; Analog-Ausgänge COB ID u32, rw 0x300 + - PDO ist gültig (Bit 31 = 0) Node ID - CAN ID des 2.
  • Page 16 CR2513 AUSGANGS MODUL Objektverzeichnis Kommunikationsprofile; Index 1000 bis 1FFF Index S-Idx Name Default Beschreibung 1800 Trans PDO 1 u8, ro 0x02 Anzahl der Einträge Trans PDO 1; Binär-Eingänge COB ID u32, rw 0x180 + - PDO ist gültig (Bit 31 = 0) Node ID - CAN ID des 1.
  • Page 17 CR2513 AUSGANGS MODUL Objektverzeichnis Kommunikationsprofile; Index 1000 bis 1FFF Index S-Idx Name Default Beschreibung 1A01 Mapping u32, ro 0x04 Anzahl der im Trans PDO 2 Trans PDO 2 eingebundenen Applikations-Objekte Index im u32, ro Im Idx 6401 SIdx 01 steht der Wert des...
  • Page 18: Programmierung

    Zustand „OPERATIONAL“ versetzt werden (LED blinkt grün; 2 Hz). Programmier-Funktion Wird die Funktion „CR2513“ in das Programm eingebunden, sorgt diese auto- matisch für eine ständige Aktualisierung der Ein-/Ausgangswerte in der Steue- rung. Die Funktion „CR2513“ befindet sich in der Bibliothek „CR2513_C.lib“ der...
  • Page 19 CR2513 AUSGANGS MODUL Datenstrukturen Die Übergabe von CR2513-Konfigurations- und E/A-Daten erfolgt über Daten- strukturen. Im Deklarationsteil muß die Struktur – ebenso wie andere Variablenty- pen – deklariert werden. Für Konfigurationsdaten kann im Deklarationsteil bereits eine Wertzuweisung enthalten sein. Im Programmablauf kann der Zugriff auf eine Strukturkomponente z.B. wie dar- gestellt erfolgen.
  • Page 20 CR2513 AUSGANGS MODUL Funktion: CR2513 CR2513 Library: CR2513_C.lib ENABLE CFG_RESULT INIT IO_RCV Zweck: Parametriert und liest NODE_ID die Konfigurations- und E/A-Daten CFG_READ des Ein-/Ausgangs-Moduls CFG_WRITE CR2513 CFG_DATA RX_TYPE TX_TYPE SYNC IO_DATA Parameter Name Datentyp Beschreibung Eingänge ENABLE BOOL TRUE: Funktion wird abgearbeitet...
  • Page 21 CR2513 AUSGANGS MODUL Datenstruktur: TYPE CR2513 ConfigStruct CR2513 ConfigStruct STRUCT GUARDTIME: TIME; Zweck: LIFETIME: BYTE; Parameter- und Konfigurationsdaten Ch1: BYTE; (*2000/1*) (*0,2,4,8*) können geschrieben/gelesen werden. Ch2: BYTE; (*2000/2*) (*0,2,4,8*) Ch3: BYTE; (*2000/3*) (*0,2,4,8*) Die Datenstruktur wird dem Funktions- Ch4: BYTE;...
  • Page 22 0 = AUS; Kurzschluß, Überlast, Ausgang offen (keine Last), Unter-, Überspannung oder Übertemperatur wird nicht über EMCY gemeldet. 1 = EIN; Bei o.g. Fehler an einem Ausgang wird das entsprechende EMCY-Objekt übertragen. Datenstruktur: TYPE CR2513 InOutStruct CR2513 InOutStruct STRUCT BinOut1: BOOL; Zweck: BinOut2: BOOL;...
  • Page 23: Wartung, Instandsetzung Und Entsorgung

    CR2513 AUSGANGS MODUL Name Datentyp Beschreibung AnaOut1 analoger Ausgangswert (PWM), Kanal 1 (wenn Konfig. = 4) analoger Ausgangswert (Danfoss) (wenn Konfig. = 8) AnaOut2 analoger Ausgangswert (PWM), Kanal 2 (wenn Konfig. = 4) analoger Ausgangswert (Danfoss) (wenn Konfig. = 8)
  • Page 24: Begriffe Und Abkürzungen

    CR2513 AUSGANGS MODUL Begriffe und Abkürzungen 0b ... binärer Zahlenwert (zur Bitcodierung), z.B. 0b0001 0000 0x ... hexadezimaler Zahlenwert, z.B. 0x64 (= 100 dezimal) Baudrate Übertragungsgeschwindigkeit (1 Baud = 1 Bit/sec.) CAN Application Layer CAN basierendes Netzwerkprotkoll auf Applikationsebende Controller Area Network (Bussystem für den Einsatz im Mobilbereich) CAN_H CAN-High;...
  • Page 25 CR2513 AUSGANGS MODUL Node-ID Knotenpunkt-Identifier (Kennung eines Teilnehmers im CANopen Netz) Objekt (auch OBJ) Oberbegriff für austauschbare Daten/Botschaften innerhalb des CANopen- Netzwerks Objektverzeichnis enthält alle CANopen-Kommunikationsparameter eines Gerätes, sowie gerä- tespezifische Parameter und Daten. Auf die einzelnen Einträge wird über den Index und S-Index zugegriffen.
  • Page 26 CR2513 INPUT OUTPUT MODULE Safety instructions This description is part of the unit. It contains texts and drawings concerning the correct handling of the controller and must be read before installation or use. Observe the information of the description. Non-observance of the notes,...
  • Page 27: Function And Features

    INPUT OUTPUT MODULE Function and features The CR2513 input/output module is used for decentralised connection of sensors and actuators to the CAN bus. • The module supports binary and analog inputs/outputs and is therefore classi- fied in the device profile "I/O module" to CiA DS 401.
  • Page 28: Technical Data

    CR2513 INPUT OUTPUT MODULE Technical data Housing closed screened metal housing with flange fastening Dimensions (l x w x h) 132 x 43 x 153 mm Mounting by means of 4 M5 x L screws to DIN 7500 or DIN 7984...
  • Page 29: Dimensions

    CR2513 INPUT OUTPUT MODULE Dimensions ±1 ±1 106,5 Mounting In order to expose the module to the minimum mechanical stress it should prefer- ably be mounted horizontally or vertically on the mounting panel. The module must be fixed with four screws to DIN 7500 or DIN 7984 (M5 x L).
  • Page 30: Wiring (With Configuration Examples)

    CR2513 INPUT OUTPUT MODULE Wiring (with configuration examples) Supply Output +DC Supply GND Supply +DC Inputs Outputs +VBB +VBB Channel 5 Channel 1 +VBB Digital digital digital Channel 6 z.B. Wegeventil e.g. two-way valves e.g. two-way valves +VBB +VBB Channel 2...
  • Page 31: Characteristics Of The Inputs/Outputs

    CR2513 INPUT OUTPUT MODULE Characteristics of the inputs/outputs Outputs, channels 1...4, can be configured as: semi-conductor outputs, positive switching (high side), short-circuit and over- load protected switching voltage 10 ... 30 V DC switching current max. 4 A total current max.
  • Page 32: Parameter And Emcy Object Overview

    CR2513 INPUT OUTPUT MODULE Parameter and EMCY object overview With the function "restore" (see object directory, index 1011) the parameters (except the baud rate and the node ID) can be assigned to the factory default val- ues. With the next power on they become valid.
  • Page 33 CR2513 INPUT OUTPUT MODULE EMCY Objects The following error codes to DSP-401 and DSP-301 are supported: EMCY Additional Error reg Description code code Input "Device input current": 0x2100 0x81 channel - overcurrent on an analog current input bit-coded "Device output current":...
  • Page 34: Operating Indicators (Status Led)

    CR2513 INPUT OUTPUT MODULE Operating indicators LED colour Status Description no supply voltage module in the stand-by mode CANopen state: PREOPERATIONAL / PREPARED outputs = OFF Input states are not transferred green module active flashing CANopen state: OPERATIONAL 2 Hz...
  • Page 35: Object Directory

    CR2513 INPUT OUTPUT MODULE Object directory Manufacturer-specific profile area; index 2000 to 5FFF Index S-idx Designation Type Default Description 2000 0x00 I/O configuration u8, rw 0x0C number of the entries = number of the I/O channels 0x01 configuration u8, rw...
  • Page 36 CR2513 INPUT OUTPUT MODULE Object directory Manufacturer-specific profile area; index 2000 to 5FFF Index S-idx Designation Type Default Description 2000 0x0B configuration u8, rw 0x03 Configuration channel 11 channel 11 0 = OFF 3 = analog input (voltage) 0...10,000 mV 6 = analog input (ratiometric) –...
  • Page 37: Communication Profile Area; Index 1000 To 1Fff

    CR2513 INPUT OUTPUT MODULE Object directory Communication profile area; index 1000 to 1FFF Index S-idx Designation Type Default Description 1000 device type u32, ro 0xF0191 Profile 401; Inputs and outputs, binary and analog 1001 error register u8, ro 0x00 Bit-coded to profile 301;...
  • Page 38 CR2513 INPUT OUTPUT MODULE Object directory Communication profile area; index 1000 to 1FFF Index S-idx Designation Type Default Description 100D life time factor u8, rw 0x00 If no "node guarding" is received for "guard time" x "life time", the output module switches the outputs off.
  • Page 39 CR2513 INPUT OUTPUT MODULE Object directory Communication profile area; index 1000 to 1FFF Index S-idx Designation Type Default Description 1401 Receive PDO 2 u8, ro 0x02 Number of the entries Rec PDO 2 analog outputs COB ID u32, rw 0x300 +...
  • Page 40 CR2513 INPUT OUTPUT MODULE Object directory Communication profile area; index 1000 to 1FFF Index S-idx Designation Type Default Description 1800 Trans PDO 1 u8, ro 0x02 Number of the entries Trans PDO 1; binary inputs COB ID u32, rw 0x180 +...
  • Page 41 CR2513 INPUT OUTPUT MODULE Object directory Communication profile area; index 1000 to 1FFF Index S-idx Designation Type Default Description 1A01 Mapping u32, ro 0x04 Number of the application objects Trans PDO 2 linked with the Trans PDO 2 Index in...
  • Page 42: Programming (Ecolog 100 Plus )

    "OPERATIONAL" (LED flashes green, 2 Hz). Programming function If the function "CR2513" is integrated into the program, this automatically ensures a continuous updating of the I/O data in the controller. The function "CR2513" is in the library "CR2513_C.lib" of the ifm programming software...
  • Page 43 OUTPUT MODULE Data structures The CR2513 configuration and I/O data are transferred via data structures. The structure as well as other variable types must be declared in the declaration part. For configuration data the declaration part can already contain an assignment of values.
  • Page 44 CR2513 INPUT OUTPUT MODULE Function: CR2513 CR2513 Library: CR2513_C.lib ENABLE CFG_RESULT INIT IO_RCV Purpose: Sets parameters and reads NODE_ID the configuration and I/O data CFG_READ of the input/output module CFG_WRITE CR2513 CFG_DATA RX_TYPE TX_TYPE SYNC IO_DATA Parameters Name Data type...
  • Page 45 CR2513 INPUT OUTPUT MODULE Data structure: TYPE CR2513 ConfigStruct CR2513 ConfigStruct STRUCT GUARDTIME: TIME; Purpose: LIFETIME: BYTE; Parameter and configuration data Ch1: BYTE; (*2000/1*) (*0,2,4,8*) can be written or read. Ch2: BYTE; (*2000/2*) (*0,2,4,8*) Ch3: BYTE; (*2000/3*) (*0,2,4,8*) The data structure is assigned to the Ch4: BYTE;...
  • Page 46 EMCY. 1 = ON; if one of the above-mentioned errors occurs on an output the respective EMCY object is transferred. Data structure: TYPE CR2513 InOutStruct CR2513 InOutStruct STRUCT BinOut1: BOOL;...
  • Page 47: Maintenance, Repair And Disposal

    CR2513 INPUT OUTPUT MODULE Name Data type Description AnaOut1 analog output value (PWM), channel 1 (if config. = 4) analog output value (Danfoss) (if config. = 8) AnaOut2 analog output value (PWM), channel 2 (if config. = 4) analog output value (Danfoss) (if config.
  • Page 48: Terms And Abbreviations

    CR2513 INPUT OUTPUT MODULE Terms and abbreviations 0b ... binary value (for bit coding), e.g. 0b0001 0000 0x ... hexadecimal value, e.g. 0x64 (= 100 decimal) Baudrate transmission speed (1 baud = 1 bit/s) CAN Application Layer CAN-based network protocol on application level...
  • Page 49 CR2513 INPUT OUTPUT MODULE Object (also OBJ) term for data/messages which can be exchanged in the CANopen network Object directory contains all CANopen communication parameters of a device as well as device-specific parameters and data Access to the individual entries is possible via the index and S index.

Table of Contents