CAN/CANopen

CAN Server horch

horch is a TCP/IP based server allowing clients to get access to the CAN bus.

While the TCP/IP site is clear and defined by software the horch server has to handle access to the CAN hardware somehow. On Linux access is granted by the can4linux device driver or by SocketCAN.

The horch project is maintained using git and is hosted at GitLab. The horch documentation is available at this place.

horch can be compiled for every Linux machine. Every Desktop PC equipped with an CAN interface which is supported by one of the Linux CAN drivers can4linux or *SocketCAN**. A list of interfaces can be found on the CAN-Wiki.

Very interesting to control machines and other equipment are embedded controllers running Linux. One of the popular ones is the RaspberryPi.

Porting to the JanzTec emPC-A/RPI

The JanzTec emPC-A/RPI is an versatile controller designed to be used in industrial applications. Basically the computing module is a Raspberry PI 2 Model B. But the emPC has a 24V power supply and industrial opto decoupled IOs. To be used as an industrial controller it comes with a ready to use CAN bus interface to extend the on board IOs with industrial grade CANbus controlled remote IOs. An CANopen implementation is available to, developed by emtas GmbH. Here is a list of the most important features: