Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 07:06:32 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  MPG Setup?
Pages: 1   Go Down
Print
Author Topic: MPG Setup?  (Read 1145 times)
0 Members and 1 Guest are viewing this topic.
0ok
Active Member

Offline Offline

Posts: 3


View Profile
« on: March 28, 2011, 10: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, 10:48:16 PM by 0ok » Logged
nfloppy
Active Member

Offline Offline

Posts: 7


View Profile
« Reply #1 on: March 31, 2011, 05: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, 05:38:18 PM by nfloppy » Logged
0ok
Active Member

Offline Offline

Posts: 3


View Profile
« Reply #2 on: April 05, 2011, 12: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.
Logged
0ok
Active Member

Offline Offline

Posts: 3


View Profile
« Reply #3 on: August 20, 2011, 08: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!
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!