Re: [etherlab-users] Graphical Interface for Rapid Integration

2013-02-17 Thread raz ben yehuda
great. please: git clone git://git.code.sf.net/p/elabdomainmng/code elabdomainmng-code It is NOT ready yet. usage is : ./domaindialog example.xml The basic idea is to create a program out of gui view. you can drag a pdo entry and then generate a c code that creates the entire sequence of

[etherlab-users] FMMU sizes - is it possible to tweak it ?

2013-02-06 Thread raz ben yehuda
Florian Hello I have an old badly configured drive. part of its pdo entries are cloned in some pdos. for example, the form 0x6040:0x00 appears in two distinct pdos. When i try to operate the master the drive's replies that the master has bad output configuration. According to this drive spec it

Re: [etherlab-users] 回复:etherlab-users Digest, Vol 68, Issue 7

2013-01-17 Thread Raz Ben Yehuda
On Thu, 2013-01-17 at 12:22 +0100, vilian...@sina.com wrote: Hello,Raz I have also used your vitrual slaves in kernel space. In one pc, I just start the etherlab master(sudo /etc/init.d/ethercat start), then in another pc,I insmod ecslave.ko with rxmac=XX:XX:XX:XX:XX:XX(in this pc, i did

[etherlab-users] Dynamic configuration : RAM versus EEPROM

2013-01-02 Thread raz ben yehuda
Florian Hello Currently, the TxPDOs and RxPDO structures are fetched from drive's SII. Question: Is there a way to build RxPDOs and TxPDOs according to list of objects in CAN objects 0x1600 and 0x1a00 ? ___ etherlab-users mailing list

Re: [etherlab-users] Open source virtual Linux Ethercat Slave

2012-11-25 Thread Raz Ben Yehuda
On Mon, 2012-11-26 at 02:35 +0100, babbitt...@aol.com wrote: I'm attempting to run multiple virtual slaves on one host. I setup a TUN/TAP interface via tunctl named tap0. Then I issued the commands: ./ecslave tap0 ./ecslave eth0 tap0 but I get a message the tap0 interface is LINK DOWN.

Re: [etherlab-users] Open source virtual Linux Ethercat Slave

2012-11-22 Thread Raz Ben Yehuda
Thank you . bug fixed. On Wed, 2012-11-21 at 23:51 +0100, Matthieu Bec wrote: Hello raz, It looks quite interesting, I hope to try it sometimes. compilation bugged on: gcc -Wall -Werror -O0 -g -O2 -o ec_slave ec_slave-ec_cmd_apwr.o ec_slave-ec_cmd_aprd.o ec_slave-ec_cmd_aprw.o

[etherlab-users] splitting cyclic task from configuration

2012-08-30 Thread Raz Ben Yehuda
Florian hello I am trying to split the real time part from the rest. I want the configuration to execute in user space and only the transmit receive to be in kernel space - It has to be in interrupt. Problem is that it does not work. Process data is not passing from user space to kernel space

Re: [etherlab-users] unmatched datagrams

2012-07-31 Thread Raz Ben Yehuda
On 25/07/12 5:11 PM, Raz Ben Yehuda wrote: 1. what does it mean when we get unmatched datagram ? 2. why does it happen ? thank you -- https://sites.google.com/site/ironspeedlinux/ ___ etherlab-users mailing list etherlab-users

[etherlab-users] Network drive fine tunning.

2012-07-30 Thread Raz Ben Yehuda
Will a module fine tunning work with a patched network driver ? ( aka modinfo parameters ) -- https://sites.google.com/site/ironspeedlinux/ ___ etherlab-users mailing list etherlab-users@etherlab.org

[etherlab-users] unmatched datagrams

2012-07-25 Thread Raz Ben Yehuda
1. what does it mean when we get unmatched datagram ? 2. why does it happen ? thank you -- https://sites.google.com/site/ironspeedlinux/ ___ etherlab-users mailing list etherlab-users@etherlab.org

Re: [etherlab-users] Theoretical DC question.

2012-07-23 Thread Raz Ben Yehuda
what I have been reading, never expect them to drop to zero. The frequencies are slightly different between the clocks. 22.07.2012 13:31 tarihinde, Raz Ben Yehuda yazdı: How do we make the master transmit packet in the right time ? Is is said in the etherlab book that all slaves are fixing

[etherlab-users] Theoretical DC question.

2012-07-22 Thread Raz Ben Yehuda
How do we make the master transmit packet in the right time ? Is is said in the etherlab book that all slaves are fixing the local clocks according to a caluclated error. 1. who writes to the system time register ? is it the first slave or the master ? I noticed that it possible to that in the

[etherlab-users] Licencse

2012-07-12 Thread Raz Ben Yehuda
Florian Hello I was wondering whether it is possible to sanitize the master/ioctl.h . this file is currently GPL. thank you raz -- https://sites.google.com/site/ironspeedlinux/ ___ etherlab-users mailing list etherlab-users@etherlab.org

Re: [etherlab-users] Waiting for network receive?

2012-07-01 Thread Raz Ben Yehuda
I was looking at the code and they map the datagram directly to user space and has a skb ring size of 2 frames. data cannot be available for a re-write until it is acked by the interrupt completion of the ethernet device. You need to query the skb-users counter and check when it is decremented

Re: [etherlab-users] Error loading generic module on kernel 3.2.0 with RT-Preempt

2012-06-28 Thread Raz Ben Yehuda
are you sure you are directed to RT PREEMPT KERNEL SOURCE ? On Wed, 2012-06-27 at 17:53 +0200, hamelin.phili...@ireq.ca wrote: Hello, I'm trying to use the IgH EtherCAT Master on Ubuntu 12.04. I'm using the 3.2.0 kernel with RT-Preempt patches from this PPA:

[etherlab-users] weired values in system difference regiseters

2012-06-28 Thread Raz Ben Yehuda
hello I am running the example examples/user/main.c with dc added. -bash-3.2# ethercat reg_read -p 0 -tsm32 0x92c 0xbadded58 -987622744 I constantly get this weired results. i do not see anything in dmesg even with debug 1. ethercat sl -v reports that DC delay is 0ns ? DL information:

[etherlab-users] Sync Signals

2012-06-26 Thread Raz Ben Yehuda
Hello We are to figure out how to synchronize the system clock on top of ethercat. meaning, I want to use an ethercat packet as the clock. In the documentation section 3.5 you say: Each slave with DC support provides two “sync signals”, that can be programmed to create events, that will **for

[etherlab-users] netx50 AssignActive

2012-06-20 Thread Raz Ben Yehuda
Hey I am trying to launch etherlab master with netx50 slave example. It appears that the slave is not getting any sync. so i tried to use as depicted in the examples. ecrt_slave_config_dc(sc_ana_in, 0x0700, 100, 44, 0, 0); but i do not have activeassign for hilscher netx. xml does not

[etherlab-users] packets timed out

2012-06-19 Thread Raz Ben Yehuda
Hello I loaded etherlab on 3.2.0 preempt rt kernel. I connected point to point a slave to my controller. $ ethercat master Master0 Phase: Idle Active: no Slaves: 1 Ethernet devices: Main: 00:50:c2:5d:0f:5e (attached) Link: UP Tx frames: 383558 Rx frames: 383557