st-one-io / node-open-protocol

This node is an implementation of the Atlas Copco's Open Protocol. This node was created by Smart-Tech as part of the ST-One project.
GNU General Public License v3.0
31 stars 31 forks source link

Micro Torque Focus 6000 Integration #35

Open jlisec1 opened 1 year ago

jlisec1 commented 1 year ago

We are integrating an Atlas Copco MT Focus 6000. I came upon your code and wanted to know if you can validate our controller. I was able to instantiate a connection to our controller but was unable to call the "lastTightening" command. I believe the MID set for "lastTightening" may be different for our controller. Can I just clone the directory, change the json file then run the subscribe function? Please see the attached files for MTF6000 open protocol information.

Files.zip

lonheijnen commented 1 year ago

@jlisec1 did you find a solution to this? I had the same problem. My best googling has lead me to believe that you need to send a 0008 message and supply the desired subscription message id (0060 in this case) and revision.

I'm currently using a c# library trying to subscribe to this event, but all I am getting with the 0008 is a 0004 message with error code 'invalid data'.

Really struggling to find some proper documentation on what to send along with this 0008 message.

Regards, Lon Heijnen