How to connect Sir88 to mesa board and linuxcnc
- aleksamc
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 567
- Thank you received: 65
14 Aug 2019 17:08 #142130
by aleksamc
How to connect Sir88 to mesa board and linuxcnc was created by aleksamc
Dear specialists,
I hope to retrofit old biesse cnc machine using mesa boards.
It has broken PC.
Situation very common:
- 3 servomotors with analog comand inputs
- encoder inputs (not sure what voltage)
- many field mechanisms.
My question is about input/output modules that drives field mechanisms:
-8 modules of CNI Sir88 that conected through RS485 interface.
Two of them are in cabinet (relay output), others are installed in machine automation.
I don't have any documentation to this modules nor I don't know what interface is used to communication (supposedly ModBus). But my task is: to connect this modules to linuxcnc, all other tasks should do mesa boards.
Can any body help my with this?
I hope to retrofit old biesse cnc machine using mesa boards.
It has broken PC.
Situation very common:
- 3 servomotors with analog comand inputs
- encoder inputs (not sure what voltage)
- many field mechanisms.
My question is about input/output modules that drives field mechanisms:
-8 modules of CNI Sir88 that conected through RS485 interface.
Two of them are in cabinet (relay output), others are installed in machine automation.
I don't have any documentation to this modules nor I don't know what interface is used to communication (supposedly ModBus). But my task is: to connect this modules to linuxcnc, all other tasks should do mesa boards.
Can any body help my with this?
Please Log in or Create an account to join the conversation.
- aleksamc
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 567
- Thank you received: 65
14 Aug 2019 17:34 #142135
by aleksamc
Replied by aleksamc on topic How to connect Sir88 to mesa board and linuxcnc
Realy found answer for my question. If that modules are using Modbus, that I can connect with help of Ladder Logic.
I will study this in more detail.
But how to connect PC to modbus and to configure Port in phisical dimension (where to connect wires)?
I will study this in more detail.
But how to connect PC to modbus and to configure Port in phisical dimension (where to connect wires)?
Please Log in or Create an account to join the conversation.
- pl7i92
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1872
- Thank you received: 357
14 Aug 2019 17:46 #142136
by pl7i92
Replied by pl7i92 on topic How to connect Sir88 to mesa board and linuxcnc
what servo motors are connected to the driver
can you give us a plate image
modbus drives are som hard to get going
not many posts here on that
we most use cheep analog servos that fit the standard boards for 200USD
can you give us a plate image
modbus drives are som hard to get going
not many posts here on that
we most use cheep analog servos that fit the standard boards for 200USD
Please Log in or Create an account to join the conversation.
- aleksamc
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 567
- Thank you received: 65
14 Aug 2019 18:20 - 14 Aug 2019 18:22 #142144
by aleksamc
Replied by aleksamc on topic How to connect Sir88 to mesa board and linuxcnc
>>CACR-SR05BE
Currently I don't have question to Servodrives.
They are old ones that have +/- (2V to 10V) speed reference input.
and encoder outputs to CNC-board.
I have no experiance with ModBus. And it's realy crussial issue.
Currently I don't have question to Servodrives.
They are old ones that have +/- (2V to 10V) speed reference input.
and encoder outputs to CNC-board.
I have no experiance with ModBus. And it's realy crussial issue.
Last edit: 14 Aug 2019 18:22 by aleksamc.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4988
- Thank you received: 1455
14 Aug 2019 19:00 #142150
by Todd Zuercher
Replied by Todd Zuercher on topic How to connect Sir88 to mesa board and linuxcnc
The biggest problem I foresee is, as far as I know Modbus connections In Linuxcnc are in userspace and are not realtime. This works ok for some things such as controlling a spindle's VFD, or a tool changer, but maybe not so well for something else, like a home or limit switches or controlling a servo.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
Less
More
- Posts: 23315
- Thank you received: 4945
14 Aug 2019 20:40 #142160
by andypugh
I think that Classic Ladder Modbus is Realtime (I have never used it) but probably only if connected via a serial port rather than USB-to-Modbus.
Replied by andypugh on topic How to connect Sir88 to mesa board and linuxcnc
as far as I know Modbus connections In Linuxcnc are in userspace and are not realtime.
I think that Classic Ladder Modbus is Realtime (I have never used it) but probably only if connected via a serial port rather than USB-to-Modbus.
Please Log in or Create an account to join the conversation.
- aleksamc
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 567
- Thank you received: 65
15 Aug 2019 07:54 - 15 Aug 2019 07:55 #142203
by aleksamc
Replied by aleksamc on topic How to connect Sir88 to mesa board and linuxcnc
Thank you Todd and Andypugh,
As Mesa board has it's own Inputs/Outputs, RealTime switches I'll connect directly to it.
But using that modbus modules that are installed is realy makes job easier, moreover, a lot of signals are at machine side, not in Cabinet.
As I said, I have no experiance with modbus, I was wrong a little.
I made automation on PLC S7-1200 (Siemens) and Modbus connections to spindles. I know what it is, and what problems I could have.
But linuxcnc has it's own development (that I don't know complitly) and how to work with that modbus I don't know currently.
But now, I make such main desicion:
Linuxcnc supports Modbus, and I can rely on it in my retrofit complitly.
As Mesa board has it's own Inputs/Outputs, RealTime switches I'll connect directly to it.
But using that modbus modules that are installed is realy makes job easier, moreover, a lot of signals are at machine side, not in Cabinet.
As I said, I have no experiance with modbus, I was wrong a little.
I made automation on PLC S7-1200 (Siemens) and Modbus connections to spindles. I know what it is, and what problems I could have.
But linuxcnc has it's own development (that I don't know complitly) and how to work with that modbus I don't know currently.
But now, I make such main desicion:
Linuxcnc supports Modbus, and I can rely on it in my retrofit complitly.
Last edit: 15 Aug 2019 07:55 by aleksamc.
Please Log in or Create an account to join the conversation.
- aleksamc
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 567
- Thank you received: 65
23 Aug 2019 16:14 #142976
by aleksamc
Replied by aleksamc on topic How to connect Sir88 to mesa board and linuxcnc
I've get unswer about this I/O boards.
All their boards use FieldBus.
Does linuxcnc supports filedbus?
All their boards use FieldBus.
Does linuxcnc supports filedbus?
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4988
- Thank you received: 1455
23 Aug 2019 16:43 #142977
by Todd Zuercher
Replied by Todd Zuercher on topic How to connect Sir88 to mesa board and linuxcnc
Don't know what "FieldBus" is.
According to Wikipedia it is a general term and could refer to one of many different protocols, one of which is Modbus.
According to Wikipedia it is a general term and could refer to one of many different protocols, one of which is Modbus.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4988
- Thank you received: 1455
23 Aug 2019 16:48 #142978
by Todd Zuercher
The more I think about it, I don't think it is realtime. That is why, in order to use Modbus with ClassicLadder you have to have to have the user-space part of it (the GUI) active for Modbus to work.
linuxcnc.org/docs/html/ladder/classic-ladder.html#_modbus
Replied by Todd Zuercher on topic How to connect Sir88 to mesa board and linuxcnc
as far as I know Modbus connections In Linuxcnc are in userspace and are not realtime.
I think that Classic Ladder Modbus is Realtime (I have never used it) but probably only if connected via a serial port rather than USB-to-Modbus.
The more I think about it, I don't think it is realtime. That is why, in order to use Modbus with ClassicLadder you have to have to have the user-space part of it (the GUI) active for Modbus to work.
linuxcnc.org/docs/html/ladder/classic-ladder.html#_modbus
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.073 seconds