A personal repository of random information in compensation for a fatigued biological computer
Breaded Electronics / Embedded » Home made Pick and place machine Place Mk2 » KFlop Notes
Hey Dynomotion: Wheres the goddamm Emergency Stop switch functionality??
KLOP IO:
JR1 = Molex power connection
JP2 = JTAG
J3 = power KFLOP off USB
JP4 = KFLOP AUX#0 (16 pin Ribbon connector)
JP5 = GPIO#1 / LV Differential connector (RJ45)
JP6 = KFLOP AUX#1 (16 pin Ribbon connector)
JP7= Primary IO (26 pin ribbon connector)
Alternatively, it's useful to see what KFLOP bits live on which connectors to determine which ones to use:
bits | Connector | |
0-15 | JP7.7-22 | 5V tolerant |
16-18 | JP4.5-7 | |
19-25 | JP4.10-16 | |
26-28 | JP6.5-7 | |
29-35 | JP6.10-16 | |
36-43 | JP5 (RJ45) | |
44-45 | JP7.5-6 |
Configuring for basic Step/Dir..
Has ability to control 8 motors, these have fixed output pins
Output channel (KFlop terminology) | Step IO bit/pin (MUX = 0) | Dir IO bit/pin (MUX = 1) | Step IO bit/pin (MUX = 1) | Dir IO bit/pin (MUX = 1) |
0 | 8 / JP7.15 | 9 / JP7.16 | 22 / JP4.13 | 23 / JP4.14 |
1 | 10 / JP7.17 | 11 / JP7.18 | 24 / JP4.15 | 25 / JP4.16 |
2 | 12 / JP7.19 | 13 / JP7.20 | 26 / JP6.13 | 27 / JP6.14 |
3 | 14 / JP7.21 | 15 / JP7.22 | 28 / JP6.15 | 29 / JP6.16 |
4 | 36 / JP5.1 | 37 / JP5.2 | ||
5 | 38 / JP5.3 | 39 / JP5.4 | ||
6 | 40 / JP5.5 | 41 / JP5.6 | ||
7 | 42 / JP5.7 | 43 / JP5.8 |
Limit switches are recommended to be on 12-15
So, my mapping..
Note that KFLOP is expensive.. so to protect it:
Motor outputs will 4 channels of Step/Dir bits 8-15 / JP17.15-22
Inputs:
So, breakout PCB mapping:
Bit | Function | Direction | Breakout jack |
0 / JP7.7 | Home X | Input | J-X-Limit |
1 | Home Y | Input | J-Y-Limit |
2 | Home Z | Input | J-Z-Limit |
3 | ESTOP? | Input | J-EStop |
4 / JP7.11 | Z Solenoid |
Output | J-Output.1 |
5 | Vacuum | Output | J-Output.2 |
6 | Spare | Output | J-Output.3 |
7 | Spare | Output | J-Output.4 |
8 / JP7.15 | X Step | Output | J-OC0.1 |
9 | X Dir | Output | J-OC0.2 |
10 | Y Step | Output | J-OC0.3 |
11 | Y Dir | Output | J-OC1.1 |
12 / JP7.19 | Z Step | Output | J-OC1.2 |
13 | Z Dir | Output | J-OC2.1 |
14 | A Step | Output | J-OC2.2 |
15 | A Dir | Output | J-OC2.03 |
I cant see how KFLOP integrates a physical ESTOP switch and I won't run my machine without one.. so I'll expect to feed the physical enable switch through to the Stepper drivers...
Each stepper driver PCB will require:
May require some of:
The A stepper is connected via RJ11 4-4:
Stepper driver pin 1 = A+, etc
KMotion tool: