Closed sflom closed 3 years ago
Hi sflom,
Could you add some pictures of your controller inside your cabinet so we can see the wire routing etc?
What command are you using to turn on the relay to activate the coolant?
Form these messages:
[MSG:Initializing RS485 VFD spindle] [MSG:Auto-RTS in use] [MSG:VFD RS485 Tx:GPIO(4) Rx:GPIO(25) RTS:None] [MSG:Client Started] [MSG:Connecting WIFI] [MSG:Connecting.] [MSG:VFD: VFD settings read: RPM Range(6000, 24000)]]
You have bidirectional communication before powering the Spindle, so we are likely chasing a noise issue or a spin-up time issue.
I went ahead and verified all my connections, set proper star grounding, routed the power lines away from motors and limit lines and installed everything back into my enclosure. Now I can control the spindle as it should.
All is working as it should.
This case can be closed.
Thanks.
Scott
PS - I have an IOT power relay that the VFD switches on when the spindle starts. It starts my water pump for the spindle and shuts it off when the spindle turns off. Works pretty slick.
FB and 24w are jumped together and a line from FC and DCM runs down to the relay.
Sent from my iPad
On Oct 4, 2021, at 7:53 PM, Spark @.***> wrote:
Hi sflom,
Could you add some pictures of your controller inside your cabinet so we can see the wire routing etc?
What command are you using to turn on the relay to activate the coolant?
Form these messages:
[MSG:Initializing RS485 VFD spindle] [MSG:Auto-RTS in use] [MSG:VFD RS485 Tx:GPIO(4) Rx:GPIO(25) RTS:None] [MSG:Client Started] [MSG:Connecting WIFI] [MSG:Connecting.] [MSG:VFD: VFD settings read: RPM Range(6000, 24000)]]
You have bidirectional communication before powering the Spindle, so we are likely chasing a noise issue or a spin-up time issue.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
thanks for letting us know it is resolved!
Very nice setup with the IoT and pump
So I have been struggling getting my QueenBee 1515 with the CNC Xpro V5 to communicate with my HuanYang VFD - 2.2kw water cooled spindle via USB. I can issue the M3 S6000 command and the spindle starts and the relay kicks on my water pump. After a little while, I get the [MSG:Spindle RS485 Unresponsive 6] [MSG:Critical Spindle RS485 Unresponsive] ALARM:10 [MSG:Critical Spindle RS485 did not reach speed 6000. Reported speed is -1 rpm.] ok ALARM:10
I purchased an inline power filter, star grounding and ferrite chokes to help with interference. I added these products and was able to get the spindle to start and run error free for one evening on the bench. The next evening, I mocked up my electronics cabinet and added the parts where I thought they might fit and decided to verify it was still working. But I started getting unresponsive messages and I can not turn off the spindle (again).
I seen the latest guide that Spark-Concepts wrote up for the RS485 spindle control but that hasn't helped me. I've reset my VFD and reinstalled my firmware but still can't get past this. I'm hoping it just a setting that I'm missing.
I'm also using CNCjs to communicate via USB. The $H works fine.
Any suggestions are great appreciated.
ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1216 ho 0 tail 12 room 4 load:0x40078000,len:9720 ho 0 tail 12 room 4 load:0x40080400,len:6352 entry 0x400806b8 [MSG:Grbl_ESP32 Ver 1.3a Date 20210816] [MSG:Compiled with ESP32 SDK:v3.2.3-14-gd3e562907] [MSG:Using machine:CNC_xPRO_V5_XYYZ_NC] [MSG:Axis count 3] [MSG:RMT Steps] [MSG:Door switch on pin GPIO(16)] [MSG:Macro Pin 1 GPIO(13)] [MSG:Macro Pin 2 GPIO(0)] [MSG:Init Motors] [MSG:TMCStepper Library Ver. 0x000703] [MSG:X Axis Trinamic TMC5160 Step:GPIO(12) Dir:GPIO(14) CS:GPIO(17) Disable:None Index:1 R:0.050 Limits(0.000,1300.000)] [MSG:X Axis Trinamic driver test passed] [MSG:Y Axis Trinamic TMC5160 Step:GPIO(27) Dir:GPIO(26) CS:GPIO(17) Disable:None Index:2 R:0.050 Limits(-1270.000,0.000)] [MSG:Y Axis Trinamic driver test passed] [MSG:Y2 Axis Trinamic TMC5160 Step:GPIO(33) Dir:GPIO(32) CS:GPIO(17) Disable:None Index:3 R:0.050 Limits(-1270.000,0.000)] [MSG:Y2 Axis Trinamic driver test passed] [MSG:Z Axis Trinamic TMC5160 Step:GPIO(15) Dir:GPIO(2) CS:GPIO(17) Disable:None Index:4 R:0.050 Limits(-106.000,0.000)] [MSG:Z Axis Trinamic driver test passed] [MSG:Initializing RS485 VFD spindle] [MSG:Auto-RTS in use] [MSG:VFD RS485 Tx:GPIO(4) Rx:GPIO(25) RTS:None] [MSG:Client Started] [MSG:Connecting WIFI] [MSG:Connecting.] [MSG:VFD: VFD settings read: RPM Range(6000, 24000)]] [MSG:Connecting..] [MSG:Connecting...] [MSG:Connecting....] [MSG:Connected with 10.0.1.199] [MSG:Connected with 10.0.1.199] [MSG:Start mDNS with hostname:http://CNC_xPRO_V5.local/] [MSG:SSDP Started] [MSG:HTTP Started] [MSG:TELNET Started 23] [MSG:Mist coolant on pin GPIO(21)] [MSG:X Axis limit switch on pin GPIO(35)] [MSG:Y Axis limit switch on pin GPIO(34)] [MSG:Z Axis limit switch on pin GPIO(39)] [MSG:Probe on pin GPIO(22)] Grbl 1.3a ['$' for help] [MSG:'$H'|'$X' to unlock]