Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
18 Nov 2024 15:38
Replied by PCW on topic mesa 7i96s analog spindle

mesa 7i96s analog spindle

Category: Driver Boards

This signal:

net spindle-ccw => hm2_7i96s.0.ssr.00.out-00

Would need to come from the sign of the orient PID output
for orient to work in both directions (this likely requires
a mux2 and an absolute component added)
  • sk_linuxcnc
  • sk_linuxcnc
18 Nov 2024 15:37 - 19 Nov 2024 10:26

Help: configure a Servo motor with (PUL/DIR) as a Spindle by Par-port stepconfig

Category: StepConf Wizard

Hello I am new to linuxcnc.
Earlier, I have a servomotor from JMC : model ihsv86. its Pul and Dir signals are wired to the parallel port pin 4 and 5 respectively. the motor runs as A axis in the current setup. However, now i want to use the servomotor as a spindle. and my X axis to be a tool table linear slide.

I dont know what settings are to be done in the pin configuration in stepconfig, and what should be done for stepgen in HAL and INI files.

im keeping the post short, but i am willing to ellaborate and attach ini and hal files if needed.

help is much appreciated! Thank you :)
  • Philip Lydin
  • Philip Lydin
18 Nov 2024 15:25
Replied by Philip Lydin on topic mesa 7i96s analog spindle

mesa 7i96s analog spindle

Category: Driver Boards

i made some changes and it kind of works but the orientation is super slow and it cant orient in clockwise direction. maybe you have some more ideas, and yes the scaling is correct

File Attachment:

File Name: 7i96s_2024-11-18.ini
File Size:5 KB

File Attachment:

File Name: 7i96s_2024-11-18.hal
File Size:10 KB
  • Murphy
  • Murphy
18 Nov 2024 15:21 - 18 Nov 2024 15:23
Replied by Murphy on topic Remora - Does Analog input syntax exist?

Remora - Does Analog input syntax exist?

Category: Computers and Hardware

Does this look ok to get the encoder PV1 counting? PV1 should be the MPG socket. I don't know if I have a hardware issue or code issue. Also does the nvmpg.so need to be compiled first? I'm using an adum1200 to bypass the opticouplers. PV1 does not count when I move the encoder in Halshow
  • PCW
  • PCW's Avatar
18 Nov 2024 15:17

problem while connecting the MESA 7i76e card to RS422 modbus-RTU and servo drive

Category: Driver Boards

I would try setting up the mesa-modbus component

The 7I76E has an RS-485 interface but does require bias
resistors and the proper connections to work properly:

7I76E

RX- TX- --> A  (220 pullup to +5V)
RX+ TX+ --> B (220 pulldown to GND)

Later cards like the 7I96S Rev E and 7I76EU do no required the pullups/pulldowns
  • PCW
  • PCW's Avatar
18 Nov 2024 15:03
Replied by PCW on topic mesa 7i96s analog spindle

mesa 7i96s analog spindle

Category: Driver Boards

Is the spindle direction controlled by the sign
of the orient PID output when in orient mode?

Is the encoder scaling correct? (position advances by 1.00
for each forward turn of the spindle)
  • Lcvette
  • Lcvette's Avatar
18 Nov 2024 14:27
Replied by Lcvette on topic probe basic tool direction

probe basic tool direction

Category: QtPyVCP

The Thanks belong to @Turboss, he is the VTK dragon slayer! I muddled about in it for 2 days trying to find and resolve the issue and he came in and fixed in an hour...lol he also wrote it so knows it a bit better than anyone else! :D
glad its all working!
  • langdons
  • langdons
18 Nov 2024 14:23

How to configure pause/resume over pin 10 of parallel port?

Category: HAL

Here is my final decision for pinouts:

Pause/!Resume: Pin 10
!Limit_X: Pin 12
!Limit_Y: Pin 13
!Limit_Z: Pin 15

! means logical not ("Active LOW").
  • langdons
  • langdons
18 Nov 2024 14:12 - 18 Nov 2024 14:15

How to configure pause/resume over pin 10 of parallel port?

Category: HAL

What included wizards are you referring to?
LinuxCNC is not exactly user-friendly.

Debian is also kinda weird and unintuitive.
I am an Ubuntu 22.04/24.04 and macOS High Sierra user.
  • langdons
  • langdons
