Product overview

Lösungen

Software / Misc.

References

Downloads

Newsletter
Subscribe here to receive our free Newsletter:
USB relay module with 32 relay outputs
RO-USB-R32
Product highlights
- USB interface with 480Mbit
- Optionally available is a galvanic isolation
- 32 Relays outputs
- Timeout output protection via software configurable
- LED status indication for each output channel
- Galvanic isolation for relays
- Max. relays voltage: 36V AC / 36V DC
- Suitable for DIN rail mounting
Shipping Costs
close
Versandkosten / Shipping Costs
Genannte Versandkosten beziehen sich auf Sendungen bestehend aus einem Paket mit einem Gewicht bis zu 2kg.
Mentioned shipping costs are calculated for one package with a weight up to 2kg.
If your country is not listet in the table below, please do not hesitate to contact us regarding shipping to your desired destination.
| Land | Price EUR | Duration | Express EUR | Duration Express | |
![]() |
Deutschland | 6,90 | 1-3 day(s) | 19,90 | 1 day |
![]() |
Belgium | 12,00 | 1-3 day(s) | 25,00 | 1 day |
![]() |
Luxembourg | 12,00 | 1-3 day(s) | 25,00 | 1 day |
![]() |
Netherlands | 12,00 | 1-3 day(s) | 25,00 | 1 day |
![]() |
Czech republic | 12,00 | 1-3 day(s) | 25,00 | 1 day |
![]() |
Poland | 16,50 | 1-3 day(s) | 29,00 | 1 day |
![]() |
Slovakia | 16,50 | 1-3 day(s) | 29,00 | 1 day |
![]() |
Slovenia | 16,50 | 1-3 day(s) | 29,00 | 1 day |
![]() |
Denmark | 25,00 | 1-3 day(s) | 38,00 | 1 day |
![]() |
Finland | 25,00 | 1-3 day(s) | 38,00 | 1 day |
![]() |
France | 25,00 | 1-3 day(s) | 38,00 | 1 day |
![]() |
Britain | 25,00 | 1-3 day(s) | 38,00 | 1 day |
![]() |
Austria | 25,00 | 1-3 day(s) | 38,00 | 1 day |
![]() |
Sweden | 25,00 | 1-3 day(s) | 38,00 | 1 day |
![]() |
Italy | 25,00 | 1-3 day(s) | 38,00 | 1 day |
![]() |
Bulgaria | 21,00 | 1-3 day(s) | 34,00 | 1 day |
![]() |
Estonia | 21,00 | 1-3 day(s) | 34,00 | 1 day |
![]() |
Latvia | 21,00 | 1-3 day(s) | 34,00 | 1 day |
![]() |
Lithuania | 21,00 | 1-3 day(s) | 34,00 | 1 day |
![]() |
Romania | 21,00 | 1-3 day(s) | 34,00 | 1 day |
![]() |
Hungary | 21,00 | 1-3 day(s) | 34,00 | 1 day |
![]() |
Greece | 24,00 | 1-3 day(s) | 37,00 | 1 day |
![]() |
Ireland | 24,00 | 1-3 day(s) | 37,00 | 1 day |
![]() |
Spain | 24,00 | 1-3 day(s) | 37,00 | 1 day |
![]() |
Liechtenstein | 30,00 | 1-3 day(s) | 43,00 | 1 day |
![]() |
Norway | 30,00 | 1-3 day(s) | 43,00 | 1 day |
![]() |
Switzerland | 30,00 | 1-3 day(s) | 43,00 | 1 day |
![]() |
San Marino | 30,00 | 1-3 day(s) | 43,00 | 1 day |
![]() |
Bosnia-Herzegovina | 71,00 | 1-3 day(s) | 84,00 | 1 day |
![]() |
Russia | 71,00 | 1-3 day(s) | 84,00 | 1 day |
![]() |
Turkey | 71,00 | 1-3 day(s) | 84,00 | 1 day |
![]() |
Canada | 65,00 | 1-3 day(s) | 78,00 | 1 day |
![]() |
United States of America | 65,00 | 1-3 day(s) | 78,00 | 1 day |
![]() |
Mexico | 67,00 | 1-3 day(s) | 80,00 | 1 day |
![]() |
Puerto Rico | 67,00 | 1-3 day(s) | 80,00 | 1 day |
![]() |
Brazil | 99,00 | 1-3 day(s) | 112,00 | 1 day |
![]() |
South Africa | 109,00 | 1-3 day(s) | 122,00 | 1 day |
![]() |
United Arab Emirates | 109,00 | 1-3 day(s) | 122,00 | 1 day |
![]() |
Australia | 99,00 | 1-3 day(s) | 112,00 | 1 day |
![]() |
China | 88,00 | 1-3 day(s) | 101,00 | 1 day |
![]() |
Hong Kong | 88,00 | 1-3 day(s) | 101,00 | 1 day |
![]() |
India | 88,00 | 1-3 day(s) | 101,00 | 1 day |
![]() |
Portugal | 24,00 | 1-3 day(s) | 37,00 | 1 day |
![]() |
Japan | 88,00 | 1-3 day(s) | 101,00 | 1 day |
Genannte Laufzeiten sind immer ca. Werte.
Mentioned durations are always approximate values.
close
Description
A product identical in construction with Ethernet interface may be found here(RO-series
The products of the RO-Series, with its broad base of interfaces and I/Os, offers a perfect fundamental for many task areas in measurement and control technology. For the users, the highest flexibility will be provided by the modular system. You can use our DELIB-API or our open communication protocols.
RO-USB Interface
The products of the RO-Series are equipped with a high-speed USB 2.0 interface with a transfer rate of up to 480Mbit. An USB A/B cable is used for communication with the control PC or a SPS. The RO-USB interface is backward compatible as well as forward compatible and therefor it is suitable for USB 1.1, USB 2.0 and USB 3.0.Driving with the DELIB driver library & Command-Line-Interface
Our DELIB-driver library for Windows is included, also as download available. This offers different programs for configuration and controlling our products. For a LINUX-environment, we also offer driver.Our CLI enables a comfortable addressing of our products via ethernet- as well as USB-interface. Our digital and analog in-/outputs will be supported. The CLI is both for Windows and for Linux available.
Identification of several USB-products
For usage of several identical USB-products, the DELIB configuration utility is included. With the help of this program you can configure one identification number for each USB product. Thus, a clearly communication with up to 16 USB-modules in one system is possible.Power supply & status indicator
The power supply of the product is carried out via a 12V to 24V DC power adapter. A suitable din rail power adapter, can be found in opt. equipment.The USB-interface has got 6 Status-LED′s One Power-LED to display the voltage supply. Based on the Inferface-Activity LED you can read out, if there is progressing a communication via the CAN interface. The Error-LED is illuminated in case of an Error. The Input-Change LED shows a change of the input signals. Timeout-LED signals the triggering of the timeout-protection-function. Accessing to digital in/outputs can be recognized by the I/O-Access-LED.
Optional galvanic isolation
For a galvanic isolation, we are offering RO-USB-Interface1 Stick, which can be found in opt. equipment. The galvanic isolation is realized by converting the USB-signals on PCs' side into a RS232 signal on module side. The RO-USB-Interface1 Stick will be connected via the D-Sub9 socket on the RO-USB product.Digital Outputs (Relay)
The RO-Series relays outputs are closing relays and can switch up to 36V DC/AC. The outputs can be switched separately or simultaneously up to 64 relays as well, via software. A logical 0 means the relay is open. If we got a logical 1 the relay attracts and transmits the connected signal.
Please Note: Under the heading Opt. Equipment you can find more relays, which enable switching higher voltages and currents.
Galvanic isolation & Status-LED
Each output has a LED available, which displays the logical status of the output. By using relays, all digital outputs are galvanically isolated with each other, as well as with the interface. In the connection wiring, there is no need to pay attention to the polarity of the relay outputs.Timeout-shutdown
Via software-command, there is a timeout-protection available to activate for the relay-outputs. In case of an error, for example a communication problem with a control-PC, the the relays will be opened automatically. The interval until triggering timeout, will be set at the activation of timeout. The interval can be set to 100 millisecond steps. If timeout is active or inactive can be readout via software. If the communication between control-PC and product is restored, you can query if timeout was triggered. In addition, the triggering of timeout will be signaled, by an interface LED of the product.Service-friendly plug-in system
All inputs / outputs feature screw less connectors.
These allow easy connecting and disconnecting, as well as a rapid rewiring of Headers. A tool is included with each module.
Please note: Additional connectors can be ordered as optional equipment.
Software
Controlling by the DELIB DLL under Windows
The DELIB DLL allows a standard respond of all DEDITEC measurement modules. For this we provide all functions of our products to the software engineer.
Useful information:
Simple test program with example for digital inputs
The DELIB Module Demo is included in the delivery and offers the possibility of easy access to all I/Os and simple testing as well. On the screenshot you can see a RO-ETH product with temperature sensors, digital outputs and stepping motor controls. The program is compatible to all interfaces and I/Os of the control & motion control products.
DELIB Module Demo
Examples for responding 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-USB,0); // Open RO-USB-module
The function "DapiOpenModule" is used to open a special kind of module.
Which module should be opened, 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-USB1". So the driver library recognize, that an ethernet 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 module-number can be changed via the DELIB Configuration Utility.
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
Controlling of more than one USB-module
Example for opening several modules on one PC:
Open a module with ID "1"
handle1 = DapiOpenModule(RO-USB1,1); // open USB-module with ID=1
Open a module with ID "4"
handle2 = DapiOpenModule(RO-USB1,4); // open USB-module with ID=4
Technical data
USB-Interface |
|
| Power Supply | 7 to 24V DC (by a double-pole pluggable screw clamp) |
| Interface |
USB with 480Mbit USB 2.0 / USB 1.1 One LED for each 3,3V and 5V voltage feed |
| API-library | Easy to implement C library to access the inputs and outputs |
| Control-LED |
USB-activity ERROR Input state change (only for digital outputs) Timeout (only for outputs) I/O Module access |
Relays-Output-Module |
|
| Outputs |
32 Relay output Galvanically isolated using relays |
| Type | Switch-on relays |
| Relay data |
logical null = MOSFET off; logical one = MOSFET on |
| Activity-LED | One LED per output channel |
| Timeout-Function |
Selectable time-out protection in case the module can not be reached. Following commands are available:
|
| Connectors | 16 pin pluggable terminal block for each 8 outputs |
General |
|
| Operating temperature | 10°C...+50°C |
| Dimensions | 126 mm x 122 mm x 51,5 mm (lxwxh) |
Configuration
Configuration of USB modules
A configuration of a USB product is not needed - this complete the driver with their Plug and Play mechanism.
Working with several modules
Are more than one USB products working on a system, the driver library differentiate between these modules.
Every brand new USB product has the ID "0". The ID can be changed by the DELIB-Configuratin Utility and will be stored in an EEPROM on the module.
So you can use up to eight identical modules on one PC.
DELIB-Configuration Utility für USB Module
Delivery content
DEDITEC driver CD
The DEDITEC driver cd includes all necessary drivers and programs to start with our products. manuals, datasheets and sample programs are also on the cd.
Bipolar angled connectors
The bipolar angled connector allows a clean power supply wiring .
16 pol connector with ejection mechanism
Our connectors provide a simple and secure connection to our modules.Through the integrated threaded coupling the subsequent replacement of the connected modules is possible.
Tool for wiring connectors
With this tool, the connecting terminals of the connector can be opened. If the wiring is done, the terminal is closed again by removing the tool.
Diagrams
Block diagram RO-R16

