Machsupport Forum

Third party software and hardware support forums. => Modbus => Topic started by: borbori on April 01, 2016, 11:49:59 AM

Title: Arduino MODBUS and motor output
Post by: borbori 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
Title: Re: Arduino MODBUS and motor output
Post by: mjzrpr 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.
Title: Re: Arduino MODBUS and motor output
Post by: Graham Waterworth on July 18, 2021, 08:56:53 PM
This link may be of some use.

https://www.machsupport.com/forum/index.php?topic=23759.msg265761#msg265761 (https://www.machsupport.com/forum/index.php?topic=23759.msg265761#msg265761)
Title: Re: Arduino MODBUS and motor output
Post by: mjzrpr 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 (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