MPG and MUX definitions

Moderators: TomKerekes, dynomotion

User avatar
TomKerekes
Posts: 2868
Joined: Mon Dec 04, 2017 1:49 am

Re: MPG and MUX definitions

Post by TomKerekes » Tue Jul 15, 2025 2:21 am

Hi Dennis,
I think I'm hearing you say I may be able to use the 200v motors I have, with less speed.
Yes

On the assigning input channels to axis channel, I can assign 0-3 to any of the 3 axis I have active currently. When I set it up with 4-7, nothing. Looking at the Digital I/O page, the KFLOP tab only shows 0-3 encoders. Goes right into home and limit switches after that.
Actually regarding Home and Limit switch inputs those are just recommendations for a simple system. These (unlike encoder inputs) are handled in software so any input can be used.

The 2nd set of 4 Encoder inputs are on JP5. See here.

Do you have a Kanalog?

Also, will the kflop use resolver input instead of encoder to close a position loop?
No KFLOP doesn't support resolver inputs. There are some tricky ways to do it with software but I would highly recommend against it.
Regards,

Tom Kerekes
Dynomotion, Inc.

Dennis Johnson
Posts: 11
Joined: Fri Nov 24, 2023 3:12 pm

Re: MPG and MUX definitions

Post by Dennis Johnson » Tue Jul 15, 2025 2:38 am

I do have a Kanalog and attempting to route my MPG handle to A7+- and B7+-

I'm actually glad to hear you don't really support resolvers. Been down that rocky road and actually glad to eliminate that from my possibilities.

Dennis Johnson
Posts: 11
Joined: Fri Nov 24, 2023 3:12 pm

Re: MPG and MUX definitions

Post by Dennis Johnson » Tue Jul 15, 2025 2:42 am

I also just checked and Kanalog is checked in the executive program options.

User avatar
TomKerekes
Posts: 2868
Joined: Mon Dec 04, 2017 1:49 am

Re: MPG and MUX definitions

Post by TomKerekes » Tue Jul 15, 2025 3:06 am

So you now have an MPG with differential output and connecting to Kanalog JP2 A7+/- and B7+/- correct?

Is Kanalog JP9 connected to KFLOP JP5?

Do KFLOP Bits 42 and 43 toggle when the encoder moves?
Regards,

Tom Kerekes
Dynomotion, Inc.

Dennis Johnson
Posts: 11
Joined: Fri Nov 24, 2023 3:12 pm

Re: MPG and MUX definitions

Post by Dennis Johnson » Tue Jul 15, 2025 10:00 am

TomKerekes wrote:
Tue Jul 15, 2025 3:06 am
So you now have an MPG with differential output and connecting to Kanalog JP2 A7+/- and B7+/- correct?
Yes
TomKerekes wrote:
Tue Jul 15, 2025 3:06 am
Is Kanalog JP9 connected to KFLOP JP5?
Yes, but the latch on KFLOP JP5 had apparently been released and the connector was barely in the socket, strangely enough Kanalog JP1 worked on all channels and JP2 was dead.

This explains some of the intermittent issues I was having.
TomKerekes wrote:
Tue Jul 15, 2025 3:06 am
Do KFLOP Bits 42 and 43 toggle when the encoder moves?
Yes.

Now all is well and I can start to understand adding hardware MPG to my INIT.c file.

Again, Thank you Tom for your help and patience!

Dennis Johnson
Posts: 11
Joined: Fri Nov 24, 2023 3:12 pm

Re: MPG and MUX definitions

Post by Dennis Johnson » Mon Jul 21, 2025 3:57 pm

I've hyjacked my own thread, I guess it doesn't matter much...

Current question, I am looking at the AnTek PS-8N80N24R5 power supply to pair with the Snap Amp. The power supply has 5 outputs, 80V 24V and 5v, of which only the 5v is regulated.

Am I likely to encounter problems using the unretulated 80v with the snap amp?

Thanks in advance
Dennis

User avatar
TomKerekes
Posts: 2868
Joined: Mon Dec 04, 2017 1:49 am

Re: MPG and MUX definitions

Post by TomKerekes » Mon Jul 21, 2025 6:44 pm

Hi Dennis,

There may be quite a bit or ripple. Maybe 8V at 10A?

Switching power supplies are very economical. They got sort of a bad rap for CNC as they can fault, or fail, when regenerative braking pushes current back into them. But SnapAmp has voltage clamping so this isn't a problem.

Something like this.
60V Adjustable dc Power Supply 600W,Switching Power Supply AC 110V/220V to DC 0-60V DC Converter
Regards,

Tom Kerekes
Dynomotion, Inc.

User avatar
TomKerekes
Posts: 2868
Joined: Mon Dec 04, 2017 1:49 am

Re: MPG and MUX definitions

Post by TomKerekes » Mon Jul 21, 2025 6:49 pm

Hi Dennis,

There may be quite a bit or ripple. Maybe 8V at 10A?

Switching power supplies are very economical. They got sort of a bad rap for CNC as they can fault, or fail, when regenerative braking pushes current back into them. But SnapAmp has voltage clamping so this isn't a problem.

Something like this.
60V Adjustable dc Power Supply 600W,Switching Power Supply AC 110V/220V to DC 0-60V DC Converter
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply