[etherlab-users] About Big and little endian.

John Martin jmartin at larraioz.com
Wed Oct 3 14:44:27 CEST 2012


Hello,

I have a problem with servo drive and ethercat.
I send this commands to servo drive.....

./ethercat -p3 --type uint8 download 0x1C12 0 0
./ethercat -p3 --type uint8 download 0x1C13 0 0
./ethercat -p3 --type uint8 download 0x1C12 1 0x1700
./ethercat -p3 --type uint8 download 0x1C12 2 0x1708
./ethercat -p3 --type uint8 download 0x1C12 0 2
./ethercat -p3 --type uint8 download 0x1C13 1 0x1B00
./ethercat -p3 --type uint8 download 0x1C13 2 0x1B08
./ethercat -p3 --type uint8 download 0x1C13 0 2

and now I read this PDO with this result........

root at LEIPC:~ ./ethercat -p3 --type uint16 upload 0x1C13 2
0x081b 2075
root at LEIPC:~ ./ethercat -p3 --type uint16 upload 0x1C13 1
0x001b 27
root at LEIPC:~ ./ethercat -p3 --type uint16 upload 0x1C12 1
0x0017 23
root at LEIPC:~ ./ethercat -p3 --type uint16 upload 0x1C12 2
0x0817 2071

I am not sure, but I suppose that information is not correct...........
I dont find any option about big and little endian in configure step.

Any advice??

Best regards.



More information about the Etherlab-users mailing list