Hi Watson,
idk. You would have to include more specifics on the wiring and grounding for us to help.
You might try adding filter capacitors (0.1uf Ceramic capacitors to KFLOP GND, close to KFLOP) to suppress noise glitches.
Search found 2529 matches
- Wed Jul 22, 2020 2:34 am
- Forum: Hardware Interface Issues
- Topic: MPG knob inputs
- Replies: 5
- Views: 2208
- Tue Jul 21, 2020 4:54 pm
- Forum: C Programs
- Topic: Change laser power based on feedrate?
- Replies: 14
- Views: 4012
Re: Change laser power based on feedrate?
Typically my G code will have a single feed rate for cuts (F word) and a single spindle speed (S word, in this case representing laser power) that is optimized for that feed rate and a particular material. So, all is well when the machine has fully accelerated to that feed rate. I think I understan...
- Tue Jul 21, 2020 1:36 am
- Forum: C Programs
- Topic: G32 spindle sync with FRO
- Replies: 2
- Views: 1435
Re: G32 spindle sync with FRO
Hi SJH, Hmmm. We just made a change so that FRO and Feedhold are supported while in feed/rev modes (G32 and G95). Previously they were mostly ignored. This User on cnczone convinced us it should be supported. That change is scheduled to go into the next Release but currently only exists as a patch. ...
- Tue Jul 21, 2020 12:22 am
- Forum: C Programs
- Topic: Change laser power based on feedrate?
- Replies: 14
- Views: 4012
Re: Change laser power based on feedrate?
I understand all that except where you said "compute the desired Power based on S Word Power", does that refer to the spindle speed that has been stored in a persist variable by the S action? If I wanted to calculate the current velocity as a percentage of the feedrate commanded by the G code, is t...
- Mon Jul 20, 2020 9:18 pm
- Forum: C Programs
- Topic: Change laser power based on feedrate?
- Replies: 14
- Views: 4012
Re: Change laser power based on feedrate?
Hi amowry, I think the code would work best added to a forever loop in your Init Program that always runs in Thread #1. Test a Virtual Bit to determine whether the power should be on or off. I recall you are sending the power via the UART to your Arduino? If on, compute the desired Power based on S ...
- Mon Jul 20, 2020 8:37 pm
- Forum: C Programs
- Topic: Change laser power based on feedrate?
- Replies: 14
- Views: 4012
Re: Change laser power based on feedrate?
Hi amowry, A C Program running constantly would be very fast (every 180us). Only downloading the Code under Windows would not be real-time deterministic. See the VelocityToPWM.c example: #include "KMotionDef.h" // Drives PWM output proportional to current Speed #define FACTOR 0.01f // factor to conv...
- Mon Jul 20, 2020 3:17 pm
- Forum: C Programs
- Topic: JOG Axis , and stop mmediately
- Replies: 9
- Views: 2662
Re: JOG Axis , and stop mmediately
Hi REGENS, The Video is private and not viewable. I'm not sure the purpose of this: if (!ReadBit(XPLUS) && !ReadBit(XMINUS)) // Watch an external input switch { DAC(4, 0); EnableAxis(4); } There isn't any purpose for writing to the DAC when the Axis is enabled and also writing to the DAC. Also conti...
- Sun Jul 19, 2020 8:06 pm
- Forum: Hardware Interface Issues
- Topic: Connecting Two Kflops Together
- Replies: 1
- Views: 1098
Re: Connecting Two Kflops Together
Hi Cyprian, Multiple KFLOPs can be added to a PC. Your App can send commands to each board independently. But the axes across multiple boards will not be real time synchronized unless you add some sort of real-time communication or trigger signal between the KFLOPs. What are the requirements of your...
- Sat Jul 18, 2020 2:05 am
- Forum: C Programs
- Topic: Setting PWM prescale
- Replies: 20
- Views: 4518
Re: Setting PWM prescale
Thanks for that and for taking the time to post back.
- Fri Jul 17, 2020 8:35 pm
- Forum: C Programs
- Topic: Setting PWM prescale
- Replies: 20
- Views: 4518
Re: Setting PWM prescale
Sounds like a plan.
Good luck
Good luck