teckhno2002
Member
I have this situation in a Global Script (Action)
v(1) is associated to “tag1” from WINCC
v(2) is associated to “tag2” from WINCC
v(3) is associated to “tag3” from WINCC
dim v(3), t(3), i,
For i= 1 to 3
If t(i) <256 Then
v(i) = 1 ‘v(i) must be writen into the appropiate WINCC tag .That means
‘v(1) to “tag1”, v(2) to “tag2”, v(3) to “tag3”.
Else
v(i)=0
End if
Next
[FONT="]
How can I send the element [/FONT][FONT="]of the matrix [/FONT][FONT="]v(i) to the WINCC tag in this specific case?
[/FONT]
v(1) is associated to “tag1” from WINCC
v(2) is associated to “tag2” from WINCC
v(3) is associated to “tag3” from WINCC
dim v(3), t(3), i,
For i= 1 to 3
If t(i) <256 Then
v(i) = 1 ‘v(i) must be writen into the appropiate WINCC tag .That means
‘v(1) to “tag1”, v(2) to “tag2”, v(3) to “tag3”.
Else
v(i)=0
End if
Next
[FONT="]
How can I send the element [/FONT][FONT="]of the matrix [/FONT][FONT="]v(i) to the WINCC tag in this specific case?
[/FONT]