Siemens Safety groups, signatures and printouts by command
Safety configuration is auditable by design, and these verbs read exactly what an audit asks for: the groups, the settings, the collective signature, the printout, and the generated base ID.
12 of the 351 verbs · TIA Portal V19, V20 and V21
tia safety-info [--plc N]- read-only: the F-program of the PLC
tia list-safety-groups [--plc N] [--name X]- read-only: the runtime groups of the F-program
tia create-safety-group --name N [--block B] [--apply]- a runtime group brings its own F-OB
tia delete-safety-group --name N [--apply]- takes the F-OB of the group with it
tia set-safety-setting [--name A] [--value V] [--apply]- one setting by attribute name, looked up in SafetySettings, then AssignmentOfBlockNumbers, then GlobalSettings
tia safety-signatures [--plc N] [--like X]- read-only: the F-signature of each block (SafetySignatureProvider), against safety-info which gives the signatures of the whole PROGRAM
tia export-safety-printout [--plc N] [--out FILE] [--printer pdf|xps] [--kind all|compact] [--layout NAME]- the safety printout the acceptance test asks for
tia generate-safety-baseid [--plc N] [--apply]- generates the F-BaseID and distributes it to every PROFIsafe type 3 F-IO
tia list-safety-tests [--name X]- read-only: activation tests of the Safety Validation Assistant, the safety functions of each test, the conditions of each function, and the validity the Portal itself computes) [verb: V21 only
tia create-safety-test --name N [--device D] [--apply]- without --device it answers with the possible evaluation devices
tia delete-safety-test --name N [--apply]- removes the test WITH its safety functions
tia export-safety-test-report --name N [--file F.xlsx] [--out DIR]- the .xlsx report of one activation test (ActivationTestPrintout)
Common questions
How do I read the collective signature of a Siemens Safety program?
tia safety-signatures. tia export-safety-printout writes the printout an audit asks for and tia generate-safety-baseid the generated base ID.
Can Siemens Safety configuration be audited without opening TIA Portal?
Yes. tia safety-info, tia list-safety-groups, tia list-safety-tests and tia export-safety-test-report read exactly what an audit asks for, and change nothing.
Run these verbs on your own project
Every verb above takes JSON on the way out and plain flags on the way in. Tia-Portal-CLI is local and on-premise: nothing is sent to a cloud service, and
every write is a preview until you pass --apply. 14-day free trial, e-mail only,
no card.
Other verb families
- Open, create and archive a TIA Portal project from the command line11 verbs
- Read a Siemens TIA Portal project from the command line123 verbs
- Create, move and delete TIA Portal blocks and folders12 verbs
- Configure Siemens PLC hardware from the command line46 verbs
- Generate and import TIA Portal blocks in SCL and ladder46 verbs
- Install and harmonise a TIA Portal global library by command24 verbs
- WinCC Unified screens and tags from the command line26 verbs
- TIA Portal Multiuser server sessions from the command line12 verbs
- Download, upload and compare a Siemens PLC online9 verbs
- Run and inspect PLCSIM from the command line5 verbs
- Read and write live PLC values over S7 runtime5 verbs
- Browse, read and write OPC UA from the command line4 verbs
- TIA Portal certificates, syslog and password policy by command5 verbs
- Check the TIA Portal environment, licences and knowledge base11 verbs