DIN rails RS-232/RS-485 module with inputs for 2/4 incremental encoder

0 customer reviews

ab  1.413,13

 
To our advantages

 

New feature!

Extended input filter for Digital-IN / Timeout protection function for Digital-Out.
For more information, see the Description and Technical Data tabs!

Availability: In Stock SKU: RO-SER-CNT/IGR2-4 Category:

The RO-SER-CNT/IGR2-4 module is available in versions with 2 or 4 incremental encoder inputs. As interfaces the serial standards RS-232 or RS-485 are available. Additionally, the existing USB 2.0 port can be used.

  • RS-232/RS-485 interface with galvanic isolation
  • Open RS-232/485 protocol, plain text mode
  • USB 2.0 interface with up to 480 Mbit
  • 2 input counters (max. 10 MHz)
  • Connection for 2/4 incremental encoder via 3 differential inputs each
  • Internal 48-bit counter
  • Referencing by limit position switch
  • Galvanic isolation of the inputs

Incremental encoder input

With our IGR modules, the signals from incremental or rotary encoders can be evaluated. They are used to detect changes in angle or position and can thus determine the distance travelled and the direction of travel. In addition to position determination, incremental encoders can be used to measure speeds. The number of pulses per measured unit of time thus determines the absolute speed. Typically, the zero position of incremental encoders is unknown after switch-on. Therefore they must be referenced before the measurement is started.


LEDs

Each digital input and output has a separate LED that lights up when the signal state is active. Furthermore, the status of the operating voltage, the communication with the interface, error events or the occurrence of a timeout can be displayed.


Connectors

A screwless system from the manufacturer WAGO Kontakttechnik is used as the connector. The 1-wire female connectors are 100% protected against mismating and have an eject and locking mechanism. All conductor types up to 1.5mm² can be connected.


Software and control

Our DELIB driver library, which is included with the product, makes it easy to address the product via our API.

 

We offer support for the following programming languages:

  • C
  • C++
  • C#
  • VB
  • VBA
  • VB.Net
  • Java
  • Delphi
  • LabVIEW

We offer support for the following operating systems:

  • Windows 10 (32bit/64bit)
  • Windows 8/8.1 (32bit/64bit)
  • Windows 7 (32bit/64bit)
  • Windows Vista (32bit/64bit)
  • Windows XP (32bit/64bit)
  • Windows Server 2003 (32bit/64bit)
  • Windows 2000
  • Linux

Corresponding programming examples can be found in the “Software” section of the products or are included on the driver CD.


General

Power supply + 12V to +24V DC (via two-pin pluggable screw terminal)
LEDs • Operating voltage
• Interface Activity
• ERROR
• Input state change (only for digital inputs)
• Timeout shutdown
• Activity LED – flashes when accessing the IGR module
• Status LED – flashes when accessing the incremental encoder
• Direction LED’s – lights up for left or right direction of rotation
• Reset function – simultaneous flashing of both direction LED’s
Connectors • Type: Wago Kontakttechnik 713-1105/037-000
• Pluggable 10 pin female connector with locking mechanism
• 100 % malfunction protected
• 1-wire connection for all types of conductors up to 1.5mm²
DIN rail mounting TS 35
Operating temperature +10°C .. +50°C
Dimensions with 2 incremental inputs 122mm x 85 mm x 51,5 mm (HxWxD)
Dimensions with 4 incremental inputs 122mm x 126mm x 51,5mm  (HxWxD)

RS-232 / RS-485 – Interface
Interface • RS-232/RS-485
• Baudrate: 300 – 115.200 Baud
• Galvanic isolation up to 500 V
• Connection via 9 pin D-Sub connector
DIP switch • Activating a base configuration (preferential mode with 115kBd, module address = 0)
• Activating  the configuration via DIP switch
• Activating the Text Mode
• Setting the baud rate

USB-Interface
USB-Interface • Connection: type B
• USB 2.0 / USB 1.1 interface with up to 480Mbit

Incremental encoder module

