Mikhail

Forum Replies Created

Viewing 15 posts - 4,006 through 4,020 (of 6,218 total)
  • Author
    Posts
  • in reply to: String dynamic text change according input channel value #5787
    Mikhail
    Moderator

    Hi,

    Am I miss something?

    May be a little bit. Please provide links to screenshots of the settings you made. And I will check.

    in reply to: Modbus communication error #5785
    Mikhail
    Moderator

    Thank you for the info.

    in reply to: Automatic control module installation error #5784
    Mikhail
    Moderator

    Hello,

    You should rightclick the ModAutoControl.dll and unblock it.

    in reply to: String dynamic text change according input channel value #5781
    Mikhail
    Moderator

    Hi,

    function double MyFunc()

    in reply to: Modbus communication error #5780
    Mikhail
    Moderator

    Hello,

    Working with Modbus devices was not changed in Rapid SCADA 5.7. From the log we can see that the device doesn’t respond. You should check serial connection.

    in reply to: String dynamic text change according input channel value #5776
    Mikhail
    Moderator

    Hi,

    Please find the error details in C:\SCADA\ScadaServer\Log\ScadaServerSvc.log and copy the error message here.

    in reply to: How write output values with opc communication #5775
    Mikhail
    Moderator

    Open Line Parameters, Main Parameters page and tick “Commands enabled”.
    Upload the project to the server.

    in reply to: How write output values with opc communication #5769
    Mikhail
    Moderator

    Hello,
    The actions below relate to Communicator settings available in the Administrator app.

    1. Double click the node of your device to open the device data form.
    2. Click the Properties button. The OPC device properties form opens.
    3. Select “Write data” node in the right tree.
    4. In the left tree, double click the item you need to write. It is added to the right tree.
    5. Click Save and close the form.
    6. Click command button and try sending commands.
    7. You should see sent commands in the opened device data widow.
    8. If commands don’t work, find sending command action in a communication line log (Line Stats > Line Log). You can find full log file in C:\SCADA\ScadaComm\Log\lineXXX.log

    When the above work, I can explain how to bind commands to user interface. Otherwise, send screenshots and logs.

    in reply to: OPC write value issue-IBH opc server #5767
    Mikhail
    Moderator

    Hello,

    Please create a new topic in https://forum.rapidscada.org/?forum=communicating-with-devices/opc
    This topic is not relevant to the question.

    Provide information what Rapid SCADA version do you use?
    Did you do some settings to write data or have no idea how to do it?

    in reply to: String dynamic text change according input channel value #5763
    Mikhail
    Moderator

    Hi,

    1. Create a new record in the Units table with Sign =
    -; Stop; Manual; Auto

    See “No; Yes” for example.

    2. Create a new formula in the Furmulas table. Something like that:

    function double MyFunc()
    {
      switch ((int)Cnl)
      {
        case 3:
          return 1;
        case 4:
          return 2;
        case 5:
          return 3;
        default:
          return 0;
      }
    }

    3. For your input channel set formula to MyFunc() and set unit to the unit you created.

    in reply to: Show latest event formula #5759
    Mikhail
    Moderator

    Hi,

    You should create an extra input channel of the calculated type.
    In the channels of particular doors use SetVal(…) to set the calculated channel.

    in reply to: Dashboard Application Error #5753
    Mikhail
    Moderator

    it s okay now

    Thanks for noticing.

    in reply to: Using Number Format #5748
    Mikhail
    Moderator

    The current solution is not beautiful.

    Use a formula for an input channel:
    EncodeAscii(((UInt16)Cnl).ToString(“X4”))

    And set the Format field to ASCII text

    in reply to: Read individual holding register #5747
    Mikhail
    Moderator

    This code performs bit operations. It uses C# syntax. You can find &, >> in C# documentation.
    Val() gets the channel value.

    in reply to: Read individual holding register #5741
    Mikhail
    Moderator

    Hi,
    The idea I wrote before is true.

    For example, to get bits 5-8, you need a formula:
    ((UInt16)Val(101) & 0x0078) >> 4
    where 101 is the source input channel.
    Note: I didn’t test the formula.

Viewing 15 posts - 4,006 through 4,020 (of 6,218 total)