MPG Pedant on 7i43
10 Mar 2019 08:17 #128209
by pl7i92
Replied by pl7i92 on topic MPG Pedant on 7i43
its also best to watch the nearby piins in halshow for wrong wirering not only the one that i think im connected
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1150
- Thank you received: 184
10 Mar 2019 09:36 #128219
by Mike_Eitel
Replied by Mike_Eitel on topic MPG Pedant on 7i43
Sooner or later I want to connect a 7i73 to a 7i43u
Is that possible?
Mike
Is that possible?
Mike
Please Log in or Create an account to join the conversation.
10 Mar 2019 13:52 #128232
by andypugh
Yes, with the right firmware and interface. I think that a TTL to RS422 level shifter would also be required.
Some 50-pin daughter cards have that built in. The 7i44 is the easy way, but uses up the entire connector.
I think that this is a suitable single-channel adaptor: store.mesanet.com/index.php?route=produc...74_80&product_id=192 (but check with Mesa)
Replied by andypugh on topic MPG Pedant on 7i43
Sooner or later I want to connect a 7i73 to a 7i43u
Is that possible?
Yes, with the right firmware and interface. I think that a TTL to RS422 level shifter would also be required.
Some 50-pin daughter cards have that built in. The 7i44 is the easy way, but uses up the entire connector.
I think that this is a suitable single-channel adaptor: store.mesanet.com/index.php?route=produc...74_80&product_id=192 (but check with Mesa)
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1150
- Thank you received: 184
10 Mar 2019 14:06 #128235
by Mike_Eitel
Replied by Mike_Eitel on topic MPG Pedant on 7i43
Thx Andy.
Good that you thought on the hw signal. I simply ignored until now, so I have to dig into. Somehow I was in the believe that it is normal 5 Volt ttl based. No problem as I have somewhere lot of 485/422 shifters anyhow.
Then there will stay the chalange of a special firmware.
Mike
Good that you thought on the hw signal. I simply ignored until now, so I have to dig into. Somehow I was in the believe that it is normal 5 Volt ttl based. No problem as I have somewhere lot of 485/422 shifters anyhow.
Then there will stay the chalange of a special firmware.
Mike
Please Log in or Create an account to join the conversation.
10 Mar 2019 14:10 #128237
by andypugh
Replied by andypugh on topic MPG Pedant on 7i43
There is an SVSS8_8 firmware already existing. Whether that works for you would depend on what you have on the other pins and connectors.
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1150
- Thank you received: 184
10 Mar 2019 14:13 #128239
by Mike_Eitel
Replied by Mike_Eitel on topic MPG Pedant on 7i43
SUPER
That enforces me to setup a system and give a try.... Soon.. I hope ;-()
That enforces me to setup a system and give a try.... Soon.. I hope ;-()
Please Log in or Create an account to join the conversation.
10 Mar 2019 16:05 - 10 Mar 2019 16:06 #128247
by mane
Replied by mane on topic MPG Pedant on 7i43
Added the content from documentation "jog.hal with ilowpass" to a new file "mpg.hal" and added this to the ini file in the HAL section.
Modified one section in my mpg.hal file like so:
Link to mpg example
# The inputs to the mux4 component
net scale1 mux4.0.sel0 <= hm2_7i43.0.encoder.00.input-a
net scale2 mux4.0.sel1 <= hm2_7i43.0.encoder.00.input-b
Found the signal names for the encoder in "showhal" in LinuxCNC.
After starting LinuxCNC i had an error.
Debug file information:
This is line 5 in the mpg.hal file
"addf encoder.update-counters base-thread"
Modified one section in my mpg.hal file like so:
Link to mpg example
# The inputs to the mux4 component
net scale1 mux4.0.sel0 <= hm2_7i43.0.encoder.00.input-a
net scale2 mux4.0.sel1 <= hm2_7i43.0.encoder.00.input-b
Found the signal names for the encoder in "showhal" in LinuxCNC.
After starting LinuxCNC i had an error.
Debug file information:
HAL: ERROR: thread 'base-thread' not found
./mpg.hal:5: addf failed
4687
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
This is line 5 in the mpg.hal file
"addf encoder.update-counters base-thread"
Last edit: 10 Mar 2019 16:06 by mane. Reason: correction done
Please Log in or Create an account to join the conversation.
10 Mar 2019 16:33 #128249
by PCW
Replied by PCW on topic MPG Pedant on 7i43
You dont need to access the encoder input pins or loadrt, addf the software encoder component, just link the 7I43s encoder count pin to motions jog count pins
Please Log in or Create an account to join the conversation.
11 Mar 2019 16:15 #128352
by mane
Found the encoder count pin via halshow under:
Pins->hm2_7i43->0->encoder->00
But where can i find the motion jog count pins in halshow tree?
I guess in my case there are three motions jog count pins (for each xyz)?
Do i have to connect the encoder count pin to each axis, right?
Thanks so far. But i do not understand too much at the moment.
Replied by mane on topic MPG Pedant on 7i43
You dont need to access the encoder input pins or loadrt, addf the software encoder component, just link the 7I43s encoder count pin to motions jog count pins
Found the encoder count pin via halshow under:
Pins->hm2_7i43->0->encoder->00
Component Pins:
Owner Type Dir Value Name
12 s32 OUT 0 hm2_7i43.0.encoder.00.count
But where can i find the motion jog count pins in halshow tree?
I guess in my case there are three motions jog count pins (for each xyz)?
Do i have to connect the encoder count pin to each axis, right?
Thanks so far. But i do not understand too much at the moment.
Please Log in or Create an account to join the conversation.
11 Mar 2019 16:31 #128353
by rodw
Replied by rodw on topic MPG Pedant on 7i43
ON this page of my build thread, I have a complete worked example for a 7i76e MPG encoder
forum.linuxcnc.org/show-your-stuff/32029...utter-build?start=20
forum.linuxcnc.org/show-your-stuff/32029...utter-build?start=20
Please Log in or Create an account to join the conversation.
Time to create page: 0.097 seconds