Browse, read and write OPC UA from the command line
An OPC UA client for the OT/IT boundary: read the server's own information, browse its address space, and read or write node values.
4 of the 351 verbs · TIA Portal V19, V20 and V21
tia ua-info --url opc.tcp://HOST:4840 [--user U --password-env VAR]- ring 0, no Portal needed: the endpoints the CPU's OPC UA server publishes
tia ua-browse --url U [--node ID] [--max 50] [--user U --password-env VAR]- ring 0, no Portal needed: children of the node, ready to paste into --node
tia ua-read --node ID [--node ID2] --url U [--user U --password-env VAR]- ring 0, no Portal needed: value, type, status and source timestamp of each node
tia ua-write --node ID=VALUE [--node ...] --url U [--user U --password-env VAR] [--apply] [--allow-physical]- ring 0, no Portal needed: writes node values
Common questions
Can Tia-Portal-CLI act as an OPC UA client?
Yes, with four verbs: tia ua-info, tia ua-browse, tia ua-read and tia ua-write.
How do I read an OPC UA node value from the command line?
tia ua-read reads the node; tia ua-browse finds its node id first.
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
- 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
- TIA Portal certificates, syslog and password policy by command5 verbs
- Check the TIA Portal environment, licences and knowledge base11 verbs