Changes

Main Page

13,388 bytes added, 20:30, 20 December 2025
/* 3D Board Models added SnapAmp Step files */
==Dynomotion Software Topics==
===Installation Topics===
* Announcement of our Latest Release (5.4.1) on the [https://www.dynomotion.com/forum/viewtopic.php?f=4&t=1884 Dynomotion Forum]* [httphttps://dynomotion.com/Software/Download.html Latest Stable Release] Note: For Windows 7 64bit signed Drivers to work, all Windows Updates should be performed.
* [[Upgrading from previous KMotion Versions]]
 
Archive of Test Releases:
* Previous Test Release: 06/03/2025: [https://dynomotion.com/Software/KMotion5.4.0.exe KMotion.exe 5.4.0], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%205.4.0%20Changes.pdf 5.4.0 release notes (pdf)] * Previous Test Release: 04/08/2025: [https://dynomotion.com/Software/KMotion5.3.8.exe KMotion.exe 5.3.8], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%205.3.8%20Changes.pdf 5.3.8 release notes (pdf)] * Previous Test Release: 01/14/2025: [https://dynomotion.com/Software/KMotion5.3.7.exe KMotion.exe 5.3.7], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%205.3.7%20Changes.pdf 5.3.7 release notes (pdf)] * Previous Test Release: 09/30/2024: [https://dynomotion.com/Software/KMotion5.3.6.exe KMotion.exe 5.3.6], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%205.3.6%20Changes.pdf 5.3.6 release notes (pdf)] * Previous Test Release: 09/16/2024: [https://dynomotion.com/Software/KMotion5.3.5.exe KMotion.exe 5.3.5], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%205.3.5%20Changes.pdf 5.3.5 release notes (pdf)] * Previous Test Release: 08/13/2024: [https://dynomotion.com/Software/KMotion5.3.4.exe KMotion.exe 5.3.4], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%205.3.4%20Changes.pdf 5.3.4 release notes (pdf)] * Previous Test Release: 04/04/2024: [https://dynomotion.com/Software/KMotion5.3.3.exe KMotion.exe 5.3.3], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%205.3.3%20Changes.pdf 5.3.3 release notes (pdf)] * Previous Test Release: 02/01/2024: [https://dynomotion.com/Software/KMotion5.3.2.exe KMotion.exe 5.3.2], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%205.3.2%20Changes.pdf 5.3.2 release notes (pdf)] * Previous Test Release: 11/20/2023: [https://dynomotion.com/Software/KMotion5.3.1.exe KMotion.exe 5.3.1], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%205.3.1%20Changes.pdf 5.3.1 release notes (pdf)]* Previous Test Release: 09/19/2023: [https://dynomotion.com/Software/KMotion5.3.0.exe KMotion.exe 5.3.0], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%205.3.0%20Changes.pdf 5.3.0 release notes (pdf)]* Previous Test Release: 06/30/2023: [https://dynomotion.com/Software/KMotion5.1.0.exe KMotion.exe 5.1.0], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%205.1.0%20Changes.pdf 5.1.0 release notes (pdf)]* Previous Test Release: 05/01/2023: [https://dynomotion.com/Software/KMotion5.0.7.exe KMotion.exe 5.0.7], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%205.0.7%20Changes.pdf 5.0.7 release notes (pdf)]* Previous Test Release: 09/21/2022: [https://dynomotion.com/Software/KMotion435h.exe KMotion.exe V4.35h], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%204.35h%20Changes.pdf V4.35h release notes (pdf)]* Previous Version 4.35g was not released, but see the change notes for this version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%204.35g%20Changes.pdf V4.35g change notes (pdf)]* Previous Test Release: 12/28/2020: [https://dynomotion.com/Software/KMotion435f.exe KMotion.exe V4.35f], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%204.35f%20Changes.pdf V4.35f release notes (pdf)]* Previous Test Release: 11/18/2019: [https://dynomotion.com/Software/KMotion435e.exe KMotion.exe V4.35e], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%204.35e%20Changes.pdf V4.35e release notes (pdf)]* Previous Test Release: 09/10/2019: [https://dynomotion.com/Software/KMotion435d.exe KMotion.exe V4.35d], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%204.35d%20Changes.pdf V4.35d release notes (pdf)]* Previous Test Release: 01/28/2019: [https://dynomotion.com/Software/KMotion435b.exe KMotion.exe V4.35b], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%204.35b%20Changes.pdf V4.35b release notes (pdf)]* Previous Test Release: 12/21/2018: [https://dynomotion.com/Software/KMotion435a.exe KMotion.exe V4.35a], See the release notes for this test version here: [https://dynomotion.com/Software/KMotion%20Released%20Version%204.35a%20Changes.pdf V4.35a release notes (pdf)]* Previous Test Release: 09/28/2017: [httphttps://dynomotion.com/Software/KMotion434j.exe KMotion.exe V4.34j], See the release notes for this test version here: [httphttps://dynomotion.com/Software/KMotion%20Released%20Version%204.34j%20Changes.pdf V4.34j release notes (pdf)]* Previous Test Release: 05/07/2017: [httphttps://dynomotion.com/Software/KMotion434i.exe KMotion.exe V4.34i], See the release notes for this test version here: [httphttps://dynomotion.com/Software/KMotion%20Released%20Version%204.34i%20Changes.pdf V4.34i release notes (pdf)]* Previous Test Release: 12/14/2016: [httphttps://dynomotion.com/Software/KMotion434h.exe KMotion.exe V4.34h], See the release notes for this test version here: [httphttps://dynomotion.com/Software/KMotion%20Released%20Version%204.34h%20Changes.pdf V4.34h release notes (pdf)]* Previous Test Release: 12/13/2016: [httphttps://dynomotion.com/Software/KMotion434g.exe KMotion.exe V4.34g], See the release notes for this test version here: [httphttps://dynomotion.com/Software/KMotion%20Released%20Version%204.34g%20Changes.pdf V4.34g release notes (pdf)]* Previous Test Release: 12/05/2016: [httphttps://dynomotion.com/Software/KMotion434f.exe KMotion.exe V4.34f], See the release notes for this test version here: [httphttps://dynomotion.com/Software/KMotion%20Released%20Version%204.34f%20Changes.pdf V4.34f release notes (pdf)]* Previous Test Release:  11/07/2016: [httphttps://dynomotion.com/Software/KMotion434e.exe KMotion.exe V4.34e], See the release notes for this test version here: [httphttps://dynomotion.com/Software/KMotion%20Released%20Version%204.34e%20Changes.pdf V4.34e release notes (pdf)]* Previous Test Release:  10/32/2016: [httphttps://dynomotion.com/Software/KMotion434d.exe KMotion.exe V4.34d], See the release notes for this test version here: [httphttps://dynomotion.com/Software/KMotion%20Released%20Version%204.34d%20Changes.pdf V4.34d release notes (pdf)]* Previous Test Release:  10/23/2016: [httphttps://dynomotion.com/Software/KMotion434c.exe KMotion.exe V4.34c], See the release notes for this test version here: [httphttps://dynomotion.com/Software/KMotion%20Released%20Version%204.34c%20Changes.pdf V4.34c release notes (pdf)]* Previous Test Release:  10/03/2016: [httphttps://dynomotion.com/Software/KMotion434b.exe KMotion.exe V4.34b], See the release notes for this test version here: [httphttps://dynomotion.com/Software/KMotion%20Released%20Version%204.34b%20Changes.pdf V4.34b release notes (pdf)]* Previous Test Release:  03/09/2016: [httphttps://dynomotion.com/Software/KMotion434a.exe KMotion.exe V4.34a], See the release notes for this test version here: [httphttps://dynomotion.com/Software/KMotion%20Released%20Version%204.34a%20Changes.pdf V4.34a release notes (pdf)]* [httphttps://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm How to install KMotion.exe and KMotionCNC]
* [[How to install KMotion.exe and KMotion in Windows 10|Preparing Windows 10 for driver installation]] (no longer required)
* [[Special Case for Windows 8.1 Industry Embedded Enterprise]]
: '''General Information'''
: Compiling KMotionCNC
:: The KMotionCNC's Visual Studio Project Solution (\PC VC Programs\KMotionCNC\KMotionCNC.sln) is currently written for Visual Studio 2008 2015 Standard.  This version can be used for the simplest compatibility.  Projects can be upgraded to newer version of VS with minimal effort.  Including Microsoft's Free Visual Studio 2013 Community.  [[PC Example Applications|More info on PC Example Applications.]]
:: Note Test Versions 4.34a and later have project solutions targeted for Visual Studio 2015 Community which is free for most Users.
: '''KMotionCNC Customization Examples and Applications'''
:: Links to examples of projects that explain KMotionCNC customizations::: . Troy (tmday7) created some helpful documents listed on the Yahoo Group Files Section (PDF format):: :* [https://groupswww.yahoodynomotion.com/neoforum/groupsarchive/DynoMotionattachments/filesHow%20to%20Edit%20KMotionCNC%20Faces.pdf How to edit KMotionCNC faces]:* [https://www.dynomotion.com/forum/archive/attachments/KmotionCNCAdding%20Screen20External%20Customizing20Buttons.pdf Adding external buttons]:* [https:/ here/www.dynomotion.com/forum/archive/attachments/Adding%20More%20User%20Buttons.pdf Adding more user buttons]:* [https://www.dynomotion.com/forum/archive/attachments/Adding%20Jog%20Percent%20Cell%20to%20Main%20Dialog%20Face.pdf Adding Jog Percent Cell to Main Dialog Face]
====<span style="text-decoration: underline;">KMotionCNC Screen Editor</span>====
Introduces the capability of using Screen Script files to modify the look and function of KMotionCNC.<br />[[KMotionCNC Screen Editor|More information.]]
Note the Geometric Correction is built into the KMotion Libraries and can be utilized by Custom Programs as well as with KMotionCNC<br />[[Geometric Correction|More information and Examples.]]
 
====<span style="text-decoration: underline;">KMotionCNC Linear Table Correction (Screw Mapping)</span>====
Individual Axes can be corrected in a 1 dimensional manner referred to as Linear Table Corrections.  For more information See [[Linear Table Correction|here]].
===PC Example Applications===
A number of PC Applications using the KMotion Libraries are available in the Software download.&nbsp; Visual Studio should be used to modify/compile the applications.&nbsp;
Currently the projects are compatible with VS 2008 Standard but later Versions can upgrade the projects and can be used including the free Microsoft Version of VS 2013 Community.&nbsp; In some cases MFC capability needs to be added as a separate download.
 '''Note All the projects in KMotion Versions 4.34a and later have now been updated and should work out-of-the-box with VS2015Visual Studio 2022.'''
[[PC Example Applications|More information.]]
[[KMotion Libraries - GCode Interpreter - Trajectory Planner - Coordinated Motion - .NET|More information]].
 
===Kinematics===
The KMotion Libraries contain a Kinematics Layer where Users can add their own non-linear Kinematics
 
[[Kinematics|More information]].
===KFLOP C Programs===
===ModBus===
Modbus can be connected to the PC or directly to KFLOP.  A PC connection will not be deterministically real-time but may work for basic speed control and on/off.  Here is a related Thread for interfacing KMotionCNC to Modbus using a [http://www.modbusdriver.com/modpoll.html free utility].:
[https://groupswww.yahoodynomotion.com/neoforum/groupsarchive/DynoMotion/conversations/topics/7941sending%20ModBus%20msgs%20from%20KmotionCNC%20to%20a%20RS485%20port.html Sending ModBus msgs from KmotionCNC to a RS485 port]
To connect Modbus directly to KFLOP's [http://www.dynomotion.com/Help/RS232/RS232.htm UART] see the C Examples in \C Programs\RS232\ModBus\
 
===Linux Support===
KMotion Motion Libraries are fully supported under Microsoft Windows. Some Users have ported the KMotion Libraries to Linux.  Dynomotion will offer support where possible but can't offer full support under Linux.  Special Thanks to [https://github.com/parhansson/KMotionX Par Hansson] for the initial Linux Port.
 
See [[Linux|here]] for more info.
==Dynomotion Hardware Topics==
===General Hardware Information===
KFLOP ====[[KFLOP Hardware Info|KFLOP specific Hardware Info]]==== KStep ====[[KStep Hardware Info|KStep specific Hardware Info]]==== Kanalog ====[[Kanalog Hardware Info|Kanalog specific Hardware Info]]==== SnapAmp ====[[SnapAmp Info|SnapAmp specific Hardware Info]]==== Konnect ====[[Konnect Hardware Info|Konnect specific Hardware Info]]  ====
===Wiring Diagrams===
[[Media:Kanalog_Connections.pdf|Basic Kanalog DAC and Encoder Connections 3 Axis]]
[[Media:dyn4 kanalog KE1524 V1.1.png|Basic Kanalog DAC and DMM DYN4 Drive 1 Axis]]
[[Media:Kanalog_with_Geckos_G210Kflop-Kanalog_wiring_11-19-2018.pdf|Kanalog with Geckos G210updated 11-19-2018]] (Thanks to <span style="color: windowtext;">Joseph Mirocha</span>)
[[Media:Kanalog_to_Tree_Journeyman_325_by_Rick_B.pdf|Kanalog to Tree Journeyman 325.pdf]] (Thanks to <span style="color: windowtext;">Rick_B</span>)
[https://www.dynomotion.com/wiki/index.php?action=ajax&title=-&rs=SecureFileStore::getFile&f=/b/bb/RotarySwitchToKanalog.png Rotary Switch Connected to Kanalog Opto Inputs]
===Wiring Topics3D Board Models===Place links to pages on wiring inputs and outputs specific to your experiences and projects[[Media:kflop-kstep-3d-models-1.  Be descriptive with page titles and linkssnapshot.3.zip.txt|kflop-kstep-3d-models-1.snapshot.3.zip.txt]]  STEP file format - Thanks to Curtis
[[File:kflop_kstep_render.JPG|none|link=|329x329px]]
====KFLOP IDC Connectors and Cables====
Cables that connect between Dynomotion boards are normally included when purchasing the boards together.  They are also very common and easy to make.  <br /><br />Use '''16-conductor or 26-conductor ribbon cable''' (0.05 inch pitch 26 AWG preferrably or 28AWG) and IDC sockets.<br /><br />
[[File:RibbonCable.png|none|link=]]
16 conductor ribbon cable 3M part number 3801/16 100 <br />https[[Media://wwwKFLOP3D_Step_IGS_Chris.digikeyzip.com/product-detail/en/3m/3801-16-100/3M156105-100-ND/1107501<br /><br />26 conductor ribbon cable 3M part number C3801/26 100 <br />https://wwwtxt|KFLOP3D_Step_IGS_Chris.digikeyzip.com/product-detail/en/3m/C3801-26-100/C3801-26-100-ND/1107648<br /><br />Winford also sells ribbon cable (although only the thinner 28 AWG):<br />http://www.winford.com/products/rib.php<br /><br />Note you can usually tear off wires to reduce the number of conductors.  For example from 26 down to 16.  Tear off the conductors away from the red stripe that marks pin 1.<br /><br />The '''crimp tools''' are common:<br />https://www.frys.com/product/1922804<br />[[File:RibbonCrimp.png|none|link=txt]]<br /><br />'''IDC Sockets 16 STEP and IGS models -pin '''(pin pitch 0.1 inch)<br />https://www.digikey.com/product-detail/en/assmann-wsw-components/AWP-16-7240-T/HHKC16H-ND/5031953<br />Assman Part number AWP 16-7240-TThanks to Chris
[[File:16pinIDCKFLOP_3D.png|none|link=|413x296px]]
'''IDC Sockets 26-pin '''(pin pitch 0.1 inch)'''<br />'''
https://www.digikey.com/product-detail/en/assmann-wsw-components/AWP-26-7240-T/HHKC26H-ND/5011313
[[Media:KONNECT_BOARD_MODEL.zip.txt|KONNECT_BOARD_MODEL.zip.txt]] STEP model - Thanks to Jeff Redington
 
(Component locations may be off one way or another by .5mm)
 
[[File:Konnect_Board.png|none|link=|339x292px]]
 
 
Konnect Basic Step file showing hole locations
 
[[Media:KonnectHoles.stp.txt|KonnectHoles.stp.txt]]
 
[[File:KonnectHoles.png|none|link=|352x323px]]
 
 
Kanalog Step Model with Mechanical hole and Pin locations
 
[[Media:Kanalog.stp.txt|Kanalog.stp.txt]]
 
[[File:KanalogFromStep.png|none|link=|304x279px]]
 
 
Kanalog Step Model with Mechanical hole and Connectors (Thanks to
 
Roberto Gotti of Powertech)'''<br />'''
 
[[Media:KANALOG_BOARD.stp.txt|KANALOG_BOARD.stp.txt]]
 
[[File:KanalogWithConnectors.png|none|link=|311x286px]]
 
 
 
 
SnapAmp 3D Step Model - Thanks to Isaac
 
[[Media:SnapAmp.stp.txt|SnapAmp.stp.txt]]  
 
 
[[File:SnapAmp_Step.png|none|link=]]
 
 
 
 
[[Media:KFlop_2SnapAmp.stp.txt|2 Snap Amps added to Curtis's KFLOP STEP model - Thanks to Isaac]]
 
[[Media:KFlop_2SnapAmp.stp.txt|KFlop_2SnapAmp.stp.txt]]  
 
 
[[File:KFLOP_2SnapAmp_Step.png|none|link=]]
 
===Board Terminal DXF/DWG files===
[[Media:KFLOP_Terminals.dxf|KFLOP_Terminals.dxf]] [[Media:KFLOP_Terminals.dwg|KFLOP_Terminals.dwg]]
 
[[Media:Kanalog_Terminals.dxf|Kanalog_Terminals.dxf]] [[Media:Kanalog_Terminals.dwg|Kanalog_Terminals.dwg]]
 
[[Media:Konnect_Terminals.dxf|Konnect_Terminals.dxf]] [[Media:Konnect_Terminals.dwg|Konnect_Terminals.dwg]]
 
[[Media:KStep_Terminals.dxf|KStep_Terminals.dxf]] [[Media:KStep_Terminals.dwg|KStep_Terminals.dwg]]
 
===Wiring Topics===
Place links to pages on wiring inputs and
 
outputs specific to your experiences and projects.  Be descriptive with page titles and links.
 
 
 
 
 
====KFLOP IDC Connectors and Cables====
Cables that connect between Dynomotion boards are normally included when purchasing the boards together. They are also very common and easy to make. <br /><br />Use '''16-conductor or 26-conductor ribbon cable''' (0.05 inch pitch 26 AWG preferrably or 28AWG) and IDC sockets.<br /><br />[[File:RibbonCable.png|none|link=]]16 conductor ribbon cable 3M part number 3801/16 100 <br />https://www.digikey.com/product-detail/en/3m/3801-16-100/3M156105-100-ND/1107501<br /><br />26 conductor ribbon cable 3M part number C3801/26 100 <br />https://www.digikey.com/product-detail/en/3m/C3801-26-100/C3801-26-100-ND/1107648<br /><br />Winford also sells ribbon cable (although only the thinner 28 AWG):<br />http://www.winford.com/products/rib.php<br /><br />Note you can usually tear off wires to reduce the number of conductors. For example from 26 down to 16. Tear off the conductors away from the red stripe that marks pin 1.<br /><br />The '''crimp tools''' are common:<br />https://www.amazon.com/Accessories-Crimp-Ribbon-Cable-Connectors/dp/B007R2JEM4/<br />[[File:RibbonCrimp.png|none|link=]]<br /><br />'''IDC Sockets 16-pin '''(pin pitch 0.1 inch)<br />https://www.digikey.com/product-detail/en/assmann-wsw-components/AWP-16-7240-T/HHKC16H-ND/5031953<br />Assman Part number AWP 16-7240-T[[File:16pinIDC.png|none|link=]]
https://www.digikey.com/product-detail/en/assmann-wsw-components/AWP-26-7240-T/HHKC26H-ND/5011313
[[File:26pinIDC.png|none|link=]]
====KFLOP KStep JR1 Molex Power Connectors====
KFLOP and KStep JR1 are standard Disk Drive Power Connectors. Possibly one of the most common connectors. Originally used on PC ATX Power Supplies. Sometimes referred to as Molex Connectors. They have 4 pins with 0.2 inch pitch with 0.083~0.084 inch socket pins. The mating cable will have female socket pins as shown here:
[[File:Molex_female_connector.jpg|none|link=|251x168px]]
Molex Series 8981 P# [https://www.digikey.com/short/zjp329 0015244048]  using Molex Series 8980 Crimp Pins P# [https://www.digikey.com/short/zjp3ff 0002081201]
 
Also AMP Series MATE-N-LOK P# [https://www.digikey.com/short/zjpq3n 1-480424-0] using AMP Series MATE-N-LOK Crimp Pins P# [https://www.digikey.com/short/zjpqqw 60619-1] or P# [https://www.digikey.com/en/products/detail/molex/0194200002/2404783 194200002]
 
Molex Crimp Tool P# [https://www.digikey.com/en/products/detail/molex/0640160035/665311 0640160035]
====MPG Wiring and Interface====
MPGs (Manual Pulse Generators) should be connected directly to KFLOP for guaranteed real-time response (not USB based or connected to the PC).  MPGs are handled by a C Program that monitors the MPG and creates motion based on the MPG Encoder changes and switch selections for axis, speed, and so forth.  See the MPG C Program Examples.  Here is a Discussion with other links.
https://groups.yahoo.com/neo/groups/DynoMotion/conversations/messages/12287
[https://groupswww.yahoodynomotion.com/neoforum/groupsarchive/DynoMotion/conversations/messages/331 Jogging%20Pendant.html Jogging Pendant] [https://groupswww.yahoodynomotion.com/neoforum/groupsarchive/DynoMotionConnecting%20Keling%20MPG2%20pendant.html Connecting Keling MPG2 Pendant] [https:/conversations/messageswww.cnczone.com/331forums/dynomotion-kflop-kanalog/349740-applying-acceleration-mpg-target-possible.html#post2119732 CNCZone Thread] on obtaining smooth filtered motion.
[[File:MPG4_from_cnc4pc.jpg|none|link=|83x169px]]
 
====Interfacing NPN Devices to KFLOP IO====
NPN devices (open collector)operate as a switch to GND and can be interfaced to KFLOP using a pull up resistor as shown below. When the transistor switches to 0V the KFLOP IO Pin is driven low. The transistor will need to sink ~3ma. When the transistor is off (open circuit) the resistor pulls the IO Pin to 3.3V. Note even though some KFLOP IO Pins can tolerate 5V pulling them above 3.8V should be avoided when possible so the 3.3V supply is used. This technique will only work with KFLOP IO Pins that do not have pull down resistors (JP7 and JP5). In some cases a 0.1uF Ceramic capacitor connected close to KFLOP might be added in parallel with the resistor to filter noise.  Cable shielding connected to KFLOP GND on the KFLOP end only is recommended.  Note that in noisy environments this technique may couple noise into KFLOP so opto isolation should be used instead.
 
[[File:NPN_Interface_to_KFLOP.png|none|link=|544x544px]]
 
 
 
====Multiplexing Encoder Inputs to KFLOP JP4 and JP6====
If KFLOP JP7 and JP5 are used for other purposes the encoder inputs can be multiplexed to KFLOP JP4 and JP6. There is an option to multiplex encoders 0-3 from JP7 to JP4 and another option to multiplex encoders 4-7 from JP5 to JP6. See the MuxEncoders.c for an example.
 
Note the JP4 and JP6 IO are 3.3V inputs and shouldn't be driven hard (more than 10ma) above 3.8V. This is not usually an issue as most encoders or RS422 drivers don't do this. The inputs also have 150 ohm termination.
 
The following line of code might be added to your Initialization C Program. It needs to be executed once to multiplex the encoders after any power cycle. Encoders 0-3 will then be input on JP4 and 4-7 will be on JP6. Both JP4 and Jp6 have 10 IO bits. The 4 encoders will appear on the first 8 IO bits. 2 bits for each encoder's A B channels in order. So for example Encoder #0 will appear on JP4 IO16 (Pin5) and IO17 (Pin6)
 
<pre class="brush:c">
// Mux encoder inputs from KFLOP JP7 & JP5 to JP4 and JP6
FPGAW(ENC_NOISE_FILTER_ADD) = ENC_0_3_JP4 + ENC_4_7_JP6 + ENC_NOISE_FILTER_DEFAULT_VAL; </pre>
 
JP4 and JP6 have +5V available on Pin1 and GND on Pins 8 and 9 that might be used to power 5V encoders.
==<span id="Axes_Servo_Tuning_and_Trajectory_Planner" class="mw-headline">Axes Servo Tuning and Trajectory Planner</span>==
[[File:P.5D0N25D70Annotate.png|none|link=|644x478px]]
 
 
 
===Tuning Master/Slave Configurations===
Master/Slave [http://dynomotion.com/Help/ConfigurationScreen/ConfigurationScreen.htm#Master/Slave_Settings Configurations] allow two (or more) motors to drive the same axis.  Slaves are configured to follow a Master Axis.  For example two lead screws on both sides of a gantry.
 
Tuning slaved axes is kind of a catch 22.  In order to tune one axis the other axis must be tuned well enough to follow and vice versa.  If possible, disconnect any mechanical linkage between the Master and Slave and test them separately without Slaving the Axes together to verify each axis Servos (can hold a position), moves at least somewhat properly, and moves in the same direction (assuming a positive [http://dynomotion.com/Help/ConfigurationScreen/ConfigurationScreen.htm#Master/Slave_Settings Slave Gain] will be used).
 
It is usually possible to incrementally tune each axis, at first moving slowly, then later at higher speeds, accelerations, and gains.  Only the Master Axis can be tested with the [http://dynomotion.com/Help/StepScreen/StepScreen.htm Step Response Screen].  This is because the Slave will follow any movement of the Master, but the Master will not follow movement of the Slave.  So if the Master Axis is moved all is well as both axes will move together, but if you try to move the Slave axis the two axes will fight.  The Master fighting to stay where it is, and the Slave fighting to move.
 
To test/tune the Slave axis temporarily reverse the Master/Slave roles to make it the Master and then test it as the Master.
 
Note: only the Master Axis should be included into the Coordinated Motion System.
:* Place links to pages explaining resolutions to problems that are largely hardware-related
====[[Step/Dir Drives lose 2 Steps for each pair of Direction Reversals]]====
 
==Applications and Projects==
:* Place links to pages that explain how you accomplished your particular project.  Write clear explanations that provide background on what you did and how you did it.
====[[Tool Changer - router linear 4 Tools - C Program]]====[[File:LINEAT+ATC.jpg|none|link=|246x178px]]====More linear milling tools: https://www.ichome.com/ 
====[[Part Zero & Tool Height Touch Plate|Part Zero & Tool Height Touch Plate]]====
====[[Driving Hobby Servos]]====
HiTec Type
HiTec Type
==Electrical Discharge Machining==
[https://en.wikipedia.org/wiki/Electrical_discharge_machining EDM (wikipedia)] is a method of cutting materials with high precision and detail.  Dynomotion Motion Controllers work well for EDM because of the ability for feedrate to be dynamically controlled including reversal along cutting path.
[[Information on BAXEDM Arc Generators used with KFLOP]]
====Electrical Discharge Machining====[https://en.wikipedia.org/wiki/Electrical_discharge_machining EDM (wikipedia)]is a method of cutting materials with high precision and detail.  Dynomotion Motion Controllers work well for EDM because of the ability for feedrate Applied Science video that shows how to be dynamically controlled including reversal along cutting path.build an BAXEDM drilling machine using KFLOP and describes how it works:
{{#ev:youtube|kh5EvMAB28Ahttps://youtu.be/rpHYBz7ToII|||||start=980}}  [[Information on BAXEDM Arc Generators used with KFLOP]]
==How to convert a milling machine to a 3D printer in 3 easy steps==
Bureaucrat, administrator
469
edits