[etherlab-users] First Steps with ethercat
Graichen Michael
michael.graichen at wipotec.com
Thu Nov 29 14:47:08 CET 2018
Hey,
I'm trying to get started with ethercat. Therfore I have installed the EtherCAT-Master on my Linux PC and connected a EK1100, EL2008 and EL1008 to it.
I can see the slaves with
dev at bvpc-kbl-dev-2:~$ ethercat slaves
0 0:0 OP + EK1100 EtherCAT Coupler (2A E-Bus)
1 0:1 OP + EL2008 8K. Dig. Ausgang 24V, 0.5A
2 0:2 OP + EL1008 8K. Dig. Eingang 24V, 3ms
and get more Information when i read out the PDOs
dev at bvpc-kbl-dev-2:~$ ethercat pdos -p1
SM0: PhysAddr 0x0f00, DefaultSize 0, ControlRegister 0x44, Enable 9
RxPDO 0x1600 "Channel 1"
PDO entry 0x7000:01, 1 bit, "Output"
RxPDO 0x1601 "Channel 2"
PDO entry 0x7010:01, 1 bit, "Output"
RxPDO 0x1602 "Channel 3"
PDO entry 0x7020:01, 1 bit, "Output"
RxPDO 0x1603 "Channel 4"
PDO entry 0x7030:01, 1 bit, "Output"
RxPDO 0x1604 "Channel 5"
PDO entry 0x7040:01, 1 bit, "Output"
RxPDO 0x1605 "Channel 6"
PDO entry 0x7050:01, 1 bit, "Output"
RxPDO 0x1606 "Channel 7"
PDO entry 0x7060:01, 1 bit, "Output"
RxPDO 0x1607 "Channel 8"
PDO entry 0x7070:01, 1 bit, "Output"
and
dev at bvpc-kbl-dev-2:~$ ethercat pdos -p2
SM0: PhysAddr 0x1000, DefaultSize 1, ControlRegister 0x00, Enable 1
TxPDO 0x1a00 "Channel 1"
PDO entry 0x6000:01, 1 bit, "Input"
TxPDO 0x1a01 "Channel 2"
PDO entry 0x6010:01, 1 bit, "Input"
TxPDO 0x1a02 "Channel 3"
PDO entry 0x6020:01, 1 bit, "Input"
TxPDO 0x1a03 "Channel 4"
PDO entry 0x6030:01, 1 bit, "Input"
TxPDO 0x1a04 "Channel 5"
PDO entry 0x6040:01, 1 bit, "Input"
TxPDO 0x1a05 "Channel 6"
PDO entry 0x6050:01, 1 bit, "Input"
TxPDO 0x1a06 "Channel 7"
PDO entry 0x6060:01, 1 bit, "Input"
TxPDO 0x1a07 "Channel 8"
PDO entry 0x6070:01, 1 bit, "Input"
but how can I actually set the outputs and read the inputs?
Thanks for your help
Michael
Michael Graichen
Research & Development
WIPOTEC GmbH
Adam-Hoffmann-Str. 26
67657 Kaiserslautern
T +49.631.34146-0
F +49.631.34146-8640
https://www.wipotec.com
[https://www.wipotec.com/fileadmin/user_upload/Signatur/Wipotec_Group.gif]<https://www.wipotec.com/en/group/three-decades-of-innovation/>
Follow us: [https://www.wipotec-ocs.com/fileadmin/wipotec-ocs/signature/linked-in.png] <https://linkedin.com/company/wipotec-group> [https://www.wipotec-ocs.com/fileadmin/wipotec-ocs/signature/you-tube.png] <https://www.youtube.com/c/WIPOTECOCS> [https://www.wipotec-ocs.com/fileadmin/wipotec-ocs/signature/dreieck.png]
Legal information:
WIPOTEC GmbH
Management: T. Düppre, U. Wagner, Dr. W. Schmitz, F. Köhler, J. Kühn
HRB 2317 Kaiserslautern
The information contained in this communication and in any attachments is confidential and is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited without the prior written consent of WIPOTEC GmbH. If you have received this communication in error, please, notify the sender by reply e-mail, and then delete it from your system.
More information about the Etherlab-users
mailing list