Advanced Search

Search Results (Searched for: 7i76e)

02 Mar 2024 21:30 - 02 Mar 2024 21:44

0-10v Servo Control with 7i76E

Category: HAL

edit; ignore that, just noticed the tiny _invert label
02 Mar 2024 21:09

0-10v Servo Control with 7i76E

Category: HAL

Hi, I can't clear the output voltage ripple ...Does anyone have a photo of the +-10v signal with the oscilloscope.
What can I improve on the scheme?
02 Mar 2024 19:20 - 02 Mar 2024 19:20

Spindle CW and Stop Toggle Button

Category: HAL

Hey

I want to add a hardware momentary pushbutton to Start the Spindle CW if it´s not turning.
If it´s turning (no matter if CW or CCW) and the Button is pushed again the Spindle should stop.

Could someone help me?

I just got the Button configured that it will run the spindle CW by pushing:
net spindle-manual-cw     <=  hm2_7i76e.0.7i76.0.0.input-11

But how should I handle the "if (hm2_7i76e.0.7i76.0.0.input-11 && (spindle-manual-cw OR spindle-manual-ccw)) then {spindle-manual-stop}" ?

Jannik
28 Feb 2024 17:11

Facing Error after updating Linuxcnc to 2.9 from 2.7

Category: General LinuxCNC Questions

Due to limitated file upload here i am attaching mine HAL and INI files.

File Attachment:

File Name: 7I76e_io_2...2-28.ini
File Size:4 KB

File Attachment:

File Name: custom_2024-02-28.hal
File Size:2 KB

File Attachment:

File Name: postgui_call_list.hal
File Size:0 KB

File Attachment:

File Name: oprator_20...2-28.hal
File Size:8 KB

File Attachment:

File Name: 7I76e_io_2...2-28.hal
File Size:13 KB
28 Feb 2024 07:10

Using HAL lincurve and offset to correct for a not-so-straight axis

Category: Show Your Stuff

I built my own CNC router with the long axis (I called it X for various reasons) at about 2.7m. It's all on 8020 profile and no matter how I tweaked it, I could never get the gantry to move in a straight line. It would shift reliably +/- 0.1mm (or about 0.005in), so I had an accuracy problem that was too large for my liking.

 

I got this same plot over and over at multiple Y locations, so lincurve  would be a good solution here together with offset .

Essentially, lincurve lets you define an equation of sorts, then lets you map the x value to the y value. In this case, I would map the input of my X of where the spindle is to the output offset I want to move my Y axis. The reverse of the error you see in the graph above. Then I use that offset and implement it in the controller using HAL offset.

The "equation" that you give lincurve however is not your usual y=f(x), but multiple points (up to 16) on the x,y graph. The lincurve link above explains it better than I would.

Here is a snippet from my HAL:
net y-index-enable => pid.y.index-enable
net y-enable => pid.y.enable
net y-pos-cmd => pid.y.command
net y-pos-fb => pid.y.feedback
net y-output <= pid.y.output

# Step Gen signals/setup
setp hm2_7i76e.0.stepgen.01.dirsetup [JOINT_2]DIRSETUP
setp hm2_7i76e.0.stepgen.01.dirhold [JOINT_2]DIRHOLD
setp hm2_7i76e.0.stepgen.01.steplen [JOINT_2]STEPLEN
setp hm2_7i76e.0.stepgen.01.stepspace [JOINT_2]STEPSPACE
setp hm2_7i76e.0.stepgen.01.position-scale [JOINT_2]STEP_SCALE
setp hm2_7i76e.0.stepgen.01.step_type 0
setp hm2_7i76e.0.stepgen.01.control-type 1
setp hm2_7i76e.0.stepgen.01.maxaccel [JOINT_2]STEPGEN_MAXACCEL
setp hm2_7i76e.0.stepgen.01.maxvel [JOINT_2]STEPGEN_MAXVEL

# ---closedloop stepper signals---
# Alter Y position dependent on X position in order to straighten X axis
setp x_straight.x-val-00 0.0
setp x_straight.y-val-00 0.04341242632711628
setp x_straight.x-val-01 607.2917010709281
setp x_straight.y-val-01 -0.0941465387965644
setp x_straight.x-val-02 1150.4857125892602
setp x_straight.y-val-02 0.06777797847289474
setp x_straight.x-val-03 1405.8006869324868
setp x_straight.y-val-03 0.10253790211206171
setp x_straight.x-val-04 1662.603323359967
setp x_straight.y-val-04 0.07153820324398952
setp x_straight.x-val-05 1963.5065299510084
setp x_straight.y-val-05 -0.04292886830166562
setp x_straight.x-val-06 2341.4825252892224
setp x_straight.y-val-06 -0.053798901184427095
setp x_straight.x-val-07 2435.0
setp x_straight.y-val-07 -0.10441928397325695
net x-pos-fb => x_straight.in
net y-offset <= x_straight.out
net y-offset => x_straight_offset.offset
net y-pos-cmd-raw <= joint.2.motor-pos-cmd
net y-pos-cmd-raw => x_straight_offset.in
net y-pos-fb-raw <= hm2_7i76e.0.stepgen.01.position-fb
net y-pos-fb-raw => x_straight_offset.fb-in

net y-pos-cmd <= x_straight_offset.out
net y-vel-cmd <= joint.2.vel-cmd
net y-output => hm2_7i76e.0.stepgen.01.velocity-cmd
net y-pos-fb <= x_straight_offset.fb-out
net y-pos-fb => joint.2.motor-pos-fb
net y-enable <= joint.2.amp-enable-out
net y-enable => hm2_7i76e.0.stepgen.01.enable

And voila:
 
27 Feb 2024 07:01
Replied by ajc771 on topic MPG and MESA 7i76E