Inputs • 2 incremental encoder inputs
• galvanically isolated up to 500V
• 3 differential inputs per incremental encoder input:
• A / A(Inverted) – Phi 0°
• B / B(Inverted) – Phi 90°
• Z / Z(Inverted) – Reset
• Differential input voltage: maximum +-25V
• Input filter configurable via software
Outputs • 2 voltage outputs: +5V/GND, fused with 500mA each
• Suitable for connecting an incremental encoder
Resolution Internal 48-bit counter
Counting frequency max. 10MHz

Additional information

Weight N/A
Number of incremental encoders

,

 

 

 

General information on the ICT tool

We have developed the new ICT tool to make commissioning our products as easy and straightforward as possible.
This tool combines all the important functions of our old programs, such as the Configuration Utility, Module Demo and DT-Flasher, in one.
With the ICT tool, you can now easily configure, test, diagnose, flash and debug our products.
In the following chapters, we would like to introduce you to our new all-in-one software in more detail.

Module selection

Here you can integrate your modules into the ICT tool by clicking on the “+” symbol, so that you can then configure or test them.


Start screen

Here you can find some important information about your selected module.
In addition, you can display the manual of the module as PDF or HTML version here.
Under “Show module IDs” you can call up all available module IDs. This ID is needed to integrate our products into your software projects.


ICT Treeview

In the treeview on the left side of the program window, you can see the respective forms that are supported by your module.
With a click you can then display this form in the right part of the program and perform possible configurations or tests.

Configuration

Configuration of the serial modules

Our serial modules of the RO-series and NET-series are able to handle the standards RS-232 and RS-485. At delivery the modules are always designed for RS-232 operation, but can be reconfigured to RS-485 by changing the jumper positions on the module. For further information please refer to the manual of the respective product.

 


Setting the RS-232 / RS-485 parameters via DIP switches

By means of DIP switches the following parameters can be set:

  • Module address (only for RS-485)
  • Baud rate
  • Preferred mode (115k Baud, module address = deactivated, echo = off)
  • Text Mode / Register Mode

More details about the control and some programming examples can be found in the programming section.

General Handling

DapiOpenModule
This function opens a particular module.

DapiOpenModule

 

Description

This function opens a specific module

 

Definition

ULONG DapiOpenModule(ULONG moduleID, ULONG nr);

 

Parameters

moduleID=Specifies the module to be opened (see delib.h)
nr=Specifies which one (in case of several modules) should be opened.
nr=0 -> 1st module
nr=1 -> 2nd module

 

Return-Value

handle=Corresponding handle for the module
handle=0 -> module was not found

 

Comment

The handle returned by this function is needed to identify the module for all other functions.

 

Programming example

// Open USB module
handle = DapiOpenModule(RO_USB1, 0);
printf(“handle = %x\n”, handle);
if (handle==0)
{
// USB module was not found
printf(“Modul konnte nicht geöffnet werden\n”);
return;
}

DapiCloseModule
This command closes an opened module.

DapiCloseModule

 

Description

This command closes an open module.

 

Definition

ULONG DapiCloseModule(ULONG handle);

 

Parameters

handle=This is the handle of an open module

 

Return-Value

None

 

Programming example

// Close module
DapiCloseModule(handle);

DapiGetLastError
This function returns the last registered error. If an error has occurred, it must be deleted with DapiClearLastError(), otherwise any call of DapiGetLastError() will return the "old" error. If multiple modules are used, the use of DapiGetLastErrorByHandle() is recommended.

DapiGetLastError

 

Description

This function returns the last detected error. If an error occurred, it must be cleared with DapiClearLastError(), otherwise any call to DapiGetLastError() will return the “old” error.
If more than one module should be used, it is recommended to use DapiGetLastLastErrorByHandle().

 

Definition

ULONG DapiGetLastError(void);

 

Parameters

None

 

Return-Value

Error Code
0=no error. (see delib_error_codes.h)

 

Programming example

BOOL IsError()
{
unsigned char msg[500];
unsigned long error_code = DapiGetLastError();

if (error_code != DAPI_ERR_NONE)
{
DapiGetLastErrorText((unsigned char*) msg, sizeof(msg));
printf(“Error Code = 0x%x * Message = %s\n”, error_code, msg);

DapiClearLastError();

return TRUE;
}

return FALSE;
}

DapiGetLastErrorByHandle
This function returns the last registered error of a particular module (handle). If an error has occurred, it must be deleted with DapiClearLastErrorByHandle(), otherwise any call of DapiGetLastErrorByHandle() will return the "old" error.

DapiGetLastErrorByHandle

 

Description

This function returns the last detected error of a specific module (handle). If an error occurred, it must be cleared with DapiClearLastErrorByHandle(), otherwise any call to DapiGetLastErrorByHandle() will return the “old” error.

 

Definition

ULONG DapiGetLastErrorByHandle(ULONG handle);

 

Parameters

handle=This is the handle of an open module

 

Return-Value

Error Code
0=no error. (see delib_error_codes.h)

 

Programming example

BOOL IsError(ULONG handle)
{
unsigned long error_code = DapiGetLastErrorByHandle(handle);

if (error_code != DAPI_ERR_NONE)
{
printf(“Error detected on handle 0x%x – Error Code = 0x%x\n”, handle, error_code);

DapiClearLastErrorByHandle(handle);

return TRUE;
}

return FALSE;
}

DapiGetLastErrorText
This function reads the text of the last registered error. If an error has occurred, it must be cleared with DapiClearLastError(), otherwise every call of DapiGetLastErrorText() returns the "old" error. Definition

DapiGetLastErrorText

 

Description

This function reads the text of the last detected error. If an error occurred, it must be cleared with DapiClearLastError(), otherwise any call to DapiGetLastErrorText() will return the “old” error.

 

Definition

ULONG DapiGetLastErrorText(unsigned char * msg, unsigned long msg_length);

 

Parameters

msg = Buffer for the text to be received
msg_length = Length of the text buffer

 

Programming example

BOOL IsError()
{
unsigned char msg[500];
unsigned long error_code = DapiGetLastError();

if (error_code != DAPI_ERR_NONE)
{
DapiGetLastErrorText((unsigned char*) msg, sizeof(msg));
printf(“Error Code = 0x%x * Message = %s\n”, error_code, msg);

DapiClearLastError();

return TRUE;
}

return FALSE;
}

DapiClearLastError
This function deletes the last error registered with DapiGetLastError().

DapiClearLastError

Description

This function deletes the last error registered with DapiGetLastError().

 

Definition

void DapiGetLastError(void);

 

Parameters

None

 

Return value

None

 

Example program

BOOL IsError()
{
unsigned char msg[500];
unsigned long error_code = DapiGetLastError();

if (error_code != DAPI_ERR_NONE)
{
DapiGetLastErrorText((unsigned char*) msg, sizeof(msg));
printf(“Error Code = 0x%x * Message = %s\n”, error_code, msg);

DapiClearLastError();

return TRUE;
}

return FALSE;
}

DapiClearLastErrorByHandle
This function deletes the last error of a particular module (handle), which was registered with DapiGetLastErrorByHandle().

DapiClearLastErrorByHandle

 

Description

This function deletes the last error of a particular module (handle), which was registered with DapiGetLastErrorByHandle().

 

Definition

void DapiClearLastErrorByHandle(ULONG handle);

 

Parameters

handle=This is the handle of an opened module.

 

Return value

None

 

Example program

BOOL IsError(ULONG handle)
{
unsigned long error_code = DapiGetLastErrorByHandle(handle);

if (error_code != DAPI_ERR_NONE)
{
printf(“Error detected on handle 0x%x – Error Code = 0x%x\n”, handle, error_code);

DapiClearLastErrorByHandle(handle);

return TRUE;
}

return FALSE;
}

DapiGetDELIBVersion
This function returns the installed DELIB version.

DapiGetDELIBVersion

 

Description

This function returns the installed DELIB version.

 

Definition

ULONG DapiGetDELIBVersion(ULONG mode, ULONG par);

 

Parameters

mode=Mode with which the version is read (must always be 0).
par=This parameter is not defined (must always be 0).

 

Return-Value

