UC-CAN module with 16 optocoupler inputs

0 customer reviews

 391,51

Desined-in-Germany

OUR PROMISE TO YOU:


 
Our advantages
 


New!

Our UC series stand-alone modules now also with digital inputs and outputs.
Available from February 2025!

Availability: In Stock SKU: UC-CAN-O16 Category:

Our UC-CAN modules are stand-alone modules with an open CAN protocol. The UC-CAN-O16 has 16 digital inputs for recording voltage levels from +5V to +50V AC /DC.

  • CAN interface with galvanic isolation
  • Open CAN protocol
  • Automatic send/receive mode
  • 16 digital inputs: 15V – 30V AC/DC (optional 5V – 15V or 30V – 50V)
  • 16-bit counter per channel (up to 10kHz) with latch function
  • Filter for counters / flip-flops adjustable from 5ms – 255ms
  • LED status display for each input channel

Digital inputs

With our optocoupler inputs, digital signal states can be recorded within a voltage range of 5V to 30V AC or DC. Input and output circuits are galvanically isolated from each other up to 2.5kV.

 

Digital In Input Filter

With our Digital-In modules, an input filter can be set in a time interval of 1ms…255ms to filter interference pulses.

This means that AC signals can also be detected cleanly.

 

Counter

Each input has a 16 bit counter that can count up to 65535 pulses. If the maximum counter value is exceeded, the counting process starts again from zero. By means of a software command, the current status of all input counters can be read from the module simultaneously.

 

Recording of status changes

Status changes that occur between the readout cycles are reliably detected by internal flip-flops and can be read out separately by software. In addition, such an event is signalled by a status LED. Resetting is done automatically after the flip-flops have been read out.


LEDs

There are a number of status LEDs on the front of the modules. This gives you a quick overview of the most important functions of the modules, such as the switching status of the individual I/Os, module status or whether there is proper communication with the module. This can be very helpful for quick error analysis, especially when used in the field.


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.


General

Current consumption 35mA / 24V
LEDs • Interface communication
• Module status
• One LED per input channel
Connector • Pluggabel 5-pole plug-in screw terminal for power supply and CAN-bus
• Pluggable 16 pole female connectors with locking mechanism
• 100 % mismating protected
• 1-conductor connection for all types of conductors up to 1.5mm²
Top-hat rail mounting TS 35
Operating temperature +10°C to +50°C
Dimensions 120 mm x 22,5 mm x 111 mm (H x W x D)

CAN-Interface

Interface • CAN 2.0A or CAN 2.0B (galvanically isolated up to 500V)
• 1 Mbit/s, 500 Kbit/s, 250 Kbit/s, 125 Kbit/s, 100 Kbit/s, 50 Kbit/s, 20 Kbit/s or 10 Kbit/s
• Open CAN protocol
• Automatic processing of CAN packets (Auto RX/TX Mode)
• Connection via 5 pin screw terminal

 


Digital inputs

Optocoupler inputs • 16 Inputs
• 15V – 30V DC/AC signal voltage (optional 5V – 15V or 30V – 50V DC/AC)
• Galvanic isolation between input and output circuit : up to 2.5kV AC for 1 minute
• Maximum input current: 14mA
• 16 bit counter per channel
• Maximum possible counting operations: 65535 / channel. Reset to zero after memory overflow
• Internal counting logic up to 10kHz with latch function
• Programmable filter for input channels (flip-flop and counter):
• Minimum low or high pulse duration: 5ms…255ms
• Detects a change from low to high and high to low level
• Detection of input status change between two readout processes

Additional information

Weight 0,16 kg
A/D Resolution

,

ICT-Tool our all-in-one software

Integration, configuration and testing – our new, comprehensive tool for all our products. All functionalities are integrated in the Windows ICT tool.
It covers everything from commissioning the DEDITEC modules to testing, diagnostics and firmware updates.
The ICT tool combines all previous programs, such as the DELIB Configuration Utility, the Demo module and the DT-Flasher, in one application and has been supplemented with numerous other functions.

 

 

 

 

Overview screen of the ICT tool with all functions. These are described in more detail in the following chapters
 

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.

ICT-Tool module selection. Display of the ICT-Tool at program start

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-Tool module info. Display of the ICT tool when the module is open

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.

ICT-Tool Treeview. Presentation of the ICT tool, explanation of the structure

Configuration

Configuration of CAN modules

