Berra Member B Join Date Mar 2007 Location Sweden Posts 137 Jun 1, 2007 #1 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
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
s7xp.com Member Join Date Jan 2007 Location Rotterdam Posts 151 Jun 2, 2007 #2 Not for integers. Use add instead.
Berra Member OP B Join Date Mar 2007 Location Sweden Posts 137 Jun 2, 2007 #3 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
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
10BaseT. Member 1 Join Date Mar 2006 Location Wrexham Posts 329 Jun 2, 2007 #4 You need to one shot the button , otherwise the instruction will run continuously each scan
L D[AR2P#0.0] Lifetime Supporting Member L Join Date Nov 2006 Location UK Posts 6,699 Jun 2, 2007 #5 You can use counters in Step7 as follows:
ArikBY Member Join Date Oct 2003 Location Oranit Israel Posts 1,434 Jun 2, 2007 #6 Why not to use counter?