Forum Replies Created
-
AuthorPosts
-
manjey73ParticipantIf you already implemented to work on the Arduino for input variable then you only need the Automatic Control Module to send data of temperature change using Modbus just multiplying it by 10
You scetch is compared with the value 1000
Then everything will make your program in ArduinoOr you want to make an analog program the Arduino directly on Rapid Scada ?
-
This reply was modified 8 years, 5 months ago by
manjey73.
manjey73ParticipantYou need to do signal scaling from 0-100 to 0-5 ?
Describe the task more preciselyTo scale the signal, I used the formula
double Scaler (double input, double in_min, double in_max, double out_min, double out_max) { double out1 = 0; double out2 = 0; double output = 0; double diff = in_max - in_min; if (diff != 0) { if (input > in_max) out1 = in_max; else out1 = input; if (in_min > out1) out2 = in_min; else out2 = out1; output = (out_max - out_min) / diff * (out2 - in_min) + out_min; } return output; }Scaler(Val(121), 0, 100, 0, 5)
If the value of the measured signal in channel 121 is higher than 100, the output signal will be equal to 5 in this example, below 0, the output signal will be equal to 0-
This reply was modified 8 years, 5 months ago by
manjey73.
manjey73ParticipantThe number of characters promise to increase.
Now you can apply the formula to read data from a file, then 1000 characters may be enough, depending on the task.You can also share a formula and thereby increase the overall code.
-
This reply was modified 8 years, 6 months ago by
manjey73.
manjey73ParticipantYou can change the pictures from the Collection in a dynamic pattern depending on the received data.
On account of the text does not prompt, it works exactly in the tables through the base unit.dat
manjey73ParticipantAdd them to the database formulas and then use them in the input or output channels.
There are examples in Russian, use online translator.
There are errors due to features of this web. In some places instead of a dash is a long dash.Read more about formulas in the documentation Using Formulas
manjey73ParticipantYou can use additional channel formula timer and is already on the channel to configure ModeAutoControl
The timer is reset if the 1 will disappear. If you want to trigger on the pulse, then you can add RS trigger
There are various options if you are using formulas
manjey73ParticipantIt is not so simple. Part of the xml configuration do not work if this is set to true in another parameter. In this case, data is retrieved directly from the database
manjey73ParticipantFurther, on the Unix version it is not possible to find any command to configure the communication channels the way that it is described online in “Communication with Devices Configuration”. Considering that parameters such as PortName, BaudRate, DataBits etc. are not stored in the .DAT tables, how can they be configured, even if a Windows Workstation is used to set them?….. /scada/ScadaComm/Config – ScadaCommSvcConfig.xml
All the settings of the communication lines – port boadrate etc So there the configuration files, Email and all the rest of the equipment
Also see configuration files in ….. /scada/ScadaServer/Config
For example setting ModeAutoControl.xml if it is installed
I advise you to install Windows (trial version) in a virtual machine to understand what and where is and how is configured
-
This reply was modified 8 years, 6 months ago by
manjey73.
manjey73ParticipantIn the basic version, no limitations except the number of channels is 65535
Restrictions are only for paid modules
manjey73ParticipantThe presence or absence of the formula Val(102) in the entrance channel should not affect error and the inability of the server.
However, without this formula in the calculated input channel not received value from the output channel.-
This reply was modified 8 years, 7 months ago by
manjey73.
manjey73ParticipantIf the channel type is selected correctly for the input channel, there was a similar problem. It is necessary to update all the databases had something to do with them.
Also had an error in CalcEngine.cs.
Try the same formula on a different computer and a new installation of Scada to verify
manjey73ParticipantThe type of the input channel should be calculated (I do not know how it is in the English version is called)
That is, it should not be data from some device and it should be a formula Val(102)
-
This reply was modified 8 years, 7 months ago by
manjey73.
manjey73ParticipantShow a screenshot of the input channel 102 and specify what type of channel ?
manjey73ParticipantIn the output channel specified formula SetVal(65, Cmd)
In CalcEngine.cs entry looks like this:
public void CalcCmdVal65(ref double cmdVal) { try { BeginCalcCmdData(65, cmdVal, null); cmdVal = Convert.ToDouble(SetVal(65,Cmd)); } finally { EndCalcCmdData(); }}Why do you have so ?
Convert.ToDouble(SetVal(102,1))
-
This reply was modified 8 years, 5 months ago by
-
AuthorPosts