18 Nov 2024 13:45 - 18 Nov 2024 14:32
Replied by langdons on topic New basic setup recommendations

New basic setup recommendations

Category: General LinuxCNC Questions

When you say "scrap" do you mean "recycle" or "throw in the garbage"?

It might be possible to find a new motherboard that fits in your PC chassis and works with your PSU.
That way, you wold not have to buy a whole new PC.

It might be possible to simply plug the HDD of the broken PC into a new computer.

My PC broke and I just plugged the hard drive into a similar computer (Same make and model, 1 year newer), and it works.

A new PC does not necessarily require a new installation or new OS.

However, the port address will almost certainly change.
  • Philip Lydin
  • Philip Lydin
18 Nov 2024 13:38
Replied by Philip Lydin on topic mesa 7i96s analog spindle

mesa 7i96s analog spindle

Category: Driver Boards

i did just reaverse the spindle direction which i suppose would do the same but it didnt make a differance.
  • Philip Lydin
  • Philip Lydin
18 Nov 2024 13:34
Replied by Philip Lydin on topic mesa 7i96s analog spindle

mesa 7i96s analog spindle

Category: Driver Boards

now it stops and then slowly starts ramping up until 1300rpm. how would i change the direction of the feedback?
  • tommylight
  • tommylight's Avatar
18 Nov 2024 13:03
Replied by tommylight on topic Ethercat auto configurator.

Ethercat auto configurator.

Category: EtherCAT

Pinned.
Thank you.
  • Grotius
  • Grotius's Avatar
18 Nov 2024 12:46
Ethercat auto configurator. was created by Grotius

Ethercat auto configurator.

Category: EtherCAT

Hi Guys,

This file is a program for auto configuration for ethercat devices.

It don't need a .xml config file to setup your linuxcnc ethercat environment.

It uses a sligtly modified ethercat-master source code to retrieve a digital "$ ethercat xml".
And has a bug fix for inconsistent alias nr's.

This source code an be integrated to a linuxcnc component quite easely.
Therefore may be there are volunteers to do this.

As i tested this on the following bus configuration with succes, it's not tested to config servo's etc.
If i had a ethercat servo here, i would sure test it right away.

Example output :
Starting EtherCAT master 1.5.2  done
init example 0.
init ethercat start.
Print ethercat devices and retrieve device data vector.
No alias given, alias -

pdo entry registration:

         Name:EL2124 4K. Dig. Ausgang 5V, 20mA
         Slave Alias: 0
         Position: 1
         Vendor ID: 2
         Product Code: #x084c3052
         PDO Entry Index: #x7000
         PDO Entry Subindex: 1

         Name:EL2124 4K. Dig. Ausgang 5V, 20mA
         Slave Alias: 0
         Position: 2
         Vendor ID: 2
         Product Code: #x084c3052
         PDO Entry Index: #x7000
         PDO Entry Subindex: 1

         Name:EL2124 4K. Dig. Ausgang 5V, 20mA
         Slave Alias: 0
         Position: 3
         Vendor ID: 2
         Product Code: #x084c3052
         PDO Entry Index: #x7000
         PDO Entry Subindex: 1

         Name:EL1004 4K. Dig. Eingang 24V, 3ms
         Slave Alias: 0
         Position: 4
         Vendor ID: 2
         Product Code: #x03ec3052
         PDO Entry Index: #x6000
         PDO Entry Subindex: 1

         Name:EL2794 4K. Dig. Ausgang 24V AC/DC, 2A, kurzschlussfest
         Slave Alias: 0
         Position: 5
         Vendor ID: 2
         Product Code: #x0aea3052
         PDO Entry Index: #x7000
         PDO Entry Subindex: 1

         Name:EL2808 8K. Dig. Ausgang 24V, 0.5A
         Slave Alias: 0
         Position: 6
         Vendor ID: 2
         Product Code: #x0af83052
         PDO Entry Index: #x7000
         PDO Entry Subindex: 1

         Name:EL3162 2K. Ana. Eingang 0-10V
         Slave Alias: 0
         Position: 7
         Vendor ID: 2
         Product Code: #x0c5a3052
         PDO Entry Index: #x3101
         PDO Entry Subindex: 1

         Name:EL3162 2K. Ana. Eingang 0-10V
         Slave Alias: 0
         Position: 7
         Vendor ID: 2
         Product Code: #x0c5a3052
         PDO Entry Index: #x3101
         PDO Entry Subindex: 2

         Name:EL3162 2K. Ana. Eingang 0-10V
         Slave Alias: 0
         Position: 7
         Vendor ID: 2
         Product Code: #x0c5a3052
         PDO Entry Index: #x3102
         PDO Entry Subindex: 1

         Name:EL3162 2K. Ana. Eingang 0-10V
         Slave Alias: 0
         Position: 7
         Vendor ID: 2
         Product Code: #x0c5a3052
         PDO Entry Index: #x3102
         PDO Entry Subindex: 2

         Name: empty
         Slave Alias: 0
         Position: 0
         Vendor ID: 0
         Product Code: #x00000000
         PDO Entry Index: #x0000
         PDO Entry Subindex: 0

