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.

 


Selection of the operating mode via DIP switch

Depending on the product series, your module can be operated in up to three different modes. The desired mode is selected via DIP switch (RO series and BS series only). The settings of the DIP-switches are taken over after a restart of the product.

 

1. Dip switch mode (RO series only)

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

 

  • Baud rate
  • CAN address

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. Software mode (for NET series, RO series and BS series)

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

 


CAN Configuration Utiliy

With this software, which is included in delivery, the following settings can be made on our CAN modules:

 

  • Baud rate
  • CAN address
  • Automatic send / receive mode

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

Programming