Depending on the product series, our CAN modules can be configured either by software or DIP switches. Depending on the mode used, the modules are controlled via the open CAN protocol (2.0A or 2.0B) or via the automatic receive mode (Auto-RX) or automatic transmit mode (Auto-TX). The Auto-TX mode allows cyclic transmission of data packets, optionally with analog or digital input states to other CAN addresses. Alternatively, a trigger event can be defined. Here a data packet is only transmitted if a data packet on a certain CAN ID has been received before (e.g. CAN sync to ID 0x80). With the Auto-RX mode, however, received data packets are forwarded directly to analog or digital outputs. For example, relay outputs can be set via another CAN bus participant.

 


The 3 CAN operating modes

Depending on the product series, you can make CAN settings in different ways.

 

1. Software mode (for NET series, UC series, RO series and BS series)

In software mode, the parameters of the CAN interface are completely configured via the ICT-Tool included in the scope of delivery. In addition to the baud rate, CAN address and other settings, automatic send and receive packets can also be set up.

 

2. Preferred mode (RO series and BS series only)

If the product is operated in preferred mode, the following default values are used for communication:

 

  • Baud rate: 100 kHz
  • CAN-ID: 0x100
  • Master-ID: 1

3. Dip switch mode (RO series only)

The following CAN parameters can be set by means of DIP switches:

 

  • Baud rate
  • CAN address

 


ICT-Tool

With the help of the ICT-Tool settings of the CAN interface can be read out or changed quickly and easily.

 

Status Interface

Here you can find information about the status of the CAN interface

 

  • Baud rate
  • Module address
  • Receiving address
  • CAN-Status
  • Extended ID
  • CAN-Modus
ICT-Tool CAN Status

Status TX/RX

Here you can find information about the TX / RX packages

 

  • Number of packets sent / received
  • TX / RX – packets per second
  • Average sent / received packets
ICT-Tool CAN Statistic

Config Interface

Here settings can be made on the CAN interface.

 

  • Baud rate
  • Adress Bit-mode
  • Module address
  • Receiving address
ICT-Tool CAN Status

Config I/O Init

Here you can configure the CAN settings of the connected submodules.

 

  • A/D mode
  • A/D filter
  • D/A mode
  • Counter mode
  • Timeout
  • CNT48 mode
  • CNT48 submode
  • CNT48 filter
ICT-Tool CAN IO Config

Config TX-Mode

Here you can make settings to the TX packet configuration.

 

  • activate / deactivate
  • Trigger mode
  • Interval
  • Use extended ID
  • Send to CAN ID
  • TX-Mode
ICT-Tool CAN Config TX

Config RX-Mode

Here you can make settings to the RX package configuration.

 

  • activate / deactivate
  • Use extended ID
  • Receive from CAN ID
  • RX-Mode
ICT-Tool CAN Config RX

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

M2M-CAN

Machine-to-machine, or M2M for short, involves direct communication between two or more modules. Analog or digital input signals from a transmitter module can be sent channel by channel via the CAN bus to channels on the receiver module. All DEDITEC products with a CAN interface are designed for automatic data exchange. M2M communication settings can be made using the ICT tool in the CAN configuration area.
Depending on the module type, up to 8 or 16 RX and TX modes can be defined using preset options

CAN configuration

In this example, CAN packets are sent every 500ms via the CAN bus to CAN ID 700.

M2M CAN TX
M2M CAN RX

Control of CAN modules

The CAN modules are configured via the ETH or USB interface of the module. Via the DT-ICT-Tool included in the scope of delivery, an automatic send and receive mode can be configured in addition to the module address and the baud rate.

 


TX mode

In TX mode, the modules are able to automatically send CAN packets in a freely definable time interval (milliseconds to seconds). The adjacent figure shows the configuration of a TX packet which is sent to CAN address 200 every 1000ms and contains the logical status of the first 64 optocoupler inputs.

ICT-Tool CAN TX

RX mode

In RX mode, CAN packets can be received automatically and output to the digital or analog outputs of the module. Up to 4 CAN addresses can be configured individually. The figure on the right shows the configuration of an RX packet. The received logical data at CAN address 0x10, is transferred to the relay outputs 1-64.

ICT-Tool CAN RX

DEDITEC CAN Addressing Mode

Register accesses to all functions of the modules can be executed via a CAN protocol designed by us. Thus BYTE, WORD and LONG accesses are possible. A register assignment and protocol description can be found in the download area.

 


