Forum Replies Created
-
AuthorPosts
-
rapidscadaaks
ParticipantHi
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;
}rapidscadaaks
ParticipantPlease 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 0Thanks in advance
rapidscadaaks
ParticipantI created a Calculated Channel and observed that (||) works but (&&) does not work. Please guide
Thanks
rapidscadaaks
ParticipantHi
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 0Thanks in advance
rapidscadaaks
ParticipantThanks. Issue resolved
rapidscadaaks
ParticipantHi 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
rapidscadaaks
ParticipantHi 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
rapidscadaaks
ParticipantHi
The screenshot having various Command lines is from the log file
The screenshot having Trigger configuration is from Automatic Control Module (“ACM”) pageI 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
rapidscadaaks
Participanthttps://ibb.co/6cx1CvYD
https://ibb.co/YBMb0PrqHi
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.
rapidscadaaks
ParticipantID starts with 7537….
August 8, 2025 at 12:56 am in reply to: Auto Control Module : Multichannel Trigger between specific time #16800rapidscadaaks
ParticipantThanks Mikhai
August 7, 2025 at 1:43 am in reply to: Auto Control Module : Multichannel Trigger between specific time #16796rapidscadaaks
ParticipantHi
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
August 6, 2025 at 1:03 am in reply to: Auto Control Module : Multichannel Trigger between specific time #16793rapidscadaaks
ParticipantHi 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
August 4, 2025 at 11:27 am in reply to: Auto Control Module : Multichannel Trigger between specific time #16788rapidscadaaks
ParticipantHi 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-
This reply was modified 7 months, 1 week ago by
rapidscadaaks.
August 4, 2025 at 10:58 am in reply to: Auto Control Module : Multichannel Trigger between specific time #16786rapidscadaaks
ParticipantHi Mikhail
Is it possible to use time trigger in ACM to write 0 or 1 to a channel ?
-
This reply was modified 7 months ago by
-
AuthorPosts