S7 Indirect Addressing Examples - PLCS
S7 Indirect Addressing Examples - PLCS
S7 Indirect Addressing Examples - PLCS
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
FAQ
Calendar
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
Johnny T
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.
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...
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)
#3
2/4
4/5/2016
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...
Digg
del.icio.us
StumbleUpon
Posting Rules
You
You
You
You
may
may
may
may
not
not
not
not
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
Go
Similar Topics
Thread
Thread Starter
Forum
Replies
Last Post
Pat Leach
douyi
18
guest
21
douyi
RMA
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