mwilliamsiei
Member
Why doesn't this work?
Dim Num As Integer
Num = 5
WriteValue Num, "Fix32.SCADA.TEST.F_CV"
The tag is an AI so I am not sure what I am doing wrong. "Num" will be a variable from another tag that is going to be passed from one PLC to an other. I would also take advise on how to write from one tag to another if there is another way to do it. After all that is what I am trying to do.
the error I am getting is:
Compile Error:
ByRef argument type mismatch
Dim Num As Integer
Num = 5
WriteValue Num, "Fix32.SCADA.TEST.F_CV"
The tag is an AI so I am not sure what I am doing wrong. "Num" will be a variable from another tag that is going to be passed from one PLC to an other. I would also take advise on how to write from one tag to another if there is another way to do it. After all that is what I am trying to do.
the error I am getting is:
Compile Error:
ByRef argument type mismatch