RS-232/RS-485 - module with 8 input counters and 2 output counters
RO-SER-CNT8
RS-232/RS-485 - module with 8 input counters and 2 output counters
- RS-232/RS-485 interface controlled input module
- 8 input counters (max. 20 MHz frequency)
- 2 ouput counters (max. 5 MHz frequency)
- all in-/outputs have 32bit-counters
- 4 different counter modes:
counting impulses+ counting impulses with "reset when read"/ distance measurement/ number of measurement/
PWM measurement
- galvanically isolated in-/outputs
- LED status indication per input state
The RS-232/RS-485 switching modules are designed for industrial use in switchboards for measuring, controlling and operating. Every module has a RS-232/RS-485 interface and is therefore easily connected to a serial port (e.g. PCs, terminal PCs ...). The RS-232/RS-485-bus has proven itself during many years and points to its high flexibility.
The particularity hereby is the concept of galvanic isolation of the RS-232/RS-485 interface. The galvanic isolation protects against voltage peaks.
32 Bit counter with input filter
Every input counter is assiocated with the counter-chip via a optical coupler (max. 20 MHz). Therefore a galvanical isolation is warranted, which allows to connect different voltage levels, but also provides protection for the counter module itself.
Every input counter is provided with a configurable filter. At this juncture, troubles can be filtered at a range of 100 ns to 1 ms .
The counter module has the following 4 modes:
Mode 0: Counting impulses
This mode allows to count impulses based on a rising edge. At this a reset via software is possible.
Mode 1: Counting impulses with "reset when read"
This mode allows to count impulses based on a rising edge. When reading the counter, the counter resets to zero at the same time.
Mode 2: Period determination
In this mode, the period duration "T" of the applied input signal is measured .
An internal 100 MHz counter is used as base period. The 32 Bit counter is placed in a buffer store (Latch), with a rising edge of the input signal, and can be evaluated, while the next signal is counted.
Mode 3: Number of measurement/ Frequency measurement
This mode can measure the number of rising edges of the input signal within a certain time. The mode provides the times 1ms, 10ms, 100ms, 1sec, and can be configurated via software. You could do frequency measurement for example.
Mode 4: PWM measurement
In this mode you can measure, with two different counters, the "high"-time and "low"-time of a signal. With this you can define the high / low-ratio (PWM).
By using an internal 100MHz counter, the PWM - ratio is meticulous.
Peculiarity here is that ANY counter / counter input can be configured separately (filter and counter-mode).
As terminal block, user-friendly terminal strips with locking protection and ejection mechanism are used. They allow quick replugging . The wire connection itself is realised with a screwless connector system. A tool is included with each module.

More info
RS-232/RS-485-interface
RS-232/RS-485-interface connection (galvanic isolated)
By using a 9 pin D-SUB connector the module will be connected to the PC or any other device using a serial interface.The module interface is galvanic isolated from connected devices by using an optocoupler.
Inputs
Visual monitoring of inputs
The state of every input is directly indicated by a LED. That way, wrong wiring is easily noticeable.
Input protection using optocoupler
The inputs have AC-suitable optocouplers. Therefore you don't need to pay attention to the polarity while wiring the inputs.
Connector
Easy to maintain connector system
The plug and socket consist of a multipoint socket connector and a multipin connector with a throw-off lever. Plug-in and plug-out is easy as well as rewiring the terminal strip. The wire connection itself is realized with a screwless connector system. A tool is included with each module.

Config
Configuration of the RS-232/RS-485 Module
A brand new serial module is delivered in RS-232 mode. To change this mode to RS-485, you just have to open the case and place some jumper. Detailed information can be found in the manual RO-Serie
RS-232/RS-485 parameter configuration
All serial parameter can be configured by a few DIP switches. Such as baudrate, module address, special-mode and other interface specifications.
The special-mode allows you to set the module on constant values. This may be useful for a quick start-up and defect analysis.

