Forum Replies Created
-
AuthorPosts
-
manjey73
ParticipantOutput Formula is not a channel number, but a formula.
Command Code = tag 4 and not just 4manjey73
ParticipantScada Admin works under Windows and all settings are made from there with subsequent transfer to the server.
Or the option to run Scada Admin under Wine.manjey73
ParticipantWORD = 16
DWORD = 32July 3, 2023 at 7:18 am in reply to: Cannot skip to the next one when the 1st element of Modbus RTU encounters error #12926manjey73
ParticipantI don’t know how it was done in the 6th version, but in the 5th it is, after unsuccessful attempts, all other groups were not requested. This is the default action.
manjey73
ParticipantSwitch the operating mode in Read Input Registers
manjey73
ParticipantYou yourself wrote the formula how it is possible. If you need to send commands directly to the devices, then you need an automatic control module.
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 2 years, 4 months 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 2 years, 4 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 #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)
-
This reply was modified 2 years, 4 months ago by
-
AuthorPosts