Re: [etherlab-users] Ethercat master on PowerPC

2009-06-16 Thread Henry Bausley
I have successfully cross compiled the EtherCAT master for PowerPC, it does seem to work and can see devices on the wire. I am using a RTL8101E PCI Express adapter (r8169).. r...@10.34.9.210:/opt/ppmac# ethercat slaves 0 0:0 INIT E EL9800 (V4.08) (SPI, ET1100) r...@10.34.9.210:/opt/ppmac#

[etherlab-users] Ds402 or SoE

2009-06-16 Thread Henry Bausley
Are there any examples of communicating to a drive using either the CAN Ds402 or SoE out there? ** Outbound scan for Spam or Virus by Barracuda at Delta Tau **

[etherlab-users] Subindex does not exist

2009-12-08 Thread Henry Bausley
I recently added a couple more slaves now I am getting errors for subindex. I am using the latest code from August on a PowerPC. Before I added slaves 4 and 5 there were no error messages. Here are the messages I get. Followed by the xml output EtherCAT: Link state changed to UP. EtherCAT:

[etherlab-users] ABB CI512 Slave

2010-06-18 Thread Henry Bausley
I am trying to read the inputs on an ABB CI512 slave. The outputs seem to work just fine however I get nothing from the inputs. I can read my beckhoff inputs and copley amplifiers just fine. The structures I use come from ethercat cstruct. Any ideas? Below is the devices xml info. /* Slave 0,

[etherlab-users] Yaskawa Sigma-5 no Vendor ID or Product Code

2010-07-01 Thread Henry Bausley
I am attempting to use a Yaskawa (SGDV-R90FE1A) Sigma-5 amplifier motor combination. It appears as if there is no EEPROM which seems strange to me. I generated a binary file and attempted to write it into the EEPROM with the ethercat sii_write -p 8 -f Yaskawa.bin command but afterwards there stil

Re: [etherlab-users] Xenomai Example

2010-07-06 Thread Henry Bausley
Just compile the examples after modifying them for your Ethercat hardware and they should run right away if you have xenomai installed. After you are comfortable that they operate correctly, insert the ethercat functionality from the example into your realtime xenomai app. For, example my system i

Re: [etherlab-users] Yaskawa Sigma-5 no Vendor ID or Product Code Failed to read SII size of slave 0.

2010-07-06 Thread Henry Bausley
down. Clearing slave list. EtherCAT: 0 slave(s) responding. r...@10.34.9.212:/opt/ppmac# On Thu, 2010-07-01 at 10:56 -0700, Henry Bausley wrote: > I am attempting to use a Yaskawa (SGDV-R90FE1A) Sigma-5 amplifier motor > combination. It appears as if there is no EEPROM which seems strange

Re: [etherlab-users] Yaskawa Sigma-5 no Vendor ID or Product Code Failed to read SII size of slave 0.

2010-07-12 Thread Henry Bausley
ek Lee Motion Product Engineer Yaskawa America Inc. 2121 Norman Dr. S. Waukegan, IL 60031 Phone: 847-887-7235 Fax: 847-887-7280 - Forwarded by Derek Lee/Yaskawa/YEA on 07/07/2010 01:21 PM - On Mon, 2010-07-12 at 18:16 +0200, Florian Pose wrote: > Hi, > > On Tue, Jul 06, 2010 at

Re: [etherlab-users] Yaskawa Sigma-5 no Vendor ID or Product Code Failed to read SII size of slave 0.

2010-08-02 Thread Henry Bausley
completed in 18 ms. EtherCAT DEBUG 0: Writing system time offsets... EtherCAT DEBUG 0: No app_time received up to now. EtherCAT DEBUG 0-0: Ready for requests. On Tue, 2010-07-13 at 13:55 +0200, Florian Pose wrote: > Hello, > > On Mon, Jul 12, 2010 at 05:25:55PM -0700, Henry Baus

Re: [etherlab-users] Yaskawa Sigma-5 no Vendor ID or Product Code Failed to read SII size of slave 0.

2010-08-24 Thread Henry Bausley
10 EtherCAT DEBUG: 07 0A 00 00 30 01 02 00 00 00 00 00 00 00 00 00 EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 On Mon, 2010-08-02 at 15:10 -0700, Henry Bausley wrote: > Sorry for the delay. I was traveling and did not have

Re: [etherlab-users] Yaskawa Sigma-5 no Vendor ID or Product Code Failed to read SII size of slave 0.

2010-10-01 Thread Henry Bausley
1 60 72 60 74 60 76 60 77 60 On Fri, 2010-09-24 at 17:06 +0200, Florian Pose wrote: > Hello Henry, > > On Tue, Aug 24, 2010 at 02:52:23PM -0700, Henry Bausley wrote: > > Do the details from setting debug to 2 help anyone see why a Yaskawa > > Sigma 5 Drive comes up with a

[etherlab-users] Yaskawa Drive Requires SafeOp

2010-10-04 Thread Henry Bausley
Phone: 847-887-7235 Fax: 847-887-7280 Henry Bausley 09/29/2010 04:06 PM To derek_...@yaskawa.com cc Subject Re: Fw: Ethercat Module Thank you for sending another drive it arrived at my desk this morning. I do have a question for the develope

Re: [etherlab-users] Yaskawa Drive Requires SafeOp

2010-10-05 Thread Henry Bausley
c. > if it syncs it goes to OP. > > Greatings > > Andreas > > > Henry Bausley schrieb: > > > > When attempting to use the latest Yaskawa drive I cannot get PDO's to > > update with valid data I just get 0s as the slave stays in preop > > after callin

[etherlab-users] Emerson Control Techniques Drvive, No PDO exchange, WC=0

2010-10-19 Thread Henry Bausley
I am trying to use an Emerson Control Techniques Digitax ST Servo Drive via their SM-EtherCAT module but no PDO information is ever exchanged. The Working Counter and Working State are always 0. I verified all the PDO mappings and Sync Manager configurations. The Drive goes to OP mode but no da

Re: [etherlab-users] Emerson Control Techniques Drvive, No PDO exchange, WC=0

2010-10-20 Thread Henry Bausley
ocess(...); > ... > ecrt_domain_queue (...); > for BOTH domains CYCLIC in your RT-task? > > > See also > http://www.mail-archive.com/etherlab-users@etherlab.org/msg00496.html > > > > > -Ursprüngliche Nachricht- > Von: etherlab-users-

Re: [etherlab-users] Emerson Control Techniques Drvive, No PDO exchange, WC=0

2010-10-22 Thread Henry Bausley
drive I tested seems not to have this restriction. On Wed, 2010-10-20 at 08:31 -0700, Henry Bausley wrote: > > > ecrt_domain_process and ecrt_domain_queue are called for both the > input and output domain. > The code is below and the same code works with a different drive! I

Re: [etherlab-users] Emerson Control Techniques Drvive, No PDO exchange, WC=0

2010-10-25 Thread Henry Bausley
It is the order of ecrt_domain_reg_pdo_entry_list that makes it work. On Mon, 2010-10-25 at 16:25 +0200, Florian Pose wrote: > Hello, > > it would be interesting to know if this order ... > > On Fri, Oct 22, 2010 at 04:07:09PM -0700, Henry Bausley wrote: > > ecrt_doma

Re: [etherlab-users] CIFX50RE PDO

2010-11-09 Thread Henry Bausley
Check if your device has notLRW set. If so you are going to need to have a separate domain for input and output. On Tue, 2010-11-09 at 10:39 +0100, Wilfried Holzke wrote: > Hi, > > I trying to transfer process data to and from a CIFX50RE pci card from > Hilscher. With Twincat software it wo

Re: [etherlab-users] Corrupt mailbox response

2010-11-29 Thread Henry Bausley
This drive initially drove me crazy too. 1.) You should obtain Firmware Version 3.01 from Yaskawa where they appear to have improved the SII EEPROM interface. If you have anything earlier you may be wasting your time. I got nowhere until I received a drive with this firmware from my Yaskawa USA

Re: [etherlab-users] Corrupt mailbox response

2010-12-01 Thread Henry Bausley
Yes use 2 arrays and call ecrt_domain_reg_pdo_entry_list twice. The first call of ecrt_domain_reg_pdo_entry_list must be for the output domain. If you call ecrt_domain_reg_pdo_entry_list with the input domain registers first it won't work. On Wed, 2010-12-01 at 13:34 +0900, takeshi ikeya wrote:

Re: [etherlab-users] Sniffing ethercat

2011-02-17 Thread Henry Bausley
Most of my HUB's would did not work with ethercat. One that did was the Netgear FS605 v3, I have been told the FS608 v3 also works. I use a different PC for capturing over wireshark myself. On Thu, 2011-02-17 at 16:47 +0100, Thomas Paoloni wrote: > Hi all, > > This is my first post here, I'm

Re: [etherlab-users] Yaskawa servo drives SII

2011-03-25 Thread Henry Bausley
I did not have any success until Yaskawa gave me a drive with firmware 3.01, older firmware did not work for me! On Thu, 2011-03-24 at 21:17 +1300, Ravi Chemudugunta wrote: > I am in the process of setting up and playing with the Yaskawa servo > drive (sigma five), I plugged it into the master, go

Re: [etherlab-users] Variable PDO Mapping

2011-04-15 Thread Henry Bausley
Just map everything yourself and it should show up after doing a ethercat pdos. I have not actually used the drive this way. Good Luck. /* Master 0, Slave 11 * Vendor ID: 0x0539 * Product code:0x0221 * Revision number: 0x00030001 */ ec_pdo_entry_info_t slave_11_pdo_entries

