Hello Guest it is January 25, 2021, 02:16:34 AM

Author Topic: How to configure a MPG  (Read 3536 times)

0 Members and 1 Guest are viewing this topic.

How to configure a MPG
« on: April 04, 2011, 05:09:10 AM »

I'm sorry for my imperfect English.

I've started to use VitalSystem board with Mach3 in the University Laboratory for my degree.

We have problem to connect softencoder for MPG use.

Reading the guide I know that for the first MPG I can use pin 24 and 12 on J4, that means I must connect A and B channel of softencoder on I12 and I13 pin of 7535 board. (and 5V and ground of encoder on power pins of 7535)

Later, I must config MPG in Mach3. I've used the config panel directly from Config Plugin in the Setting Menu, on page 1, and also I have written in the xml section:

             <Type>SoftEncoder</Type> <!—SoftEncoder or HardEncoder-->

In input/output page of Mach3 I set only MPG1 enabled, and unit/count in relative column, without setting numbers of ports and pins for A and B channel, as the manual says.

Now. Where's the error? How can I read pulse from the encoder?

Obviously, I write this topic because setting MPG mode on the jog, and selecting a axes, the machine doesn't move itself.

I tried to write VB script, or brains to read UserDRO 1330. Nothing.

We have controlled encoder separately, and it works.

Thanks for your answer.

Re: How to configure a MPG
« Reply #1 on: April 09, 2011, 02:43:18 PM »
are you using the latest plugin and firmware available on the web page www.vitalsystem.com/dspmc?  you do not need to edit any file.  all configuration is done inside the plugin.  read the mach3 chapter in the user manual.