version=Version number of the installed DELIB version [hex]

 

Programming example

version = DapiGetDELIBVersion(0, 0);
//With installed version 1.32 version = 132(hex)

DapiOpenModuleEx
This function opens a specific module with ethernet interface.The particularity of this command is,that parameters like IP-address, portnumber and the duration of the timeout can be specified. The opening of the module is independent of the DELIB Configuration Utility settings.

DapiOpenModuleEx

 

Description

This function specifically opens a module with an Ethernet interface. The parameters IP address, port number and the duration of the timeout can be determined.
The module is opened independently of the settings made in the DELIB Configuration Utility.

 

Definition

ULONG DapiOpenModuleEx(ULONG moduleID, ULONG nr, unsigned char* exbuffer, 0);

 

Parameters

moduleID = Specifies the module to be opened (see delib.h)
nr = Specifies which one (in case of several modules) is to be opened
nr = 0 -> 1st module
nr = 1 -> 2nd module
exbuffer = buffer for IP address, port number and duration of the timeout

 

Return-Value

handle = Corresponding handle for the module
handle = 0 -> module was not found

 

Comment

The handle returned by this function is required to identify the module for all other functions.
This command is supported by all modules with Ethernet interface.

 

Programming example

// Open ETH-Module with parameter

DAPI_OPENMODULEEX_STRUCT open_buffer;

strcpy((char*) open_buffer.address, “192.168.1.10”);
open_buffer.portno = 0;
open_buffer.timeout = 5000;

handle = DapiOpenModuleEx(RO_ETH, 0, (unsigned char*) &open_buffer, 0);
printf(“Module handle = %x\n”, handle);

Blockschaltbild RO-CNT/IGR2

Connection example CNT/IGR

Connection example

Screwless connector system

The customer’s connection wiring of the inputs and outputs is carried out via screwless, pluggable terminal strips. The conductor connection is made by a so-called actuating tool.
A locking and ejection mechanism facilitates the insertion and removal of the complete terminal strip.

 

Handling

Step 1

Remove the operating tool from the scope of delivery.

Step 2

Insert the operating tool firmly into the side opening in the direction of conductor connection.

Step 3

Now insert the stripped conductor into the open terminal contact.

Schritt 4

Pull the operating tool out again.

Step 5

Check the correct connection of the conductor. It should now no longer be possible to pull it out easily.

Manual RO-Serie
Hard- and Software-description
Download
  • Description of the measurement modules
  • Configuration of the different module interfaces
  • Installation of the DELIB driver library

 


DELIB driver library

Manual of the DELIB driver library
Documentation of all functions for the driver library
Download
  • Windows 10, 8, Vista, 7, XP, 2000 andLinux
  • Moduel open/close functions
  • Digital inputs: reading 1 / 8 / 16 / 32 / 64 bit
  • Digital outputs: Write 1 / 8 / 16 / 32 / 64 bit
  • A/D Lesen: read, read_volt, read_mA, A/D Modus einstellen
  • D/A schreiben: write, write_volt, write_mA, D/A-Modus einstellen
DELIB (64-bit) driver library for Windows
For Windows 11/10, Windows 7, Windows 8, Vista, XP and 2000
Download

Installation file for the 64 bit DELIB driver library.

The following operating systems are supported:

64 bit

  • Windows 11/10 x64
  • Windows 7 x64
  • Windows 8 x64
  • Windows Server 2012 x64
  • Windows Server 2008 x64
  • Windows Vista x64
  • Windows XP x64
  • Windows Server 2003 x64

Included software

  • DT-Flasher x64
    Software to update DEDITEC module to the latest version
  • DELIB Configuration Utility x64
    Set configuration of module addresses
  • DELIB Module Config x64
    Configuration of module-specific settings
  • CAN Configuration Utility x64
    Set configuration of CAN modules
  • DELIB Module Demo x64
    Enables manual switching of a module
  • DELIB Command Line Interface x64
    Enables the execution of DELIB commands in the command line
  • Watchdog Configuration Utility x64
    Set configuration of a watchdog stick
