Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to PLCs - Step 5

Status
Not open for further replies.

trybeforeyoubuy

Industrial
Oct 5, 2009
4
0
0
GB
Hello all,

I'm very new to PLCs and I'm basically teaching myself a bit now I've started my first job since graduating.

I'm using Step 5 on a S5-100U PLC programme and have come across some formatting in the code that I haven't seen before and can't find in the manual I'm using.

Could someone tell me what the circled code means in the attached picture? Are they just comments?

The programme is written by a German company, in case that helps! Many thanks
 
Replies continue below

Recommended for you

Wow, if you are just starting out and are self-teaching, I'm not so sure that Structured Text Language is the best way to begin. That's typically used by relatively advanced programmers.


"If I had eight hours to chop down a tree, I'd spend six sharpening my axe." -- Abraham Lincoln
For the best use of Eng-Tips, please click here -> faq731-376
 
True, but most of this programme is in Ladder and only a few pages, mostly in the Function Blocks, that can't be displayed in anything other than STL.

In fact, why is it that some of these networks can't be displayed as ladder? Is it just because of the jumps in the code that can't be translated?

But anyway, my first question still applies - it'll be great to know how to handle that code at the bottom. Thanks!
 
What you can see are just the I/O pins of a function block defined by the user.

Somewhere in the code you should find that block definition, including all commands used for this particular block

 
FB251 is a analog output functionblock
XE: analog value to be output
BG: Slot adres
KNKT: Channel number Channel type
OGR: Upper limit of the output value
UGR: Lower limit of the output value
FEH: Error in limit value setting
BU: Input value exceeds UGR or OGR
 
Status
Not open for further replies.
Back
Top