Hi Folks!
Banging my head against the wall trying to get UCCNC to talk to my VFD for the first time. I wish I had one question but there's quite a few possible roads. I feel a bit needy asking such a broad question but I'm an absolute n00b in this regard so any advice on how to start narrowing things down is very welcome.
Here are the facts:
UCCNC => Ethernet to RS485 Adapter => Yaskawa GPD 515 G5 VFD
VFD:
-VFD can receive modbus via RS485
-VFD is connected to the RS485 adapter via its two leads which I've confirmed are firmly fixed. The Eth-RS485 adapter I'm using has a ground terminal which is at present unused as my VFD dictates that the Tx/Rx twisted cable's shield should not be terminated anywhere but at the VFD's control circuit.
-VFD's only user variable on-board properties are baud rate, parity, and slave number. It's data bit is fixed at 8 and its stop bit is fixed at 1.
ETH>RS485 ADAPTER:
-the Eth>RS485 adapter comes with a config tool within which I've set data bit, stop bit, parity, and baud to match the VFD as well as a fixed IP. I'm not sure what to do with other params like remote IP, local port, and remote IP and have let them be. I left HTTP port at 80.
UCCNC:
Within ModbusMaster I'm getting a 'connection OK'. To test functionality quickly I've chosen to attempt connection using MODBUSEZ (thanks Dan!) with modbusmaster disabled. Within MODBUSEZ I am set to the following:
COM port 3 (what was found automatically), matching baud and stop bit, Multiple registers (VFD Manual indicates such), and registers set up as follows:
VFD Manual's Addresses
Computing these numbers almost melted my brain but I pulled out
ON/OFF Address: 0001
Frequency Address: 0002
Spindle on CW: 0001
Spindle on CCW: 0003
Spindle off: 0000
Truth be told I have about 0 confidence these are correct. I'm doin my best here.
1. Is there any way I can check that any data is reaching my VFD even if the wrong data? I'm getting no indication from the onboard readout. I've downloaded various serial port/COM monitors to see if I can see what's being passed back and forth but either I'm using the wrong utilities or nothing is being passed back and forth. Any good diagnostic tools for modbus?
2. Do those addresses look right to you?
I will post screenshots tomorrow when I'm back at the machine
Best, thank you so much.