DELIB (32-bit) driver library for Windows
For Windows 11/10, Windows 7, Windows 8, Vista, XP and 2000
Download

Installation file for the 32-bit version of the DELIB driver library.

The following operating systems are compatible:
32-Bit

    • Windows 11/10
    • Windows 7
    • Windows 8
    • Windows Server 2012
    • Windows Server 2008
    • Windows Vista
    • Windows XP
    • Windows Server 2003

64-Bit

  • Windows 10 x64
  • Windows 7 x64
  • Windows 8 x64
  • Windows Server 2012 x64
  • Windows Server 2008 x64
  • Windows Vista x64
  • Windows XP x64
  • Windows Server 2003 x64

Included software

  • DT-Flasher
    Software to update DEDITEC module to the latest version
  • DELIB Configuration Utility
    Set configuration of module addresses
  • DELIB Module Config
    Configuration of module-specific settings
  • CAN Configuration Utility
    Set configuration of CAN modules
  • DELIB Module Demo
    Enables manual switching of a module
  • DELIB Command Line Interface
    Enables the execution of DELIB commands in the command line
  • Watchdog Configuration Utility
    Set configuration of a watchdog stick

Attention:

With this version of the driver library, only 32-bit applications can be created, which can then be run on 32- and 64-bit systems.

DELIB driver library for Linux (32/64-bit)
For 32/64-bit Linux distributions starting with kernel 2.6.x
Download

DELIB driver library for Linux distributions (32/64-bit) starting with kernel 2.6.x

This driver package includes the following components:

  • DELIB USB driver
  • DELIB Ethernet driver
  • DELIB CLI

DELIB USB driver

Supports the following products:

  • NET-Series (via USB interface)
  • RO-USB-Series
  • BS-USB-Series
  • USB-Mini-Sticks
  • USB-Watchdog
  • USB-OPTION-8 / USB-RELAIS-8
  • USB-TTL-32 / USB-TTL-64

Note:

With the standard USB driver, you can access several USB products with different module IDs (for example one RO-USB and one USB-OPTOIN-8). Therefore, no additional driver installation is required.

If you want to access several USB products with the same module ID (for example one USB-OPTOIN-8 and one USB-RELAIS-8), you have to install additionally the Linux FTDI driver. The FTDI driver can be found at http://www.ftdichip.com.

 

DELIB Ethernet driver

Supports the following products:

  • NET-Series (via Ethernet Interface)
  • RO-ETH-Series
  • RO-ETH/LC-Series
  • BS-ETH-Serie
  • ETH-OPTION-8 / ETH-RELAIS-8
  • ETH-TTL-64

DELIB CLI

With the DELIB CLI (Command Line Interface) for Linux it is possible so controll all I/O’s over the command-line.

 

DELIB - Sample-Sources - Installer (approx. 10 MB)
Sample programs for different programming languages (Also in DELIB Setup included)
Download

Sample programs for different programming languages (Also in DELIB Setup included)

  • C (Microsoft Visual C++ 6.0, Borland C)
  • C++ (Microsoft Visual C++ 6.0)
  • C# (Microsoft Visual C# 2008 to 2015)
  • Delphi (Borland Delphi 7)
  • VB (Microsoft Visual Basic 6.0)
  • VB.NET (Microsoft Visual Basic 2008 to 2015)
  • Java (Java native interface)
  • Java.dll (Ethernet protocol for ethernet products)

 


Download

Hardware-Updates (Firmware)
Flash files for the DT-Flasher
Download

The flash files can also be downloaded directly in the DT-Flasher.

This package contains firmware files for the following products:

STARTER-series:

  • USB-MINI-Sticks
  • USB-8-er Opto/Relay
  • Ethernet 8-er Opto/Relay
  • USB-TTL I/O
  • Ethernet-TTL I/O

BS-series:

  • BS-CAN Module
  • BS-ETH Module
  • BS-USB Module
  • BS-SER Module

RO-series Interfaces:

  • RO-USB
  • RO-SER
  • RO-ETH
  • RO-ETH/LC
  • RO-CAN

RO-series I/Os:

  • AD / DA Module
  • CNT8 / CNT-IGR
  • O8-R8 Time module
  • PT100
  • Stepper2

