- Posts: 17524
- Thank you received: 0
7i80 and 7i77
for a simple static point to point link (probably net manager re-establishing a DHCP initialized link)
I just tried 192.168.1.1 on wheezy and it works fine, this was setup completetly by using the netmanager GUI
This is what I did
1. Delete any other net manager entries using the Ethernet port used for RT
2. create a new entry (say named 192.168.1.1 RT)
3. Select manual configure for the RT Ethernet IPV4 settings
4. Set the IP addtress to 192.168.1.1, netmask 255.255.255.0
5 Set IPV6 settings to ignore
6. Select this entry
You must make sure there is not another net manager entry for the
RT Ethernet port or you will have endless problems with netmanager trying to establish a internet connection on that port
(this is why I suggested NOT using the same Ethernet port for internet and RT even one at a time)
On a final system you will want to disable the net manager from touching the RT Ethernet port
Please Log in to join the conversation.
what am I doing wrong? what else can I check? I have not so much experience with Linux.
Please Log in to join the conversation.
I think the (currently hard wired) response timeout is 400 usec so if your system can't
meet that deadline there will be trouble.
Heres my desktop (an old 2 Ghz core duo) pinging a 7I76E:
The first ping time is longer because the ARP cache has timed out and the host
must send a "ARP who has 10.10.10.10" broadcast packet and wait for the response
EDIT
Also are you sure you are running the Preemt-rt kernel?
will show the running kernel name
Please Log in to join the conversation.
I thing that's ok, but latency test is very high.
Max Jitter (ns)
Servo thread (1ms) 575994
Base thread (25µs) 66213
I have an Intel Atom A330 (dual 1,6Ghz).
With a fresh wheezy iso linuxcnc installation has the same PC Max Jitter (servo thread) about 6000ns.
I've made this steps:
1. I start with a fresh wheezy iso linuxcnc installation
2. Step by step the post #51638 (reboot)
3. adjusted the network interface
This is my current ping
Please Log in to join the conversation.
I just tried with a Intel D945GCLF2 (dual core Atom 330)and get about 110 usec of
latency if I run you tube videos when the latency test is running
Do you have hyperthreading support and power management turned off in the BIOS?
EDIT
Also turn off the base thread when running the latency test:
The D945GCLF2 runs OK (but its rather painfully slow) at 1 KHz with the 7I76E:
EDIT:
Now been up for several hours with no issues so far
Please Log in to join the conversation.
I have the following problems in the hal file
#setp hm2_[HOSTMOT2](BOARD).0.dpll.01.timer-us -50
#setp hm2_[HOSTMOT2](BOARD).0.stepgen.timer-number 1
#setp pid.0.maxerror [AXIS_0]MAX_ERROR
#setp pid.1.maxerror [AXIS_1]MAX_ERROR
#setp pid.2.maxerror [AXIS_2]MAX_ERROR
# setp hm2_[HOSTMOT2]BOARD.0.7i76.0.0.spinout-scalemax [SPINDLE_9]SCALE
# setp hm2_[HOSTMOT2]BOARD.0.7i76.0.0.spinout-minlim [SPINDLE_9]MINLIM
# setp hm2_[HOSTMOT2]BOARD.0.7i76.0.0.spinout-maxlim [SPINDLE_9]MAXLIM
That's all commands that hal don't accept, if I commented it out, LCC runs, but I can't get any reaction. Steppermotors without Timer will not work. The Max_error should be a little problem,
but the 3 Spindle parameters. I tried to run some MDI commands, but the analog output rtemains on -5V.
Please Log in to join the conversation.
uli12us wrote: I'm now at the meeting in Stuttgart, but no one can me help with my problem.
I have the following problems in the hal file
#setp hm2_[HOSTMOT2](BOARD).0.dpll.01.timer-us -50
#setp hm2_[HOSTMOT2](BOARD).0.stepgen.timer-number 1
#setp pid.0.maxerror [AXIS_0]MAX_ERROR
#setp pid.1.maxerror [AXIS_1]MAX_ERROR
#setp pid.2.maxerror [AXIS_2]MAX_ERROR
# setp hm2_[HOSTMOT2]BOARD.0.7i76.0.0.spinout-scalemax [SPINDLE_9]SCALE
# setp hm2_[HOSTMOT2]BOARD.0.7i76.0.0.spinout-minlim [SPINDLE_9]MINLIM
# setp hm2_[HOSTMOT2]BOARD.0.7i76.0.0.spinout-maxlim [SPINDLE_9]MAXLIM
When you have LinuxCNC running, try
That will tell you what pins you actually have, which should let you know what is going wrong in the HAL file.
It might help to explain what is happening. [HOSTMOT2]BOARD means that the HAL file should look in the INI file for a BOARD parameter in the [HOSTMOT2] section. It then substitutes the text from the INI file into the HAL file.
One problem you might have is that the INI file doesn't actually have quite the right text and the pin names are coming out wrong.
I actually don't like using the INI file to specify card names, and I always write out the HAL pin names in full. It's probably easier for you to do that, you can copy and paste from a text file if you put the pin names from the show commands in there.
Please Log in to join the conversation.
(no spindle IO will work without field power)
# setp hm2_[HOSTMOT2]BOARD.0.7i76.0.0.spinout-scalemax [SPINDLE_9]SCALE
# setp hm2_[HOSTMOT2]BOARD.0.7i76.0.0.spinout-minlim [SPINDLE_9]MINLIM
# setp hm2_[HOSTMOT2]BOARD.0.7i76.0.0.spinout-maxlim [SPINDLE_9]MAXLIM
The DPLL timer select does not affect whether stepgens work or not
If the stepgen pins are there, the stepgens are there and will work
(without the DPLL you may have to widen the ferror limits to avoid joint following errors)
To use the DPLL you will have to use the latest master and perhaps update your 7I76E firmware
BTW I really like the ini file aliases since it allows a common hal file with almost any FPGA card
Please Log in to join the conversation.
I tried to look at the firmware of the 7i76e but get always the error segmentation fault.
I have connected only field power, should I connect the 5V from P3 as well or is it not necessary?
I tried before with +/- 5V connected to the spindle output but get always only -5V
Please Log in to join the conversation.
halcmd replies nothing
That's probably expected if linuxcnc is not running or connected to the 7I76E card
I tried to look at the firmware of the 7i76e but get always the error segmentation fault.
Do you have the latest mesaflash? (sudo apt-get install mesaflash)
if I do
I get a full pinout listing (just tried, of course your IP address may be different)
I have connected only field power, should I connect the 5V from P3 as well or is it not necessary?
The 7I76E can get its 5V power from P3 or by using the unregulated power input on TB3, at least one needs to be supplied
I tried before with +/- 5V connected to the spindle output but get always only -5V
That's expected and correct if linuxcnc is not communicating with the card (and spindle enable is off)
Please Log in to join the conversation.
