You are on page 1of 4

4/5/2016

S7 indirect addressing examples? - PLCS.net - Interactive Q & A

You are not registered yet. Please click here to register!

This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
Try ouronline PLC Simulator- FREE. Click here now to try it.
---------->>>>>Get FREE PLC Programming Tips
your first name your email address
Get The PLC Tips Now!
New Here? Please read this important info!!!

PLC S.net - Interactive Q & A > PLC S.net - Interactive Q & A > LIVE PLC Questions And Answers

S7 indirect addressing examples?


Register

FAQ

Calendar

User Name User Name


Password

Downloads

PLC Reviews

PLCS.net Store

Log in
Today's Posts

Thread Tools
October 2nd, 2005, 08:10 PM

http://www.plctalk.net/qanda/showthread.php?t=17778

Remember Me?

Search

Display Modes
#1

1/4

4/5/2016

S7 indirect addressing examples? - PLCS.net - Interactive Q & A

Johnny T

S7 indirect addressing examples?

Member

Hi
I'm going to be showing a few lads the basics of indirect addressing this week. I need to teach them
about pointers etc and wondered if you had any ideas for examples/tasks I could set them.
The last example I'll be building up to will be to get them to write some code that will monitor a word
whereby each bit represents a fault on a machine and cycling fault messages on an OP7 display.
So.. detect that bit M70.0 is set and show the relevant message for 2 seconds, then check M70.1, M70.2
etc until you find one that is set and display the relevant message for 2 seconds before moving on.

Join Date: Jul 2003


Location: Fife, Scotland
Posts: 642

Anyone got any other idea's of task/examples etc that I could get them to do or incorporate into my talk
to them?
Any thoughts/ideas appreciated.
Cheers
JT :-)
__________________
I'm beta testing life...

October 3rd, 2005, 02:01 AM

SimonGoldsworthy
Member

#2

Here's a link to a previous post for an example of extracting data from an any pointer and decoding some
of the area types
http://www.plctalk.net/qanda/showthr...&highlight=ar1
You could expand this so it also outputs the value of the variable as well as the address of the variable.
(You could make your fault messages dynamically display the input address relevant to a fault)

Join Date: Mar 2005


Location: England
Posts: 1,079

October 3rd, 2005, 04:32 AM


http://www.plctalk.net/qanda/showthread.php?t=17778

#3
2/4

4/5/2016

S7 indirect addressing examples? - PLCS.net - Interactive Q & A

Johnny T
Member

Simon, thanks for the link. I think the FC397 you posted may be a bit beyond their scope but I might try
and simplify it down for them.
Many thanks.
JT
__________________
I'm beta testing life...

Join Date: Jul 2003


Location: Fife, Scotland
Posts: 642

Jump to Live PLC Question and Answer Forum


Bookmarks
Twitter

Reddit

Digg

del.icio.us

StumbleUpon

Google

Previous Thread | Next Thread

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

Posting Rules
You
You
You
You

may
may
may
may

not
not
not
not

post new threads


post replies
post attachments
edit your posts

BB code is On
Smilies are On
[IMG] code is On
http://www.plctalk.net/qanda/showthread.php?t=17778

Forum Jump
3/4

4/5/2016

S7 indirect addressing examples? - PLCS.net - Interactive Q & A

HTML code is Off

LIVE PLC Questions And Answers

Go

Similar Topics
Thread

Thread Starter

Forum

Replies

Last Post

A/B C ontrol Logix / indirect file addressing

Pat Leach

LIVE PLC Questions And Answers

November 5th, 2014 02:55


PM

S7: Problem with Pointer and indirect addressing

douyi

LIVE PLC Questions And Answers

18

February 2nd, 2010 04:17


AM

Siemens s7 ladder indirect addressing

guest

LIVE PLC Questions And Answers

21

June 27th, 2009 06:39 AM

S7 Indirect Addressing of Array

douyi

LIVE PLC Questions And Answers

September 21st, 2005


08:25 AM

S7 - more indirect addressing problems, or maybe not?

RMA

LIVE PLC Questions And Answers

March 24th, 2005 06:35 AM

All times are GMT -5. The time now is 04:53 AM.
Contact Us - PLCS.net - Text - Top
.

http://www.plctalk.net/qanda/showthread.php?t=17778

4/4

You might also like