Forum Replies Created
-
AuthorPosts
-
rapidscadaaks
ParticipantHi Mikhail
Many thanks for the solution. I have applied the solution as suggested and as of now it is working.
Please advise how to reset the value of Channel 103 to 0 everyday at say 6am or any other system time.
Thanks once again
rapidscadaaks
ParticipantHi,
Thanks for your reply. I could definitely try this out; please let me know how to go about configuring Channel 102 to increase by 1 every minute if value is 1. Kindly also advise how to reset Channel 102 everyday to zero.Many Thanks
rapidscadaaks
ParticipantHi Mikhail
Many thanks for the input. now it works.
Best
rapidscadaaks
ParticipantHi Mikhail
Thanks for the input. There are couple of issues in the suggested solution:
1. By using the Time Trigger, I can start a series of commands at a particular time of the day. Where do I set the seconds for running a particular command?
2. The cycle has to repeat after every x minutes. Where can I set this?
Thanks
rapidscadaaks
ParticipantHello Manjey
1. By resources I mean using 3 Digital Outputs. There is no issue otherwise in using the ACM
2. Please elaborate on the second para of your response (my apologies as I am new)
Thanks
rapidscadaaks
ParticipantHi Mikhail
I am using GetAnyBits below:
public double GetAnyBits(double val, int n, int mask = 1)
{
ulong ulVal = (ulong)val;
return (ulVal >> n) & (ulong)mask;
}The issue is of format.
When I use Hexadecimal, vales are same as General with addition of 3 places of decimal which are zeros. I could not understand how to try the B Format as there is no option for B. I am using version 6.Thanks
rapidscadaaks
ParticipantMany Thanks
rapidscadaaks
ParticipantMany Thanks for all your help
rapidscadaaks
Participantyes please. I need to see it is 10 i.e. in bit representation
Thanks
rapidscadaaks
ParticipantHi Manjey
Many thanks. I have understood.
Now there is only a small issue and request for your input.
The value which i am getting after the formula is in decimal eg 01 is shown as 1; 10 is coming as 2. Please suggest weak in the script so that I get the output as 01 or 10.Thanks
rapidscadaaks
ParticipantHi Manjey
Thanks.
As per manual of the device, Register 1080 size is 2 therefore has 16 bits and I need to read the (bit 3, bit 4 and bit 5), (bit 6 and bit 7) and so on.
I am however not clear of the (XXX) and 7 in the syntax you provided.
I also request you for Syntax for the examples above
Please help
Thanks in advance
rapidscadaaks
ParticipantThanks Manjey
Since I am new, I have few questions:
1. I will add the GetAnyBits .. to the scripts by editing the Scripts source code
2. For usage, lets say I want the 3rd, 4th and 5th bit, what would the syntax be?Thanks again
rapidscadaaks
ParticipantHi
I have connected a device to Rapid Scada using Modbus.
There are 8 Statues stored in the same address 1080.
Status A is in BIT0-1
Status B is in BIT2-3
Status C is in BIT4-6
Status D is in BIT7-9
Status E is in BIT10
Status F is in BIT11-12
Status G is in BIT13
Status H is in BIT14-15Using Bitmask, individual channels have been automatically created by Rapid Scada for each BIT with GetBit formula.
Please suggest formula to get 2 and 3 BITS in one Channel as required aboveMany Thanks
July 22, 2024 at 10:33 am in reply to: Notification if data not received from particular device #15000rapidscadaaks
ParticipantMany thanks Mikhail
Best
rapidscadaaks
ParticipantHi
Thanks for the tip. I have been to find a solution by using Modbus Slave functionality of Rapid Scada.
This solution however needs to be tested with 15 devices and I will update the results in few days.
Many thanks
-
AuthorPosts