A little help required with a bit of S5 logic

PLucas

Member
Join Date
Apr 2002
Location
Gillingham Kent
Posts
1,742
Guys,

I am after a bit of confirmation as to what a bit of logic does.

I am in the middle of making some changes to the logic on one of our cranes, the logic is all annotated in German, which doesn't help me as I don't speak a word of German, to make matters worse the FB I am looking at has no annotation what so ever!!

Here's the code:-

:AN I 0.6
:A F63.1
:= F63.0
:A F63.0
:R F63.1
:A I 0.6
:S F63.1
:A F63.0
:S Q 1.2
:A Q 1.2
:L KT005.1
:SD T130
:A T130
:R Q 1.2




I think that the first seven lines (up to and including S F63.1) is a negative edge detection one shot of I0.6, the rest of the logic will turn output 1.2 (Q1.2) on for 0.5 seconds as governed by T130 when F60.0 is true (I0.6 has gone off)

I do not have access to a PLC available to try this on at the moment, not even an S7. If someone would be so kind and confirm that what I think it does is right I would be grateful.

Paul
 
Paul,

I think you're thinking correctly. Althoug the negative edge detection looks somewhat funny to me. Normally I would program a negative edge like this:

 :AN I 0.6
:A F63.1
:= F63.0
:A I 6.0
:= F63.1



Kind regards,
 
Last edited:
Thanks for the reply Jean Pierre,

Like you I don't program negative edge detection like that either, but I couldn't see what else it could do, which is another reason why I wanted someone to confirm what the logic does.

It was the first 3 lines that made me think it was for negative edge detection.

Paul
 
If it would help, Paul, post the code with the comments and I'll give you a rough translation. (It'll be rough because I've only worked with PLCs in German, so sometimes I don't know the English terms.)
 
RMA said:
If it would help, Paul, post the code with the comments and I'll give you a rough translation.

Thanks for the kind offer Roy, but as I have stated above:-

PLucas said:
the FB I am looking at has no annotation what so ever

So there's nothing for you to translate on this occasion, but I might take you up on that offer in the future. Jean Pierre was kind enough to translate a block from this crane a few years ago for me, since then I haven't really had any need to have anything translated, I have managed to work out the logic myself without the useful aid of good annotation.

Paul
 

Similar Topics

Hello, I am trying to replicate a piece of logic on the PLC5 onto an SEL RTAC. I am using ladder on SEL and FBD. I am having issue on the ladder...
Replies
13
Views
249
I am trying to use pylogix to write to a string array ID_Data_Table_Name. In the array there are 200 possible entries. For...
Replies
13
Views
4,036
Hey guys, I have a client that has a v-notch chlorinator that doesn't run off a 4-20mA loop, it instead has two discrete inputs that drive the...
Replies
6
Views
1,886
Hey all. I need some guidance here. This is something I came across today when a Ref guy noticed that the HMI isn't displaying the correct time...
Replies
2
Views
1,460
i am a beginner plc programmer and have some confusion, a little help would be appreciated . why do we use a normally close contact when we are...
Replies
11
Views
3,117
Back
Top Bottom