Quick and easy S5 STL question

Johnny T

Member
Join Date
Jul 2003
Location
Fife, Scotland
Posts
642
My minds gone blank and I need a quick question answering. I'm looking at some S5 code offline and haven't got a PLC to test this so thought I'd ask you.

Consider the following code:

L DW 15
L DW 248
>F
= F 18.4

Is F18.4 ON if DW15 is greater than DW248 or is it on if DW248 is greater than DW15?

I would assume that its on if DW15 is greater than DW248 but wasn't sure...

Many thanks

JT ;-)
 
I always say to myself "is accumulator 2 > accumulator 1" and then look at what has been loaded into the accumulators. Your assumption is correct.
 
Great... common sense told me it was that way around but I started doubting myself and just needed someone to confirm for me. Many thanks for that.

Have a great Christmas

Cheers

JT ;-)
 

Similar Topics

Ok it may seem an easy one but i just want to confirm (Get an approval from peoples that already did similar) because i won't be able to test it...
Replies
5
Views
3,262
I'm creating a new thread for this because I can't seem to find the relevant info in my documentation. I remember how to run online edits for...
Replies
8
Views
6,224
Heya, Guys.....all of ya'll have always been really helpful before!!!! Here's a ??easy?? question....... I have a A173UHCPU (A series) that the...
Replies
1
Views
3,195
Hi everyone, I have a very quick question which should be fairly straightforward for someone with a little more in-depth programming knowlege than...
Replies
4
Views
4,254
I'm trying to import a .prj file and I keep getting the error message: Project import error. i Any ideas how to get around this? Thanks.
Replies
0
Views
77
Back
Top Bottom