5i25+7i76 wired pendant help please

More
15 Jun 2018 14:44 #112407 by PCW
freeby.mesanet.com/7i765a.zip

Contains firmware for a 5i25 with a 7I76 on P3 and a "Ebay special"
5 axis bob on P2 ( 5i25_7i76_5abob.bit )

The source file that defines the pinout is also included in the zip

Please Log in or Create an account to join the conversation.

More
15 Jun 2018 21:37 #112441 by Toolman321
thanks very much!

Please Log in or Create an account to join the conversation.

More
16 Jun 2018 01:09 #112452 by rodw
From my 7i76e config. Should be pretty easy to implement on your 7i76. This does not include the ilowpass filtering
# Metric units used
loadrt hm2_eth board_ip="10.10.10.10" config="firmware=hm2/7i76/7i76e.BIT num_encoders=1 num_pwmgens=0 num_stepgens=5  sserial_port_0=2xxxx" 

loadrt mux4 count=1
addf mux4.0 servo-thread
loadrt or2 count=4
addf or2.3  servo-thread

setp axis.x.jog-vel-mode 0
net x-jog-counter <=  hm2_7i76e.0.7i76.0.0.enc0.count
net x-jog-counter => axis.x.jog-counts
net mux-in1 or2.3.in0 <= hm2_7i76e.0.7i76.0.0.input-22 => mux4.0.sel0
net mux-in2 or2.3.in1 <= hm2_7i76e.0.7i76.0.0.input-21 => mux4.0.sel1
net x-jog-enable <= or2.3.out
net x-jog-enable => axis.x.jog-enable
setp mux4.0.in0 0.0
setp mux4.0.in1 1.0
setp mux4.0.in2 0.1
setp mux4.0.in3 0.01
net x-jog-scale mux4.0.out => axis.x.jog-scale

Please Log in or Create an account to join the conversation.

More
16 Jun 2018 08:27 #112462 by Toolman321
Thanks very much!

Please Log in or Create an account to join the conversation.

More
16 Jun 2018 14:09 #112476 by Toolman321
Today I managed to flash my Mesa 5i25 with the firmware for 1x 7i76 and 1x common 5 axis bob. The operation completed without any error but I don’t see an option in Pncconf to select these two devices in the firmware drop down box. I simply selected 2 x 7i76 and it looks like it might work? However I still need to look into things further as I only seem to have one set of encoder inputs per breakout board, I assume I will need 3, one for mpg and one for each of the overrides?

Please Log in or Create an account to join the conversation.

More
16 Jun 2018 15:06 #112478 by PCW
Adding the 5ABOB shoud give you 4 encoders total

2 MPG encoders on the 7I76 field I/O
1 normal encoder on the 7I76, 1 normal encoder on the 5ABOB
(and 5 more stepgens, 1 PWM and 5 GP inputs on the 5ABOB)

Please Log in or Create an account to join the conversation.

More
16 Jun 2018 17:48 #112486 by Toolman321
Given that I’m going to have to go back to the drawing board on my design, I was hoping to connect all of the control interface components to the 5abob but since it doesn’t have the encoder inputs I need I’ll have to look to another solution.

Please Log in or Create an account to join the conversation.

More
16 Jun 2018 18:35 #112487 by PCW
The 5A BOB only has 5 inputs

Please Log in or Create an account to join the conversation.

More
16 Jun 2018 20:00 - 16 Jun 2018 20:05 #112491 by Toolman321
Yeah I thinking the only real options I have would be
1 swap the 7i76 for the 5abob and use the 7i76 for control interface and the 5abob for stepper, spindle and home switch interface.
2 keep the 7i76 where it is controlling the machine and buy a 7i73 for operator interface.
3 I still have a spare parallel port and a serial port on my mb which I could possibly use but not sure how?

The items I need to connect are:
Program start button
Program pause button
Simple 18ppr encoder spindle override
Simple 18ppr encode feed override
100ppr handwheel encoder
Xyz select rotary switch
Increment 1,10,100 rotary switch

Cheapest solution preferred, I’m grateful for your guidance
Many thanks

Edit: I could replace the two override encoders for two potentiometers?
Last edit: 16 Jun 2018 20:05 by Toolman321.

Please Log in or Create an account to join the conversation.

More
16 Jun 2018 20:16 #112493 by PCW
Its possible to put 2 encoders on the 5ABOB but I'm not sure if the 5ABOB
OPTO inputs will work with the 5V signals that many MPGs use

Your could also wire the MPGs directly to P2 is you are careful that they never have voltages > 5V or less than -0.5V (or use another BOB that has more inputs)

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.089 seconds
Powered by Kunena Forum