Advanced Search

Search Results (Searched for: )

  • mmt
  • mmt
24 Mar 2025 22:31 - 24 Mar 2025 22:34

neeed help with additional pwm 6i25 and 7i76

Category: Basic Configuration

sorry spoke too soon

there are 4 pwm in the terminal command but hal stop on the pwm freq line. i tried it with a hyphen and an underscore

here is my relevant info
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA5I25
  FPGA Size: 9 KGates
  FPGA Pins: 144
  Number of IO Ports: 2
  Width of one I/O port: 17
  Clock Low frequency: 33.3333 MHz
  Clock High frequency: 200.0000 MHz
  IDROM Type: 3
  Instance Stride 0: 4
  Instance Stride 1: 64
  Register Stride 0: 256
  Register Stride 1: 256

Modules in configuration:

  Module: DPLL
  There are 1 of DPLL in configuration
  Version: 0
  Registers: 7
  BaseAddress: 7000
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: WatchDog
  There are 1 of WatchDog in configuration
  Version: 0
  Registers: 3
  BaseAddress: 0C00
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: IOPort
  There are 2 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: PWM
  There are 4 of PWM in configuration
  Version: 0
  Registers: 5
  BaseAddress: 4100
  ClockFrequency: 200.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: QCount
  There are 2 of QCount in configuration
  Version: 2
  Registers: 5
  BaseAddress: 3000
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: SSerial
  There are 1 of SSerial in configuration
  Version: 0
  Registers: 6
  BaseAddress: 5B00
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 64 bytes

  Module: StepGen
  There are 6 of StepGen in configuration
  Version: 2
  Registers: 10
  BaseAddress: 2000
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: LED
  There are 1 of LED in configuration
  Version: 0
  Registers: 1
  BaseAddress: 0200
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for P3
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                      0   IOPort       StepGen          0        Dir/Table2      (Out)
14                      1   IOPort       StepGen          0        Step/Table1     (Out)
 2                      2   IOPort       StepGen          1        Dir/Table2      (Out)
15                      3   IOPort       StepGen          1        Step/Table1     (Out)
 3                      4   IOPort       StepGen          2        Dir/Table2      (Out)
16                      5   IOPort       StepGen          2        Step/Table1     (Out)
 4                      6   IOPort       PWM              0        Dir             (Out)
17                      7   IOPort       PWM              0        PWM             (Out)
 5                      8   IOPort       PWM              1        Dir             (Out)
 6                      9   IOPort       PWM              1        PWM             (Out)
 7                     10   IOPort       SSerial          0        TXData0         (Out)
 8                     11   IOPort       SSerial          0        RXData0         (In)
 9                     12   IOPort       SSerial          0        TXData1         (Out)
10                     13   IOPort       SSerial          0        RXData1         (In)
11                     14   IOPort       QCount           0        Quad-IDX        (In)
12                     15   IOPort       QCount           0        Quad-B          (In)
13                     16   IOPort       QCount           0        Quad-A          (In)

IO Connections for P2
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                     17   IOPort       StepGen          3        Dir/Table2      (Out)
14                     18   IOPort       StepGen          3        Step/Table1     (Out)
 2                     19   IOPort       StepGen          4        Dir/Table2      (Out)
15                     20   IOPort       StepGen          4        Step/Table1     (Out)
 3                     21   IOPort       StepGen          5        Dir/Table2      (Out)
16                     22   IOPort       StepGen          5        Step/Table1     (Out)
 4                     23   IOPort       PWM              2        Dir             (Out)
17                     24   IOPort       PWM              2        PWM             (Out)
 5                     25   IOPort       PWM              3        Dir             (Out)
 6                     26   IOPort       PWM              3        PWM             (Out)
 7                     27   IOPort       SSerial          0        TXData2         (Out)
 8                     28   IOPort       SSerial          0        RXData2         (In)
 9                     29   IOPort       SSerial          0        TXData3         (Out)
10                     30   IOPort       SSerial          0        RXData3         (In)
11                     31   IOPort       QCount           1        Quad-IDX        (In)
12                     32   IOPort       QCount           1        Quad-B          (In)
13                     33   IOPort       QCount           1        Quad-A          (In)

loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hostmot2
loadrt hm2_pci config="num_encoders=1 num_pwmgens=1 num_stepgens=4 sserial_port_0=00xxxxxx"
setp    hm2_5i25.0.watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.y,pid.z,pid.a,pid.s
loadrt pwmgen output_type=0

addf hm2_5i25.0.read          servo-thread
addf motion-command-handler   servo-thread
addf motion-controller        servo-thread
addf pid.x.do-pid-calcs       servo-thread
addf pid.y.do-pid-calcs       servo-thread
addf pid.z.do-pid-calcs       servo-thread
addf pid.a.do-pid-calcs       servo-thread
addf pid.s.do-pid-calcs       servo-thread
addf hm2_5i25.0.write         servo-thread

# external output signals

net shutter-output      => hm2_5i25.0.7i76.0.0.output-00
net laser-output        => hm2_5i25.0.7i76.0.0.output-01

