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