TransSECS is a code/class generator. It flattens the structure of SECS/GEM messages and provides simple SET/GET methods for data access. Messages are received through simple event notifications.
Fast development in the TransSECS editor and easy integration with Java, .NET, C++, Python, JavaScript (including Node.js) and other scripting languages (check out the Wiki or contact us for examples). If you're building a tool, all you have to do is update the IDs and not worry about the structure of the messages. If you create a host, you can even get all your VIDs and CEIDs directly from the tool in your project, and you can set up all your reports directly in the editor. TransSECS will automatically send all required configuration messages (S1F13/S2F33/F35/F37, etc.) whenever it connects to the tool when you start your application and whenever TransSECS detects a connection loss and reconnects.
If you build your application programmatically in Java, .NET, or one of the other supported languages, you'll write much less code and much easier code because TransSECS already provides message matching, full connection management, including monitoring and reconnection, and initialization code. Three lines of code are required to initialize the entire SECS/GEM interface:
After that, your host is connected and fully configured, including communications and control, status management, and all reporting on the tool.
To collect data in a host app, simply sign up to receive notifications of events, reports, or values. In a tool application, you just need to update the values. Full examples are available in the Wiki (e.g. Java or .NET version)
Sending a message is just as easy
and you can simply sign up to receive messages
The generated code is thread-safe, and messages can be sent from any thread. Received messages are processed on a single thread to ensure that all messages are received in the correct order.
Finally, unlike our competitors with a long and complex initialization of the interface, only 3 lines of code are required with TransSECS!!