Dynomotion

Group: DynoMotion Message: 9383 From: Andy Birko Date: 4/9/2014
Subject: Finally Wiring up the Kflop
Hi all,  Posted a month or so ago that I purchased a Kflop to replace my Parallel Port controlled Mach 3 setup.  In the process, I'd really like to add encoders to my stepper system to be used in closed loop mode.   If the homing between Mach 3 and Kmotion is similar, I may used the Mach 3 plug in in open loop or simply missed step mode while I'm getting used to Kmotion and then ultimately switch over to Kmotion once I have all of the macro functionality I have in Mach 3 replicated in Kmotion.

I'm planning on adding 3 encoders, on the X,Y, and Z axes, either 2000 or 4000 line count depending on what I hear in terms of performance requirements.  Encoders will be single ended wired directly into the Kflop as I simply can't afford something like a kanalog right now.

The rest of my setup is based on a G540 with the standard parallel port wiring.  Here's the wiring I intend on doing.  The Kflop box will have a DB25 output that plugs into the G540 and then 3 additional connectors for the encoders.  I might add an mpg into the kflop as well as I've gotten used to using the Shuttle express for certain machining operations.

Could you guys have a look at this wiring setup and let me know if that looks pretty good?

TIA

-Andy

Kflop JP7


G540 DB25
VDD33 +3.3 Volts Output 1


VDD33 +3.3 Volts Output 2


VDD12 +12 Volts Output 3


RESET# Power up Reset (low true) output 4


IO44 Gen Purpose LVTTL I/O (3.3V Only) 5


IO45 Gen Purpose LVTTL I/O (3.3V Only) 6


IO0 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 0 Input Phase A 7
10 Limit/home Switches (opto isolated) G540 Input 1
IO1 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 0 Input Phase B 8
11 Probe (opto isolated) G540 Input 2
IO2 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 1 Input Phase A 9
12 Pendant Button 1 Cycle Start G540 Input 3
IO3 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 1 Input Phase B 10
13 Pendant Button 2 Feedhold G540 Input 4
IO4 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 2 Input Phase A 11
14 Spindle PWM Signal
IO5 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 2 Input Phase B 12
15 Fault / Soft E-stop (supported in Mach 3 may not be necessary) Pin 10 on input or internal fault sets bit
IO6 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 3 Input Phase A 13
16 Charge Pump?? Is this supported by Kflop/Kmotion?
IO7 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 3 Input Phase B 14
17 Spindle Run
IO8 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 0 Home     (or Step 0 output) 15
2 X Step
IO9 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 1 Home     (or Dir  0 output) 16
3 X Dir
IO10 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 2 Home     (or Step 1 output) 17
4 Y Step
IO11 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 3 Home     (or Dir  1 output) 18
5 Y Dir
IO12 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 0 + Limit   (or Step 2 output) 19
6 Z Step
IO13 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 0 - Limit    (or Dir  2 output) 20
7 Z Dir
IO14 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 1 + Limit   (or Step 3 output) 21
8 A Step
IO15 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 1 - Limit    (or Dir  3 output) 22
9 B Dir
VDD5 +5 Volts Output 23

Hooked to Encoder +5v, not run to G540 
VDD5 +5 Volts Output 24


GND Digital Ground 25
18 GND
GND Digital Ground 26








KFLOP JP5




IO36 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Step 4 output) or (Encoder 4 Input Phase A) 1
X Encoder A 5 v Direct
IO37 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Dir 4 output)    or (Encoder 4 Input Phase B) 2
X Encoder B 5 v Direct
IO38 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Step 5 output) or (Encoder 5 Input Phase A) 3
Y Encoder A 5 v Direct
IO39 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Dir 5 output)    or (Encoder 5 Input Phase B) 4
Y Encoder B 5 v Direct
IO40 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Step 6 output) or (Encoder 6 Input Phase A) 5
Z Encoder A 5 v Direct
IO41 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Dir 6 output)    or (Encoder 6 Input Phase B) 6
Z Encoder B 5 v Direct
IO42 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Step 7 output) or (Encoder 7 Input Phase A) 7

MPG Direct ?? I've gotten used to using an mpg for certain operations
IO43 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Dir 7 output)    or (Encoder 7 Input Phase B) 8


Group: DynoMotion Message: 9385 From: TK Date: 4/9/2014
Subject: Re: Finally Wiring up the Kflop
Hi Andy,

Looks all very reasonable to me. Try and obtain differential output encoders in case you later decide to do differential. 

