Forum Replies Created
June 6, 2023 at 9:47 am in reply to: OPC Ua error #12767
Transfer this file to your project folderJune 5, 2023 at 6:17 am in reply to: Epoch time to Time date convert #12754
And in order to convert DateTime to the channel value, you need to add DateTime.ToOADate()June 5, 2023 at 6:15 am in reply to: Epoch time to Time date convert #12753June 5, 2023 at 6:12 am in reply to: Epoch time to Time date convert #12751
What is time in Epoch format ?
Are you talking about Unix Time?
June 1, 2023 at 3:01 pm in reply to: Installation 6.1.2 in Raspberry Pi #12747
- This reply was modified 5 days, 14 hours ago by manjey73.
curl -sSL https://dot.net/v1/dotnet-install.sh | sudo bash /dev/stdin --channel LTS --runtime aspnetcore --install-dir /usr/share/dotnet/
Try to install via a script from Microsoft
Add a path as needed
or a link as in the RapidScada installation documentation
sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnetMay 14, 2023 at 7:34 pm in reply to: V6 Formula to extract 2 int8_t values from a Modbus ushort register #12586
Or for example like this
For Low Byte
Mask Input channel 118 – X = (ushort)Val(118) && 0xFF00
Further – X || (ushort)Cmd
For Older Byte
Mask Input channel 118 – X = ((ushort)Val(118)>>8) && 0xFF
Further – X || ((ushort)Cmd>>8)
May 14, 2023 at 7:28 pm in reply to: V6 Formula to extract 2 int8_t values from a Modbus ushort register #12585
- This reply was modified 3 weeks, 6 days ago by manjey73.
Well, bind the control command to the required channel that you are changing. To change the major and minor bytes, the write formulas will be different, just as you have made the formulas for obtaining the minor and major bytes different.May 14, 2023 at 7:26 pm in reply to: V6 Formula to extract 2 int8_t values from a Modbus ushort register #12584
2 One of the ways. You need to turn the CmdVal into a byte, Then, depending on whether it is older or younger, add it with the calculated byte of the second half and only then send the command. For example, if you change the highest byte. (Convert.Toint16(Cmd) >> 8) || Convert Uint16(Val(119)) where 119 is the value that you do not change and it is the lowest byte. Something like that
I haven’t checked. Perhaps you can solve it differently or turn it into bytes beforehand, or apply a mask, and so onMay 14, 2023 at 7:18 pm in reply to: V6 Formula to extract 2 int8_t values from a Modbus ushort register #12583
Get I 8 Byte Direct(Vol(118),0); Stat(118)May 3, 2023 at 11:32 am in reply to: Structure of many instances #12531
As for the support of discrete I/O, it can be supported through the gpiod library. At the moment I’m trying to make a driver for this library and RapidScada version 6. But as far as I understand, it either does not support analog inputs and outputs, or it depends on the equipment for which the assembly is made. I use Orange Pi+2E and judging by the code there is no support for analog inputs/outputs. Well, actually, such computers do not have galvanic isolation of inputs / outputs, all pins lead to the inputs of the SoC processor.April 6, 2023 at 7:05 am in reply to: PC get slower #12376
You can transfer archives to another disk and limit their storage time. Thereby freeing up space
The administrator is not demanding of resourcesApril 5, 2023 at 7:08 am in reply to: modbus transfer string value #12365
As far as I understand, you need to combine several registers into an array and specify a channel with the required data length. And in the Format to indicate that this channel is UNICODE or ASCII.
I haven’t tried it myself yet, but it seems like this is how you need to work with stringsMarch 13, 2023 at 8:14 am in reply to: Rapidscada in Debian (on IoT2050) #12221
It makes sense to use the Microsoft script installation command to understand whether it recognizes the processor or swears that there is no support for your processor.March 13, 2023 at 6:11 am in reply to: Rapidscada in Debian (on IoT2050) #12220
To install when using a script with Microsoft, you need to install curl
apt-get install curl
and give the command below, if Microsoft determines your processor and there is a dotnet for it, it should install the required packages.
curl -sSL https://dot.net/v1/dotnet-install.sh | sudo bash /dev/stdin –channel LTS –runtime aspnetcore –install-dir /usr/share/dotnet/March 13, 2023 at 6:07 am in reply to: Rapidscada in Debian (on IoT2050) #12219
BogoMIPS : 400.00
You have a strange processor.
1. It may not be supported by Microsoft
2. but it seems like dotnet is installed, maybe it is put in another folder on your system…