. .
Page 1 of 2 12 LastLast
  1. #1
    Hi,

    I am a CNC enthusiast in Canada and am building my most ambitious project todate: a 1.5M X 3.0M CNC Machine with ATC Water Cooled Spindle.

    I have come across a problem and hoping for some guidance through this forum.

    I have wired up my CNC Spindle and it operates fine through the VFD panel. I also have wired it up to a potentiometer and again it operates as expected. I am having trouble operating it through the AXBB-E via UCCNC.

    I am able to operate all three degrees of movement (X, Y, and Z) via UCCNC and have also tested all limit switches. Only the spindle is yet to be automated

    First some references:

    1. Controller is a AXBB-E which is running a recent version of UCCNC. The manual is easily available on line.
    2, VFD is a Sunfar E550-2S0037L. This unit is rated at 3.7KW. 220 V Single Phase. 24000 RPM at 400Hz. The manual is easily available on line.
    3. The Spindle is Jiaken JGL-100/2.5R24. This unit is rated at 2.4 KW and is water cooled with pneumatic auto tool changer.

    Some background info:

    1. Spindle can be run via the VFD Potentiometer Knob

    The following config was used:
    - AXBB-E A01 pin connected to VFD AI
    - AXBB-E 5V0 connected to VFD GND
    - VFD Parameter F0.00 = 3
    - VFD Parameter F 0.02 = 1000

    2. Spindle can be run via an external Potentiometer.

    The following config was used:
    - Pot Terminal 1 connected VFD AI (10V)
    - Pot Sweeper Terminal 2 connected to VFD A01
    - Pot Terminal 3 connected VFD GND
    - VFD Parameter F0.00 = 1
    - VFD Parameter F 0.02 = 1000

    As tests 1 and 2 are successful I know the Spindle operates and the Power wiring is good.


    3. I have not been successful in operating the Spindle via UCCNC

    - I have attached the VFD config used. This is a subset of all config and hopefully I have captured the ones that are significant. The ones I was not sure of are:

    F0.00 should this be 1, 2 or 4?
    F0.02 should this be 1000 or 1001?
    F1.08 should this be 11 to set X1 terminal to Forward
    F1.09 should this be 12 to set X2 terminal to Reverse

    - I have attached the VFD to AXBB-X wiring diagram

    I need guidance on how to wire the VFD CM terminal. I believe this is the digital ground. On my system 5V0 and 24V0 are interconnected. When I check the VFD there is no continuity between the analogue ground (GND) and the digital ground (CM). In some tests I've tried connecting the CM to 24V0 ground and UCCNC does not like this (it creates a limit switch alarm even though the machine is not close to these switches).

    - UCCNC Config for this arrangement.

    On Spindle Configuration Screen:

    - PWM is active
    - Spindle relay output is enabled with M3 (FWD) to AXBB-E O7 and M4 (REV) to AXBB-E 08.

    On I/O Setup Screen

    - Spindle PWM analog ch: set to 1.

    Not sure if I am missing anything on the UCCNC Config end.

    Any help would be appreciated.

    Thanks,

    John
    Attached Files Attached Files

  2. #2
    Quote Originally Posted by JohnnyCimino View Post
    I have attached the VFD config used. This is a subset of all config and hopefully I have captured the ones that are significant. The ones I was not sure of are:

    F0.00 should this be 1, 2 or 4?
    F0.02 should this be 1000 or 1001?
    F1.08 should this be 11 to set X1 terminal to Forward
    F1.09 should this be 12 to set X2 terminal to Reverse
    I use the same VFD's on the ATC spindles we use and sell so below are the settings which work for us.

    F0.00 = 1
    F0.02 = 1001
    F1.04 = 400 (This is the max operating frequency of the spindle when at 10V, the default is 50hz so if you didn't change this when you called for 24,000 rpm the AXBB-E would give 10v but you would only get 3000rpm because to the VFD 10v = 50hz)
    F1.08 = 11
    F1.09 = 12




    Quote Originally Posted by JohnnyCimino View Post
    I need guidance on how to wire the VFD CM terminal. I believe this is the digital ground. On my system 5V0 and 24V0 are interconnected. When I check the VFD there is no continuity between the analogue ground (GND) and the digital ground (CM). In some tests I've tried connecting the CM to 24V0 ground and UCCNC does not like this (it creates a limit switch alarm even though the machine is not close to these switches).

    - UCCNC Config for this arrangement.

    On Spindle Configuration Screen:

    - PWM is active
    - Spindle relay output is enabled with M3 (FWD) to AXBB-E O7 and M4 (REV) to AXBB-E 08.

    On I/O Setup Screen

    - Spindle PWM analog ch: set to 1.
    Well, the Setup is correct regards 0-10V
    All you need for 0-10v analog output on AXBB-E is PWM Spindle enabled in Spindle Config, none of the settings in PWM matter, and Spindle PWM ->analog ch=1.

    Break this down into 2 parts for testing, so start with speed control first and leave F0.02 = 1000 and start the spindle from the VFD panel but control the speed from UCCNC software.
    Connect Axbb-e AO1 to VFD AI and Axbb-e 5v0 to VFD GND

    Then look at the Start/stop.
    Now I don't use the Axbb-E Outputs directly to the VFD inputs and prefer to control relays using the outputs. This way I can use spare contacts on the relays to do other things like turning water pumps on or external Led's etc.
    In this case, we just connect 24V+ to relay coil (V+) and output O2 to the (0v) coil then run VFD CM to the Com contact and X1 to the NO contact.
    I only ever use forward rotation so don't bother with reverse because mostly using ER collet holders which are not safe to run in reverse.

    I can't really help with the direct to output setup but I also can't see why it wouldn't work because all the output is doing is providing a path to 24v-0v and with 24V-0v connected to CM then all your doing is shorting X1 to CM which should start the VFD.?

    Maybe try separating the 24-0 and 5v-0 just in case you are getting feedback.?
    -use common sense, if you lack it, there is no software to help that.

    Email: dean@jazzcnc.co.uk

    Web site: www.jazzcnc.co.uk

  3. #3
    Thank-you Dean for your quick reply. I will try the two tests and let you know how that goes. I will need to purchase a relay so my response may be delayed by a few days. In the meantime I would be interested in feedback by others as well.

  4. #4
    I was able to run the two tests as directed by dean@jazzcnc.co.uk. This was the result:

    Speed Control through UCCNC

    In this test I set F0.02 = 1000, F0.01 = 1 ;
    Connected Axbb-e AO1 to VFD AI and Axbb-e 5v0 to VFD GND

    I initially started the spindle from the VFD panel by pressing the "run" command and was then able to control the speed from UCCNC software using the "S" commands in the MDI field. This test shows that the PWM signal between the AXBB-E and the VFD is working. It should be noted that the M3 command had no effect in this mode (when toggled between "on" and "off" it did not change the spindle operation).

    Spindle On/Off Via a Relay

    For this test I used a OMRON LY2NJ relay. This relay does not appear to have polarity for the 24V DC supply to the coil as markings on the coil did not specify "+" or "-". I did try the wiring both ways just in case.

    For this test I connect as follows:
    - VFD 24V to Relay port 8 (coil power)
    - AXBB-E Port O3 to Relay port 7 (coil power)
    - VFD CM Port to Relay port 1 (COM)
    - VFD X1 Port to Relay port 2 (NO)

    I changed F0.02 to 1001 for this test

    Port 03 on AXBB-E was configured for M3 (FWD) in UCCNC
    Port 04 on AXBB-E was configured for M4 (REV) in UCCNC

    Please note that although I am not planning to ever use REV motion on the spindle I configured it so the "two line mode 1" set in VFD Parameter F0.02 command would have the correct number of inputs to make a decision . I did not physically wire Port O4 to X2.

    VFD F1.08 was set for 11 (FWD)
    VFD F1.09 was set for 12 (REV)

    This did not work. For example the spindle did not respond to a M3S1000 command.

    When I clicked the M3 button in UCCNC the LED light up on the AXBB-E board. I checked continuity between O3 and 5V0 on the AXBB-E board. With M3 not active, LED was off and there was no continuity. With M3 active , LED was on and there was continuity. It seems that M3 allows a path from O3 to ground which what I expected.

    When I checked the voltage across the relay it was always 0 volts. The state of O3 did have any effect on energizing the coil.

    Port 03 on the AXBB-E contains a high speed 10Mbit/sec optocouplers and an N-channel Mosfet transitor. Perhaps I am not understanding how this device works.

    Any further guidance would be appreciated.

  5. #5
    sounds to me like you have the relay wired wrong or it's faulty. Again break this down into 2 halves.
    Also, the OUTPUTS provide a path to 24V rather than 5V so test between 24V-0, not 5v-0.

    #1 Test the VFD parameters are correct by touching a wire between CM and X1, if the parameters are correct the VFD will start, make sure there is a speed set in UCCNC first and do an M3 (start spindle) so the VFD see's the 0-10v).
    #2 Remove the coil wires and put a meter between and measure the voltage. You should see 24V, if yes then you have a faulty relay or miss wired it. Also, check the relay coil is DC rather than AC which is a common error when buying relays.

    The instructions I gave you last night regards the relay on/off and UCCNC setup are not a maybe, I do this on every machine I build so it's well-proven.
    -use common sense, if you lack it, there is no software to help that.

    Email: dean@jazzcnc.co.uk

    Web site: www.jazzcnc.co.uk

  6. #6
    Quote Originally Posted by JohnnyCimino View Post

    For this test I connect as follows:
    - VFD 24V to Relay port 8 (coil power)
    - AXBB-E Port O3 to Relay port 7 (coil power)
    - VFD CM Port to Relay port 1 (COM)
    - VFD X1 Port to Relay port 2 (NO)
    Ok looking at your post again then think I see the problem. You are taking the 24+ for the relay coil from the VFD rather than the 24V PSU.

    Connect the 24V+ from the PSU which powers the AXBB-E rather than from the VFD.
    -use common sense, if you lack it, there is no software to help that.

    Email: dean@jazzcnc.co.uk

    Web site: www.jazzcnc.co.uk

  7. #7
    Thank-you dean@jazzcnc.co.uk.

    I feel like I am making progress but not quite there yet. I appreciate you assistance.

    I tested the relay separately with a separate 24V power supply. I am confident that it is working properly and that the wiring is done correctly. I tested the NO contact and it was open with no power on the coil. It successfully closed with power on the coil. I can hear the coil click as the contacts connect and disconnect.

    Please note that on my system the power supply that supplies 5V and 24V has a common ground (5V0 and 24V0 are at the same reference). I cannot easily separate them. When I am testing continuity from AXBB-E O3 to AXBB-E 5V0 it would be the same as AXBB-E O3 to 24V0. Maybe I should try to connect VFD CM to AXBB-E 24V0 so we have the same reference across the two boards?

    Test #1

    This was successful. When i jumpered X1 and CM the Spindle started up.

    Test #2

    I am not getting 24V between AXBB-E O3 and VFD 24V+ when M3 is activated in UCCNC. The LED lights up on the AXBB-E panel and I can verify continuity between AXBB-E 24V0 and AXBB-E O3 but it doesn't result in 24V potential between 24V+ and O3. So the relay coil never energizes and thus CM and X1 never closes.

    Do you have any other ideas?

  8. #8
    See post #6
    -use common sense, if you lack it, there is no software to help that.

    Email: dean@jazzcnc.co.uk

    Web site: www.jazzcnc.co.uk

  9. #9
    I changed the wiring to the Relay as suggested. Everything now works. The spindle spins clockwise when I put in a M3 command in UCCNC. When I put in a M4 command it spins clockwise as well which is not a problem as I do not want to run the spindle in REV (please note that I did not wire to the X2 terminal on the VFD for REV spin).

    I think this is a great way to start/ stop the Spindle as the relay I used gives me another set of terminals to perform another function. In my case I would like to disable the "release" of the ATC whenever M3 is active. This is to stop me from inadvertently releasing the collet when the spindle is spinning (which would not end well).

    What I am finding is that with my Relay wired per guidance the NO / NC terminals are not operating as expected when the coil is wired but there is no M3 call.

    These are the three tests:

    #1 No Power to the Relay COM-NO --> No Continuity COM-NC --> Continuity
    #2 Power to the Relay No M3 Call COM-NO --> Continuity COM-NC --> No Continuity
    #3 Power to the Relay M3 Call COM-NO --> Continuity COM-NC --> No Continuity

    Test #1 and #3 are as expected. I was expecting Test #2 to be same as Test #1. Strange thing is that the Spindle still operates as expected (it starts when M3 is active and stops when M3 is inactive) but It is causing me issues in using the Relay second set of poles to lock out the ATC release.

    Am I doing something wrong?

    Once again - here is the wiring:

    Relay 24V+ to PSU 24V+
    Relay 24V- to AXBB-E O3 (which is configured for M3 - FWD in UCCNC)
    Relay COM to VFD CM
    Relay NO to VFD X1 (which is configured for FWD in the the VFD - P1.08 = 11)

    John

  10. #10
    Can you link to the relay you are using.?
    -use common sense, if you lack it, there is no software to help that.

    Email: dean@jazzcnc.co.uk

    Web site: www.jazzcnc.co.uk

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ATC Spindles air connections inquiry
    By Noplace in forum Spindles & Drive Motors
    Replies: 5
    Last Post: 08-04-2021, 06:57 AM
  2. Terminal blocks or similar for power distribution in cabinet
    By Neale in forum General Electronics
    Replies: 1
    Last Post: 27-10-2020, 01:57 PM
  3. Sunfar E550 VFD....anyone have any experience please?
    By Voicecoil in forum Gantry/Router Machines & Building
    Replies: 0
    Last Post: 05-12-2018, 08:40 PM
  4. Problems with my CNC using Mach3 with a Sunfar E300 Inverter
    By Malcolm in forum General Discussion
    Replies: 4
    Last Post: 20-04-2017, 11:46 AM
  5. Terminal blocks
    By Rogue in forum General Electronics
    Replies: 13
    Last Post: 19-09-2012, 10:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •