Hi all,
I'm a student looking for a simulator for Siemens S7. Do you know where I can find one to download?
I have an STL exercise but I don't know if it works, since I don't have a simulator.
If you want to help, the scenario is that 'If input I1.1 is pushed 4 times, output Q0.1 will turn on after 8 sec'.
Here's what I did:
LD SM0.1
MOVW +0,MW1
R M1.1,4
LD I1.1
EU
+I +1,MW1
LDW=MW1,+1
S M1.1,1
LDW=MW1,+2
R M1.1,1
S M1.2,1
LDW=MW1,+3
R M1.2,1
S M1.3,1
LDW=MW1,+4
R M1.3,1
S M1.4,1
LD M1.4
TON T38,+80
LD T38
=Q0.1
Is it correct? Can you think of any other way?
Thanks in advance.
I'm a student looking for a simulator for Siemens S7. Do you know where I can find one to download?
I have an STL exercise but I don't know if it works, since I don't have a simulator.
If you want to help, the scenario is that 'If input I1.1 is pushed 4 times, output Q0.1 will turn on after 8 sec'.
Here's what I did:
LD SM0.1
MOVW +0,MW1
R M1.1,4
LD I1.1
EU
+I +1,MW1
LDW=MW1,+1
S M1.1,1
LDW=MW1,+2
R M1.1,1
S M1.2,1
LDW=MW1,+3
R M1.2,1
S M1.3,1
LDW=MW1,+4
R M1.3,1
S M1.4,1
LD M1.4
TON T38,+80
LD T38
=Q0.1
Is it correct? Can you think of any other way?
Thanks in advance.