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,716
Hello. I have a db which is 1000 INT, and this db is represented in WinCC as a raw data type set of 5x 400 Bytes. This set is read with a script...
Replies
1
Views
79
Hello Experts I am working on a project with WinCC Unified v16 PC system and want to create an option on the screen to export logs to the...
Replies
0
Views
69
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
121
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
125
Back
Top Bottom