RS-485 with 7i76
- tensaiteki
- Offline
- New Member
-
- Posts: 16
- Thank you received: 0
I would like to control a Hypertherm Powermax 85 (plasma cutter) that has a RS-485 (5-pin) interface.
I'd like to avoid having to buy a separate RS-485 board just to control a single device.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
- Posts: 18541
- Thank you received: 5090
in the master version of HostMot2
The expansion connector on the 7I76 is RS-422
(full duplex 4 wire = 1 differential pair in and out)
and will not support 2 wire 1/2 duplex physical interfaces
so that may also be an issue
Please Log in or Create an account to join the conversation.
- tensaiteki
- Offline
- New Member
-
- Posts: 16
- Thank you received: 0
The protocol seems to be ModBus ASCII. I'm pretty sure the Hypertherm uses full duplex as the 5 pins on the connector are shown as TX+, TX-, RX+, RX-, and Gnd.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
- Posts: 18541
- Thank you received: 5090
Please Log in or Create an account to join the conversation.
- tensaiteki
- Offline
- New Member
-
- Posts: 16
- Thank you received: 0
One of the things I was hoping to do was be able to vary the cut current with the travel velocity, i.e. if the machine has to slow down to take a corner I want to lower the cut current until the machine can speed back up.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
- Posts: 18541
- Thank you received: 5090
does the plasma power source guarantee ~real time response to Modbus commands?
Please Log in or Create an account to join the conversation.
- dano87
- Offline
- New Member
-
- Posts: 1
- Thank you received: 0
Is it possible to control a single RS-485 with the RS-422 interface in the 7i76?
I would like to control a Hypertherm Powermax 85 ( plasma cutter ) that has a RS-485 (5-pin) interface.
I'd like to avoid having to buy a separate RS-485 board just to control a single device.
I agree with what PCW says.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23320
- Thank you received: 4946
[quoteThe protocol seems to be ModBus ASCII. I'm pretty sure the Hypertherm uses full duplex as the 5 pins on the connector are shown as TX+, TX-, RX+, RX-, and Gnd.[/quote]
That looks like it could be quite an interesting driver to write. Do you have any feel for how many characters you would want to send every servo-thread?
The data 11 characters per register, and three registers every cycle. At 19200 baud and 11 bits per character that is a cycle time of around 20mS so the driver would have to be quite careful with buffering if running a realtime driver in the servo thread (1mS)
In practice you would presumably only send new data when the buffer was empty, and also only send changed data.
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...b7f40eed0572cd497ac0
Is a simple skeleton driver for the Hostmot2 UART written in the "comp" component definition language. It would make a reasonable basis for a driver for your Hypertherm.
How are you at C coding?
Note that you would need a special firmware for the 5i25 with a UART in place of the usual SmartSerial module. (There are a number of us who can create firmwares, so this is not a major difficulty)
Please Log in or Create an account to join the conversation.