Search found 2529 matches

by TomKerekes
Thu Mar 28, 2024 9:55 pm
Forum: C Programs
Topic: Kogna debug suggestions
Replies: 31
Views: 159

Re: Kogna debug suggestions

Hi Steve, If only it was so easy as to be some of my code which was looping! The evidence seems to be pointing to a call via a bad function pointer or something similar which starts it executing random data (not code - the disasm knew that the PC was in one of my floating point data tables). I guess...
by TomKerekes
Thu Mar 28, 2024 7:25 pm
Forum: Noise, Grounding, Shielding Issues
Topic: Reset kflop board
Replies: 17
Views: 56

Re: Reset kflop board

Hi Taras,

Its better to eliminate noise in hardware. But you might look at the Debounce function in the ExternalButtons.c example. It samples a value each Time Slice and outputs +1 or -1 when the value has changed and been stable for N samples.
by TomKerekes
Thu Mar 28, 2024 12:18 am
Forum: C Programs
Topic: Kogna debug suggestions
Replies: 31
Views: 159

Re: Kogna debug suggestions

Hi Steve, That's great you have CCS working. And thanks for the Linux notes. do you know what's at address 0x00712148? It's an IDLE instruction and it seems to be stuck there. Even though I load symbols for the firmware and my code, it doesn't know that location, although it looks like legit code in...
by TomKerekes
Wed Mar 27, 2024 7:49 pm
Forum: Noise, Grounding, Shielding Issues
Topic: Reset kflop board
Replies: 17
Views: 56

Re: Reset kflop board

Hi Taras, Is the ALARM Estop_Bit 1030 ? If so, then I think when the noise glitch went away the bit would be cleared before you could ever see it on the screen. if (!ReadBit(Estop) || !ReadBit(MPG_Estop)) //!chan[AXISX].Enable || !chan[AXISYA].Enable || !chan[AXISYB].Enable || !chan[AXISZ].Enable ||...
by TomKerekes
Wed Mar 27, 2024 5:38 pm
Forum: Noise, Grounding, Shielding Issues
Topic: Reset kflop board
Replies: 17
Views: 56

Re: Reset kflop board

Most likely noise on the EStop or MPG_Estop inputs were disabling all the Axes.
by TomKerekes
Wed Mar 27, 2024 4:39 pm
Forum: Noise, Grounding, Shielding Issues
Topic: Reset kflop board
Replies: 17
Views: 56

Re: Reset kflop board

Hi Taras,

The reported error was "Axis Disabled". The GCode stopped because an Axis was disabled. That's why I asked you to post those things.
by TomKerekes
Tue Mar 26, 2024 4:57 pm
Forum: Noise, Grounding, Shielding Issues
Topic: Reset kflop board
Replies: 17
Views: 56

Re: Reset kflop board

It doesn't seem to be an issue with USB or "turning off" or there would be a disconnect message. Instead it says "Axis Disabled". Are the Axes disabled? Check with the KMotion Axis Screen. Do you have anything that would disable the axes? Please post your Initialization C Program and Home Programs. ...
by TomKerekes
Mon Mar 25, 2024 7:34 pm
Forum: C Programs
Topic: Kogna debug suggestions
Replies: 31
Views: 159

Re: Kogna debug suggestions

Hi Steve, That is correct. Rev 1.2 Kogna changes the connector label to JP2. Attached is the Target Configuration we use for CCS 11. The basic process is to "launch" this target configuration. Note the JTAG connects to the DSP and daisy chains also to the other 2 PRU processors in the chip that we d...
by TomKerekes
Mon Mar 25, 2024 3:55 pm
Forum: Noise, Grounding, Shielding Issues
Topic: Reset kflop board
Replies: 17
Views: 56

Re: Reset kflop board

Hi Taras, During a tool change, the program freezes and after a while reports a connection error. What is your Tool Change doing? During milling, an error appears at different times and stops work. It is indicating the axes are disabled. Are they? Run KMotion.exe and when the error occurs check for ...
by TomKerekes
Sat Mar 23, 2024 7:00 am
Forum: C Programs
Topic: Label from C program
Replies: 3
Views: 34

Re: Label from C program

Hi Taras,

See

#define N_USER_DATA_VARS 200

In KMotionDef.h