Search found 1560 matches

by TomKerekes
Sun Nov 28, 2021 12:49 pm
Forum: Configuration Issues
Topic: 3D gizmo in the screen
Replies: 1
Views: 13

Re: 3D gizmo in the screen

Hi Noel, We don’t have such an option as it would be very odd to show the axes directions backwards on the screen. What type of machine do you have? A common issue is that with most mills to make a cut in the part to the right the tool remains stationary and the table and part is moved to the left. ...
by TomKerekes
Thu Nov 18, 2021 8:17 pm
Forum: C Programs
Topic: View Jog Speed on an Axis
Replies: 4
Views: 105

Re: View Jog Speed on an Axis

Code: Select all

printf("%f: Jog Speed\n", ch0->last_vel);
See KMotionDef.h for available variable definitions.
by TomKerekes
Thu Nov 18, 2021 6:45 pm
Forum: C Programs
Topic: View Jog Speed on an Axis
Replies: 4
Views: 105

Re: View Jog Speed on an Axis

Hi Jacob,

Its not clear what you mean. Current instantaneous jogging speed? Max Axis Velocity? Are you using KMotionCNC? Which Axis? It would be nice to know also what you are trying to do.
by TomKerekes
Mon Nov 15, 2021 4:15 pm
Forum: Hardware Interface Issues
Topic: KFLOP disables axis when starting inverter for the spindle
Replies: 11
Views: 160

Re: KFLOP disables axis when starting inverter for the spindle

Hi Martin, That's the circuit of the limit switch That looks reasonable. Although the LED/1K Ohm is driving the photo transistor quite hard at ~4ma. The spec sheet only specifies the output to be below 0.4V @ 0.2ma. So this is 20X over that. You didn't answer my question about what you meant by unco...
by TomKerekes
Fri Nov 12, 2021 3:42 pm
Forum: User Machines
Topic: 6 axis wire edm
Replies: 19
Views: 1551

Re: 6 axis wire edm

Hi Mariano,

Add a forever loop to the end of your Initialization C Program to read the EStop input, and if active, do whatever you desire to do, such as clear those outputs. See also here.
by TomKerekes
Thu Nov 11, 2021 9:38 pm
Forum: Hardware Interface Issues
Topic: KFLOP disables axis when starting inverter for the spindle
Replies: 11
Views: 160

Re: KFLOP disables axis when starting inverter for the spindle

Hi Martin, Managed to find the model of the optical limit switches. Attached is the datasheet. Good. But that's the sensor. What is the circuitry on that board and what is on your prototype board? Still can't get the board to work although no limit switched are connected. What do you mean by this? W...
by TomKerekes
Wed Nov 10, 2021 4:35 pm
Forum: Hardware Interface Issues
Topic: KFLOP disables axis when starting inverter for the spindle
Replies: 11
Views: 160

Re: KFLOP disables axis when starting inverter for the spindle

Hi Martin, The input voltage on the limit switches is 0.5V when they are open and 3.66 V when they have been triggered. The supplied voltage to the KFLOP is 5.2V and I don't know why the limit switches don't go to 5V. 0.5V for a low is a little bit high. LVTTL inputs should register low below 0.8V b...
by TomKerekes
Tue Nov 09, 2021 7:26 pm
Forum: Hardware Interface Issues
Topic: KFLOP disables axis when starting inverter for the spindle
Replies: 11
Views: 160

Re: KFLOP disables axis when starting inverter for the spindle

Hi Martin, The limits are configured "Disallow drive into limit". The Console's message is "Pos Limit Disabled Axis", followed by the respective axis No. That would confirm noise on the inputs. On a small prototype board I have soldered the cables from the KFLOP to connectors for all the limit switc...
by TomKerekes
Mon Nov 08, 2021 9:51 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: Tool Change Issue
Replies: 6
Views: 97

Re: Tool Change Issue

The only other program that should be running is the main loop (attached). Yes I see the forever loop sends FRO and SSO commands to KMotionCNC. Also potentially very frequently as these settings: #define CHANGE_TOL 0.02 // only update if change is more than this #define CHANGE_TIME 0.05 // don't up...
by TomKerekes
Mon Nov 08, 2021 8:04 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: Tool Change Issue
Replies: 6
Views: 97

Re: Tool Change Issue

I assume the Z move to 0, spindle off, and such is in the GCode? I don't see this in the C Program. Do you have any other programs running? And that are sending commands to KMotionCNC? The communication to KMotionCNC is not Thread safe. That is if two Threads send a command at the same time then com...