Connection sample
Connection sample RO-R16

DELIB-API commands
General Handling
DapiOpenModule
This function opens a particular module. p>
DapiOpenModule
Description
This function opens a particular module.
Definition
ULONG DapiOpenModule(ULONG moduleID, ULONG nr);
Parameters
moduleID=Specifies the module, which is to be opened (see delib.h)
nr=Indicates No of module which is to be opened.
nr=0 -> 1. module
nr=1 -> 2. module
Return value
handle=handle to the corresponding module
handle=0 -> Module was not found
Remark
The handle returned by this function is needed to identify the module for all other functions.
Example program
// USB-Modul öffnen
handle = DapiOpenModule(RO_USB1, 0);
printf("handle = %x\n", handle);
if (handle==0)
{
// USB Modul wurde nicht gefunden
printf("Modul konnte nicht geöffnet werden\n");
return;
}
DapiCloseModule
This command closes an opened module. p>
DapiCloseModule
Description
This command closes an opened module.
Definition
ULONG DapiCloseModule(ULONG handle);
Parameters
handle=This is the handle of an opened module
Return value
None
Example program
// Modul schliessen
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. p>
DapiGetLastError
Description
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.
Definition
ULONG DapiGetLastError(void);
Parameters
None
Return value
Error Code
0=no error. (see delib_error_codes.h)
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;
}
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. p>
DapiGetLastErrorByHandle
Description
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.
Definition
ULONG DapiGetLastErrorByHandle(ULONG handle);
Parameters
handle=This is the handle of an opened module.
Return value
Error code
0=no error. (see delib_error_codes.h)
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;
}
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. p>
DapiGetLastErrorText
Description
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
ULONG DapiGetLastErrorText(unsigned char * msg, unsigned long msg_length);
Parameters
msg = text buffer
msg_length = length of the buffer
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;
}
DapiClearLastError
This function deletes the last error registered with DapiGetLastError(). p>
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(). p>
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. p>
DapiGetDELIBVersion
Description
This function returns the installed DELIB version.
Definition
ULONG DapiGetDELIBVersion(ULONG mode, ULONG par);
Parameters
mode=Mode, with which the version is readout (must be 0).
par=This parameter is not defined (must be 0).
Return value
version=Version number of the installed DELIB version [hex].
Example program
version = DapiGetDELIBVersion(0, 0);
//Bei installierter Version 1.32 ist version = 132(hex)
Special functions
DapiSpecialCommand - DapiSpecialCMDGetModuleConfig
This command returns the hardware equipment (number of in-/output channels) of the module. p>
DapiSpecialCommand - DapiSpecialCMDGetModuleConfig
Description
This command returns the hardware equipment (number of in-/output channels) of the module.
Definition
ULONG DapiSpecialCommand(ULONG handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, par, 0, 0);
Parameters
handle=This is the handle of an open module.
Get number of digital input channels
par=DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DI
Get number of digital output channels
par=DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DO
Get number of digital in-/output channels
par=DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DX
Get number of analog input channels
par=DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_AD
Get number of analog output channels
par=DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DA
Get number of stepper channels
par=DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_STEPPER
Return value
Get number of digital input channels
return=Number of digital input channels
Get number of digital output channels
return=Number of digital output channels
Get number of digital in-/output channels
return=Number of digital in-/output channels
Get number of analog input channels
return=Number of analog input channels
Get number of analog output channels
return=Number of analog output channels
Get number of stepper channels
return=Number of stepper channels
Example program
ret=DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DI, 0, 0);
//Gibt die Anzahl der digitalen Eingangskanäle zurück
ret=DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DO, 0, 0);
//Gibt die Anzahl der digitalen Ausgangskanäle zurück
ret=DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DX, 0, 0);
//Gibt die Anzahl der digitalen Ein-/Ausgangskanäle zurück
ret=DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_AD, 0, 0);
//Gibt die Anzahl der analogen Eingangskanäle zurück
ret=DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DA, 0, 0);
//Gibt die Anzahl der analogen Ausgangskanäle zurück
ret=DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_STEPPER, 0, 0);
//Gibt die Anzahl der Stepperkanäle zurück
Digital output functions
DapiDOSet1
This is the command to set a single output. p>
DapiDOSet1
Description
This is the command to set a single output.
Definition
void DapiDOSet1(ULONG handle, ULONG ch, ULONG data);
Parameters
handle=This is the handle of an opened module
ch=Specifies the number of the output to be set to (0 ..)
data=Specifies the data value that is to be written (0 / 1)
Return value
None
Requirements
The following SW-Feature-Bits have to be supported by the module:
DAPI_SW_FEATURE_BIT_CFG_DO
The following requirements for the parameters must be met:
maxCh = DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DO, 0, 0);
maxCh > ch
DapiDOSet8
This command sets 8 digital outputs simultaneously. p>
DapiDOSet8
Description
This command sets 8 digital outputs simultaneously.
Definition
void DapiDOSet8(ULONG handle, ULONG ch, ULONG data);
Parameters
handle=This is the handle of an opened module
ch=Specifies the number of the output, from which it begins to write to (0, 8, 16, 24, 32, ..)
data=Specifies the data values, to write to the outputs
Return value
None
DapiDOSet16
This command sets 16 digital outputs simultaneously. p>
DapiDOSet16
Description
This command sets 16 digital outputs simultaneously.
Definition
void DapiDOSet16(ULONG handle, ULONG ch, ULONG data);
Parameters
handle=This is the handle of an opened module
ch=Specifies the number of the output, from which it begins to write to (0, 16, 32, ..)
data=Specifies the data values, to write to the outputs
Return value
None
DapiDOSet32
This command sets 32 digital outputs simultaneously. p>
DapiDOSet32
Description
This command sets 32 digital outputs simultaneously.
Definition
void DapiDOSet32(ULONG handle, ULONG ch, ULONG data);
Parameters
handle=This is the handle of an opened module
ch=Specifies the number of the output, from which it begins to write to (0, 32, 64, ..)
data=Specifies the data values, to write to the outputs
Return value
None
Example program
// Einen Wert auf die Ausgänge schreiben
data = 0x0000ff00; // Ausgänge 9-16 werden auf 1 gesetzt
DapiDOSet32(handle, 0, data); // Chan Start = 0
printf("Schreibe auf Ausgänge Daten=0x%x\n", data);
printf("Taste für weiter\n");
getch();
// ----------------------------------------------------
// Einen Wert auf die Ausgänge schreiben
data = 0x80000000; // Ausgang 32 wird auf 1 gesetzt
DapiDOSet32(handle, 0, data); // Chan Start = 0
printf("Schreibe auf Ausgänge Daten=0x%x\n", data);
printf("Taste für weiter\n");
getch();
// ----------------------------------------------------
// Einen Wert auf die Ausgänge schreiben
data = 0x80000000; // Ausgang 64 wird auf 1 gesetzt
DapiDOSet32(handle, 32, data); // Chan Start = 32
printf("Schreibe auf Ausgänge Daten=0x%x\n", data);
printf("Taste für weiter\n");
getch();
DapiDOSet64
This command is to set 64 digital outputs. p>
DapiDOSet64
Description
This command is to set 64 digital outputs.
Definition
void DapiDOSet64(ULONG handle, ULONG ch, ULONGLONG data);
Parameters
handle=This is the handle of an opened module
ch=Specifies the number of the output, from which it begins to write to (0, 64, ..)
data=Specifies the data values, to write to the outputs
Return value
None
DapiDOClrBit32
With this command you can change the states of outputs to 0 without changing the states of the neighboring outputs. p>
DapiDOClrBit32
Description
With this command you can change the states of outputs to 0 without changing the states of the neighboring outputs.
Definition
void DapiDOClrBit32(uint handle, uint ch, uint data);
Parameters
handle = handle of the corresponding module.
ch = Specifies the number of the output, from which it will begin to write
data = Specifies the data value which will be written to the outputs (32 Bit)
Return value
None
Remark
Only the bits with a value of 1 in the data parameter are taken into account by the command.
Example program
data = 0x1; // Output 0 would be changed to 0. The states of outputs 1-31 won't be changed
DapiDOSetBit32(handle, 0, data);
data = 0xf; // Outputs 0-3 would be changed to 0. The states of outputs 4-31 won't be changed
DapiDOSetBit32(handle, 0, data);
data = 0xff; // Outputs 0-7 would be changed to 0. The states of outputs 8-31 won't be changed
DapiDOSetBit32(handle, 0, data);
data = 0xff000000; // Outputs 23-31 would be changed to 0. The states of outputs 0-21 won't be changed
DapiDOSetBit32(handle, 0, data);
DapiDOSetBit32
With this command you can change the states of outputs to 1 without changing the states of the neighboring outputs. p>
DapiDOSetBit32
Description
With this command you can change the states of outputs to 1 without changing the states of the neighboring outputs.
Definition
void DapiDOSetBit32(uint handle, uint ch, uint data);
Parameters
handle = handle of the corresponding module.
ch = Specifies the number of the output, from which it will begin to write
data = Specifies the data value which will be written to the outputs (32 Bit)
Return value
None
Remark
Only the bits with a value of 1 in the data parameter are taken into account by the command.
Example program
data = 0x1; // Output 0 would be changed to 1. The states of outputs 1-31 won't be changed
DapiDOSetBit32(handle, 0, data);
data = 0xf; // Outputs 0-3 would be changed to 1. The states of outputs 4-31 won't be changed
DapiDOSetBit32(handle, 0, data);
data = 0xff; // Outputs 0-7 would be changed to 1. The states of outputs 8-31 won't be changed
DapiDOSetBit32(handle, 0, data);
data = 0xff000000; // Outputs 23-31 would be changed to 1. The states of outputs 0-21 won't be changed
DapiDOSetBit32(handle, 0, data);
DapiDOReadback32
This command reads back the 32 digital outputs. p>
DapiDOReadback32
Description
This command reads back the 32 digital outputs.
Definition
ULONG DapiDOReadback32(ULONG handle, ULONG ch);
Parameters
handle=This is the handle of an opened module
ch=Specifies the number of the input, from which it begins to read from (0, 32, ..)
Return value
Status of 32 outputs.
Special functions
DapiSpecialCommand - DapiSpecialCMDTimeout
This command serves to set the timeout time p>
DapiSpecialCommand - DapiSpecialCMDTimeout
Description
This command serves to set the timeout time
Definition
void DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_TIMEOUT, cmd, par1, par2);
Parameters
handle=This is the handle of an opened module
Set timeout time
cmd=DAPI_SPECIAL_CMD_TIMEOUT_SET_VALUE_SEC
par1=Seconds [s]
par2=Milliseconds [100ms] (value 6 stands for 600ms)
Activate timeout
cmd=DAPI_SPECIAL_CMD_TIMEOUT_ACTIVATE
Deactivate timeout
cmd=DAPI_SPECIAL_CMD_TIMEOUT_DEACTIVATE
Example program
DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_TIMEOUT, DAPI_SPECIAL_TIMEOUT_SET_VALUE_SEC, 3, 7);
//Die Zeit des Timeouts wird auf 3,7sek gesetzt.
DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_TIMEOUT, DAPI_SPECIAL_TIMEOUT_ACTIVATE, 0, 0);
//Der Timeout wird aktiviert.
DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_TIMEOUT, DAPI_SPECIAL_TIMEOUT_DEACTIVATE, 0, 0);
//Der Timeout wird deaktiviert.
DapiSpecialCommand - DapiSpecialCMDTimeoutGetStatus
This command reads the timeout status. p>
DapiSpecialCommand - DapiSpecialCMDTimeoutGetStatus
Description
This command reads the timeout status.
Definition
ULONG DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_TIMEOUT, DAPI_SPECIAL_TIMEOUT_GET_STATUS, 0, 0);
Parameters
handle=This is the handle of an opened module
Return value
Return=0 (timeout is deactivated)
Return=1 (timeout is activated)
Return=2 (timeout has occurred)
Example program
status = DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_TIMEOUT, DAPI_SPECIAL_TIMEOUT_GET_STATUS, 0, 0); //Abfrage des Timeout-Status.
Software FIFO-functions
DapiSpecialCMDSoftwareFifo
This command controls the configuration of the Software-FIFO of the RO-ETH-Modules. p>
DapiSpecialCMDSoftwareFifo
Description
This command controls the configuration of the Software-FIFO of the RO-ETH-Modules.
Definition
ULONG DapiSpecialCommand(ULONG handle, DAPI_SPECIAL_CMD_SOFTWARE_FIFO, ULONG cmd, 0, 0);
Parameters
handle = This is the handle of an opened module
Software FIFO activate
cmd = DAPI_SPECIAL_SOFTWARE_FIFO_ACTIVATE
Software FIFO deactivate
cmd = DAPI_SPECIAL_SOFTWARE_FIFO_DEACTIVATE
Software FIFO Status request
cmd = DAPI_SPECIAL_SOFTWARE_FIFO_GET_STATUS
Return value
cmd=DAPI_SPECIAL_SOFTWARE_FIFO_ACTIVATE
no return value
cmd=DAPI_SPECIAL_SOFTWARE_FIFO_DEACTIVATE
no return value
cmd=DAPI_SPECIAL_SOFTWARE_FIFO_GET_STATUS
return=0 (Software FIFO deactivate)
return=1 (Software FIFO activate)
Example program
DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_SOFTWARE_FIFO, DAPI_SPECIAL_SOFTWARE_FIFO_ACTIVATE, 0, 0);
// Activates the software FIFO
status = DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_SOFTWARE_FIFO, DAPI_SPECIAL_SOFTWARE_FIFO_GET_STATUS, 0, 0);
// Reads the status of the software FIFO
DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_SOFTWARE_FIFO, DAPI_SPECIAL_SOFTWARE_FIFO_DEACTIVATE, 0, 0);
// Deactivates the software FIFO
Connector
Screw less plug connectors
All input and output connectors have a practical, screw less terminal block. A mechanic ejection guarantees a very quick module change without any special tools. Wire connection happens with the included plastic pin.Connection example of a RO-Module
Step 1
In every shipment of a RO or BS-Product is a plastic pin tool included.
Step 2
Push the plastic tool into the small notch at the side of the terminal block, to open the clamp contacts for the wire connection.
Step 3
When you are looking into the wire hole, you can see, that the clamp contacts have been opened. The end of the wire should be bared 5-7mm. Now put it as deep as possible into the opened hole.
Step 4
After that, pull the plastic tool out of the notch. The clamp is closed again now.
Step 5
After correct connecting, pull out the wiring by hand isn't no more possible
Opt. equipment
DIN rail 1m
This mounting rail has a length of 1m ( 3,28 feet / 39,37 inches ) and is the best solution to mount one or more modules.
12V din rail relay
If the switching power of our modules is not enough, this relais can switch up to 250V AC. Our relay or MOS 12V outputs can be used for switching this relay.
24V din rail relay
If the switching power of our modules is not enough, this relais can switch up to 250V AC. Our relay or MOS 24V outputs can be used for switching this relay.
230V din rail solid state relay for inductive load
With this solid-state relay, we extend the maximum switching voltage of our digital output modules to 230V AC.
These relays can be controlled through our relay or MOS outputs. As a control voltage 32V DC ... 3.5 here can be used. With this solid state relay inductive loads can be switched.
230V din rail relay for ohmic load
With this solid-state relay, we extend the maximum switching voltage of our digital output modules to 600V AC.
These relays can be controlled through our relay or MOS outputs. As a control voltage 32V DC ... 3.5 can be used. With this solid state relay resistive loads can be switched.
8-times relay powermodule (switching capacity 40V/10A), which can be controlled by relays/opto-couplers
The MOD-REL8_10A is an eight-times extension module, which has 8 relays with a switching capacity of 40V/10A AC or 40V/8A DC. This module can be controlled directly by opto-coupler outputs (e.g. SPS) or relay outputs, which can not switch high capacities.
Power supply 24V/2A for DIN rail mounting
The DIN rail power supply provides users with a safe working environment and is an ideal power supply for our control / regulation technology modules. It has an efficiency of up to 80% and International safety approvals Thanks to the insulation class 2 as well as the security offered by the DIN rail power supply.
16 pol connector with ejection mechanism
Our connectors provide a simple and secure connection to our modules.Through the integrated threaded coupling the subsequent replacement of the connected modules is possible.

RO-USB-Modules














































