Problem RS SR in STL

markopo

Member
Join Date
Aug 2009
Location
Wrzesnia
Posts
13
Welcome.
I try to make in stl on one button (one input) turn in and turn off.

A I 0.1
FP M 1111.1 > never mind I just need rising edge
AN M 1000.1
JC ON
A I 0.1
FP 1111.2 > as in upper comment
A M 1000.1
JC OFF
BEU
ON: S Q 0.1
S M 1000.1
BEU
OFF:R Q 0.1
R M 1000.1
BEU


But it doesn't work.

When I press button I have nothing. Why, no changing states nothing.

I was looking for flip-flop in STL but there's no one.

Can anyone help me ???

Marek
 
Peter.
thank You for answer, I heard that I can xor some signals but I was looking but without success.
Simple code, pure :)
Thank You.
 

Similar Topics

Dear experts, I m new to the STL programming and I have a problem that I can not solve. I'm working on a program that controls the...
Replies
2
Views
2,717
i write code STL and simulate but result Q2.7 not set , i dont know why :scratch: , help me plz thanks LAR1 P#Q2.7 S [AR1,P#0.0] or LAR P#2.7...
Replies
3
Views
1,722
Hi, I've got this code and want it in ladder. My biggest problem is what the first line means L B#(52, 1) CALL FC 58; T MW 60 Thanks...
Replies
2
Views
1,651
Hi, Can't get this to work in ladder. Anyone having a clue DO =DB1 L KF +0 DO FW 56 T DW 0
Replies
3
Views
1,752
Hi I hav coverted S5 to S7 and now I'm trying to get this code into ladder, but i have problem with RND part Converted code L #T_MN L...
Replies
3
Views
1,954
Back
Top Bottom