Development accessories

  • USB Controller 8
  • USB Watchdog Stick

DEDITEC driver CD

DEDITEC Driver CD with many helpful tools and manuals for commissioning your DEDITEC products.

  • DELIB driver library for Windows
  • Test and configuration software
  • Manuals
  • Data sheets
  • Example programs for C++, C#, VB, VB.Net, Delphi, LabVIEW

2 pin plug connector

Allows the power supply to be connected to the DEDITEC module

  • Type: Phoenix Contact 1783287
  • 100 % malfunction protected
  • For all conductor types from 0.2mm² to 2.5mm²

10 pol connector

Required to connect your application to the DEDITEC module

  • Type: Wago Kontakttechnik 713-1105/037-000
  • Pluggable female connector with locking mechanism
  • 100 % malfunction protected
  • 1-wire connection for all types of conductors up to 1.5mm²

 

 

  • 100% fail-safe
    CAGE CLAMP® connection

Tool for wiring connectors

Serves to open and close the clamp contacts on the Wago connectors.
  • Type: Wago Kontakttechnik 734-231

2 meter USB A/B connection cable

2 meter USB connection cable A to B.

  • Type: Plug A to plug B
  • length: 1,8m

DSUB-9 connection cable

DSUB-9 extension cable. Female to male 1,8 Meter

USB watchdog stick with 2 relays for shift operations

This USB-WATCHDOG-STICK monitors your operating PC or server and can reset the hardware independently in case of a program crash. Simply integrate the function of the Watchdog Stick into your application. As soon as a timeout occurs and the watchdog stick is no longer periodically reset, the two relay outputs are switched through. With an appropriate connection cabling, for example, the PC reset could be activated, an external SMS modem can send warnings or a connected siren signals an alarm. With the help of our free configuration tool, you can define how the relays should switch in case of an error.

  • USB 2.0 / USB 1.1 interface
  • Watchdog function
  • Monitoring your control PC or server
  • Timeout times adjustable from 10ms to 10h
  • Windows Watchdog API
  • 2 NO contact relay (NO)
  • Connection cable with DSUB9 socket (approx. 1.8m)

Power supply 24V/2A for DIN rail mounting

The DR-4524 from Mean Well is a 48W rail mount power supply for industrial applications. It offers protection against short circuit, overload, overvoltage and overheating.

  • Input voltage range: 85V… 264V AC / 120V DC … 370V DC
  • Output voltage: 24V DC
  • Output current: 2A
  • Nominal power: 48W

2 pin plug connector

Allows the power supply to be connected to the DEDITEC module

  • Type: Phoenix Contact 1783287
  • 100 % malfunction protected
  • For all conductor types from 0.2mm² to 2.5mm²

10 pol connector

Required to connect your application to the DEDITEC module

  • Type: Wago Kontakttechnik 713-1105/037-000
  • Pluggable female connector with locking mechanism
  • 100 % malfunction protected
  • 1-wire connection for all types of conductors up to 1.5mm²

 

 

  • 100% fail-safe
    CAGE CLAMP® connection

Strain relief plate for 10 pole Wago connectors

A strain relief plate that can be mounted centrally between the conductor entries facilitates the plugging and unplugging process and allows easy access to the actuation openings even when wired.

  • Type: Wago / 713-126
  • Suitable for 10 pole female connectors with conductor connection
  • Mating and unmating aid for Wago connectors
  • Strain relief of the individual wired conductors
  • Simple assembly

Tool for wiring connectors

Serves to open and close the clamp contacts on the Wago connectors.
  • Type: Wago Kontakttechnik 734-231

DIN Rail

Top-hat rail for mounting our control technology modules.

  • Top-hat rail according to DIN EN 50022
  • Type: Phoenix Contact / 1208131
  • Dimensions in mm: 450 x 35 x 7.5 (L x W x D)

Reviews

There are no reviews yet.

Be the first to review “DIN rails RS-232/RS-485 module with inputs for 2/4 incremental encoder”

Your email address will not be published. Required fields are marked *