Skip to content

EasyCAT shield Arduino sketch for LinuxCNC EtherCAT communication

Notifications You must be signed in to change notification settings

zmrdko/3DWorks_EasyCAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inspired by https://github.com/AlexmagToast/LinuxCNC_ArduinoConnector

Download Easy Configurator V4.2 (.zip) from here:

https://www.bausano.net/en/hardware/easycat.html

customize according to your needs and burn to eeprom

Download EasyCAT Library V2.0 (.zip) and import to Arduino IDE. File -> Examples -> EasyCAT_V2_0 -> TestEasyCAT_Custom and replace include .h file with the one created in Easy Configurator.

#define CUSTOM
#include "3DWorksEasyCAT.h"         // Custom 3DWorks EtherCAT

Edit code to write inputs and outputs according to your needs:

EASYCAT.BufferIn.Cust.Temperature = RawTemp.Byte[0];
EASYCAT.BufferIn.Cust.Analog = AnalogValue;
LedStatus = EASYCAT.BufferOut.Cust.Leds;
PwmValue = EASYCAT.BufferOut.Cust.Pwm;

About

EasyCAT shield Arduino sketch for LinuxCNC EtherCAT communication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published