[etherlab-users] WG: Beckhoff AX200/Danaher S600

Florian Pose fp at igh-essen.com
Tue Oct 28 14:06:13 CET 2008


Hi,

On Tue, Oct 28, 2008 at 09:57:20AM +0100, Jens Kotlarski wrote:
> <Sm MinSize="40" MaxSize="1486" DefaultSize="512" StartAddress="#x1800" ControlByte="#x26" Enable="1">MBoxOut</Sm>
> <Sm MinSize="40" MaxSize="1486" DefaultSize="512" StartAddress="#x1c00" ControlByte="#x22" Enable="1">MBoxIn</Sm>
> <Sm StartAddress="#x1100" ControlByte="#x24" Enable="1">Outputs</Sm>
> <Sm StartAddress="#x1140" ControlByte="#x22" Enable="1">Inputs</Sm>

the ec_slave2 s-Function complains about the SM3, because the XML sais
it is used for mailbox communication (the right '2' in #x22 means
reading access, mailbox). This is probably a mistake in the XML. If you
set this to '#x20', it shall work. I can see from the master-generated
XML, that the same information is in the slave's EEPROM. If you correct
it in the XML and generate EEPROM contents (with f. e. TwinCAT), you can
write the EEPROM with 'ethercat sii_write'.

-- 
Best regards,
Florian Pose

http://etherlab.org



More information about the etherlab-users mailing list