[etherlab-users] etherlab-users Digest, Vol 14, Issue 3

Hobin Yoon hobinyoon at gmail.com
Thu Jul 10 08:44:33 CEST 2008


I figured out that the uController is expecting interrupt signal and
it is started from DC and Sync/Latch PDI config register. I referenced
page I-72 of ET1100 data sheet
(http://www.beckhoff.de/download/Document/ethercat/Development_products/EtherCAT_ET1100_Datasheet_all_v1i3.pdf)

When do you plan to add DC to v1.4?

Thank you always

Best Regards,
Hobin Yoon

On Tue, Jul 8, 2008 at 6:23 PM, Florian Pose <fp at igh-essen.com> wrote:
> On Tue, Jul 08, 2008 at 05:07:17PM +0900, Hobin Yoon wrote:
>> I've removed unused SDOs by trial and error. Please find the attached
>> file. According to the 'CoE-Online' tab, I've added SDO configuration
>> functions.
>
> Please note that the CoE-Online tab lists the current values of the
> Sdos. That does not mean, that they are already configured correctly.
>
>>     if (ecrt_slave_conf_sdo8(ec_slave, 0x1C12, 0, 1)) goto out_release_master;
>>     if (ecrt_slave_conf_sdo16(ec_slave, 0x1C12, 1, 0x1600)) goto
>> out_release_master;
>>     if (ecrt_slave_conf_sdo8(ec_slave, 0x1C13, 0, 2)) goto out_release_master;
>>     if (ecrt_slave_conf_sdo16(ec_slave, 0x1C13, 1, 0x1A00)) goto
>> out_release_master;
>>     if (ecrt_slave_conf_sdo16(ec_slave, 0x1C13, 2, 0x1A01)) goto
>
> Please do not configure the Pdo assignment and Pdo mapping Sdos via the
> ecrt_slave_conf_sdoX() functions. They are automatically configured by
> the master depending on the values passed to the
> ecrt_slave_pdo_mapping() functions, if used. Otherwise, the master reads
> the assigned Pdos from the slave, so that you don't have to configure
> anything regarding the Pdos.
>
> But again: The master 1.4 offers a much more comfortable way to
> configure Pdo assignment and mapping. Moreover it should be much easier
> to take new slaves into operation with the 1.4 branch.
>
>> Regarding the DC, my XML has the following DC element. It seems to be
>> needed since it didn't work when removed in TwinCAT.
>>
>> <Dc>
>>       <OpMode>
>>               <Name>Distributed Clocks</Name>
>>               <Desc>Distributed Clocks</Desc>
>>               <AssignActivate>#x0700</AssignActivate>
>>       </OpMode>
>> </Dc>
>
> Ok, it looked like the slave is still configured to use DC. Did you
> reset it?
>
> --
> Best regards,
> Florian Pose
>
> http://etherlab.org
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at lists.etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>



More information about the Etherlab-users mailing list