Forum Replies Created
-
AuthorPosts
-
manjey73Participant
manjey73ParticipantWhat is time in Epoch format ?
Are you talking about Unix Time?-
This reply was modified 2 years, 10 months ago by
manjey73.
manjey73Participantcurl -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 #12586
manjey73ParticipantOr 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 2 years, 11 months 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 #12585
manjey73ParticipantWell, 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
manjey73Participant2 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 #12583
manjey73ParticipantGet I 8 Byte Direct(Vol(118),0); Stat(118)
manjey73ParticipantAs 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.
manjey73ParticipantYou can transfer archives to another disk and limit their storage time. Thereby freeing up space
The administrator is not demanding of resources
manjey73ParticipantAs 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 strings
manjey73ParticipantIt 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.
manjey73ParticipantTo install when using a script with Microsoft, you need to install curl
apt-get install curland 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/
manjey73ParticipantBogoMIPS : 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…
manjey73Participantcurl -sSL https://dot.net/v1/dotnet-install.sh | sudo bash /dev/stdin –channel LTS –runtime aspnetcore –install-dir /usr/share/dotnet/
The translator fussed 🙂
Copied files do not mean that dotnet is installed and running.
manjey73ParticipantShow the output of the command
cat /proc/cpuinfo
-
This reply was modified 2 years, 10 months ago by
-
AuthorPosts