How to code this expression , Using tags from plc

They are standard threads.