Re: [etherlab-users] PDO Registration failed

2011-07-27 Thread Henry Bausley
We have used this drive in velocity and position mode using the fixed PDO's see my config below. Have you tried contacting Kollmorgen and do you have the latest firmware? /* Master 0, Slave 0, "AKD" * Vendor ID: 0x006a * Product code:0x00414b44 * Revision number: 0x0002 */

Re: [etherlab-users] install on non-PC

2011-11-02 Thread Henry Bausley
The short answer to your question is yes. You should look at your PC version and familiarize with the installation. For example /lib/modules/2.6.xx.x The tool ethercat goes in /usr/bin The configuration usually goes to /opt/etherlab Once you study the PC installation it will be no big

Re: [etherlab-users] Distributed Clock with Yaskawa SGDV drives

2012-01-31 Thread Henry Bausley
Did you try changing the interpolation time period, index 0x60C2 sub indexes 1 and 2 to match your cycle time? On Tue, 2012-01-31 at 20:03 +1300, Graeme Foot wrote: > Hi, > > I have been playing with various options but I'm still getting a drift on my > slave relative to the master. > > > What

[etherlab-users] Omron Servo Drive with Distributed Clocks

2012-03-01 Thread Henry Bausley
a clock that can have see ~20usec of worse case jitter. Omron in Japan currently has the drive what they report is as follows. Forwarded Message From: satoshi.kuram...@omron.com To: Henry Bausley Subject: Re: Fw: ECAT testing between PMAC and G5 Date: Wed, 29 Feb 2012 16:48:40