DELIB Command Mode

In the DELIB command mode the register of the product can be accessed selectively. Read and write commands with different amounts of data are available. An overview can be found in the manual “Protocols & Register Assignment” in the download area.

 

CAN protocol documentation

General Handling

DEDITEC ICON
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.

 

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);

Digital input functions

DEDITEC ICON
DapiDIGet1
This command reads a single digital input.

DapiDIGet1

 

Description

This command reads a single digital input.

 

Definition

ULONG DapiDIGet1(ULONG handle, ULONG ch);

 

Parameters

handle=This is the handle of an open module
ch= Specifies the number of the input to be read (0, 1, 2, 3, .. )

 

Return-Value

Status of the input (0/1)

 

Requirements

The following SW feature bits must be supported by the module:

DAPI_SW_FEATURE_BIT_CFG_DI

The following conditions for the transfer parameters must be met:

maxCh = DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DI, 0, 0)
maxCh > ch

DapiDIGet8
This command reads 8 digital inputs simultaneously.

DapiDIGet8

 

Description

This command reads 8 digital inputs simultaneously.

 

Definition

ULONG DapiDIGet8(ULONG handle, ULONG ch);

 

Parameters

handle=This is the handle of an open module
ch= Specifies the number of the input from which the read is to start (0, 8, 16, 24, .. )

 

Return-Value

Status of the read inputs

 

Requirements

The following SW feature bits must be supported by the module:

DAPI_SW_FEATURE_BIT_CFG_DI

The following conditions for the transfer parameters must be met:

maxCh = DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DI, 0, 0)
maxCh > ch ch must be 0, 8, 16, …

DapiDIGet16
This command reads 16 digital inputs simultaneously.

DapiDIGet16

 

Description

This command reads 16 digital inputs simultaneously.

 

Definition

ULONG DapiDIGet16(ULONG handle, ULONG ch);

 

Parameters

handle=This is the handle of an open module
ch= Specifies the number of the input from which the read is to start (0, 16, 32, …)

 

Return-Value

Zustand der gelesen Eingänge

 

Requirements

The following SW feature bits must be supported by the module:

DAPI_SW_FEATURE_BIT_CFG_DI

The following conditions for the transfer parameters must be met:

maxCh = DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DI, 0, 0)
maxCh > ch ch must be 0, 16, 32, …

DapiDIGet32
This command reads 32 digital inputs simultaneously.

DapiDIGet32

 

Description

This command reads 32 digital inputs simultaneously.

 

Definition

ULONG DapiDIGet32(ULONG handle, ULONG ch);

 

Parameters

handle=This is the handle of an open module
ch= Specifies the number of the input from which the read is to start (0, 32, 64, ..)

 

Return-Value

Status of the read inputs

 

Requirements

The following SW feature bits must be supported by the module:

DAPI_SW_FEATURE_BIT_CFG_DI

The following conditions for the transfer parameters must be met:

maxCh = DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DI, 0, 0)
maxCh > ch ch must be 0, 32, 64, …

 

Programming example

unsigned long data;
// —————————————————-
// Read a value from the inputs (input 1-31)
data = (unsigned long) DapiDIGet32(handle, 0);
// Chan start = 0
printf(“Input 0-31 : 0x%x\n”, data);
printf(“key for further\n”);
getch();
// —————————————————-
// Read a value from the inputs (input 32-64)
data = (unsigned long) DapiDIGet32(handle, 32);
// Chan Start = 32
printf(“Input 32-64 : 0x%x\n”, data);
printf(“key for further\n”);
getch();

DapiDIGet64
This command reads 64 digital inputs simultaneously.

DapiDIGet64

 

Description

This command reads 64 digital inputs simultaneously.

 

Definition

ULONGLONG DapiDIGet64(ULONG handle, ULONG ch);

 

Parameters

handle=This is the handle of an open module
ch= Specifies the number of the input from which the read is to start (0, 64, ..)

 

Return-Value

Status of the read inputs

 

Requirements

The following SW feature bits must be supported by the module:

DAPI_SW_FEATURE_BIT_CFG_DI

The following conditions for the transfer parameters must be met:

maxCh = DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DI, 0, 0)
maxCh > ch ch must be 0 or 64

DapiDIGetFF32
This command reads the flip-flops from the inputs and resets them. (Input state change).

DapiDIGetFF32

 

Description

