Hardy HI6200 FactoryTalk Optix TCP Client

Home / FactoryTalk Optix / Hardy Process Solutions with FactoryTalk Optix

Description
Awesome HARDY weight processor integration in Ethernet TCP/IP with FactoryTalk Optix. Here a dll library to perform socket TCP transactions is used in C# to create a Netlogic code to implement such a weight reading.

You can find the code here
https://github.com/xavierflorensa/FactoryTalk_Optix_TCP_Client_HARDY

Contributed by Xavier Florensa – YouTubeLinkedInGitHub


Transcript
(00:01) Hi everybody. In this video, I will show you how to read the weight from Hardy weight processor with factory talk optics in uh Ethernet TCP IP. So in socket TCP we will be using library and C perform this transaction. So let’s first see the application. We will start it and try. First have to connect. Once connected, we can read those weights night weight and check the paper saber.
(00:58) And if we take the weight away, make a reading, we get zero. Put the weight again and print. So let’s see how this is done. We’re using a C. If we click here, we arrive this code that it’s done using this library when Arcus perform the socket TCP. can find this library here. Can download it’s a DL. It’s even written in Visual Studio, but it’s a binary. It’s a DL.
(02:01) We have everything explained here how to use this. And we just On the start, we assign a call back when a message received and so on. We will declare methods like sending messages. This number 6081 it’s the parameter to read the rose weight. So as soon as we click here we can ch this method
(03:08) cross. When you click here, you execute this method that you can find here and just sending this number and car return. The same with net weight. You can also check wave saver and whatever parameters you want. Here we can make the connection. You click the button to connect. to the remote IP of the white checker and the port 124 and this is the uh where you get the data and this is all you can find this code in GitHub.
(04:11) And this is all. I hope you enjoy it. So, thank you very much.