manjey73

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 475 total)
  • Author
    Posts
  • in reply to: OPC Ua error #12767
    manjey73
    Participant

    Transfer this file to your project folder

    in reply to: Epoch time to Time date convert #12754
    manjey73
    Participant

    And in order to convert DateTime to the channel value, you need to add DateTime.ToOADate()

    in reply to: Epoch time to Time date convert #12753
    manjey73
    Participant
    in reply to: Epoch time to Time date convert #12751
    manjey73
    Participant

    What is time in Epoch format ?
    Are you talking about Unix Time?

    • This reply was modified 5 days, 14 hours ago by manjey73.
    in reply to: Installation 6.1.2 in Raspberry Pi #12747
    manjey73
    Participant

    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

    export PATH=”$PATH:/usr/share/dotnet”

    or a link as in the RapidScada installation documentation

    sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet

    manjey73
    Participant

    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)

    • This reply was modified 3 weeks, 6 days ago by manjey73.
    manjey73
    Participant

    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.

    manjey73
    Participant

    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 on

    manjey73
    Participant

    Get I 8 Byte Direct(Vol(118),0); Stat(118)

    in reply to: Structure of many instances #12531
    manjey73
    Participant

    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.

    in reply to: PC get slower #12376
    manjey73
    Participant

    You can transfer archives to another disk and limit their storage time. Thereby freeing up space

    The administrator is not demanding of resources

    in reply to: modbus transfer string value #12365
    manjey73
    Participant

    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 strings

    in reply to: Rapidscada in Debian (on IoT2050) #12221
    manjey73
    Participant

    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.

    in reply to: Rapidscada in Debian (on IoT2050) #12220
    manjey73
    Participant

    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/

    in reply to: Rapidscada in Debian (on IoT2050) #12219
    manjey73
    Participant

    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…

Viewing 15 posts - 1 through 15 (of 475 total)