This command reads the flip-flops of the inputs and resets them.
(input state change)

 

Definition

ULONG DapiDIGetFF32(ULONG handle, ULONG ch);

 

Parameters

handle=This is the handle of an open module
ch= Specifies the number of the input from which the read is to start (0, 32, 64, ..)

 

Return-Value

Status of 32 input status changes

 

Requirements

The following SW feature bits must be supported by the module:

DAPI_SW_FEATURE_BIT_CFG_DI_FF

The following conditions for the transfer parameters must be met:

maxCh = DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DI_FF, 0, 0)
maxCh > ch ch must be 0, 32, 64, …

Digital input counter

DEDITEC ICON
DapiDIGetCounter
This command reads the counter of a digital input.

DapiDIGetCounter

 

Description

This instruction reads the input counter of a digital input.

 

Definition

ULONG DapiDIGetCounter(ULONG handle, ULONG ch, ULONG mode);

 

Parameters

handle=This is the handle of an open module.
ch=Specifies the number of the input from which to read.
mode=0 (normal counting function)
mode=DAPI_CNT_MODE_READ_WITH_RESET (read counter and reset direct counter)
mode=DAPI_CNT_MODE_READ_LATCHED (read out the stored counter value)

 

Return-Value

Output of the counter value

 

Requirements

The following SW feature bits must be supported by the module:

DAPI_SW_FEATURE_BIT_CFG_DI_CNT

The following conditions for the transfer parameters must be met:

maxCh = DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, DAPI_SPECIAL_GET_MODULE_CONFIG_PAR_DI_COUNTER, 0, 0)
maxCh > ch

 

Programming example

value = DapiDIGetCounter(handle, 0 ,0); // counter of DI Chan 0 is read
value = DapiDIGetCounter(handle, 1 ,0); // counter of DI Chan 1 is read
value = DapiDIGetCounter(handle, 8 ,0); // counter of DI Chan 8 is read
value = DapiDIGetCounter(handle, 0 ,DAPI_CNT_MODE_READ_WITH_RESET); // counter of DI Chan 0 is read AND reset
value = DapiDIGetCounter(handle, 1, DAPI_CNT_MODE_READ_LATCHED); // Reading the stored counter value of DI Chan 1

DapiSpecialCommand - DapiSpecialCounterLatchAll
This command saves the counter values of all digital inputs simultaneously into a temporary storage (latch). So, after that, the counter of the latch can be read successively. Here, the speciality is, that it is possible to "freeze" simultaneously the counter and the frozen counter (latch) can be read one by one.

DapiSpecialCommand – DapiSpecialCounterLatchAll

 

Description

This instruction stores the counter readings of all input counters simultaneously in a buffer (latch).
Thus, all counter readings of the latch can be read out one after the other.
A special feature is that a simultaneous “freezing” of the counter readings is possible and the frozen readings (latch) can then be read out one after the other.

 

Definition

void DapiSpecialCommand(ULONG handle, DAPI_SPECIAL_CMD_COUNTER, DAPI_SPECIAL_COUNTER_LATCH_ALL, 0, 0);

 

Parameters

 

Comment

This command is only supported by our O8-R8 time modules!

 

Programming example

DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_COUNTER, DAPI_SPECIAL_COUNTER_LATCH_ALL, 0, 0);

DapiSpecialCommand - DapiSpecialCounterLatchAllWithReset
This command saves the counters of all digital inputs simultaneously into a temporary storage (latch). In addition, the counters of the digital inputs will be reset.

DapiSpecialCommand – DapiSpecialCounterLatchAllWithReset

 

Description

This instruction stores the counter readings of all input counters simultaneously in a buffer (latch). Additionally, the counter readings of the input counters are reset afterwards.

 

Definition

void DapiSpecialCommand(ULONG handle, DAPI_SPECIAL_CMD_COUNTER, DAPI_SPECIAL_COUNTER_LATCH_ALL_WITH_RESET, 0, 0);

 

Parameters

 

Comment

This command is only supported by our O8-R8 time modules!

 

Programming example

DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_COUNTER, DAPI_SPECIAL_COUNTER_LATCH_ALL_WITH_RESET, 0, 0);

Connection example Optoin

Anschlussbeispiel

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 UC series
Hardware and software description
Download
  • Description of the control technology modules
  • Configuration of the different module interfaces
  • Software installation of the DELIB driver library

Software packages ICT tool / DELIB driver library

