Skip to content

Step/Dir Controller based on teensy. Acts as a Modbus tcp slave, so a modbus master is needed for the setup. the master will need a library issuing different commands over the modbus registers.

Notifications You must be signed in to change notification settings

CloudHead84/Modbus-Stepper-Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modbus-Stepper-Controller

Step/Dir Controller based on teensy. Acts as a Modbus tcp slave, so a modbus master is needed for the setup. the master will need a library issuing different commands over the modbus registers. For the motion control, following arduino library is used: https://github.com/luisllamasbinaburo/Arduino-AsyncStepper

So this project consists of two parts:

1 - The MCU (teensy 4.1) "firmware" (including AsyncStepper Lib)
2 - The accompanying library for the PLC (OpenPLC or Codesys)

Test

First Prototype for testing communication via modbus and implementing the slave firmware in arduino:

videos: https://youtube.com/shorts/akJ87RP2c9Q?feature=share
https://youtu.be/qdu1bqlBr8Q
https://youtu.be/bMGx0n8RxtE

FIrst Prototype

About

Step/Dir Controller based on teensy. Acts as a Modbus tcp slave, so a modbus master is needed for the setup. the master will need a library issuing different commands over the modbus registers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published