Regards
TK

On Apr 9, 2014, at 12:31 PM, Andy Birko <andy.birko@...> wrote:

 

Hi all,  Posted a month or so ago that I purchased a Kflop to replace my Parallel Port controlled Mach 3 setup.  In the process, I'd really like to add encoders to my stepper system to be used in closed loop mode.   If the homing between Mach 3 and Kmotion is similar, I may used the Mach 3 plug in in open loop or simply missed step mode while I'm getting used to Kmotion and then ultimately switch over to Kmotion once I have all of the macro functionality I have in Mach 3 replicated in Kmotion.

I'm planning on adding 3 encoders, on the X,Y, and Z axes, either 2000 or 4000 line count depending on what I hear in terms of performance requirements.  Encoders will be single ended wired directly into the Kflop as I simply can't afford something like a kanalog right now.

The rest of my setup is based on a G540 with the standard parallel port wiring.  Here's the wiring I intend on doing.  The Kflop box will have a DB25 output that plugs into the G540 and then 3 additional connectors for the encoders.  I might add an mpg into the kflop as well as I've gotten used to using the Shuttle express for certain machining operations.

Could you guys have a look at this wiring setup and let me know if that looks pretty good?

TIA

-Andy

Kflop JP7


G540 DB25
VDD33 +3.3 Volts Output 1


VDD33 +3.3 Volts Output 2


VDD12 +12 Volts Output 3


RESET# Power up Reset (low true) output 4


IO44 Gen Purpose LVTTL I/O (3.3V Only) 5


IO45 Gen Purpose LVTTL I/O (3.3V Only) 6


IO0 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 0 Input Phase A 7
10 Limit/home Switches (opto isolated) G540 Input 1
IO1 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 0 Input Phase B 8
11 Probe (opto isolated) G540 Input 2
IO2 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 1 Input Phase A 9
12 Pendant Button 1 Cycle Start G540 Input 3
IO3 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 1 Input Phase B 10
13 Pendant Button 2 Feedhold G540 Input 4
IO4 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 2 Input Phase A 11
14 Spindle PWM Signal
IO5 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 2 Input Phase B 12
15 Fault / Soft E-stop (supported in Mach 3 may not be necessary) Pin 10 on input or internal fault sets bit
IO6 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 3 Input Phase A 13
16 Charge Pump?? Is this supported by Kflop/Kmotion?
IO7 Gen Purpose LVTTL I/O (5V Tolerant) or Encoder 3 Input Phase B 14
17 Spindle Run
IO8 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 0 Home     (or Step 0 output) 15
2 X Step
IO9 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 1 Home     (or Dir  0 output) 16
3 X Dir
IO10 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 2 Home     (or Step 1 output) 17
4 Y Step
IO11 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 3 Home     (or Dir  1 output) 18
5 Y Dir
IO12 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 0 + Limit   (or Step 2 output) 19
6 Z Step
IO13 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 0 - Limit    (or Dir  2 output) 20
7 Z Dir
IO14 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 1 + Limit   (or Step 3 output) 21
8 A Step
IO15 Gen Purpose LVTTL I/O (5V Tolerant) or Axis 1 - Limit    (or Dir  3 output) 22
9 B Dir
VDD5 +5 Volts Output 23

Hooked to Encoder +5v, not run to G540 
VDD5 +5 Volts Output 24


GND Digital Ground 25
18 GND
GND Digital Ground 26








KFLOP JP5




IO36 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Step 4 output) or (Encoder 4 Input Phase A) 1
X Encoder A 5 v Direct
IO37 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Dir 4 output)    or (Encoder 4 Input Phase B) 2
X Encoder B 5 v Direct
IO38 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Step 5 output) or (Encoder 5 Input Phase A) 3
Y Encoder A 5 v Direct
IO39 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Dir 5 output)    or (Encoder 5 Input Phase B) 4
Y Encoder B 5 v Direct
IO40 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Step 6 output) or (Encoder 6 Input Phase A) 5
Z Encoder A 5 v Direct
IO41 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Dir 6 output)    or (Encoder 6 Input Phase B) 6
Z Encoder B 5 v Direct
IO42 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Step 7 output) or (Encoder 7 Input Phase A) 7

MPG Direct ?? I've gotten used to using an mpg for certain operations
IO43 Gen Purpose LVTTL I/O (5V Tolerant) or  (or Dir 7 output)    or (Encoder 7 Input Phase B) 8