Tech.-Info
RS-232 / RS-485-Interface |
|
| Power Supply | 7V bis 24V DC (über zweipolige steckbare Schraubklemme) |
| Interface |
RS-232/RS-485 (galvanic isolated using optocoupler) Connection by 9 pin. D-SUB socket One LED for each 3,3V and 5V Voltage feed Baud rate: 1,25 MBit - 300 Bit |
| Control-LED |
RS-232/RS-485 -activity ERROR Input state change (only for digital outputs) Timeout (only for outputs) I/O Module access |
COUNTER8-Modul |
|
| Inputs |
8 input counters - max 20 MHz input frequency - 32-Bit counter - 15V-30V galvanical isolated inputs / reconfigurable to 5V-12V - Every input channel can be provided with a filter - Every input channel shows via LED,that an input state has been recorded |
| Ouputs |
2 ouput counters - max 5 MHz output frequency - 32-Bit counter The number of generated impulses can be set (0= an infinite number of impulses) - Configuration of low-time (10ns steps) - Configuration of high-time (10ns steps) - PWM outputs with the following modes for example: 1kHz - frequency PWM ratio with a resolution of 0,01% 10kHz - frequency PWM ratio with a resolution of 0,1% 100kHz - frequency PWM ratio with a resolution of 1% |
| Modes |
The following modes are supported: 0=counting impulses based on a rising edge 1=counting impulses based on a rising edge with "reset when read" 2=period determination 1ms 1ms/10ms/100ms/1s 3=number of measurement 1ms 1ms/10ms/100ms/1s 4=PWM measurement |
| Activity-LED |
Activity LED (short blink on communication on the interface) Status LED (short blink on accessing A/D converter) |
| Connectors | 10 pin pluggable terminal block for A/D channels |
General |
|
| Operating temperature | +10°C...+50°C |
| Dimensions | 85mm x 126 mm x 31 mm (lxwxh) |

Software
Controlling of our RS-232/RS-485 modules
Our RS-232/RS-485 modules can be controlled by two different ways.
1. The Windows driver library DELIB
The DELIB driver library allows a direct communication of our modules. You don't have to worry about the Handshake and the serial protocoll. The DELIB DLL assumes it for you!
2. You may program the controlling software by yourself
In our download area you can find a conform protocol. So our serial modules can be connected to small Linux computers or workstations for engineering, with RS-232/RS485 Interface.
Controlling by the DELIB driver library under Windows
The extensive but easy handling library is written for computer language, which responds to DLL's. Programming examples in source code for C, Delphi or Visual Basic can be found in our download area.
Examples for responsing our products with "C"
In the following example we show you in "C", how to access to our input modules in short time.
1. Step: Open the module
handle = DapiOpenModule(RO-SER,0); // Open serial module
2. Step: Reading of 16 digital inputs
data = DapiDIGet16(handle, 0); // Read the first 16 digital inputs
3. Step: Close the module
DapiCloseModule(handle); // Close the module
The function "DapiOpenModule" is used to open a special kind of module.
Which module should be openend, is defined by the two parameters.
The first parameter is for the "module ID". By the integrated "DELIB.H", you can also set this parameter to "RO-SER".
So the driver library recognize, that a serial interface will be driven.
The second parameter assigns the module number. If only one module is connected to the pc, the module number is "0". Are there more than one module in the network, you have to set the correct number.
The link to the according IP-address of the module can be configured by the "DELIB-Configuration Utility".
Testprogram with examples for digital inputs
| Digital Input/Output Sample Testprogramm für Module |
|
Click to enlarge ![]() |
With this program you can test our modules very easily. The digital input/output sample testprogram is easy to use and supports all of our measurement modules. The example above shows the test of a RO-USB-O32 input module.
Controlling by the open source ethernet protocol
If required, you can program your own controlling software. The according communication protocol is disclosed. The modules will be controlled by register. Therefore we designed an open source communication protocol, which allows to respond to the modules and excecute read/write commands.
The manual "Serial Protocol" describes transmission and receiving frames, to communicate with our serial modules.

