FT ME Script issue

obi1987

Member
Join Date
Jan 2014
Location
lahore
Posts
114
How i can perform this

If {[F1]DUTY_SELECTOR.1} OR {[F1]DUTY_SELECTOR.2} OR {[F1]DUTY_SELECTOR.3} ==1 AND {[F1]Duty_selection1_sum}==2 AND Timer.DN=1
Then
Expression
 
I done it
If {[F1]DUTY_SELECTOR.1} OR {[F1]DUTY_SELECTOR.2} OR {[F1]DUTY_SELECTOR.3} ==1
then
If {[F1]Duty_selection1_sum}==2
then
If {[F1]WAIT_STOP_TIMER1.DN}==1
then
15000/1000-{[F1]KICK_OUT_TIMER2.ACC}/1000
else
0
else
0
else
0
 
How i can perform this

If {[F1]DUTY_SELECTOR.1} OR {[F1]DUTY_SELECTOR.2} OR {[F1]DUTY_SELECTOR.3} ==1 AND {[F1]Duty_selection1_sum}==2 AND Timer.DN=1
Then
Expression

Also could have done it this way.

If ({[F1]DUTY_SELECTOR.1==1} OR {[F1]DUTY_SELECTOR.2==1} OR {[F1]DUTY_SELECTOR.3==1}) AND ({[F1]Duty_selection1_sum}==2) AND (Timer.DN=1))
Then
 

Similar Topics

Hi guys, It has been a while since I've posted here but wouldn't you know it, I am posting because I've reached the end of my thether after...
Replies
2
Views
6,690
Hello, I am learning to create shapes and VB Scripts in HMIWeb Display Builder. I wanted to change color of my rounded rectangle by script. I...
Replies
0
Views
101
Hello, I have a quick question. I have been using scripts to change the color of buttons. The reason, I am usually using multiple hmiruntime.tags...
Replies
1
Views
96
Hi All, I'm keep getting double quotes in between selections rather than the beginning and the end. Here's the script and please help to find...
Replies
7
Views
796
Dear guys, I am not a programmer but I can do simple things myself. I'm stuck with the following. if I want to extract a value from my rx3i...
Replies
46
Views
4,746
Back
Top Bottom