TIA Portal Multiuser server sessions from the command line
Multiuser engineering without the GUI: find the servers and their projects, add a project to a server, create and open a local session, and commit it back.
12 of the 351 verbs · TIA Portal V19, V20 and V21
tia list-servers- read-only: Project Server connections stored in the Portal configuration
tia list-server-projects --server HOST [--port N] [--http] [--keep-connection]- read-only: projects of the TIA Project Server, lock and local sessions
tia add-project-to-server --server ALIAS --file X.ap21 [--port N] [--http] [--apply]- publishes a single-user project on the server
tia create-session --server ALIAS --project P --name N --dir D [--exclusive] [--port N] [--http] [--apply]- creates a local session of the server project
tia open-session --file X.amc21 [--server-project]- opens an existing local session
tia delete-session --server ALIAS --project P --session ID [--port N] [--http] [--apply]- deletes the local session on the server
tia commit-session --comment "text" [--apply]- check-in of the local session: it saves, sends to the Project Server and CLOSES the session
tia list-server-groups --server ALIAS [--port N] [--http] [--keep-connection]- read-only: the groups of the Project Server and the projects of each one
tia list-markings [--conflicted]- read-only: what is marked for check-in in the LOCAL SESSION, object by object, with the mark state (IsMarkedByMe/IsMarkedByOthers/IsUptoDate)
tia mark-state --name X- read-only: mark state of one symbol (block, tag, table or UDT) plus whether it is markable at all
tia mark-object --name X [--apply]- marks the symbol for check-in in the local session
tia unmark-object --name X [--apply]- the pair of mark-object: takes the symbol out of the check-in
Common questions
How do I commit a TIA Portal Multiuser session from the command line?
tia create-session or tia open-session opens the local session and tia commit-session commits it back; tia list-servers and tia list-server-projects find the server and its projects, and tia add-project-to-server adds one.
Can I read Multiuser markings by command?
tia list-markings, tia mark-state, tia mark-object and tia unmark-object cover the markings, and tia list-server-groups the groups.
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
- Siemens Safety groups, signatures and printouts by command12 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