You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to read & configure Elobau canopen angle sensor with a Peak PCAN-USB FD reader.
Wiring :
DEUTSCH Sensor connector --- PEAK
PIN 1 GND
PIN 2 +12V power supply
PIN 5 (can L) --- CAN L
PIN 6 (can H) --- CAN H
120Ohm between pin 5&6.
OS : Windows 10 64b + python3.10.2
Example python sketch:
import canopen
network = canopen.Network()
network.connect(bustype='pcan', channel='PCAN_USBBUS1', bitrate=250000)
##green light is flashing
network.scanner.search()
##error : Bus error: an error counter reached the 'heavy'/'warning' limit
##Peak is flashing red
Any clue what's going on?
Many thanks.
The text was updated successfully, but these errors were encountered:
In the past I have used SockectCan to connect but I was on linux.
Have you tried this -> network.connect(bustype='pcan', channel='PCAN_USBBUS1', state=BusState.ACTIVE, bitrate=500000) ( from the python-can documentation here )
Hi,
I'm trying to read & configure Elobau canopen angle sensor with a Peak PCAN-USB FD reader.
Wiring :
DEUTSCH Sensor connector --- PEAK
PIN 1 GND
PIN 2 +12V power supply
PIN 5 (can L) --- CAN L
PIN 6 (can H) --- CAN H
120Ohm between pin 5&6.
OS : Windows 10 64b + python3.10.2
Example python sketch:
import canopen
network = canopen.Network()
network.connect(bustype='pcan', channel='PCAN_USBBUS1', bitrate=250000)
##green light is flashing
network.scanner.search()
##error : Bus error: an error counter reached the 'heavy'/'warning' limit
##Peak is flashing red
Any clue what's going on?
Many thanks.
The text was updated successfully, but these errors were encountered: