[etherlab-users] How can I use "cstruct" option ?
κΆμλ
ydyd.kwon at samsung.com
Wed Feb 17 02:43:03 CET 2010
Hello all,
I'm trying to install EtherCAT master 1.5.
Most of the command line functions works well in my systems.
However, when I give cstruct option to command line, the ethercat master returns unknown command.
: [root at expertz ydkwon]# /opt/etherlab/bin/ethercat version
: IgH EtherCAT master devel r1770
: [root at expertz ydkwon]# /opt/etherlab/bin/ethercat cstruct
: Unknown command cstruct!
How can I use this option in EtherCAT master 1.5 ?
Another quesion,
When I try to get PDO information by using 'pdos' option, it returns blank PDOS name.
Is this situation is correct ?
The slave devices were made by our team. Also, it worked well in ethercat master 1.4.
=====================================================================================
[root at expertz ydkwon]# /opt/etherlab/bin/ethercat slaves
0 0:0 PREOP + 0x00000007:0x00000000
1 0:1 PREOP + Smart Driver EBUS (BLDC 1axis)
2 0:2 PREOP + Smart Driver EBUS (BLDC 1axis)
[root at expertz ydkwon]# /opt/etherlab/bin/ethercat pdos
=== Slave 0 ===
=== Slave 1 ===
SM0: PhysAddr 0x1000, DefaultSize 1024, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1400, DefaultSize 1024, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1800, DefaultSize 20, ControlRegister 0x24, Enable 1
RxPDO 0x1600 ""
PDO entry 0x7010:01, 16 bit, ""
PDO entry 0x7010:02, 32 bit, ""
PDO entry 0x7010:03, 16 bit, ""
PDO entry 0x7010:04, 16 bit, ""
PDO entry 0x7010:05, 16 bit, ""
PDO entry 0x7010:06, 16 bit, ""
SM3: PhysAddr 0x1c00, DefaultSize 20, ControlRegister 0x20, Enable 1
TxPDO 0x1a00 ""
PDO entry 0x6000:01, 16 bit, ""
PDO entry 0x6000:02, 16 bit, ""
TxPDO 0x1a02 ""
PDO entry 0x6020:01, 32 bit, ""
PDO entry 0x6020:02, 16 bit, ""
PDO entry 0x6020:03, 16 bit, ""
PDO entry 0x6020:04, 16 bit, ""
PDO entry 0x6020:05, 16 bit, ""
=== Slave 2 ===
SM0: PhysAddr 0x1000, DefaultSize 1024, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1400, DefaultSize 1024, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1800, DefaultSize 20, ControlRegister 0x24, Enable 1
RxPDO 0x1600 ""
PDO entry 0x7010:01, 16 bit, ""
PDO entry 0x7010:02, 32 bit, ""
PDO entry 0x7010:03, 16 bit, ""
PDO entry 0x7010:04, 16 bit, ""
PDO entry 0x7010:05, 16 bit, ""
PDO entry 0x7010:06, 16 bit, ""
SM3: PhysAddr 0x1c00, DefaultSize 20, ControlRegister 0x20, Enable 1
TxPDO 0x1a00 ""
PDO entry 0x6000:01, 16 bit, ""
PDO entry 0x6000:02, 16 bit, ""
TxPDO 0x1a02 ""
PDO entry 0x6020:01, 32 bit, ""
PDO entry 0x6020:02, 16 bit, ""
PDO entry 0x6020:03, 16 bit, ""
PDO entry 0x6020:04, 16 bit, ""
PDO entry 0x6020:05, 16 bit, ""
[root at expertz ydkwon]#
=====================================================================================
Thanks in advance.
Young D. Kwon, Ph.D
More information about the Etherlab-users
mailing list