Ekrem

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: How to report monthly totals per channel #16922
    Ekrem
    Participant

    I mean the number of records stored in the database for each channel during the month.

    Ekrem
    Participant

    Thank you for help problem solved

    In my case channel 114 is only an Output channel, not linked to a real device. That’s why simply using Val(114) didn’t work. As suggested, I used the formula:

    SetData(115, CmdVal, 1)

    Now the command value is written to channel 115 with a defined status, and the Dynamic Text element correctly shows the enumeration text (Mold Status 1, 2, 3). This solved the issue.

    Ekrem
    Participant

    Channel 114 – Output type, used to send the command with 3 options (1, 2, 3).

    Channel 115 – Input type, Data Type = Integer, Format = Mold Status (enumeration:
    1=Mold Status 1
    2=Mold Status 2
    3=Mold Status 3
    ).
    My goal is to show the selected option as text in a Dynamic Text element bound to channel 115.

    Should I simply set the Input Formula of channel 115 to Val(114) (or CnlData(114)) so that it mirrors the value of channel 114 and then uses the enumeration format to display the text?

    Ekrem
    Participant

    Thank you for the explanation. I already configured an output channel and linked it to the button, so the popup with the options (1, 2, 3) is working correctly.

    What I still need is to show the chosen option as text on the scheme in a Dynamic Text element (for example: “ Mold Status 1 / 2 / 3”). At the moment the command is sent, but the text box just shows —.

    Is there a recommended way in Rapid SCADA to pass the selected command value to another channel (or directly to a text element) so that the corresponding label from the command format is displayed on the scheme?

Viewing 4 posts - 1 through 4 (of 4 total)