halpin names:

         EL2124_1_0_0_IN_BOOL
         EL2124_1_1_0_IN_BOOL
         EL2124_1_2_0_IN_BOOL
         EL2124_1_3_0_IN_BOOL
         EL2124_2_0_0_IN_BOOL
         EL2124_2_1_0_IN_BOOL
         EL2124_2_2_0_IN_BOOL
         EL2124_2_3_0_IN_BOOL
         EL2124_3_0_0_IN_BOOL
         EL2124_3_1_0_IN_BOOL
         EL2124_3_2_0_IN_BOOL
         EL2124_3_3_0_IN_BOOL
         EL1004_4_0_0_OUT_BOOL
         EL1004_4_1_0_OUT_BOOL
         EL1004_4_2_0_OUT_BOOL
         EL1004_4_3_0_OUT_BOOL
         EL2794_5_0_0_IN_BOOL
         EL2794_5_1_0_IN_BOOL
         EL2794_5_2_0_IN_BOOL
         EL2794_5_3_0_IN_BOOL
         EL2808_6_0_0_IN_BOOL
         EL2808_6_1_0_IN_BOOL
         EL2808_6_2_0_IN_BOOL
         EL2808_6_3_0_IN_BOOL
         EL2808_6_4_0_IN_BOOL
         EL2808_6_5_0_IN_BOOL
         EL2808_6_6_0_IN_BOOL
         EL2808_6_7_0_IN_BOOL
         EL3162_7_0_0_OUT_UINT
         EL3162_7_0_1_OUT_UINT
         EL3162_7_1_0_OUT_UINT
         EL3162_7_1_1_OUT_UINT

PDO entry registration ok.
Master ok.
domain1_pd ok.
init ethercat succes.



 
  • Grotius
  • Grotius's Avatar
18 Nov 2024 12:24
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

Hi,

The ethercat auto configurator works finally !!

When program starts, it initializes the ethercat devices by retrieving a digital xml configuration.
For this i poked around in the etherlab source code, and added some function's to retrieve this digital xml information.

From the given digital xml information, it then does some logic and it create's hal pins automaticly.

This is ideal for lazy system integrators.

For this to use you don't need a .xml config file like in linuxcnc-ethercat.

I also solved a etherlab_master software  bug related to slave alias numbers, wich where not consistent and
resulted in head scratching for some time as the aliases are not printed by : "$ ethercat xml"

The terminal output when starting the program :
Starting EtherCAT master 1.5.2  done
init example 0.
init ethercat start.
Print ethercat devices and retrieve device data vector.
No alias given, alias -

