magnus@magnus-desktop:~$ linuxcnc
LINUXCNC - 2.5.3
Machine configuration directory is '/home/magnus/linuxcnc/configs/CNCdtu'
Machine configuration file is 'CNCdtu.ini'
Starting LinuxCNC...
spindle-vfd: device='/dev/ttyUSB0', baud=19200, bits=8, parity='even', stopbits=1, address=1, verbose=1, PID=7919
Opening /dev/ttyUSB0 at 19200 bauds (even)
read_data: reading setup parameters:
query_length = 6
Modbus query = [01][01][03][04][00][00][7D][8F]
query_ret = 8
response_length_computed = 8
waiting for message (8 bytes)...
length to read = 8
read return = [08] bytes
msg_length = [08]
characters received =[00][00][00][00][00][00][45][00]
ERROR invalid crc received 4500 - crc_calc 1B (-16)
crc check = -16
read_setup: FAILED
query_length = 4
Modbus query = [01][04][01][00][41][89]
query_ret = 6
response_length_computed = 8
waiting for message (8 bytes)...
length to read = 8
read return = [06] bytes
msg_length = [06]
characters received =[00][00][00][00][00][00]
message was incomplete, length still to read = [02]
read return = [02] bytes
msg_length = [08]
characters received =[F8][A7]
ERROR invalid crc received F8A7 - crc_calc 1B (-16)
crc check = -16
read_data: FAILED