[etherlab-users] ep2338

2014-06-04 Thread javier
Hello, I am a beginer and want start turning on a led in the EP2338 box from ethercat master command line. Can somebody help me me? here is the xml, thanks in advance Javier ?xml version=1.0 ? EtherCATInfo !-- Slave 0 -- Vendor Id2/Id /Vendor Descriptions Devices

Re: [etherlab-users] ep2338

2014-06-04 Thread Gavin Lambert
On 5 June 2014, quoth Javier: I am a beginer and want start turning on a led in the EP2338 box from ethercat master command line. Typically you cannot do that sort of thing from the command line, as without an application the devices will remain in PREOP state, and outputs are normally not

Re: [etherlab-users] Error reassigning removed PDO

2014-06-04 Thread Gavin Lambert
Hi Jun, While that patch looks like an improvement, it will still have the same trouble if the master service is restarted between runs, or if an application wants to include a PDO that is not assigned by default. I think having ecrt_slave_config_pdos (or actually

Re: [etherlab-users] ep2338

2014-06-04 Thread Dusty Clark
What Gavin said is true. Start with building/installing the master, and have a look at the examples. Attached is a little C application that does what you want with several slaves using stdin/stdout; it wasn't written by me but a co-worker. Connect it up to a Linux pipe and voila! you'll have a