pdo entry registration:

         Name:EL2124 4K. Dig. Ausgang 5V, 20mA
         Slave Alias: 0
         Position: 1
         Vendor ID: 2
         Product Code: #x084c3052
         PDO Entry Index: #x7000
         PDO Entry Subindex: 1

         Name:EL2124 4K. Dig. Ausgang 5V, 20mA
         Slave Alias: 0
         Position: 2
         Vendor ID: 2
         Product Code: #x084c3052
         PDO Entry Index: #x7000
         PDO Entry Subindex: 1

         Name:EL2124 4K. Dig. Ausgang 5V, 20mA
         Slave Alias: 0
         Position: 3
         Vendor ID: 2
         Product Code: #x084c3052
         PDO Entry Index: #x7000
         PDO Entry Subindex: 1

         Name:EL1004 4K. Dig. Eingang 24V, 3ms
         Slave Alias: 0
         Position: 4
         Vendor ID: 2
         Product Code: #x03ec3052
         PDO Entry Index: #x6000
         PDO Entry Subindex: 1

         Name:EL2794 4K. Dig. Ausgang 24V AC/DC, 2A, kurzschlussfest
         Slave Alias: 0
         Position: 5
         Vendor ID: 2
         Product Code: #x0aea3052
         PDO Entry Index: #x7000
         PDO Entry Subindex: 1

         Name:EL2808 8K. Dig. Ausgang 24V, 0.5A
         Slave Alias: 0
         Position: 6
         Vendor ID: 2
         Product Code: #x0af83052
         PDO Entry Index: #x7000
         PDO Entry Subindex: 1

         Name:EL3162 2K. Ana. Eingang 0-10V
         Slave Alias: 0
         Position: 7
         Vendor ID: 2
         Product Code: #x0c5a3052
         PDO Entry Index: #x3101
         PDO Entry Subindex: 1

         Name:EL3162 2K. Ana. Eingang 0-10V
         Slave Alias: 0
         Position: 7
         Vendor ID: 2
         Product Code: #x0c5a3052
         PDO Entry Index: #x3101
         PDO Entry Subindex: 2

         Name:EL3162 2K. Ana. Eingang 0-10V
         Slave Alias: 0
         Position: 7
         Vendor ID: 2
         Product Code: #x0c5a3052
         PDO Entry Index: #x3102
         PDO Entry Subindex: 1

         Name:EL3162 2K. Ana. Eingang 0-10V
         Slave Alias: 0
         Position: 7
         Vendor ID: 2
         Product Code: #x0c5a3052
         PDO Entry Index: #x3102
         PDO Entry Subindex: 2

         Name: empty
         Slave Alias: 0
         Position: 0
         Vendor ID: 0
         Product Code: #x00000000
         PDO Entry Index: #x0000
         PDO Entry Subindex: 0

halpin names:

         EL2124_1_0_0_IN_BOOL
         EL2124_1_1_0_IN_BOOL
         EL2124_1_2_0_IN_BOOL
         EL2124_1_3_0_IN_BOOL
         EL2124_2_0_0_IN_BOOL
         EL2124_2_1_0_IN_BOOL
         EL2124_2_2_0_IN_BOOL
         EL2124_2_3_0_IN_BOOL
         EL2124_3_0_0_IN_BOOL
         EL2124_3_1_0_IN_BOOL
         EL2124_3_2_0_IN_BOOL
         EL2124_3_3_0_IN_BOOL
         EL1004_4_0_0_OUT_BOOL
         EL1004_4_1_0_OUT_BOOL
         EL1004_4_2_0_OUT_BOOL
         EL1004_4_3_0_OUT_BOOL
         EL2794_5_0_0_IN_BOOL
         EL2794_5_1_0_IN_BOOL
         EL2794_5_2_0_IN_BOOL
         EL2794_5_3_0_IN_BOOL
         EL2808_6_0_0_IN_BOOL
         EL2808_6_1_0_IN_BOOL
         EL2808_6_2_0_IN_BOOL
         EL2808_6_3_0_IN_BOOL
         EL2808_6_4_0_IN_BOOL
         EL2808_6_5_0_IN_BOOL
         EL2808_6_6_0_IN_BOOL
         EL2808_6_7_0_IN_BOOL
         EL3162_7_0_0_OUT_UINT
         EL3162_7_0_1_OUT_UINT
         EL3162_7_1_0_OUT_UINT
         EL3162_7_1_1_OUT_UINT

PDO entry registration ok.
Master ok.
domain1_pd ok.
init ethercat succes.

So far 4 data types are integrated : bool, uint, string, bit.
It currently looks at one master. But code may look at more masters in the future.

So far so good !

Integration in linuxcnc is not that difficult, as you can add this code into a component, using a function like
rtapi_app_main(); will then run the code, will also create hal pin's etc. with some slightly modifications.
 
Displaying 16936 - 16950 out of 24608 results.
Time to create page: 0.388 seconds
Powered by Kunena Forum