Manual of the software package (ICT tool + DELIB)
Documentation of the ICT tool and all commands of 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
64-bit software package (ICT tool + DELIB) for Windows
For Windows 11/10, Windows 7, Windows 8, Vista, XP and 2000
Download

Software package for the 64-bit version of the ICT tool and the DELIB driver library. 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
32-bit software package (ICT tool + DELIB) for Windows
For Windows 11/10, Windows 7, Windows 8, Vista, XP and 2000
Download

Software package for the 32-bit version of the ICT tool and 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. Version 2.73 from 28.10.2024
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 flashfile package)
Firmware flashfile package for the ICT-Tool
Download

The firmware flash file package can also be downloaded directly from the ICT tool.

This package contains firmware files for the following series:

  • STARTER-Series
  • BS-Series
  • RO-Series
  • NET-Series
  • UC-Series
  • CAN-IO-Box
  • Development tools

16-pin plug connector

Required to connect your application to the DEDITEC module

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

5-pin plug connector

Connection terminal for power supply and CAN bus.

  • Type: Phoenix Contact 1876343
  • 100% protected against mismating
  • For all wire types from 0.14mm² to 1.5mm²

1 meter USB A/C cable

  • Type: Plug A to plug C
  • length: 1m

Tool for wiring connectors

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

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

DIN rail connector

The DIN-Rail connector is a single BUS segment which allows the connection to other modules. It is clipped into the DIN-rail and plugged into the side of an existing DIN-Rail connector.

  • DIN-Rail Bus Connectors
  • Connection of a NET, UC or COS module
  • For extension of the NET, UC or COS bus system
  • 1 piece

16-pin plug connector

Required to connect your application to the DEDITEC module

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

Strain relief plate for 16 or 18 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-127
  • Suitable for 16/18 pole female connectors with conductor connection
  • Mating and unmating aid for Wago connectors
  • Strain relief of the individual wired conductors
  • Easy mounting

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)

Event control

 

A mini SPS

To make our modules even more customer-friendly and flexible and to make it easier for you to enter the world of automated control technology, we have implemented a new feature called event control in our products. This function can be used to save small control tasks in the module, which then automatically execute actions according to the “if-then” principle.

 

Configuration in the ICT-Tool
You can use the ICT-Tool to configure and monitor 16 events and 16 actions.

 

Processing in the module
The events stored in the module are automatically monitored and processed by the CPU after the module is started. As soon as the set condition is fulfilled, the corresponding action is executed. This automatic process means that an additional control PC with associated application software is not required.

 

Functions

The following actions can be combined with the event control, among others:

  • Monitoring the analog and digital inputs (A/D, DI)
  • Setting the switching thresholds of the A/D inputs
  • Switching the module outputs (Relais, MOSFET, D/A)
  • Sending CAN packages

We are constantly expanding the range of promotional options. We are also happy to implement your special customer wishes for you on request.


EC statistics

The statistics section provides a quick overview of all current actions and events

EC statistic

Event configuration

The configuration page for configuring an A/D event looks like this

EC events

Configuration Action

This is what the configuration page looks like if a CAN package is to be sent as an action

EC actions

Module series supported by this function:

  • BS-USB2 series
  • BS-WEU series
  • NET series
  • UC series
  • CAN-Box series

 

Module series that are not supported by this function:

  • Starter series
  • RO series
  • COS series

Reviews

There are no reviews yet.

Be the first to review “UC-CAN module with 16 optocoupler inputs”

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

Use our advantages

DEDITEC Logo

Lifetime
updates

Free soft- & hardware(firmware)-updates.
Enjoy our lifetime update service.

DEDITEC Logo

5 years
Delivery availability

We offer at least 5 years delivery availability for our products.
Our experience shows that it is even about 10 years.

DEDITEC Logo

Questions about the product? Product support

Do you have any technical or commercial questions about the product before you buy?
Please contact us in advance.

DEDITEC Logo

Customer-
modifications

Our products often serve as the basis for customer-specific solutions.
Just get in touch with us.

DEDITEC Logo

We are
always there for you!

Since its foundation in 2008, Dipl. Ing. Jürgen Siebert has been the managing director of DEDITEC GmbH. He will also be happy to advise you personally.

DEDITEC LogoProduct- & Service-Hotline: +49 (0) 22 32 / 50 40 8 – 40 DEDITEC LogoQuestions about the product or order: support@deditec.de