[etherlab-users] About Big and little endian.

Matthieu Bec mbec at gmto.org
Wed Oct 3 16:46:56 CEST 2012


Hello John,

try download using types that fit the target size, that might look like:

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

Matthieu


On 10/03/12 05:44, John Martin wrote:
> 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.
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users


-- 
Matthieu Bec                GMTO Corp.
cell:  +1 626 354 9367      P.O. Box 90933
phone: +1 626 204 0527      Pasadena, CA 91109-0933




More information about the Etherlab-users mailing list