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


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old March 5th, 2004, 03:48 PM   #1
devittjl
Member
United States

devittjl is offline
 
Join Date: Mar 2004
Location: Puget sound area, WA
Posts: 4
Indirect addressing with S7-300

Hello,
I would like to know if there is and equivalent to the follow AB indirect addressing technique available with S7-300

N19:[N7:91]/15

I use this logic in a shift register (N19). N7:91 is and interger that deterines which step to look at in the shift register. The value of N7:91 will change based on certain criteria, in this case feed speed.

Currently I have to set up three branches with bit for three different feed speeds as shown below.
A "FEEDHISPEED"
A DB1.DBX 194.7
O
A "FEEDMDSPEED"
A DB1.DBX 195.7
O
A "FEEDLOSPEED"
A DB1.DBX 197.7
)
FP "OS3"
S "R1_LOAD_SIGNAL"

I would like to use indirect addressing similar to AB style.
Or can I copy different DBs into the logic.

The reason for this is that the shift register location is enter through a display so the the machine can be adjusted in the field without changing the program.

Thank for the help.
__________________
John
  Reply With Quote
Old March 5th, 2004, 04:19 PM   #2
kamenges
Member
United States

kamenges is offline
 
kamenges's Avatar
 
Join Date: Nov 2002
Location: Brillion, WI
Posts: 3,093
Yes, you can. It won't be quite as clean, however. You will also need to massage the form a bit.
I have attached a relatively simple indirect addressing example. It's just an interpolator between two points, the points determined by another variable. It is a Step7 source file, which is nothing more than a text file. Take a look and see if it helps. The 'P#' lines are pointer designators.
There is a much more involved and powerful way to do this but I've never needed to use that. The Step7 help has a pretty good description of indirect addressing, if you can find it. I'm using non-area crossing pointers, which should work for you.

I hope this helps.
Keith
Attached Files
File Type: txt sources.txt (4.4 KB, 269 views)
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Indirect Addressing: Can Enough be Said about this Powerful Tool? Lancie1 LIVE PLC Questions And Answers 36 June 5th, 2014 11:04 AM
Siemens s7 ladder indirect addressing guest LIVE PLC Questions And Answers 21 June 27th, 2009 06:39 AM
Redundancy on S7 300 PLCs Eduardo Pelegrin LIVE PLC Questions And Answers 11 August 18th, 2008 03:58 AM
I/O Indirect Addressing - PLC 5/80E relms LIVE PLC Questions And Answers 8 February 23rd, 2005 04:10 PM
Siemens S7 300 sparky64 LIVE PLC Questions And Answers 3 May 5th, 2003 03:50 AM


All times are GMT -5. The time now is 12:57 PM.


.