I'm using a SICK S300 scanner connected via Diagnostic cable to my Raspberry Pi, and it shows the connection as /dev/ttyUSB0 however I can't retrieve any data from it whatsoever.
Here is a simple Python program I am using to attempt to read the incoming data.
import serial ser = serial.Serial('/dev/ttyUSB0', 9600) while True: data = ser.readline() print(data)
I'm expecting to some degree a string of hex characters to be read from the device.
Here is the SICK Cable.
There must be some level of data coming out as the Windows software that comes with it is capable of reading the data and displaying it for testing/diagnostic purposes.
I am able to retreive data using an RS422 cable.