This is an example application demonstrating building an EtherCAT system using Esmacat
Dependencies: EsmacatShield X_NUCLEO_IHM01A1
Basic Information of Esmacat
Information about Esmacat and EASE is provided in the link below. https://os.mbed.com/users/pratima_hb/code/EASE_Example/wiki/Homepage
Information about the hardware needs and setup is provided in the link below. https://os.mbed.com/users/pratima_hb/code/EASE_Example/wiki/Hardware-Setup
Information about the structure of the system and it's software is provided in the link below. https://os.mbed.com/users/pratima_hb/code/EASE_Example/wiki/Software
About this example
This is an example application to demonstrate the ease with which a system, which communicates over EtherCAT, can be build. It measures the RPM of a motor using a proximity sensor.
Following lists the hardware required
- 2 x Mbed boards with Arduino UNO form factor (NUCLEO-F103RB)
- 2 x EASE boards
- 1 x proximity sensor shield (X_NUCLEO_6180XA1)
- 1 x Motor shield (X-NUCLEO-IHM01A1)
- 1 x stepper motor
- 1 x Ethernet POE injector with a 24VDC power supply
- 2 x Ethernet cables
- Keyboard, mouse, and monitor
- PC with Linux/Windows OS installed
- DC power supply for motor
Click here to know more about this Example
Diff: main.cpp
- Revision:
- 25:3c863b420ac5
- Parent:
- 23:54503e363f67
- Child:
- 26:b0203c2265e5
--- a/main.cpp Mon Feb 15 16:02:48 2016 +0000 +++ b/main.cpp Fri Mar 11 16:12:03 2016 +0000 @@ -92,15 +92,15 @@ /* Functions -----------------------------------------------------------------*/ /** - * @brief This is an example of user handler for the flag interrupt. - * @param None - * @retval None - * @note If needed, implement it, and then attach and enable it: - * + motor->AttachFlagIRQ(&FlagIRQHandler); - * + motor->EnableFlagIRQ(); - * To disable it: - * + motor->DisbleFlagIRQ(); - */ + * @brief This is an example of user handler for the flag interrupt. + * @param None + * @retval None + * @note If needed, implement it, and then attach and enable it: + * + motor->AttachFlagIRQ(&FlagIRQHandler); + * + motor->EnableFlagIRQ(); + * To disable it: + * + motor->DisbleFlagIRQ(); + */ void FlagIRQHandler(void) { /* Set ISR flag. */