rapidscadaaks

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 64 total)
  • Author
    Posts
  • in reply to: Send Commond #16965
    rapidscadaaks
    Participant

    Hi
    Can you please clarify what chn1, chn2 and chn12 in the script suggested stand for ? Do they refer to Channel 1, Channel 2 and Channel 12 ?

    public bool TwoChannel (int chn1, int chn2)
    {
    bool chn12 = false;
    if (Val(chn1) == 1 && Val(chn2) == 2) chn12 = true;
    return chn12;
    }

    in reply to: “IF” Formula in channels #16964
    rapidscadaaks
    Participant

    Please guide for the following example:
    Channel AA is having value of 0 or 1 coming from a script which mentions “double”
    Channel BB is having a value between 0 and 4
    I would like Channel CC to return 1 if Channel AA is 1 and Channel BB is <=2 or >=3.5 else 0

    Thanks in advance

    in reply to: “IF” Formula in channels #16957
    rapidscadaaks
    Participant

    I created a Calculated Channel and observed that (||) works but (&&) does not work. Please guide

    Thanks

    in reply to: “IF” Formula in channels #16956
    rapidscadaaks
    Participant

    Hi
    I wanted guidance for the following example :
    Channel AA is having value of 0 or 1
    Channel BB is having a value between 0 and 4
    I would like Channel CC to return 1 if Channel AA is 1 and Channel BB is <=2 or >=3.5 else 0

    Thanks in advance

    in reply to: Logs #16843
    rapidscadaaks
    Participant

    Thanks. Issue resolved

    in reply to: Logs #16825
    rapidscadaaks
    Participant

    Hi Mikhail
    Thank you for indicating the solution.
    I am basically tracking status of individual devices on each of the Communication Lines and when any of the devices returns Status as 1, I receive a Telegram notification informing issue in the particular Communication Line. In this setup I do not know which device had the issue.
    As you have suggested, generating events for the individual devices would be helpful. In Rapidscada Channel configuration, there is “Event Mask”. If I set this to “Channel Status Has Changed”, some event would possible get logged when the Status changes to 1 which I can later review. Please assist / guide.

    Thanks

    in reply to: Logs #16817
    rapidscadaaks
    Participant

    Hi Mikhail

    I found the module log. The log however does not show which channel in the multi channel trigger caused the command to get fired (there are six channels with “OR” option and if any of the six returns 1 as a value, command gets fired). Please suggest.

    Thanks

    in reply to: Logs #16812
    rapidscadaaks
    Participant

    Hi
    The screenshot having various Command lines is from the log file
    The screenshot having Trigger configuration is from Automatic Control Module (“ACM”) page

    I am trying to rephrase my issue :

    There is a multichannel trigger configured in the ACM which checks status of various channels and if the value of any of the channels is 1, alert is sent using Telegram.
    What I need to know is which channel returned the value 1 causing the alert to be sent.

    I hope my above explanation is better

    Thanks

    in reply to: Logs #16810
    rapidscadaaks
    Participant

    https://ibb.co/6cx1CvYD
    https://ibb.co/YBMb0Prq

    Hi
    Above links contain images for ACM Trigger and Logs
    In the Logs there are lines Command with ID ….
    I need to see the details of the ID to know which of the Triggers failed.

    Basically, I need to troubleshoot to know which of the triggers in the multichannel trigger caused the command to be sent.

    Thanks

    • This reply was modified 7 months ago by Mikhail.
    in reply to: Logs #16808
    rapidscadaaks
    Participant

    ID starts with 7537….

    rapidscadaaks
    Participant

    Thanks Mikhai

    rapidscadaaks
    Participant

    Hi

    Thank you. Just one last question on this topic :
    Rapidscada stopped working with I added the above script. When I replaced “function” with “public”, Rapidscada started working. Please explain.

    Thanks

    rapidscadaaks
    Participant

    Hi Mikhai
    Many thanks. Just need a small tweak so that value 1 remains as 1 for a duration of 5 minutes each time. I think

    ==0 will need change

    Thank you once again

    rapidscadaaks
    Participant

    Hi Mikhail

    There are certain multichannel triggers already configured in ACM. I want these multichannel triggers to be active at certain times during the day, say at 0800, 1000, …. 2130 for a period of 30 minutes each time. I cannot use time trigger directly since combining time trigger with multichannel trigger is not feasible.
    I therefore considered creating a channel which gets updated to 1 at the required times and 0 at other times.
    If feasible, I would like to create a time trigger to write 1 in a created channel at required times and another time trigger to write 0 to the same channel 30 minutes after the “1” time. This channel would be added to the multichannel triggers and therefore would get triggered only if the value of the channel is 1.
    Please guide
    Thanks

    rapidscadaaks
    Participant

    Hi Mikhail

    Is it possible to use time trigger in ACM to write 0 or 1 to a channel ?

Viewing 15 posts - 16 through 30 (of 64 total)