james-0000
Member
I am working with Step 7 and WinCC Flexible 2007. I am trying to setup alarms.
What i have done:
1. Created a DB(Say DB 4) with all the alarms.
2. In WinCC I have added the tag (DB 4 DBW 0) with a data type set as INT and an array as 15.
3. In the discrete alarms I have taken that tag and set up my alarms.
All is good and I can get my alarms to show up, but I am having problems finding the right trigger bit to use. So i am spending a lot of time trying to calculate what the trigger bit should be set to in WinnCC.
My DB 4 has its first alarm at Address 1.1 and then it just keeps incrementing by 1 for each alarm.
So first group is (1.1-1.7) next group is (2.0-2.7) and so on.
Address
1.1 = Trigger Bit 1
1.2 = Trigger Bit 2
1.3 = Trigger Bit 3
1.7 = Trigger Bit 7
2.0 = Trigger Bit 24 (What just happend?)
I know the bytes are swapped in Siemens, but I am having a hard time understanding how this addressing works?
Thanks.
What i have done:
1. Created a DB(Say DB 4) with all the alarms.
2. In WinCC I have added the tag (DB 4 DBW 0) with a data type set as INT and an array as 15.
3. In the discrete alarms I have taken that tag and set up my alarms.
All is good and I can get my alarms to show up, but I am having problems finding the right trigger bit to use. So i am spending a lot of time trying to calculate what the trigger bit should be set to in WinnCC.
My DB 4 has its first alarm at Address 1.1 and then it just keeps incrementing by 1 for each alarm.
So first group is (1.1-1.7) next group is (2.0-2.7) and so on.
Address
1.1 = Trigger Bit 1
1.2 = Trigger Bit 2
1.3 = Trigger Bit 3
1.7 = Trigger Bit 7
2.0 = Trigger Bit 24 (What just happend?)
I know the bytes are swapped in Siemens, but I am having a hard time understanding how this addressing works?
Thanks.