Hello Guest it is March 29, 2024, 03:16:39 AM

Author Topic: MPG Setup?  (Read 5019 times)

0 Members and 1 Guest are viewing this topic.

Offline 0ok

*
  •  3 3
    • View Profile
MPG Setup?
« on: March 28, 2011, 11:44:57 PM »
My first question to the forum.

I have a MPG wheel
last time I used with Mach3 and a Mill was in 07.
Tamagawa Seki  TS347 100 Count Incrimental
Now I am trying to set it up it does work in Mach3.
The inputs are on Pins 10 and 11 and I have one Port in ECP Mode. {I tried all the modes)
What am I doing wrong?
« Last Edit: March 28, 2011, 11:48:16 PM by 0ok »
MPG Setup?
« Reply #1 on: March 31, 2011, 06:35:59 PM »
Hi.

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:

<MpgSource1>
             <Type>SoftEncoder</Type> <!—SoftEncoder or HardEncoder-->
             <Index>0</Index>
</MpgSource1>


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.

You note that We have controlled encoder separately, and it works.

Thanks for your answer.

Good night!
« Last Edit: March 31, 2011, 06:38:18 PM by nfloppy »

Offline 0ok

*
  •  3 3
    • View Profile
Re: MPG Setup?
« Reply #2 on: April 05, 2011, 01:26:55 PM »
Not familiar with your setup, but I will try to solve my problems and possibly yours. I had to start over building the Computer and the Table so I have not gotten around to testing Motors and Encoder.  I am going to try it with second Parallel Port installed.

Offline 0ok

*
  •  3 3
    • View Profile
Re: MPG Setup?
« Reply #3 on: August 20, 2011, 09:25:07 PM »
Not to worry I had an ahah moment and found the solution.
I have not tested it in Mach yet (I was busy with some other stuff), but i am sure it will work since the fault was self-inflicted!