Forum Replies Created
-
AuthorPosts
-
Dons
ParticipantIt works !!!
Dons
ParticipantIf I send a command on 21094 output channel, input channel 11094 is updated and the value is sent to the opc server. (OK)
If the output channel(60000) fornula is
SetVal(11094,5)
, only the local variable changes but doesn’t send the value to opc server.Dons
ParticipantNow works !!
Thanks so much for the help.
Dons
ParticipantMy application sends a command on output channel 5051 with SendStandardCommand function.
Scada server receives data and executes the formula.Formula must sets the value from my application to input channel 5050.
The formula SetValue(5050,Val(5051)) don’t works.
What is the correct formula for doing this
Dons
ParticipantMy settings are:
https://drive.google.com/file/d/1w0GY8lgSWRWkXHVkqoiTwmqQ7YukBly3/view?usp=sharing
and
https://drive.google.com/file/d/1Rxg3AKumI39IuDT9w92LCLXYa97qwDds/view?usp=sharing
1 – If the formula is SetVal(5050) the server log gives me the error CS1501.
2 – When the formula is SetVal(5050,33), I send the command on the output channel 5051 and the channel 5050 is set to 33.What is the right formula to set channel 5050 with value from my application ?
Dons
ParticipantDons
ParticipantSituation 1:
I have an input channel (2000) as an OPC device and an output channel (2001) to write channel 2000 value.This work !
Situation 2: (shared variable)
Ok, I declared an input channel like <undefined device> with the number 5000 and to write it the Output channel is 5001.Read the channel 5000 is not a problem but when I send a standard command on address 5001 nothing happens.
Why ?
Dons
ParticipantMy application gets and sets data using ScadaData.dll.
To send data I use the SendStandardCommand function.
Now I need a free Input / Output channel as a local variable to be able to write and read the value.Dons
ParticipantI found the problem. If I am connected to the opc server with more than 1 client, the second client is unable to send the commands. This is an opc server problems.
-
AuthorPosts