Page 1 of 2
Multi-IO-Interface over RS485
Posted:
Sat Feb 05, 2022 11:35 am
by CADdy
Hi gents,
is it possible to use this multi-IO-Interface with UCCNC? It is connected via RS485 to the PC.
Or would have to program something special for that?
Peter
Re: Multi-IO-Interface over RS485
Posted:
Sat Feb 05, 2022 12:56 pm
by ger21
It says Modbus, so yes, you can communicate with it via Modbus in UCCNC.
But, I don't think you can use it like a normal breakout board, where you just assign ports and pins.
Re: Multi-IO-Interface over RS485
Posted:
Sat Feb 05, 2022 4:41 pm
by CADdy
Hi Gerry,
I didn't want to use it as a BOB. I want to use it to read signals from an ATC spindle (tool locked, clamp open, clamp closed and so on) and to control pneumatic valves.
The other way is, I buy an UC300ETH controller. But then I need a new license for UCCNC. I think, it is not possible to transfer my license to the UC300ETH.
Peter
Re: Multi-IO-Interface over RS485
Posted:
Sat Feb 05, 2022 4:43 pm
by dezsoe
This card seems to be good for what you want to use it. Do you have a link to this card?
Re: Multi-IO-Interface over RS485
Posted:
Sat Feb 05, 2022 8:33 pm
by CADdy
Hi dezsoe,
we make a deal: I give you the link and you give me a tip, how to use this card with UCCNC
https://de.aliexpress.com/item/32881049 ... LI3Hp&mp=1Peter
Re: Multi-IO-Interface over RS485
Posted:
Sun Feb 06, 2022 7:50 pm
by fixebr
a manual should go to this board, which indicates which command should be sent to which register to turn on a specific output, or in which register the state of the board's inputs is located.
If there is no manual, write to the seller on Ali, let you watch.
Install the QModBus program, connect via usb-rs485 (or eth-rs485) to the computer and try sending the read register command according to the manual.
Then, in UCCNC, you type commands in the macro that turn on the outputs and read their values. There is a version of modbusmaster for this - you create a connection there to this pluggable register, and then control by connection number.
Re: Multi-IO-Interface over RS485
Posted:
Mon Feb 07, 2022 3:31 pm
by dezsoe
Hi Peter,
I couldn't find any documentation. It will be a nice job... If you know the parameters then the ModbusMaster plugin can handle the connection.
Re: Multi-IO-Interface over RS485
Posted:
Mon Feb 07, 2022 8:55 pm
by CADdy
Thanks for your answers. I'll order one of these interfaces and hope I can make it work. Let's see...
Peter
Re: Multi-IO-Interface over RS485
Posted:
Mon Feb 07, 2022 9:11 pm
by CADdy
On this page there are a few address and register details:
https://www.aliexpress.com/i/32879424433.htmlYou must click "show all".
It is of course very difficult to program something without documentation.
Peter
Re: Multi-IO-Interface over RS485
Posted:
Mon Feb 07, 2022 9:39 pm
by dezsoe
Nice manual!
(But more than nothing.)