Component: EtherCAT Slave (EasyCAT) (Comms: IoT/Cloud)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | Comms: IoT/Cloud |
Contents
EtherCAT Slave (EasyCAT) component
Provides support for the EtherCAT Slave industrial protocol using an EasyCAT Arduino shield. The shield can be driven from a Flowcode compatible Arduino type board or can be driven using an Arduino using the SCADA Slave firmware to drive EtherCAT from the Flowcode simulation runtime. Compatible with the EasyCAT Easy Configurator tool.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_EasyCat.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_EasyCat.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetByte
![]() |
GetByte |
Read a 8-bit value from the Out receive buffer | |
![]() |
Index |
Data Index | |
![]() |
Return |
GetFloat
![]() |
GetFloat |
Read a 32-bit floating point value from the Out receive buffer | |
![]() |
Index |
Data Index | |
![]() |
Return |
GetInt
![]() |
GetInt |
Read a 16-bit value from the Out receive buffer | |
![]() |
Index |
Data Index | |
![]() |
Return |
GetLong
![]() |
GetLong |
Read a 32-bit value from the Out receive buffer | |
![]() |
Index |
Data Index | |
![]() |
Return |
Initialise
![]() |
Initialise |
Starts up the SPI connection to the EasyCAT board and configures the board. Returns 1 for a sucessful initialise. | |
![]() |
Return |
MainTask
![]() |
MainTask |
Must be called as part of the application main program loop. | |
![]() |
Return |
SetByte
![]() |
SetByte |
Write an 8-bit value to the In receive buffer | |
![]() |
Index |
Data Index | |
![]() |
Data |
![]() |
Return |
SetFloat
![]() |
SetFloat |
Write a 32-bit floating point value to the In receive buffer | |
![]() |
Index |
Data Index | |
![]() |
Data |
![]() |
Return |
SetInt
![]() |
SetInt |
Write a 16-bit value to the In receive buffer | |
![]() |
Index |
Data Index | |
![]() |
Data |
![]() |
Return |
SetLong
![]() |
SetLong |
Write a 32-bit value to the In receive buffer | |
![]() |
Index |
Data Index | |
![]() |
Data |
![]() |
Return |