[etherlab-users] about configuration of domain

Florian Pose fp at igh-essen.com
Tue Dec 9 09:46:53 CET 2008


Hello,

On Tue, Dec 09, 2008 at 03:54:55PM +0800, li.peng wrote:
> # ethercat pdos
> SM0: PhysAddr 0x1000, DefaultSize  128, ControlRegister 0x36, Enable 1
> SM1: PhysAddr 0x1080, DefaultSize  128, ControlRegister 0x32, Enable 1
> SM2: PhysAddr 0x1100, DefaultSize    4, ControlRegister 0x74, Enable 1
>   RxPdo 0x1600 "1. RxPDO"
>     Pdo entry 0x2000:01,  8 bit, ""
>     Pdo entry 0x2000:02,  8 bit, ""
>     Pdo entry 0x2000:03,  8 bit, ""
>     Pdo entry 0x2000:04,  8 bit, ""
> SM3: PhysAddr 0x1358, DefaultSize    4, ControlRegister 0x30, Enable 1
>   TxPdo 0x1a00 "1. TxPDO"
>     Pdo entry 0x3000:01,  8 bit, ""
>     Pdo entry 0x3000:02,  8 bit, ""
> Pdo entry 0x3000:03,  8 bit, ""
> 
> # ethercat domains
> Domain0: LogBaseAddr 0x00000000, Size   8, WorkingCounter 0/3
>   SlaveConfig 0:0, SM3 ( Input), LogAddr 0x00000000, Size 4
>     0x00 0x00 0x00 0x00
>   SlaveConfig 0:0, SM2 (Output), LogAddr 0x00000004, Size 4
> 0x09 0x00 0x00 0x00

as the PDOs of the slave do not match with the ones you're expecting
(0x3000:04 missing), the master will try to change the mapping for PDO
0x1a00. Does the slave support this? If yes, could you post some logs of
the configuration with 'ethercat debug 1'? Is the slave in OP state?

-- 
Best regards,
Florian Pose

http://etherlab.org



More information about the Etherlab-users mailing list