Example Program Drafts

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW communication with Atlas Copco controller by Using Serial Communication

 

LabVIEW communication with Atlas Copco controller by Using Serial Communication referring open Atlas's protocol.

Since I am trying to get a detailed of of tightening result to logging into LabVIEW. I fould one document that guild to communicate with Atlas copco controller you can find more detalied as an attached document.

The way to communication with this controller by using Serial communication are 2 kind of serial protocal.

  • Serial ASCII protocol.
  • Serial ASCII protocol with 3964R handshake

Refered an attached document, we need to open serial port for communication first(Once we send message to open the port will be opening only 15second for your access) which mean you need to send a command to access within 15 minutes. While the port is open we can send command to communicate with controller. After we get a talked back message, we can send a command to close protocal.

In this example, I also attached LabVIEW project that inclued by VIs following the detalied below:

  • LabVIEW code for open port.
  • LabVIEW code for access and get a worked result.
  • LabVIEW code for close port.

You can specify what is the value that you would like to get by using "String subset" in LabVIEW and you can also adjust offset and lenght of string to get your wanted value. The table in page 136 will help you about data selecting, and config Sting subset at offset and lenght.

PS. Please make sure that you open port before you are tightening.

if you have any comment, please drop me your comment. Thank you.

 

https://github.com/PhongsitMisa/LabVIEW-communication-with-Atlas-Copco-controller-by-Using-Serial-Co...

 

Comments
Member VGAPL17
Member

Hi Misa_Phongsit,

I am Trying to read Tightening torque value from FP-4000 Module, I am trying the same code which you linked.

but not getting the values from controller. Is there any setting we need to do at controller side?,  to get the response.

We are using the Ethernet port 4545.

Need help !

Thanks

Vikram

Member VGAPL17
Member

Solved_The Torque And Angle Values Read From Atlas Copco PF-4000 Instrument over TCP/IP.Smiley Happy

 

Hardware Required.

PF-4000
PC with Lab-view 2016 Installed.
Ethernet Cable (Straight).

Reference Document:

OpenProtocol_W7.5.pdf from https://www.scribd.com/document/73140058/Atlas-Copco-Open-Protocol-V7-5

Read Torque Value and Angle Value Using Open Protocol.

Download the attached Vi Snippet. Driver.pngTCP DriverMain VI.pngMAIN VI

Set IP Address and Make Sure the Port 4545 is configured of PF-4000.

To Read the Value from PF Controller we need to do following things:
1) Open TCP/IP

2) Start Communication (MID 0001) Revision2 TO PF-4000.
   we Receive the Reply from PF-4000Smiley Sad00620002002     0100010000020003Bolt torquing M/C -002   04ACT)

3) Subscribe Result (MID 0060)TO PF-4000.
F/B from PF-4000: (00240005        00000060)

4) Alive Communication (MID 9999) TO PF-4000.
F/B from PF-4000Smiley Sad00209999        0000)

5) Read Values FROM PF-4000.( After every bolt Torquing it Gives following F/B)
Ex. F/B from PF-4000: 038500610021    0000010000020003Bolt torquing M/C -002   04                         
05000006001070208000030900001000001111221311411511611711811912000000000002100270022003300230030002400301325000002609999270000028000772900000300999931000003200033150340003500024036999900370000003800024039001600400000004100000000634200000430000044
      F0470858452018-08-21:13:15:18462018-08-17:09:24:21

6) Stop Communication (MID 0003)TO PF-4000.(You Can Directly close TCP port).

7) Close TCP/IP


2.2 Message structure (All The Instruction Send to controller is formed as per the instruction given in Messahe Structure)
it contained (Header+ End Message) Refer the OpenProtocol_W7.5.pdf for More Details.
All information sent over the communication links is ASCII format.
Also Refer
5 All messages to Read/Write Particular Parameter to PF-4000.

Thanks

Vikram

Contributors