Re: [etherlab-users] Omron Servo Drive with Distributed Clocks

2012-03-01 Thread Henry Bausley
ur drift is not too large and the master time > you are sending to the ref slave is the current clock time (rather than > just += 100). > > Note: I call the dc sync methods just before calling > ecrt_rtdm_master_send to ensure there is minimal variable between the > master time and

Re: [etherlab-users] Distributed Clock with Yaskawa SGDV drives

2012-03-08 Thread Henry Bausley
Graeme, I have always called ecrt_master_activate in my xenomai kernel driver. That same xenomai kernel driver has its cyclic loop running all the time but waits for a flag indicating whether to start ethercat activity. I trigger the kernel driver call to ecrt_master_activate with a user spac

Re: [etherlab-users] Distributed Clock with Yaskawa SGDV drives

2012-03-08 Thread Henry Bausley
has > reached OP mode). > > I've also replied to Florian with a bit more info. > > Graeme. > > > -Original Message- > From: Henry Bausley [mailto:hbaus...@deltatau.com] > Sent: Friday, 9 March 2012 08:58 > To: Graeme Foot > Cc: etherlab-users@ether

Re: [etherlab-users] Distributed Clock with Yaskawa SGDV drives

2012-03-08 Thread Henry Bausley
un? > > Graeme. > > > > -Original Message- > From: Henry Bausley [mailto:hbaus...@deltatau.com] > Sent: Friday, 9 March 2012 11:05 > To: Graeme Foot > Cc: etherlab-users@etherlab.org > Subject: RE: [etherlab-users] Distributed Clock with Yaskawa SGDV driv

