10-11-2016 10:02 AM
has anyone tried to communicate with a ABB/Baldor controller using Baldor's "Host Comms Protocol" over a serial connection using Labview? i have Labview running on a laptop with RS232 connection, connected to an RS232 to RS485 converter, then RS485 to the Baldor controller's RS485 serial port.
10-11-2016 02:34 PM
Hi Joseph,
Disclosure: I haven't.
But, maybe you can help me (and other forum members) understand the question a little better.
Why is the title 'convert dnp3 protocol to modbus'? You've named a total of five protocols. 3 higher level protocols (HCP, DNP3, Modbus) and 2 implementations of lower level serial communications (RS232, RS485). Which ones are actually relevant for the question? Where do DNP3 and Modbus come in?
From briefly googling HCP, it looks like it's another proprietary protocol built on serial. I didn't see that a Partner has published a toolkit on the LabVIEW Tools Network, nor did I see one on VIPM.
I poked around ABB's motion site for some sort of tool, but didn't get far before it required login credentials.
Perhaps ABB has a DLL that you could call in LabVIEW to communicate over HCP? This would probably be the preferred method.
If not, you probably could just use VISA to read the raw serial data. However, this would leave the parsing of that raw data into meaningful values (e.g. position data from the ABB controller being parsed from the binary serial data) to you. This might require more intimate knowledge of how HCP sends requests and data.
10-11-2016 04:13 PM
10-12-2016 09:36 AM
Do you have a manual that shows HCP commands for the controller (if such a thing exists; this is my first time hearing of HCP)?
Perhaps you could try something basic first, like *IDN? (if the controller implements that). Once you know you can send that message correctly and receive the controller's response, doing more advanced things (like register reads) might be a smaller leap to make.
10-12-2016 12:20 PM
10-12-2016 02:16 PM
Does Baldor make a driver or utility program you could use to test communications? It would be useful to make sure we can communicate with the device at all with something we expect to work with it out of the box. Once that is confirmed, we can focus on the LabVIEW / VISA side of things.
11-04-2016 03:38 PM
11-04-2016 08:27 PM
Nothing is attached.