Looking for different communication possibilities.
Those winches are moved by big servo motors (between 1,5 and 2,5kW), but they still don't have the driver part. the company who is building those winches is going to buy inverters/plc in these days, and I need to know eventual suggestions to interface with LinuxCNC.
Do you have some advice on what protocol to use?
- is Step/Dir a possibility?
- is it possible using some ModBus/CanBus to drive in realtime such a kinematic?
- maybe ethernet?
- is there any other performing communication usual in Industrial CNC which can be implemented in LinuxCNC?
Thanks for any advice.
Davide.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19198
- Thank you received: 6436
Yes you can use modbus to control VFD, i doubt it can do any kins and i read that it is a userspace component, not realtime.
Ethernet can be used with Mesa cards or Beckhoff devices, have a look at ethercat.
Parallel port is an option, realtime, can controll machines easily but limited for IO, 12 outputs and 5 inputs per port, adding add on PCI cards is also possible. It can control step/dir drives, do PWM, used for 5 inputs ( 9 inputs in X mode, limiting ouptuts to 8 ). In most cases can do up to 20.000 pulses per second, some computers will do more ( i have an older xeon workstation that does 50.000 easily ).
Usualy winches are not very diferent from CNC machines as they do forward/backward, left/right and up/down. Using Linuxcnc to controll it, it becomes a huge pick and place machine. Hmmm nice idea.
Please Log in or Create an account to join the conversation.
The winch is going to have an on-board plc to manipulate a bunch of security sensors (belts, load, brakes, temp, current and 2 couple of endstops) and (i think) the pc is going to communicate with the plc.
I really don't know if its going to work with Lcnc or if I have to code a new software to make them run...
So let's face one step. What about profibus? In case I have to write a new driver, how they are written for lcnc? Python? Is there any example/codelines to follow?
Thanks you for helping..
Please Log in or Create an account to join the conversation.
0-10V _position_ control is also a bad idea, but +/-10V _velocity_ control with encoder feedback and a position loop closed in LinuxCNC would work well.
There is an existing profibus _userspace_ driver for LinuxCNC, but that would not be suitable for motion-control because it is userspace (nothing that uses Python will work in the realtime layer).
Is CAN bus an option? General Mechatronics seem to be well set up for LinuxCNC + CAN
Please Log in or Create an account to join the conversation.
I think CanBus can be a possibility. But for what I know Canbus is not implemented same way from every productor. (I mean different data on different packets) Is the LCNC driver open to be corrected in case? So canbus is not run in userspace?
Thanks for the info.
Please Log in or Create an account to join the conversation.
Several of them. From the classic 7i33TA to the 7i77.Do Mesa have such a board? I mean -10+10 vel and enc in?
I think CanBus can be a possibility. But for what I know Canbus is not implemented same way from every productor. (I mean different data on different packets) Is the LCNC driver open to be corrected in case?
I don't know, I have never tried to use a General Mechatronics card.
Please Log in or Create an account to join the conversation.
Apologize if I seem rude ... the fact is that I do not speak English well.
Regards
giorgio
Please Log in or Create an account to join the conversation.
Other problem: winches can be 20-30mt from the pc, and the same distance one to the other.. so i think i should go ethernet or rs485 to mesa analog drivers, which are each close to its motor. What about that?
Please Log in or Create an account to join the conversation.
If you use ethernet/serial mesa cards, you must make an electrical box near every motor ... I understand well your ideas?
In these case consider the difference between cable cost and electrical box ... I think cable is better. If your spidercam is a spider delta robot I think cable is suitable. If your spidercam have usual late/mill velocity (15mt/min max) you can use for shure ethernet cable and mesa ethernet or serial card. I not love the surprise, and in my experience EtherCAT also suffer if you fly too many axes with high dynamics. I talk about close ethercat not open version. ....
Now I work of imagination and imagine that you have many inputs and outputs associated with each axis .... pressure, tension cables, brake winch, temperature control and other ... In these case you have 3 option: 1) your ideas (mesa ethernet: motion control + io near interesting point) ... 2) You can have 3 cables for motion control (motor power, encoder cable cable) + can bus/ethercat for remote plc io (+power cable for remote io) .... 3) as option 2) but with multipolar cable or bus cable for junction box for io (no remote plc module but juntion box). These structure request Lcnc + pc for motion control and HMI & std plc for io control + emergency chain. More respectful of the regulations for industrial environment than use only Lcnc for pilot all. Plc has its certification, and Nobody care who pilot servomotor if the emergency controls and safety are related to the safety plc.
But other can have ideas better than mine.
regards
Giorgio
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19198
- Thank you received: 6436
Then usualy they are for all intents and purposes a 3 axis cnc and they have the same layout, long non moving rails on both sides ( call it Y axis ), a gantry that moves on those rails ( call it X axis ), and the winch that is moving on that gantry with the up/down part.
If that is the case, the controll box is always mounted on one side of that gantry. I would put the control box next to that electrical box as all the cabling will go from there. In that box should be relays or servo drives with Mesa boards ( if you choose Mesa, i know i would ), so i would have to add a single ethernet cable up to the control box. Cat6 ethernet cables can go up to 100 meters easily, so can shielded Cat5 ( named STP or shielded twisted pair ). There is also the posibilty of lowering the singal speed through ethernet cable as all network cards can be set to work in all these modes: 10 Mb half duplex, 10 Mb full duplex, 100 Mb half duplex, 100 Mb full duplex, and new ones at 1000 Mb half and full duplex.
For Mesa boards the half duplex can not be used, but full duplex will most probably work properly even at 10Mbit.
These seting are awailable and functional in most Linux distros on network managers, can also be set through terminal in any Linux.
This is the most eficient way of doing it as the cables will remain short.
Please Log in or Create an account to join the conversation.