[etherlab-users] using thermocouple el3318

Luis Matos luis.matos at agicore.pt
Thu Mar 3 16:02:08 CET 2016


hi there!

Thanks for the feedback. Of course ... saying that simply don't work, 
does not help debugging, agreed.
The slave was in OP state.

Last night we attached the slave to a CX8090 PLC and used it in twincat. 
It was configured by system manager and now it works ok, even when we 
reset it to the factory defaults.
Your configuration parameters are in line with what we had.
(even tough we make single calls with config_sdo_16 only to the address 
80n0:19)
we are calling this:
         sc_dig_out_01 =
     ecrt_master_slave_config(master, PDO_POS(0, 3), Beckhoff_EL3318);
     ecrt_slave_config_sdo16(sc_dig_out_01, 0x8000, 0x19, 2);
     ecrt_slave_config_sdo16(sc_dig_out_01, 0x8010, 0x19, 2);
     ecrt_slave_config_sdo16(sc_dig_out_01, 0x8020, 0x19, 2);
     ecrt_slave_config_sdo16(sc_dig_out_01, 0x8030, 0x19, 2);
     ecrt_slave_config_sdo16(sc_dig_out_01, 0x8040, 0x19, 2);
     ecrt_slave_config_sdo16(sc_dig_out_01, 0x8050, 0x19, 2);
     ecrt_slave_config_sdo16(sc_dig_out_01, 0x8060, 0x19, 2);
     ecrt_slave_config_sdo16(sc_dig_out_01, 0x8070, 0x19, 1);
     ecrt_slave_config_pdos(sc_dig_out_01, EC_END, slave_3_syncs);

we only select the thermocouple type.

We could not reproduce the previous behaviour yet.
We are expecting another EL3318 to arrive, when it does, we will try to 
check what configuration are we missing, compare the configurations and 
report back.

Thanks
Luis Matos

On 03-03-2016 09:38, Richard Hacker wrote:
> Hello
>
> not working is quite a general term. There are about a million ways of 
> getting the thing "not to work" and only a handful to get it "to work".
>
> You must be more specific:
> 1) is it in OP (ethercat sl)
> 2) what is the configuration (ethercat config -v)
> 3) what does the master say (dmesg)
> 4) increase debugging and check dmesg (ethercat debug 1)
>
> Attached is the (modified) code how EtherLab would configure it. Try 
> to apply this configuration to your setup. I do not claim that this 
> configuration is tested, it is just a hint.
>
> Note that the slave has an input (RxPDO). Some slaves will not go into 
> OP if the input is not configured even though you don't use it!
>
> - Richard
>
> On 02.03.2016 19:25, Luis Matos wrote:
>> Hello to the list.
>>
>> We are (trying) to use an EL3318 for temperature read, but it seems that
>> it is not working.
>> We setup the thermocouple type correctly (address 80n0:19), but the card
>> does not respond as it should, even if we connect and disconnect the
>> thermocouple (nothing varies).
>>
>> We are currently using the generic driver, analog and digital inputs and
>> outputs are working.
>> Does anyone have experience with this card and etherlab's ethercat 
>> master?
>>
>> cheers,
>> Luis Matos
>>
>>
>>
>> _______________________________________________
>> etherlab-users mailing list
>> etherlab-users at etherlab.org
>> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: luis_matos.vcf
Type: text/x-vcard
Size: 360 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20160303/1401df56/attachment-0004.vcf>


More information about the Etherlab-users mailing list