system.secsgem.deleteToolProgram
This function is used in Python Scripting.
Description​
Deletes a process program from the Gateway.
Client Permission Restrictions​
Permission Type: SECS/GEM Management
Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when called in the Gateway scope.
Syntax​
system.secsgem.deleteToolProgram(ppid)
Parameters​
Type | Parameter | Description |
---|---|---|
String | ppid | The PPID that was sent from the tool when the S7F3 message was saved. |
Returns​
Nothing
Scope​
Vision Client
Code Examples​
Code Snippet
# Name of the Tool Program that will be deleted
targetProgram = "Old Program"
system.secsgem.deleteToolProgram(targetProgram)