CAN Reader

  • Interface Name

    can-reader

  • Supported Since

    V2.0.4-pr.4

  • Sensor Communication Protocol

    CAN

  • PolySync Sensor Type

    30

  • PolySync Configuration

    * [Define the node](https://help.polysync.io/releases/2.0.8//articles/add-a-sensor-node/) in the SDF Configurator
    * [Locate the CAN hardware and circuit identifiers](https://help.polysync.io/releases/2.0.8//articles/parse-can-hardware-and-circuit-identifiers)
    * Copy the hardware and circuit IDs into the nodes entry in the SDF Configurator “IO Parameters” section
    * [Run the Dynamic Driver interface](https://help.polysync.io/releases/2.0.8//articles/manually-starting-nodes/)

  • Driver Notes

    This interface is used to connect to any CAN bus and begin reading raw CAN frames.

  • (OEM) Sensor Description

    N/A

  • Sensor Configuration Parameters

    Parameter ID Description Value Type Values Notes
    1001 Sensor 0 Identifier 1 1
  • IO Configuration Parameters

    Parameter ID Description Value Type Values Notes
    400 CAN Channel 0 Hardware Identifier 1 0
    401 CAN Channel 0 Circuit Identifier 1 0
    403 CAN Channel 0 Datarate 1 16
    404 CAN Channel 0 Bus On/Off State 1 1
    3901 Exclusive CAN channel (value zero means CAN channel can be opened by other applications) 1 0
    3902 Require extended CAN (CAN 2.0B) support from the channel 1 0
  • Node Configuration Parameters

    Parameter ID Description Value Type Values Notes
    3900 Enable publishing of "ps_can_frame_msg" (value zero means disabled) 1 1
    42 PolySync-Abstraction_Layer Interface File Name 4 /usr/local/polysync/lib/libps_can_reader_interface.so
    40 Executable File Path 4 /usr/local/polysync/bin/polysync-dynamic-driver