S7 function inc?

Berra

Member
Join Date
Mar 2007
Location
Sweden
Posts
137
Hello

i wonder if there is any function who is like the function inc in melsec?

in melsec the program is as follow

puls
Pressbutton inc c206
[c206=1] out m230
[c206>=2] reset c206
 
Ok,i try this butt it´s dont´t woork verry well
in S7

Puscbutton (p) addi
1
value value

It´s count up to much when i press the button i wonder if i can use a pls clock before the puls but i'm not quite sure if i get the right
 
You can use counters in Step7 as follows:

view8.JPG
 

Similar Topics

I'm using INC function with D0 register. But the result after i press the switch is not D0+1 it is a random number(usually hundred or thousand...
Replies
3
Views
1,721
All, I am trying to get the minimum value of a temperature signal supplied to RS5000. The MINC function will only show the assigned 'RESET'...
Replies
3
Views
1,840
Hi, I have attached herewith one image which our programmer has been used in S7 1500 PLC. Now we need to use the same instructions in S7 1200 PLC...
Replies
4
Views
139
Im trying to create a level indicator for water Tank i have used the ADD function while the pump is on and level increasing everything works...
Replies
33
Views
1,112
Good morning crew! Ok my logic works but I am missing something. When the start button is pushed it should like the red light for 4sec then shut...
Replies
13
Views
448
Back
Top Bottom