Mesa 7i76e Plasma bit file

More
5 years 9 months ago #195986 by rodw
Is this the right bit file and command to enable multiple encoders for THCAD's?
Code:
mesaflash --device 7i76e --addr 10.10.10.10 --write ./7i76e_7i76x1_Dpl.bit

I downloaded the bit file tonight from the Mesa product page
It seemed to write the file ok and I power cycled the board but I only see 1 encoder.
Not sure if its related or not but I don't see my 7i73 any more either
Using master branch compiled from source as RIP

Please Log in to join the conversation.

More
5 years 9 months ago #195996 by PCW
Replied by PCW on topic Mesa 7i76e Plasma bit file
How many encoders are enabled in your hal file?

Please Log in to join the conversation.

More
5 years 9 months ago #196016 by rodw
Replied by rodw on topic Mesa 7i76e Plasma bit file
Thanks Peter, of course that was it.

Still missing my 7i73 not sure if I did something else silly or not

Please Log in to join the conversation.

More
5 years 9 months ago #196047 by PCW
Replied by PCW on topic Mesa 7i76e Plasma bit file
The 7I76e plasma config should be identical SSerial port-wise

Please Log in to join the conversation.

More
5 years 6 months ago #206812 by txtrone
Replied by txtrone on topic Mesa 7i76e Plasma bit file

PCW wrote: How many encoders are enabled in your hal file?


I just flashed the same bit file that Rod is posting about, received confirmation, restarted the 7i76e, and now I receive this error. Do I need to change the number of encoders in my machine.hal file from '1' to '2'? thx

Code:
twopass: Error in file ./mark_i_connections.hal: setting parameter 'hm2_7i76e.0.encoder.02.scale' to '-1' parameter or pin 'hm2_7i76e.0.encoder.02.scale' not found

Please Log in to join the conversation.

More
5 years 6 months ago #206815 by tommylight
If there is only one encoder loaded in the loadrt line of the hal file, the encoder number will be 0, you have it as 2.
So
hm2_7i76e.0.encoder.02.scale
should be
hm2_7i76e.0.encoder.00.scale
same for the two other lines.

Please Log in to join the conversation.

More
5 years 6 months ago #206818 by txtrone
Replied by txtrone on topic Mesa 7i76e Plasma bit file

tommylight wrote: If there is only one encoder loaded in the loadrt line of the hal file, the encoder number will be 0, you have it as 2.
So
hm2_7i76e.0.encoder.02.scale
should be
hm2_7i76e.0.encoder.00.scale
same for the two other lines.


I was trying to follow these directions. My THCAD 5 is connected to EncB (per the drawing) and I installed the updated bit file (per the directions) ... not sure where I went wrong. I searched around and came upon this post where it appears Rod is having the same, or a very similiar, issue... though it is hard to tell in the context of this post.

7.3. Hypersensing with a MESA THCAD-5

Code:
We used a 15W Mean Well HDR-15 Ultra Slim DIN Rail Supply 24V DIN rail based isolated power supply.. This is a double insulated Isolation Class II device that will withstand any arc voltage that might be applied to the terminals. Example HAL Code for Hypersensing The following HAL code can be pasted into your plasmac_connections.hal to enable Ohmic sensing on Encoder 2 of a 7i76e. Install the correct bit file and connect the THCAD to IDX+ and IDX-. Be sure to change the calibration settings to agree with your THCAD-5. # --- Load the Component --- loadrt ohmic names=ohmicsense addf ohmicsense servo-thread # --- 7i76e ENCODER 2 SETUP FOR OHMIC SENSING--- setp hm2_7i76e.0.encoder.02.scale -1 setp hm2_7i76e.0.encoder.02.counter-mode 1 # --- Configure the component --- setp ohmicsense.thcad-0-volt-freq 140200 setp ohmicsense.thcad-max-volt-freq 988300 setp ohmicsense.thcad-divide 32 setp ohmicsense.thcad-fullscale 5 setp ohmicsense.volt-divider 4.9 setp ohmicsense.ohmic-threshold 22.0 setp ohmicsense.ohmic-low 1.0 net ohmic-vel ohmicsense.velocity-in <= hm2_7i76e.0.encoder.02.velocity # --- Replace Plasmac’s Ohmic sensing signal --- unlinkp debounce.0.2.in net ohmic-true ohmicsense.ohmic-on => debounce.0.2.in net plasmac:ohmic-enable => ohmicsense.is-probing

Please Log in to join the conversation.

More
5 years 6 months ago #206819 by PCW
Replied by PCW on topic Mesa 7i76e Plasma bit file
The three encoders on the 7I76E (and 7I96) plasma configurations are connected:

Code:
A Encoder 00 B Encoder 01 IDX Encoder 02

Please Log in to join the conversation.

More
5 years 6 months ago #206822 by txtrone
Replied by txtrone on topic Mesa 7i76e Plasma bit file

PCW wrote: The three encoders on the 7I76E (and 7I96) plasma configurations are connected:

Code:
A Encoder 00 B Encoder 01 IDX Encoder 02


Thank you sir! That was confusing me as well, the directions call for connection of the THCAD to B, but the HAL code was using IDX.

Do I need to change this line in my machine.hal file to encoders=2 (or 3)?

Code:
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=0 num_stepgens=4 sserial_port_0=00xxxx"

Please Log in to join the conversation.

More
5 years 6 months ago #206825 by PCW
Replied by PCW on topic Mesa 7i76e Plasma bit file
I would set num_encoders=2 and use the "B" encoder input (encoder 01)
for the Ohmic sensing

Please Log in to join the conversation.

Time to create page: 1.601 seconds
Powered by Kunena Forum