Forum Replies Created
-
AuthorPosts
-
manjey73
ParticipantTransfer this file to your project folder
manjey73
ParticipantAnd in order to convert DateTime to the channel value, you need to add DateTime.ToOADate()
manjey73
Participantmanjey73
ParticipantWhat is time in Epoch format ?
Are you talking about Unix Time?-
This reply was modified 5 days, 14 hours ago by
manjey73.
manjey73
Participantcurl -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 neededexport PATH=”$PATH:/usr/share/dotnet”
or a link as in the RapidScada installation documentation
sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
May 14, 2023 at 7:34 pm in reply to: V6 Formula to extract 2 int8_t values from a Modbus ushort register #12586manjey73
ParticipantOr for example like this
For Low Byte
Mask Input channel 118 – X = (ushort)Val(118) && 0xFF00
Further – X || (ushort)CmdFor Older Byte
Mask Input channel 118 – X = ((ushort)Val(118)>>8) && 0xFF
Further – X || ((ushort)Cmd>>8)-
This reply was modified 3 weeks, 6 days ago by
manjey73.
May 14, 2023 at 7:28 pm in reply to: V6 Formula to extract 2 int8_t values from a Modbus ushort register #12585manjey73
ParticipantWell, 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 #12584manjey73
Participant2 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 on
May 14, 2023 at 7:18 pm in reply to: V6 Formula to extract 2 int8_t values from a Modbus ushort register #12583manjey73
ParticipantGet I 8 Byte Direct(Vol(118),0); Stat(118)
manjey73
ParticipantAs 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.
manjey73
ParticipantYou can transfer archives to another disk and limit their storage time. Thereby freeing up space
The administrator is not demanding of resources
manjey73
ParticipantAs 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 stringsmanjey73
ParticipantIt 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.
manjey73
ParticipantTo 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/
manjey73
ParticipantBogoMIPS : 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… -
This reply was modified 5 days, 14 hours ago by
-
AuthorPosts