additional PLC help

TY CAI_Support.
Of course, that is what we have done so far - I have received excellent support / answers to questions from RossW, TSchmidt and many others.
 
I just thought it could be in a subforum format so it is all in one place, but that may not be possible or desirable. It was just a thought.

Rainer
 
To have each project documented, PLC code explained, and electronics details drawing shown, those things will be a great help to many others.
 
This is the simple code which eventually worked very well:
---------
START   
     TSTEQ OP1[100] 1 
     CALLSUB GO_DOWN  
     TSTEQ OP2[1000] 1 
     CALLSUB GO_UP  
     END   


GO_DOWN:
     SET OP1 0 
     CALLSUB BUZZER  
     SET OP1 1 
     DELAY 500  
     SET OP1 0 
     DELAY 500  
     SET OP1 1 
     DELAY 500  
     SET OP1 0 
     DELAY 500  
     SET OP1 1 
     DELAY 5000  
     SET OP1 0 
     SET OP3 1 
     DELAY 500  
     SET OP3 0 
     RET   

BUZZER:
     SET OP3 1 
     DELAY 1000  
     SET OP3 0 
     DELAY 500  
     SET OP3 1 
     DELAY 1000  
     SET OP3 0 
     DELAY 1000  
     SET OP3 1 
     RET   

GO_UP:
     SET OP3 1 
     DELAY 200  
     SET OP3 0 
     DELAY 500  
     SET OP3 1 
     DELAY 200  
     SET OP3 0 
     DELAY 5000  
     SET OP2 0 
     SET OP3 1 
     DELAY 200  
     SET OP3 0 
     DELAY 500  
     SET OP3 1 
     DELAY 500  
     SET OP3 0 
     RET   
 
Back
Top