hi, i encountered some problems about S5

LiHao

Member
Join Date
Dec 2003
Posts
22
hello, i have some question about SIEMENS S5

In the program, there has something that i am not sure the means, and i do not have the manual

book. So i wanna to ask someone who know these do me a favor to tell me this:
first question:
OB22

SEGMENTO 1 0000

0000 :A DB 10
0001 :L KF +0 ' there what's the meaning of "KF"?
0003 :T DW 50 'what's the meaning of "DW"?, and i have seen "EW","MW",what's them

means?
.
.
.
000F :L KH 0D6 ' there what's the meaning of "KH"?
.
.
.
:SPB =M001 'what's the meaning of "SPB"?
:U A 11.4 'what's the meaning of "U"?
second question:

PB1
SEGMENTO 1

PAGE # OPERATOR PANEL SET

MW84 ...------
| Z1 F |
| != |
| | E8.2 M64.0
KF +3 | Z2 Q|----------| |-------------()

the question is what the function's meaning? if the number in MW84 not equal with +3 ,

then output a signal?


third question:
in some blocks, there has these

---------
|RLG:AA |
| | what's the meaning of "RLG:AA"? and "RLG:AE" then?
| |

by the way, where can i find some user manuals of these things?
i have learned compile language before, it is not hard for me to see these S5 stripts,

thank u, if anyone can help me.
 
KF=Fixed point decimal
KH=Hexadecimal
KM=Binary
KY=Byte decimal 2 unsigned values seperated with a comma
KB=Byte decimal 1 unsigned value
KS=ASCII string
KG=Floating point

DW=Data word
U ="and" (scan for 1)
!= equal

Fb 243 is used to divide 1 fixed point binary number by another.
Z1=dividend
Z2=divisor

Gotta go
 
Hi,

First question

0000 :A DB 10
0001 :L KF +0 load festpunt value (0,1,2...,150...)

0003 :T DW 50 Datawort (DW) is a memoryplace in a datablock and a
datablock can contain up to 255 datawords.
A dataword is 16 bit.
Eingangswort (EW) inputword also 16 bit.
Merkerwort (MW) flagword also 16 bit.

000F :L KH 0D6 load hexadecimal value '0D6'

SPB =M001 sprung bedingt to M001 is the same as jump on
condition

U A 11.4 Und is the same as AND, Ausgang is the same as
Output 11.4



I don't understand your second question?

And can you specify the tird question also. I think that your talking about an FB 24x which is an analogsignal convertor block.

AA = analog ausgang meaning analog Output
AE = analog eingang meaning analog Input

If you have Step5 for windows you can select in which language you want to program.

Rudi
 
thank u, thank u very much :)

thank you, Mike Williams and Fritz_frederix !!

you both are so kind, and i think i have got what i wanna to know from you answers.
thank you :)

and,by the way, do you have the user manual which can tell me "!=" means what, and etc.

my email addr is [email protected]

if anyone has that ,please do me a favor send me one.:)
 
sorry, i have sth. need to ask

sorry Fritz_frederix , to bother you again, but i am not sure i have got the idea of what your meaning.
look this:

SPB =M001 sprung bedingt to M001 is the same as jump on
condition

so the "M001" is the jumping destination? or someting?

can you give a full example of how to use the "SPB" ?
thank u:)
 
LiHao

'!= ' is a compare for equal.

For example:-

!=F //this would compare the fixed-point number is accum 2 to the fixed point number is accum 1, if they are equal then the RLO is 1.

so the "M001" is the jumping destination? or someting?........ SPB =M001 sprung bedingt to M001 is the same as jump on condition

I assume that Rudi means that SPB would be the same as JC (jump conditional)

M001 is the 'label' of the jump destination.

You might want to take a look at this thread it 'sort' of dealt with jumps and the like.

Click here

Paul
 
thank you PLucas, i think i have got what you means.
and i have seen your link.
then, Moebius, i am sorry to tell you that the link you gave me maybe not the exact i really wanna to find. on the SIEMENS website, i do not see the manual about s5, only a catalog about that.
and the link you give me. i am so sorry but i really can't find where the s5 manual is.

i do not wanna to bother you, but if you have other links, can you do me a favor to give me another one? thank you.
 
Hi Moebius,

The link you're showing is exactly the same as I tought I was showing, but something went wrong It worked yesterday but then those links were open at the time. Today the link failed to work.
Thanks for the reply, i'd better check my links next time.

Rudi
 

Similar Topics

We have a problem opening a project in Tia v17 (Scout Tia v5.4 sp3) : Totally Integrated Automation Portal has encountered a problem and needs to...
Replies
7
Views
3,896
I’ve been trying to flash a PanelView Plus 7 to FW 12 and at about 90%, we got this error. Any idea what to do? We’ve already set it to factory...
Replies
0
Views
650
I have a panelview plus 7,and often popup a messagebox"application servicesd.exe encountered a serious error and must shut down"I refreshed the...
Replies
0
Views
1,056
I try to start RSLogix5 and I get the following error; "RSLogix5 PLC5 Application has encountered a problem and needs to close. We are sorry for...
Replies
2
Views
2,155
Hi guys, I have some communication problem between PLC and Laptop. In my factory we have few cj1m(CPU23) plcs and when I've tried download...
Replies
9
Views
5,521
Back
Top Bottom