[etherlab-users] Copley Drive w/ Distributed Clocks Drifting

2012-04-24 Thread Henry Bausley
I am working with Copley attempting to use Cyclic Synchronous Torque Mode at 250usec. We have setup up the distributed clocks w/ Sync0_Cycle as 25 and assign activate at 0x330. What is being seen on the scope is the time at which an EtherCAT frame arrives eventually drifts into when the Sync0

Re: [etherlab-users] Copley Drive w/ Distributed Clocks Drifting

2012-04-27 Thread Henry Bausley
e stable. > > > I don't know if this will make any difference but try reversing > ecrt_master_sync_reference_clock and ecrt_master_sync_slave_clocks. > This may (or may not) let the reference slave propagate a more stable > time to the rest of the slaves before receiving the up

Re: [etherlab-users] Copley Drive w/ Distributed Clocks Drifting

2012-06-18 Thread Henry Bausley
ld = GetNsecHWClock() > Otherwise you are introducing an extra drift due to the (small) time > difference between the two GetNsecHWClock() calls. > > > Graeme. > > -Original Message- > From: Henry Bausley [mailto:hbaus...@deltatau.com] > Sent: Saturday, 28

Re: [etherlab-users] Is Ethercat Master Enough to Control Servo

2012-09-13 Thread Henry Bausley
Raz, Did you use Graeme Foot's DC patch? http://lists.etherlab.org/pipermail/etherlab-users/2012/001642.html I found that without using the slave's clock as a reference there was always drift even though I have a system with low jitter and my cycles are performed in kernel mode. I st

Re: [etherlab-users] Is Ethercat Master Enough to Control Servo

2012-09-17 Thread Henry Bausley
threads > for transmission. once you use threads, you are subordinates your > task the os heuristics more than in the case of hardware interrupt. > > > From: Henry Bausley [hbaus...@deltatau.com] > Sent: Thursday, September 13, 2012 10:16 PM >

Re: [etherlab-users] Problem With Maxon EPOS3

2013-10-08 Thread Henry Bausley
Perhaps the slave doesn't work with LRW. Issue ethercat slave -p0 -v and see if Enable notLRW: yes. If this is the case try using seperate domains for the output and input so that LRD and LWR are used instead. ie. domainOutput = ecrt_master_create_domain(master); domainInput = ecr

Re: [etherlab-users] Problem With Maxon EPOS3

2013-10-09 Thread Henry Bausley
Other than not using separate domains and for output/input as well as not registering the output domain first the other cause of this I have seen is having EC_WD_DISABLE set. Try using EC_WD_DEFAULT. On Wed, 2013-10-09 at 09:09 +, Laurent B. wrote: > The Enable NotLRW flag is no, i have tr

Re: [etherlab-users] "Invalid input configuration" during Beckhoff 6731-0010 initialization

2014-04-24 Thread Henry Bausley
Its been a few years but I recall only doing a complete access for index 0x8000 and it started working. On Thu, 2014-04-24 at 17:00 +0200, Felix Barth wrote: > > Hi all, > > I am currently trying to connect a Siemens S7 SPS to a Beckhoff > 6731-0010 via ProfiBus. This setup works fine while usi

Re: [etherlab-users] Not PREOP state on EL7201

2014-05-20 Thread Henry Bausley
Are you using the latest version of the stack? I believe this was related to writing a 1 to address 0x500 in ec_fsm_slave_config_state_boot_preop and was fixed. On Tue, 2014-05-20 at 13:30 +0200, Carlos Jiménez Leal wrote: > Hello, > > I'm trying to run the Beckhoff EL7201 drive with Etherlab

