Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
24 May 2025 17:41
Replied by Hakan on topic help with ethercat and omron drives

help with ethercat and omron drives

Category: EtherCAT

From that Omron thread, it looks like Arvidb got it working, so can you try with the ecat-conf.xml?
<masters>
	<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
		<slave idx="0" type="R88D-KN02H-ECT">
			<dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
			<watchdog divider="2498" intervals="1000"/>
		</slave>
	</master>
</masters>
It's the same xml that Arvidb used, but I have changed to what I think it the right model, based on the product code 6 you use.
  • Aciera
  • Aciera's Avatar
24 May 2025 17:30 - 24 May 2025 17:33
Replied by Aciera on topic problems with Verser Probe Screen 2.9

problems with Verser Probe Screen 2.9

Category: Basic Configuration

You need to remove this from your hal
loadusr -W /home/cnc/linuxcnc/configs/lycnc/psng/python/probe_screen.py


You are already loading probe_screen.py with the EMBED_TAB_COMMAND in the INI.

To troubleshoot the pin problem, comment all lines with 'probe.' pins so the config starts up and use the 'Show Hal Configuration' tool to check if the pins are there.
  • ihavenofish
  • ihavenofish
24 May 2025 17:19
help with ethercat and omron drives was created by ihavenofish

help with ethercat and omron drives

Category: EtherCAT

Sooo, back at my ethercat fun and I think I've made progress, but I'm stuck.

I've gone right to the basics and am just using halshow to poke the drives.
I made a super basic xml file following some other examples on here.

So, following this:
EtherCAT: How to use the dedicated OmrG5 lcec driver? - LinuxCNC $ ethercat slaves shows me my 3 drives just fine
$ ethercat upload -p 0 -t int32 0x6064 0x0 shows me position just fine
$ ethercat safeop doesn't work and returns error 90 because the default sync0Cycle is wrong. This seems expected.

My xml is:

<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
<slave idx="0" type="generic" vid="#00000083" pid="#00000006">
<dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
<watchdog divider="2498" intervals="1000"/>
</slave>
</master>
</masters>(using the generic driver here cause the omron one was saying no drive found)


then we do this in halshow:
loadrt threads name1=master period1=1000000
loadusr -W lcec_conf linuxcnc/configs/ecat-test.xml
loadrt lcec
addf lcec.read-all master
addf lcec.write-all master
start

All works, except after we get to start, the drives show error 83, and if you look at the pins, its actually cycling through preop, safeop, inti, op, error every so many ms.

So what have I done wrong here, or what do I need to add? The are many gaps in the information and steps people provide so I expect there's just something missing I don't know about.

Thanks!
  • knipknap
  • knipknap
24 May 2025 17:08
Replied by knipknap on topic MESA 7i76E burning out issue

MESA 7i76E burning out issue

Category: Driver Boards

Thanks a lot for your help!

Now that I hooked up an oscilloscope, the problem disappeared completely again - can't reproduce it anymore, at all.

That made generating pulses easier of course, I simply jogged the thing along. The levels of the step+/- pins on the motor side are around 4.8 volts, and -4.8 on a pulse.

I also noticed that the level between STEP- and the cable shield (GND) is around 40 volts AC (50 Hz). I can't say I understand why that would be so. Is that normal/intended?
  • theoneandonlyoreo
  • theoneandonlyoreo
24 May 2025 16:52 - 24 May 2025 16:54
Replied by theoneandonlyoreo on topic problems with Verser Probe Screen 2.9

problems with Verser Probe Screen 2.9

Category: Basic Configuration

It appears that the pins in question (probe.toolchange-change, etc) would be created by probe_screen.py.

In the INI file,
EMBED_TAB_NAME=PSNG
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u psng/python/probe_screen.py -x {XID} psng/probe_screen.glade
EMBED_TAB_LOCATION = ntb_user_tabs

And from custom_postgui.hal
# Ensure all toolchange pins are free to use
unlinkp iocontrol.0.tool-number
unlinkp iocontrol.0.tool-prep-number
unlinkp iocontrol.0.tool-change
unlinkp iocontrol.0.tool-changed
unlinkp iocontrol.0.tool-prepare
unlinkp iocontrol.0.tool-prepared

net tool-change            probe.toolchange-change      <=   iocontrol.0.tool-change 
net tool-changed           probe.toolchange-changed     =>   iocontrol.0.tool-changed
net tool-number            probe.toolchange-number      <=   iocontrol.0.tool-number
net tool-prep-number       probe.toolchange-prep-number <=   iocontrol.0.tool-prep-number
net tool-prep-loopback     iocontrol.0.tool-prepare     <=   iocontrol.0.tool-prepared

net tool-prep-loop         iocontrol.0.tool-prepare      <=   iocontrol.0.tool-prepared

#loadusr -W probe_screen

loadusr -W /home/cnc/linuxcnc/configs/lycnc/psng/python/probe_screen.py
 
Displaying 15766 - 15770 out of 15770 results.
Time to create page: 0.881 seconds
Powered by Kunena Forum