Example: Digital Input/Output on non-QEC with EtherCAT Library

Example: Digital Input/Output on non-QEC with EtherCAT Library

[QEC Tutorial]

This example shows how to operate QEC-M (EtherCAT Master) and non-QEC EtherCAT Slave (Digital Input & Output Modules) to perform basic applications and to see the actual physical Status: Control the connected external LEDs via the EtherCAT Digital Output Slave Modules and receive the status of their LEDs via the EtherCAT Digital Input Slave Modules.


Process Data Objects (PDOs) are process data transferred by EtherCAT slaves during each cycle, which are cyclically updated or sent to the slave by the application.

This API is a generic driver for EtherCAT Slave and can read or write PDO Inputs/Outputs.


As this document is a continuation of the “Example: Digital Input/Output on QEC with EtherCAT Library“, If you have any questions about the hardware in the tutorial, please read the EtherCAT Library example: Digital Input/Output for QEC.

Software

Hardware

  • QEC-M-01
  • QEC-R11DF0: EtherCAT 16 Channel Digital Input Slave Module
  • QEC-R11D0F: EtherCAT 16 Channel Digital Output Slave Module
  • Others:
    • LAN Cable
    • 24V 2A Power Source

If this is your first time running the 86Duino IDE, we recommend that you read Set up the QEC-M-043T for 86Duino – QEC before proceeding with this example.


Tutorials


Learn More

You can find more information about the basic QEC applications in the EtherCAT application.

You can also explore Language or Libraries for a more detailed collection of 86Duino IDE programming.

Leave a Comment

Your email address will not be published. Required fields are marked *

上部へスクロール