[etherlab-users] Beckhoff EL2595 AL status message 0x001E: "Invalid input configuration"

Jun Yuan j.yuan at rtleaders.com
Wed Mar 12 10:24:24 CET 2014


Hello ronaldo,

@@ -73,7 +73,7 @@
ec_sync_info_t slave_1_syncs[] = {
    {0, EC_DIR_OUTPUT, 0, NULL, EC_WD_DISABLE},
    {1, EC_DIR_INPUT, 0, NULL, EC_WD_DISABLE},
    {2, EC_DIR_OUTPUT, 2, slave_1_pdos + 0, EC_WD_DISABLE},
-   {3, EC_DIR_INPUT, 1, slave_1_pdos + 1, EC_WD_DISABLE},
+   {3, EC_DIR_INPUT, 1, slave_1_pdos + 2, EC_WD_DISABLE},
    {0xff}
};

To avoid such a mistake, it would be better to seperate the rxpdo and
txpdo, using slave_1_rxpdos[] and slave_1_txpdos[] instead of only one
slave_1_pdos[]

Regards,
Jun




On Tue, Mar 11, 2014 at 7:13 PM, <ronaldo.mercado at diamond.ac.uk> wrote:

>  Hello,
>
>
>
> I am struggling with the control the constant current output slave EL2595.
>
>
>
> The unit provides a few PDOs by default, to control the on/off
>
> state. I wish to control the current output, (I believe at address
> 0x7000:11
>
> "Output Current"). This should allow a slider to control the dimming of
>
> an LED. This is not on the default PDO set.
>
>
>
> I know it's supported because it was demonstrated with TwinCAT. TwinCAT
>
> adds it to sync manager 2 with a check box.
>
>
>
> My attempt with the attached c source program fails to set the slave
>
> in the "OP" state, and the messages report "Invalid input
>
> configuration".
>
>
>
> Could you suggest what to do differently?
>
> How do I add the PDO for the current control to the slave?
>
>
>
> Thanks,
>
>
>
> Ronaldo
>
>
>
>
>
>
>
> --
>
> This e-mail and any attachments may contain confidential, copyright and or
> privileged material, and are for the use of the intended addressee only. If
> you are not the intended addressee or an authorised recipient of the
> addressee please notify us of receipt by returning the e-mail and do not
> use, copy, retain, distribute or disclose the information in or attached to
> the e-mail.
> Any opinions expressed within this e-mail are those of the individual and
> not necessarily of Diamond Light Source Ltd.
> Diamond Light Source Ltd. cannot guarantee that this e-mail or any
> attachments are free from viruses and we cannot accept liability for any
> damage which you may sustain as a result of software viruses which may be
> transmitted in or with the message.
> Diamond Light Source Limited (company no. 4375679). Registered in England
> and Wales with its registered office at Diamond House, Harwell Science and
> Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
>
>
>
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>
>


-- 
Jun Yuan
[Aussprache: Djün Üän]

Robotics Technology Leaders GmbH
Am Loferfeld 58, D-81249 München
Tel: +49 89 189 0465 24
Fax: +49 89 189 0465 11
mailto: j.yuan at rtleaders.com

Umlautregel in der chinesischen Lautschrift Pinyin: Nach den Anlauten y, j,
q, und x wird u als ü ausgesprochen, z.B. yu => ü,  ju => dschü,  qu =>
tschü,  xu => schü.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20140312/96fe8fd3/attachment-0003.htm>


More information about the Etherlab-users mailing list