Herunterladen Inhalt Inhalt Diese Seite drucken
IFM Electronic CR2513 Handbuch
IFM Electronic CR2513 Handbuch

IFM Electronic CR2513 Handbuch

Ecomat100 ein-/ausgangs-modul input

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

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

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltszusammenfassung für IFM Electronic CR2513

  • Seite 1 Geräte-Handbuch Device manual Ein-/Ausgangs-Modul Input/output module CR2513...
  • Seite 2: Inhaltsverzeichnis

    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...
  • Seite 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.
  • Seite 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ß...
  • Seite 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.
  • Seite 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...
  • Seite 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 ‰...
  • Seite 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...
  • Seite 9: Emcy Objekte

    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...
  • Seite 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...
  • Seite 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...
  • Seite 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 ) ÷...
  • Seite 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...
  • Seite 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.
  • Seite 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.
  • Seite 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.
  • Seite 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...
  • Seite 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...
  • Seite 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.
  • Seite 20: Funktion

    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...
  • Seite 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;...
  • Seite 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;...
  • Seite 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)
  • Seite 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;...
  • Seite 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.
  • Seite 26: Safety Instructions

    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,...
  • Seite 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.
  • Seite 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...
  • Seite 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).
  • Seite 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...
  • Seite 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.
  • Seite 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.
  • Seite 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":...
  • Seite 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...
  • Seite 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...
  • Seite 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) –...
  • Seite 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;...
  • Seite 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.
  • Seite 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 +...
  • Seite 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 +...
  • Seite 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...
  • Seite 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...
  • Seite 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.
  • Seite 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...
  • Seite 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;...
  • Seite 46: Structure Components

    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;...
  • Seite 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.
  • Seite 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...
  • Seite 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.

Inhaltsverzeichnis