Skip to main content
Version: 8.1

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​

TypeParameterDescription
StringppidThe 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)

Keywords​

system secsgem deleteToolProgram, secsgem.deleteToolProgram