Tia-Portal-CLI

Read and write live PLC values over S7 runtime

The only family that does not need a TIA Portal session at all. It talks to a running PLC: browse the address space, read and write values, and read or acknowledge alarms.

5 of the 351 verbs · TIA Portal V19, V20 and V21

tia rt-browse --user U --password-env VAR [--url https://localhost/graphql/] [--filter F*]
ring 0, no Portal needed
tia rt-read --tag NAME [--tag NAME2] --user U --password-env VAR [--url U]
ring 0, no Portal needed: current value, timestamp and quality of RT tags, read directly from the PLC (directRead)
tia rt-alarms --user U --password-env VAR [--url U] [--filter CQL]
ring 0, no Portal needed: active alarms of the RT
tia rt-write --tag NAME=VALUE [--tag ...] --user U --password-env VAR [--url U] [--apply]
ring 0, no Portal needed: writes RT tags
tia rt-ack --alarm NAME[:INSTANCE] [--alarm ...] --user U --password-env VAR [--url U] [--apply]
ring 0, no Portal needed: acknowledges active alarms

Common questions

How do I read a live PLC value without TIA Portal?

tia rt-read reads over the S7 runtime connection, with tia rt-browse for the address space and tia rt-write to write. This is the only family that needs no TIA Portal session at all.

Can I acknowledge PLC alarms from a script?

tia rt-alarms lists the alarms and tia rt-ack acknowledges them.

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