system.secsgem
SECS/GEM Functions
The following functions allow you to interact with equipment defined by the SECS/GEM module. Note that the SECS/GEM module must be installed before these functions will be accessible.
📄️ copyEquipment
Creates a copy of an equipment connection.
📄️ deleteToolProgram
Deletes a process program from the Gateway.
📄️ enableDisableEquipment
Enables or disables a Tuple of equipment connections from a script.
📄️ getResponse
Attempts to retrieve a response message from the Gateway.
📄️ getToolProgram
Returns a process program from the Gateway that was previously sent by a a tool in an S7F3 message.
📄️ getToolProgramDataset
Returns a Dataset containing information about all stored process programs.
📄️ sendRequest
Sends a JSON-formatted SECS message to a tool.
📄️ startSimEventRun
Starts a configured simulator event run in the Gateway.
📄️ toDataset
Converts a SECS message data structure, as returned by the system.secsgem.getResponse function, into a dataset and returns it.
📄️ toTreeDataset
Changes an existing dataset, as returned by the system.secsgem.toDataSet function, to make it usable for the Tree View component.
📄️ sendResponse
Sends a JSON-formatted SECS response message to a message sent by a tool.