Configuration
Python-can library
The python-can library supports the SLCAN protocol.
The python-can library provides a set of utilities for sending and receiving messages on a CAN
bus.
For information about the python-can library, refer to https://python-can.readthedocs.io.
Example 1: Python Import CAN
import can
slcan = can.interface.Bus(bustype = 'slcan',
channel = 'socket://192.168.0.99:5005')
msg = can.Message(arbitration_id = 0x123,
is_extended_id = False, data = [0x01, 0x02, 0x03, 0x04])
lcan.send(msg)
rmsg = slcan.recv(timeout = 5)
print("Received CAN message 0x{:X}
with data {}".format(rmsg.arbitration_id, rmsg.data))
slcan.shutdown()
®
™
Anybus
Wireless Bolt CAN
User Manual
28 (46)
scm-1202-175 1.1 en-US
Need help?
Do you have a question about the Anybus Wireless Bolt CAN and is the answer not in the manual?
Questions and answers