Tia-Portal-CLI

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.

Start a 14-day free trial

Other verb families