Dear members
I need in step 7 a alarm buffer. I made a little progam (See below) but it doesn't work. So if i get a alarm in DB110.DBW84 and M100.0 is set the alarm is transfering to DB1.DBW0.
When there is a new alarm and M100.0 is set to one, the data in DB1.DBW0 is transfered to DB1.DBW2 and the new alarm is Transferred to DB1.DBW0. I test the program in S7Sim but it doesn't work. Do someone know the problem?
A M100.0
OPN DB 1
L DBW 6
T DBW 8
L DBW 4
T DBW 6
L DBW 2
T DBW 4
L DBW 0
T DBD 2
L DB110.DBW84 <== This is a db with my alarms.
T DBW 0
I need in step 7 a alarm buffer. I made a little progam (See below) but it doesn't work. So if i get a alarm in DB110.DBW84 and M100.0 is set the alarm is transfering to DB1.DBW0.
When there is a new alarm and M100.0 is set to one, the data in DB1.DBW0 is transfered to DB1.DBW2 and the new alarm is Transferred to DB1.DBW0. I test the program in S7Sim but it doesn't work. Do someone know the problem?
A M100.0
OPN DB 1
L DBW 6
T DBW 8
L DBW 4
T DBW 6
L DBW 2
T DBW 4
L DBW 0
T DBD 2
L DB110.DBW84 <== This is a db with my alarms.
T DBW 0