Hi
I made 2 I/O fields and I connected Tag_1 and Tag_2
Then I wrote this in Script_1:
Dim Mitsu = Int
Dim S7 = Int
Mitsu = SmartTags("Tag_1")
S7 = SmartTags("Tag_2")
Mitsu = S7
I want the value of Tag_1 connected with the value of Tag_2.
I'm doing this because I have 2 connections on this panel, one to a mitsubishi and one to and S7. So I want a connection between the PLC's of 1 tag via the panel.
But the code doesn't work, for you vb script spcialists, this must be easy ?? I don't know anything about scripting, this is the first I'm writing
greets
I made 2 I/O fields and I connected Tag_1 and Tag_2
Then I wrote this in Script_1:
Dim Mitsu = Int
Dim S7 = Int
Mitsu = SmartTags("Tag_1")
S7 = SmartTags("Tag_2")
Mitsu = S7
I want the value of Tag_1 connected with the value of Tag_2.
I'm doing this because I have 2 connections on this panel, one to a mitsubishi and one to and S7. So I want a connection between the PLC's of 1 tag via the panel.
But the code doesn't work, for you vb script spcialists, this must be easy ?? I don't know anything about scripting, this is the first I'm writing
greets