Hello all,
Richard,
We were using (retorfit) non isolated thermocouples and EL3318 only
accepts isolated ones.
Thats why everything was crazy. It was causing problems on the
readings ... badly.
Thanks for the support.
Cheers,
Luis Matos
On 03-03-2016 15:02, Luis Matos wrote:
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
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users
_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users
|