584,812 active members*
5,270 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Gecko Drives > HELP: PNP proximity sensors - G540 - Huanyang VFD
Results 1 to 6 of 6
  1. #1
    Join Date
    May 2013
    Posts
    18

    HELP: PNP proximity sensors - G540 - Huanyang VFD

    Hello all,
    I am having some difficulties installing my PNP proximity sensors to my Gecko G540.
    I have created this diagram of my wiring to better communicate my problems:

    Attachment 191932

    Attachment 191934

    2) I still have to hit the RUN button to get the spindle to spin. I still cannot get Mach 3 to be "the source of Run commands". I have a 48V 30A SPST relay in between pin 5 on G540 and DCM/FOR on the VFD.

    3) The spindle doesn't stop when I enter M5 in Mach3. The spindle keeps spinning at 6600 rpm. The spindle spins at 24600 rpm when enter M3 S24000 in Mach3.

    4) I am looking to change PD142 to 13.6A since the VFD is 110V but it maxes out at 7A.

    My VFD parameters for my 1.5KW 110V water cooled chinese spindle
    PD001 Source of Run Commands: 0
    PD002 Source of operating Frequency: 2
    PD005 Max operating frequency: 400hz
    PD004 base frequency: 400hz
    PD003 Main frequency: 400hz
    PD006 Intermediate frequency: 2.5
    PD008 max voltage: 110v
    PD009 Intermediate voltage: 15v
    PD010 Min voltage: 8
    PD011 frequency lower limit: 100hz
    PD014 = 5.0 (acceleration time, 5 seconds)
    PD015 = 0.8 (deceleration time; any more trips the VFD)
    PD025 = 1 (starting mode: frequency track)PD023 Reverse: 1
    PD027 starting frequency: 3
    PD028 stopping frequency: 3
    PD070 set control to 0-5V: 0
    PD0072 is now set at 400 instead of 50
    PD141 rated motor voltage: 110V
    PD142 rated motor current: 7 Amps (should be 13.6A @ 110V)
    PD143 motor pole number: 2
    PD144 rated motor revolution: 3000
    PD163 = 1 (slave address 1)
    PD164 = 1 (baud rate 9600 bps)
    PD165 = 3 (8N1 for RTU mode)

    Here is the little beast
    Attachment 191930

    Let me know what I am doing wrong. Thanks

    Marc

  2. #2
    Join Date
    Mar 2007
    Posts
    2083
    idealy you should have NPN proximity sensors
    the G540 inputs only work with switches that can ground the input to the G540's common negative terminal

    open collector PNP outputs can only pull the G540 input up to the sensors + supply

    You could use a transistor and a resistor (or two) to convert the sensors output

    John
    Attached Thumbnails Attached Thumbnails PNP sensor plus NPN transistor.jpg  

  3. #3
    Join Date
    May 2013
    Posts
    18
    John,
    I will add two 2K7 resistors
    and one 2N2222A transistor
    If I understand the second pin on the transistor should connect between the two resistors. Is that right?

  4. #4
    Join Date
    Mar 2007
    Posts
    2083
    Hi dubdzine

    yes
    I've another diagram that should make it easier to identify the transistor connections

    on my previous diagram I had the resistors as 4K7 but 2K7 will be OK


    John

  5. #5
    Join Date
    May 2013
    Posts
    18
    thanks John, I will give it a try!

  6. #6
    Join Date
    Dec 2003
    Posts
    24216
    Check your other post on the VFD for wrong Parameters.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

Similar Threads

  1. Turck proximity sensors
    By hacker7 in forum DIY CNC Router Table Machines
    Replies: 43
    Last Post: 11-02-2013, 05:27 PM
  2. proximity sensors
    By FordGalaxy in forum Benchtop Machines
    Replies: 16
    Last Post: 06-02-2012, 09:36 AM
  3. Gecko 540 and proximity sensors
    By Bassworx in forum Australia, New Zealand Club House
    Replies: 0
    Last Post: 01-30-2010, 04:28 AM
  4. proximity sensors
    By wired in forum CNC Machine Related Electronics
    Replies: 7
    Last Post: 09-30-2005, 05:29 PM
  5. capacitive proximity sensors
    By owhite in forum CNC Machine Related Electronics
    Replies: 7
    Last Post: 03-16-2004, 03:49 PM

Posting Permissions

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