Building an action item through an expression

How would you write or can you write this expression. These are all opc tags. Where can I find info on writing expressions.

If value1 > Value2 then
Bit1=1 else
Bit1=0

Bind Bit1 to the expression: “value1 > Value2”.

You could also do:

Read about expressions in the FactoryPMI manual here.

[quote=“raw1312”]How would you write or can you write this expression. These are all opc tags. Where can I find info on writing expressions.

If value1 > Value2 then
Bit1=1 else
Bit1=0[/quote]