Re: [etherlab-users] Distributed Clocks

2016-03-02 Thread Henry Bausley
Are you using the dc_clock_adjust to modify your sleep time? ie. something like clock_nanosleep(CLOCK_MONOTONIC,TIMER_ABSTIME,&inst->wakeupTime,NULL); TIMESPEC_ADD_NS(inst->wakeupTime,100 + dc_clock_adjust); Does your inst->cycleNs include the clock adjustement? I have found th

Re: [etherlab-users] Distributed Clocks

2016-04-15 Thread Henry Bausley
lem with calling those functions > > from user space? Could it be a problem with the e1000e driver? I’m not > > exactly sure where to go from here except to try moving the whole program > > into the kernel, but, at this point, I’m not sure that will solve the issue. >

Re: [etherlab-users] Generate SII binaries from ESI file?

2016-04-21 Thread Henry Bausley
Try this http://synapticon.github.io/siitool/ On Thu, 2016-04-21 at 12:59 +0200, Christoph Schroeder wrote: > Hi All, > > we need to generate a binary file for the SII from an existing ESI xml > file. I read that TwinCAT is capable of doing this, but we would prefer > to use free software under

[etherlab-users] Intermittent Large number of datagrams UNMATCHED

2016-07-01 Thread Henry Bausley
We have a etherlab 1.5.2 kernel mode application running in xenomai 2.4.6 on Ubuntu 14.04.1 Desktop that will get on rare occasions a large number of datagrams UNMATCHED. It occurs at random times and relatively rarely but when it occurs it can result in disaster as we are running a large numbe

Re: [etherlab-users] Intermittent Large number of datagrams UNMATCHED

2016-07-06 Thread Henry Bausley
le/diagnostics-with-ethercat-part-4 > > > > I think you can set the above registers to zero after the fieldbus is up > > and running, then you can check them if a problem occurs. > > > > > > Haven't actually done it yet myself, so would be interested to see if it

Re: [etherlab-users] Intermittent Large number of datagrams UNMATCHED

2016-07-11 Thread Henry Bausley
running, then you can check them if a problem occurs. > > > > > > Haven't actually done it yet myself, so would be interested to see if it > > helps you. > > > > > > Regards, > > Graeme. > > > > > > > > > > -Or

Re: [etherlab-users] Intermittent Large number of datagrams UNMATCHED

2016-07-14 Thread Henry Bausley
, Henry Bausley wrote: > FYI, > >Just changing the host ethernet port seems to have alleviated our > issues with UNMATCHED datagrams. We saw something virtually identical > to Ralph. > > [451886.660655] EtherCAT 0: Domain 0: Working counter changed to 0/13. > [451886.66

Re: [etherlab-users] Reasons for Loss of All Slaves with no Erros

2016-07-29 Thread Henry Bausley
I had this type of problem and in my case it turned out the NIC adapter was buggy and switching to a new NIC resolved the issue. https://www.mail-archive.com/etherlab-users@etherlab.org/msg02722.html The way we found the problem was 1.) Log the time when ecrt_master_recieve and ecrt_master_se

Re: [etherlab-users] EL7211 - EEPROM No Access

2016-10-21 Thread Henry Bausley
Make sure you have --enable-sii-assign when you run ./configure to setup the stack before compilation On Fri, 2016-10-21 at 14:19 +0200, Philippe Leuba wrote: > Hi, > > I try to use a Beckhoff EL7211-0010 module but encounter the following error: > > EtherCAT ERROR 0-3: Failed to set PREOP state

Re: [etherlab-users] Problems initializing Omron system

2017-03-22 Thread Henry Bausley
1. Get a copy of Omron’s Sysmac Studio setup software. 2. Connect your PC to the NX Coupler via the USB cable. 3. Create a New Sysmac Studio Project. 4. Within your Sysmac Studio Project configure the “virtual” NX Coupler with the slices (“boards”) in exactly the same orde