Engee documentation

CAN FD Setup

Configuring the CAN FD port of the module.

blockType: EngeeFunction

Path in the library:

/Interfaces/CAN FD/CAN FD Setup

Description

To work with the block, install/update the support package. equipment.

Block CAN FD Setup It is used to configure the CAN FD port of the module.

Parameters

Parameters

# Интерфейс: — implementation of drivers for working with the CAN bus
socketcan | pcan | kvaser | vector | systec | cantact | canalystii | ETAS | gs_usb | iscan | ixxat | neousys | neovi | nican | nixnet | robotell | seeedstudio | serial | slcan | socketcand | udp_multicast | usb2can | virtual | marathon

Details

Available interfaces:

Interface name

Decoding

socketcan

SocketCAN

pcan

PCAN Basic API

kvaser

Kvaser’s CANLIB

vector

Vector

systec

SYSTEC interface

cantact

CANtact CAN Interface

canalystii

CANalyst-II

ETAS

ETAS

gs_usb

Geschwister Schneider and candleLight

iscan

isCAN

ixxat

IXXAT Virtual Communication Interface

neousys

Neousys CAN Interface

neovi

Intrepid Control Systems neoVI

nican

National Instruments NI-CAN

nixnet

National Instruments NI-XNET

robotell

Robotell CAN-USB interface

seeedstudio

Seeed Studio USB-CAN Analyzer

serial

CAN over Serial

slcan

CAN over Serial / SLCAN

socketcand

socketcand Interface

udp_multicast

Multicast IP Interface

usb2can

USB2CAN Interface

virtual

Virtual

marathon

Marathon

For more information about the CAN interface settings, see article.
Values

socketcan | pcan | kvaser | vector | systec | cantact | canalystii | ETAS | gs_usb | iscan | ixxat | neousys | neovi | nican | nixnet | robotell | seeedstudio | serial | slcan | socketcand | udp_multicast | usb2can | virtual | marathon

Default value

pcan

Program usage name

m_interface

Tunable

No

Evaluatable

Yes

# Порт: — ID of the CAN interface (port) to be used for sending and receiving messages

Details
Default value

"PCAN_USBBUS1"

Program usage name

m_port

Tunable

No

Evaluatable

Yes

# Номинальная скорость предачи, кбит/с: — speed in the nominal phase

Details
Default value

500.0

Program usage name

m_speed

Tunable

No

Evaluatable

Yes

# Переключаемая скорость передачи, кбит/с: — speed in the data phase

Details
Default value

2000.0

Program usage name

m_data_speed

Tunable

No

Evaluatable

Yes

# Восстановление шины в состоянии Bus-off: — automatic recovery after Bus-off

Details
Default value

true (switched on)

Program usage name

m_bus_off

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — calculation step

Details

To inherit the calculation step, set this parameter to −1.

Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes

Настройка Bit Timing

# Частота контроллера CAN, МГц: — clocking frequency of the CAN controller

Details

The clock frequency of the CAN controller.

Dependencies

To use this parameter, set for the parameter Интерфейс: meaning pcan.

Default value

80

Program usage name

m_f_clock

Tunable

No

Evaluatable

Yes

# Номинальная фаза: сегмент 1 (до точки выборки): — the portion of the nominal phase bit from the end of the Sync Segment to the sampling point

Details

A section of the nominal phase bit from the end of the Sync Segment to the sampling point.

Dependencies

To use this parameter, set for the parameter Интерфейс: meaning pcan.

Default value

59

Program usage name

m_nom_tseg1

Tunable

No

Evaluatable

Yes

# Номинальная фаза: сегмент 2 (после точки выборки): — the portion of the nominal phase bit from the sampling point to the end of the bit

Details

The portion of the nominal phase bit from the sampling point to the end of the bit.

Dependencies

To use this parameter, set for the parameter Интерфейс: meaning pcan.

Default value

20

Program usage name

m_nom_tseg2

Tunable

No

Evaluatable

Yes

# Номинальная фаза: окно ресинхронизации (SJW): — the maximum step of the synchronization point shift in the nominal phase

Details

The maximum step of the synchronization point shift in the nominal phase.

Dependencies

To use this parameter, set for the parameter Интерфейс: meaning pcan.

Default value

20

Program usage name

m_nom_sjw

Tunable

No

Evaluatable

Yes

# Фаза данных: сегмент 1 (до точки выборки): — a section of the data bit from the end of the Sync Segment to the sampling point

Details

A section of the data bit from the end of the Sync Segment to the sampling point.

Dependencies

To use this parameter, set for the parameter Интерфейс: meaning pcan.

Default value

14

Program usage name

m_data_tseg1

Tunable

No

Evaluatable

Yes

# Фаза данных: сегмент 2 (после точки выборки): — a section of the data bit from the sampling point to the end of the bit

Details

A section of the data bit from the sampling point to the end of the bit.

Dependencies

To use this parameter, set for the parameter Интерфейс: meaning pcan.

Default value

5

Program usage name

m_data_tseg2

Tunable

No

Evaluatable

Yes

# Фаза данных: окно ресинхронизации (SJW): — maximum step of the synchronization point shift in the data phase

Details

The maximum step of the synchronization point shift in the data phase.

Dependencies

To use this parameter, set for the parameter Интерфейс: meaning pcan.

Default value

5

Program usage name

m_data_sjw

Tunable

No

Evaluatable

Yes