TronWorrior
Level-1
- Beiträge
- 4
- Reaktionspunkte
- 0
U xAnstBandAutomatikVor //Speicher Band Autom. vorwärts ansteuern
O xAnstBandManuelVor //Speicher Band man. vor (als Beispiel )
=A 0.0 // Zuweisung Band vorwärts
ich programmiere mit S5 und der CPU 313 ...
Startbedingung:
U E 1.0
S M 1.0
----------------------
Stoppbedingung
U E 1.1
R M 1.0
----------------------
Förderbandsteuerung
U E 0.0
U M 1.0
S M 1.1
U E 0.1
ON M 1.0
R M 1.1
R T1
U M 1.1
SPBN NW01
L S5T#3s
SA T1
NW01: Nop 0
U T1
= A 0.0
Geht das?
Code:U M 1.1 SPBN NW01 //[COLOR="Red"]<---braucht man doch nicht[/COLOR] L S5T#3s SA T1 NW01: Nop 0 //[COLOR="#ff0000"]<---und das auch nicht[/COLOR] U T1 = A 0.0
hi!
@ maxi:
danke erstmal für die hilfe das band läuft bei deinem programm aber gar nicht an^^.. muss ich das in ein fc und in ein netzwerk schreiben?
hab ich nämlich gemacht.
und was heißt: nw01?
und was heißt nop 0?
SPBN nw01 //Sprung bedingt nicht zur Sprungmarke
.
.
.
nw01: NOP 0 //Sprungziel ohne Operation
U Eintaster
S Förderband
O Austaster
O Timer Einschaltverz.3s
R Förderband
warum alle so kompliziert geht das nicht auch so?
Code:U Eintaster S Förderband O Austaster O Timer Einschaltverz.3s R Förderband
U Eintaster
S Merker Schießmichtot
U Positive Flanke Eintaster
U Merker Schießmichtot
R Merker Schießmichtot
U Merker Schießmichtot
U B1
S Förderband
O Austaster
O B2 Timer Einschaltverz.3s
R Förderband
U Eintaster //1
S Merker Schießmichtot //1
U Positive Flanke Eintaster// 1
U Merker Schießmichtot // 1
R Merker Schießmichtot // sofort 0
U Merker Schießmichtot // 0
U B1
S Förderband
O Austaster
O B2 Timer Einschaltverz.3s
R Förderband
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?