manjey73

Forum Replies Created

Viewing 15 posts - 916 through 930 (of 974 total)
  • Author
    Posts
  • in reply to: Install ScadaServer and ScadaCommunicator Separately #3662
    manjey73
    Participant

    yes

    in reply to: integrating an Arduino device #3650
    manjey73
    Participant

    You need to implement Modbus slave device on Arduino

    in reply to: Any questions about Rapid SCADA and Raspberry Pi #3607
    manjey73
    Participant

    https://ru.aliexpress.com/item/Free-Shipping-2PCS-LOT-5V-8-Channel-Relay-Module-Board-for-Arduino-PIC-AVR-MCU-DSP/2042682698.html?spm=a2g0s.9042311.0.0.S49pHe

    I used a relay Board that is controlled by a minus. Therefore, for convenience, I’ve done inversion of control commands and control. If you use this fee-free formulas then 0 will turn relay 1 off relay

    in reply to: Any questions about Rapid SCADA and Raspberry Pi #3594
    manjey73
    Participant

    After you have configured the Communicator and transferred the data to the Raspberry Pi and rebooted scadacomm, you will see the kpXXX file in the folder ScadaComm\log.txt, which you have attached to GPIO channels.In it you will see the table included with the numbering of gpio signals. Use this numbering in the input and control channels

    in reply to: Any questions about Rapid SCADA and Raspberry Pi #3593
    manjey73
    Participant
    in reply to: Any questions about Rapid SCADA and Raspberry Pi #3579
    manjey73
    Participant

    I created channels manually, because this mechanism is not implemented in the driver, if I can judge correctly.

    in reply to: Any questions about Rapid SCADA and Raspberry Pi #3573
    manjey73
    Participant

    screen 1
    screen 1

    screen2
    screen 2

    screen 3

    No, it is not Modbus, you have to make similar settings in the administrator of Scada for GPIO.

    • This reply was modified 8 years, 4 months ago by manjey73.
    • This reply was modified 8 years, 4 months ago by manjey73.
    in reply to: Any questions about Rapid SCADA and Raspberry Pi #3571
    manjey73
    Participant

    You must set the checkboxes to change direction to OUT. On the idea of under such a a combination of will are engaged physical contacts 3 and 5

    in reply to: Any questions about Rapid SCADA and Raspberry Pi #3570
    manjey73
    Participant

    https://github.com/Manjey73/OpnenKPs/blob/master/KpRpi3/Readme.md

    Have you read the description in English from the link above ?

    Executed the command sudo gpio readall ? The given command will display the table of numbering of the contacts in BCM format and GPIO format. When you configure channels on Windows, the channels are numbered in BCM format. The output of this command you can understand which pin number corresponds to bcm numbering.

    https://i.stack.imgur.com/h4rgc.png – It is necessary to focus on the BCM numbering

    Settings GPIO

    in reply to: Value scaling #3495
    manjey73
    Participant

    Can you catch and fix a screenshot ? Just online translation I do not understand what you mean ?

    in reply to: Value scaling #3485
    manjey73
    Participant
    double Scaler (double input, double in_min, double in_max, double out_min, double out_max)
    
    {
    double out1 = 0;
    double out2 = 0;
    double output = 0;
    double diff = in_max - in_min;
    
    if (diff != 0)
    {
    if (input > in_max) out1 = in_max;
    else out1 = input;
    if (in_min > out1) out2 = in_min;
    else out2 = out1;
    output = (out_max - out_min) / diff * (out2 - in_min) + out_min;
    }
    return output;
    }

    This site automatically changes the minus sign on the dash. Try to rewrite the formula from the code or correct hands.

    The entry of the formula seems correct

    in reply to: Communicator does not popup #3469
    manjey73
    Participant

    When you start Communicator and Server, it does not open the program window, but it starts minimized and its icons are located in the system tray

    in reply to: Communicator does not popup #3463
    manjey73
    Participant

    Communicator runs in the system tray, we take account of it.

    in reply to: Any questions about Rapid SCADA and Raspberry Pi #3449
    manjey73
    Participant

    You need to set the connection driver in the xml file by specifying the bit mask settings.

    example ScadaCommSvcConfig.xml

    <!--Линия 6-->
        <CommLine active="true" bind="true" number="6" name="RPi">
          <CommChannel type="" />
          <LineParams>
            <Param name="ReqTriesCnt" value="1" descr="Количество попыток перезапроса КП при ошибке" />
            <Param name="CycleDelay" value="0" descr="Задержка после цикла опроса, мс" />
            <Param name="CmdEnabled" value="true" descr="Команды ТУ разрешены" />
            <Param name="ReqAfterCmd" value="false" descr="Опрос КП после команды ТУ" />
            <Param name="DetailedLog" value="true" descr="Записывать в журнал подробную информацию" />
          </LineParams>
          <CustomParams />
          <ReqSequence>
            <KP active="true" bind="true" number="52" name="GPIO Raspberry" dll="KpRpi3.dll" address="1" callNum="" timeout="1000" delay="200" time="00:00:00" period="00:00:00" cmdLine="268435439;268435455;268435455;268435455;1;" />
          </ReqSequence>
        </CommLine>

    It is also necessary to specify the communication line in the databases of the Scada server using a Windows PC and then transferred to the Raspberry Pi. You can also customize and Communicator

    in reply to: Any questions about Rapid SCADA and Raspberry Pi #3387
    manjey73
    Participant

    On Raspberry Pi2 was not tested work with GPIO, if you have Pi2 B+, then the numbering of GPIO must be the same. You can check it using the utility.
    sudo gpio readall

    This way you will get a table of outputs and outputs of your version of Raspberry. Then connect the driver to the Windows PC and start the settings. Disable the checkbox in the use GPIO column on unused inputs or outputs, determine the remaining destination input or output as well as power lift.

    The driver uses the WiringPi library and does not access GPIO directly.

Viewing 15 posts - 916 through 930 (of 974 total)