Hello Guest it is September 21, 2023, 06:14:23 AM

Author Topic: Arduino MODBUS and motor output  (Read 7772 times)

0 Members and 1 Guest are viewing this topic.

Arduino MODBUS and motor output
« on: April 01, 2016, 11:49:59 AM »
Hello,

Is there possible to have motor outputs on modbus device like arduino?
As i read on docs, we can use port 0 for modbus slave, so for example we can set port 0 pin 22 as x step output etc.

Arush
Re: Arduino MODBUS and motor output
« Reply #1 on: July 18, 2021, 10:40:30 AM »
after many years I have same question. how can I send a number to arduino for control i o pin with modbus?
SetModOutput
Sendstring
https://www.machsupport.com/wp-content/uploads/2013/02/Mach3_V3.x_Macro_Prog_Ref.pdf
macro manual dont have useful  example.

Offline Graham Waterworth

*
  • *
  •  2,621 2,621
  • Yorkshire Dales, England
    • View Profile
Re: Arduino MODBUS and motor output
« Reply #2 on: July 18, 2021, 08:56:53 PM »
Without engineers the world stops
Re: Arduino MODBUS and motor output
« Reply #3 on: July 21, 2021, 04:19:32 AM »
This link may be of some use.

https://www.machsupport.com/forum/index.php?topic=23759.msg265761#msg265761
thanks borbori. this link used for input arduino. I want both input and out. I used below link and work fine:
https://www.machsupport.com/forum/index.php?topic=21105.0