sophie formation-industrie.bzh
Hello,
I'm trying the SFC choice and i'm hapy with it (also with simulation view).

But now, I'm trying to do a loop counter without succeed.
if i use an integer variable and add an inline choice
compteur:=compteur+1;
the increment operation is always on
and I have high values
I want to have only one increment

for example, I'm in step 3, the compteur value is 2
I have the incrementation operation in step 4
I want to fix compteur value to 3

How can I do this?
Quote 0 0
sophie formation-industrie.bzh
I've forgotten to post my file.
i should ask a simple example with CTU  block
I 've tried to use it, but I had mistakes. Probably because I don't know when I must use int or word. zip Projet Auto 1.zip     
Quote 0 0