MPG and MESA 7i76E

Category: Driver Boards

Hi Peter;

Thanks, I will look into that receiver chip.

Just for others who might find problems getting their MPG to work; I had to make some modifications to the HAL file. (I am using LinuxCNC 2.9.2)

1) I decided to use the jog-vel-mode 1 over incremental because I was use to a VMC I used at my job that would Jog that way: For each axis I did:

setp axis.x.jog-vel-mode 1
setp axis.y.jog-vel-mode 1
setp axis.z.jog-vel-mode 1

Mode 1 does not need increment but jogs each axis (selected by a switch on the Pendant Control) continuously at the speed of the turning of the encoder wheel.

2) Next I had to add this line for the motion module:

net motion-in-position halui.mode.teleop hm2_7i76e.0.7i76.0.0.input-07

3) For each Axis x,y &z I:

setp axis.x.jog-scale 3 #(to lower the speed I could have put 0.5 for example)
net axis-select-x => axis.x.jog-enable
net axis-selected-count => axis.x.jog-counts

Input 7, above, is an input pin on my MESA card that is netted to a switch on the Pendant control. I also had to comment out all the places in the HAL file that had to do with incremental control. The pedant control and the MPG work fine now.

Thanks Again,
ajc




ajc
27 Feb 2024 02:44
Replied by PCW on topic MPG and MESA 7i76E

MPG and MESA 7i76E

Category: Driver Boards

There is no way to use the 7I76E MPG inputs differentially
but typically MPG inputs are pretty slow so if you had
a noise issue you could just add a bit of RC filtering.
(or add a differential receiver chip like a 26LS32)
27 Feb 2024 01:00
MPG and MESA 7i76E was created by ajc771

MPG and MESA 7i76E

Category: Driver Boards

Hi,

I have a Differential MPG on my Pendant control (It has A+, A-,B+,B- and 5V and GND)  and because of the distance to the 7i76e card and the noise,  I would like to use this 100 turn encoder in the differential mode.   With the 7i76e in mode 2 there are two MPG possible on terminal 16 &17 and terminals 18 & 19.  Is there a way to connect one MPG in the differential mode on these terminals?   If so, exactly where and how would I connect them?  Also, is there any special lines I would have to add to my HAL file or INI file?

Thanks,
ajc

 
24 Feb 2024 16:04
Replied by PCW on topic 7i76e with 7i85

7i76e with 7i85

Category: PnCConf Wizard

Yes, for single ended encoders, the - A,B,Z inputs are left unconnected.
24 Feb 2024 05:47
Replied by ajc771 on topic 7i76e with 7i85

7i76e with 7i85

Category: PnCConf Wizard

Hi Peter,
My pncconfig screen looks exactly like what you have for P! which is on the 7i85 card and I have my XYZ encoders configured as you show. Since I have TTL encoders with the index signal: I set up all the jumpers in the correct position. What confused me was the numbering and use of the word MUXed. As you can see the terminal numbers are not given and encoder x axis is numbered 0 which I take to mean the first 8 terminals and the Y to be the next 8 terminals and z the next 8 terminals. Is that correct?

Also since I am only using 2 signal wires, a power and a ground. I would connect the A+ and B+ to their terminals and the index to its terminal. The power and ground are easy to figure out . I would, of course leave A- & B - terminals unconnected with no pull-up resistor ---- Is that correct? My encoders are sinking about 35 ma to ground MAX. Their rated for up to 30 volts but I am using the 5 volts provided by the 7i85.

Thanks Again for your help!
ajc
23 Feb 2024 15:25
Replied by PCW on topic 7i76e with 7i85

7i76e with 7i85

Category: PnCConf Wizard

If you are talking about encoder type (single ended vs differential),
this is selected by jumpers on the 7I85 card.

The 7I85 encoders are on the P1 tab. Note
that in this configuration, encoders 0..3
are on the 7I85 and the spindle encoder
(4) is on the 7I76E

 

As far as the stepgens go, the only per-pin hardware
option is  whether the outputs are inverted or not.
Here are 4 axis of stepgens setup in a typical manner:

 
 
23 Feb 2024 09:58
Replied by tommylight on topic 7i76e with 7i85

7i76e with 7i85

Category: PnCConf Wizard

Probably needs flashing firmware for use with 7i85, and most probably it is included in the downloads on the www.mesanet.com website.
Still, that does not explain grayed out stepgens, so what language are you using?
Check if UTF-8 is used as locale as some locales will cause such issues.
22 Feb 2024 17:41
Replied by Dean on topic WiFi/LAN Conflict

WiFi/LAN Conflict

Category: Computers and OS's

The problem is that the 10.10.10.1 address is a default route
That's an error in setting up the 10.10.10.1 interface

I set up the nic based on tommylight's sticky on "Mesa ethernet setup for 7i92, 7i96, 7i76E and other ethernet Mesa boards".  The nic is set with an address of 10.10.10.11 and the gateway is set to 10.10.10.1.
Everything seems to be working great now.
21 Feb 2024 03:33
Replied by ajc771 on topic MESA cards

MESA cards

Category: Driver Boards

Tommy,

Thanks for getting back to me so quickly. Concerning my MPG; it has 4 wires, A+, A-, B+ and B-. It is 100 PPR but the 7i76e terminals only take A+ and B+ and of course the 5 volts. On my oscilloscope I get a pulse from A+ and B+ by connecting to the probe grounds to negative.. A and B signals are 90 degrees out of phase. Maybe I should just leave the A- and B- unconnected?

In reference to your suggestion to run a PID tuning; can that be done without running PNCongfig? If so how?

Agian, thanks for your help.

ajc
Displaying 121 - 135 out of 662 results.
Time to create page: 0.783 seconds
Powered by Kunena Forum