Is there a library for the SECS / GEM protocol?

I need to implement communication between my application and another PC using the industry standard SECS / GEM PV2 protocol.

Are there any libraries that I can use with Delphi? Google has not yet given me any useful results, maybe someone has experience with this protocol?

+4
source share
2 answers

The SECS High Speed ​​Messaging page contains the open source version:

FREESECS - an open source package of implementations of communication standards for semiconductor factories

FREESECS components are implemented in C and C ++. Currently available: HSMS (SEMI E37.1) and SECSII (SEMI E5).

Perhaps these components can be used with Delphi.

+1
source

Agileo Automation offers the SECS / GEM and PV2 library, which can be implemented either using the Microsoft COM / DCOM interface or using its own .NET API. Interaction with Delphi requires the use of COM compatibility.

A sample application is available that demonstrates the capabilities of the library in Microsoft Excel using VBA with COM compatibility.

The integration is quite simple and looks like this to send a Collection event with a variable:

Sub SendCollectionEvent() Dim CEID As String Dim SendCollectionEventStatus As Integer Dim value1 As New GEM.ValueObject Dim res As Boolean ' Get Collection Event value to send from an Excel cell CEID = Range("CEID").Text 'Update variable Call value1.SetValueAscii("Custom text description") res = objGEM.SetValue("11011", value1) ' Send the CE SendCollectionEventStatus = objGEM.SendCollectionEvent(CEID) ' Update status in Excel Range("SendCollectionEventStatus").value = SendCollectionEventStatus End Sub 

For more information, see Agileo Automation SECS / GEM and PV2 Library

0
source

Source: https://habr.com/ru/post/1391245/


All Articles