Overview about available DELIB-Functions
General
General Handling
DapiOpenModule
ULONG DapiOpenModule(ULONG moduleID, ULONG nr);
This function opens a particular module. p>
DapiCloseModule
ULONG DapiCloseModule(ULONG handle);
This command closes an opened module. p>
DapiGetLastError
ULONG DapiGetLastError();
This function returns the last registered error. p>
DapiGetLastErrorText
ULONG DapiGetLastErrorText(unsigned char * msg, unsigned long msg_length);
This function reads the text of the last registered error. p>
DapiGetDELIBVersion
ULONG DapiGetDELIBVersion(ULONG mode, ULONG par);
This function returns the installed DELIB version. p>
Special
Special functions
DapiSpecialCommand - DapiSpecialCMDGetModuleConfig
ULONG DapiSpecialCommand(ULONG handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, par, 0, 0);
This command returns the hardware equipment (number of in-/output channels) of the module. p>
Digital-input
Digital input functions
DapiCnt48ModeSet
void DapiCnt48ModeSet(ULONG handle, ULONG ch, ULONG mode);
This command sets the count mode for a single input channel. p>
DapiCnt48ModeGet
ULONG DapiCnt48Modeget(ULONG handle, ULONG ch);
This command returns the count mode of a single input channel. p>
DapiCnt48CounterGet32
ULONG DapiCnt48CounterGet32(ULONG handle, ULONG ch);
This command reads the first 32 bits of a 48 bit input counter. p>
DapiCnt48CounterGet48
ULONGLONG DapiCnt48CounterGet48(ULONG handle, ULONG ch);
This command reads a 48 bit counter of an input counter. p>

Connector
Plug connection
Screwless plug connectors
All input and output connectors have a practical, screwless terminal block. An mechanic ejection guarantees a very quick module change without any special tools. Wire connection happens with screwdriver or an included plastic pin. (s. pic.1)
Pic1:
Connection example of a RO-Module
![]() |
RO-MODULE | |
![]() |
Step 1:
| |
![]() |
Step 2:
| |
![]() |
Step 3:
| |
![]() |
Step 4:
|

Optional E.
Hutschiene-1m
Die 1m Hutschiene eignet sich optimal zur schnellen Montage unserer Steuer/Regeltechnik-Module.
Netzteil 24V/2A für Hutschinenmontage
Das Hutschienen-Netzteil bietet Anwendern eine sichere Arbeitsumgebung und ist eine ideale Spannungsversorgung für unsere Steuer/Regeltechnik-Module. Es besitzt einen Wirkungsgrad von bis zu 80% und Internationale Sicherheitszulassungen Dank der Isolationsklasse 2 als auch der Sicherheit die das Hutschienen-Netzteil bietet.
10 poliger Steckverbinder mit Auswerfmechanik
Unsere Steckverbinder bieten einen einfachen und sicheren Anschluss an unsere Module. Durch die integrierte Auswerfermechanik ist das nachträgliche Austauschen der angeschlossenen Module möglich.

Manuals
Manuals
Manual RO-Series
Manual RO-Series Technical hardware manual for the whole RO-Serie
- Description of the measurement modules
- Configuration of the different module interfaces
- Installation of the DELIB driver library
Manual RO-SER-INTERFACE
Manual RO-SER-INTERFACE (Extract of the Manual RO-Series)Software documentation of our RO-SER-Interfaces
Manual RO-Register Assignment
Manual RO-Register Assignment
- Description accessing the registers
- Description of the input, ouput and configuration registers
- Installing the DELIB driver library
Manual RO-SER Transfer Protocol
Manual RO-SER Transfer Protocol Description of the send and receive frame to communicate with the RS-232/RS-485 modules
Datasheets
Datasheets
Driver
Driver / Programs
Manual for DELIB Driver Library for Windows 7, Windows Vista, XP, 2000 and Linux
Manual for DELIB Driver Library for Windows 7, Windows Vista, XP, 2000 and Linux Documentation of all functions
- module open/close functions
- Digital Input read 1 / 8 / 16 / 32 / 64 bit
- Digital Output write 1 / 8 / 16 / 32 / 64 bit
- A/D Read, read_volt, read_mA, set A/D mode
- D/A Write, write_volt, write_mA, set D/A mode
DELIB driver library for Windows 7, Vista, XP and 2000
DELIB driver library for Windows 7, Vista, XP and 2000
Installation file for USB driver
supports the following operating systems: 32 Bit:
- Windows 7
- Windows Server 2008
- Windows Vista
- Windows XP
- Windows Server 2003
- Windows 2000
64 Bit:
- Windows 7 x64
- Windows Server 2008 x64
- Windows Vista x64
- Windows XP x64
- Windows Server 2003 x64
Downloads
Downloads
RO Flasher Update
RO Flasher Update Flasher software for firmware update of the RO-CPU Modules and the Mini Sticks