# --- LASER POWER ---
setp   hm2_5i25.0.pwmgen.0.pwm_freq 1000
setp   hm2_5i25.0.pwmgen.0.scale 100
net pwm-output hm2_5i25.0.pwmgen.0
net pwm-enable <= motion.motion-enabled  => hm2_5i25.0.pwmgen.0.enable
  • aharner
  • aharner
24 Mar 2025 22:31

Connecting Mesa 7i76 to Sprint 1200 DC Controller

Category: General LinuxCNC Questions

Sir, thank you for your immediate response, I had the first two pins figured out but the last ones I needed clarification. Time to get her spinning. Can't thank you enough.
  • D Jensen
  • D Jensen
24 Mar 2025 22:29
Replied by D Jensen on topic Retrofitting a 1986 Maho 400E

Retrofitting a 1986 Maho 400E

Category: Milling Machines

I'm wrong again. It occurred to me that if your one has the hand wheel on the top slide then you will have to pull that whole assembly out before pulling out the quill as the rack teeth don't go the full length of the quill. I don't know how you do that on your version and my manual for the vertical quill didn't have an explanation that there was a scotch key retaining it.
Cheers,
David
  • PCW
  • PCW's Avatar
24 Mar 2025 22:27

Connecting Mesa 7i76 to Sprint 1200 DC Controller

Category: General LinuxCNC Questions

So

7I76EU TB4     DRIVE

1 SPINDLE-      2 MIN
2 SPINOUT       3 IP
3 SPINDLE+     1 +10V
5 ENA-             4 COM
6 ENA+            5 RUN

Note that some or all of these connections may be at line potential
so make sure you do not touch them or allow them to connect to
any low voltage signal.



 
  • mmt
  • mmt
24 Mar 2025 22:24

neeed help with additional pwm 6i25 and 7i76

Category: Basic Configuration

that worked sorry for the mix up

thank you
  • PCW
  • PCW's Avatar
24 Mar 2025 22:16
Replied by PCW on topic 7I97T joint following error

7I97T joint following error

Category: General LinuxCNC Questions

Yes, at motor 2400 RPM the ballscrew would turn at 1200 RPM (20 TPS)
and 20 TPS * 0.2 IPT = 4 IPS
  • PCW
  • PCW's Avatar
24 Mar 2025 22:06

neeed help with additional pwm 6i25 and 7i76

Category: Basic Configuration

That's the plasma config, the configuration with 2 PWMgens per 7I76 is:

5i25_7i76x2_2pd.bit


 
  • langdons
  • langdons
24 Mar 2025 22:04
Replied by langdons on topic EtherCAT Closed-Loop Drive Options for Lathe

EtherCAT Closed-Loop Drive Options for Lathe

Category: EtherCAT

Most 3D printers are 3D-printed; most CNC machines are CNC machined.

Kinda weird; kinda cool.
  • langdons
  • langdons
24 Mar 2025 22:03
Replied by langdons on topic EtherCAT Closed-Loop Drive Options for Lathe

EtherCAT Closed-Loop Drive Options for Lathe

Category: EtherCAT

Do you have a CNC router/spindle machine?

Just machine parts for your lathe with the spindle/router.

If you have a 3D printer that also works but durability will be poor.
  • aharner
  • aharner
24 Mar 2025 22:03

Connecting Mesa 7i76 to Sprint 1200 DC Controller

Category: General LinuxCNC Questions

Yes I do.  I have the right hand side of the Sprint all taken care of, its the low voltage/control side that I cant figure out.  Thanks in advance for your help.
  • mmt
  • mmt
24 Mar 2025 21:51
  • Evgen
  • Evgen
24 Mar 2025 21:49
Replied by Evgen on topic linuxcnc scurve motion planner

linuxcnc scurve motion planner

Category: General LinuxCNC Questions

Hello! I have intersting problem. I use solidcam iMachining procedures for milling. With ordinary TP I have some strange deaccelerations and my servos don't like it. Then I check your tp, it try to stop every g-code segment. I can't understand where is problem. Help me, please. White screenshot - new tp, black - ordinary tp. All tests on pictures are in simulation.
  • Tinker
  • Tinker
24 Mar 2025 21:45
Replied by Tinker on topic 7I97T joint following error

7I97T joint following error

Category: General LinuxCNC Questions

Basically 4 IPS would be my scale number if I'm understanding you correctly..
  • Tinker
  • Tinker
24 Mar 2025 21:42
Replied by Tinker on topic 7I97T joint following error

7I97T joint following error

Category: General LinuxCNC Questions

So say my servos are 2400 RPM @10V with 2/1 reduction and 5 tpi ball screws, would that be the basic formula used to come up with velocity in IPS?
  • tommylight
  • tommylight's Avatar
24 Mar 2025 21:41
Replied by tommylight on topic New Computer - Error Launching

New Computer - Error Launching

Category: Advanced Configuration

test-4x4_1742871679.hal
That is the hal for the 6i25/5i25 so why are you using the other one made for parallel port?
Displaying 2056 - 2070 out of 26681 results.
Time to create page: 0.247 seconds
Powered by Kunena Forum