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.

New Here? Please read this important info!!!


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

Reply
 
Thread Tools Display Modes
Old October 20th, 2013, 06:18 AM   #1
AB2005
Member
Pakistan

AB2005 is offline
 
Join Date: Nov 2006
Location: Soth Asia
Posts: 300
Programming tip require for RS Logics 500.

Hi;

Please see the attached image, I want that, for example, when R6:6 Position = 1 then the value of N18:0 should be move (continuously) to N22:1 and when R6:6 Position = 2 then the value of N18:0 should be move (continuously) to N22:2 and so on. I need a short programming tip to achieve this task other wise I have to be created 99 rungs i.e. one rung per integer.

Attached Images
File Type: jpg OC_1.jpg (63.3 KB, 87 views)
  Reply With Quote
Old October 20th, 2013, 06:28 AM   #2
cwal61
Member
United States

cwal61 is offline
 
Join Date: Jan 2011
Location: NC
Posts: 1,236
N22:[R6:6]

Check your Help File and Search Indirect Addressing
  Reply With Quote
Old October 20th, 2013, 10:22 AM   #3
kolyur
Lifetime Supporting Member + Moderator
United States

kolyur is offline
 
kolyur's Avatar
 
Join Date: Oct 2004
Location: Wooster, Ohio
Posts: 1,593
You can do it with a single Move instruction.

Source: N18:0
Dest: N22:[R6:6.POS]
__________________
John
  Reply With Quote
Old October 22nd, 2013, 05:18 AM   #4
AB2005
Member
Pakistan

AB2005 is offline
 
Join Date: Nov 2006
Location: Soth Asia
Posts: 300
Hi Friends;

Thanks a lot. Very simple way to achieve the goal. I love Allen Bradley.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


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
Practice Programming Tip for Beginners klm LIVE PLC Questions And Answers 41 July 11th, 2011 02:44 AM
Need a programming tip in RS Logix AB2005 LIVE PLC Questions And Answers 6 September 25th, 2008 03:34 AM
What is require for programming a TI 510-1101 PLC? wilvil2000 LIVE PLC Questions And Answers 4 June 22nd, 2005 08:51 AM
500 different productnumbers programming mulderm LIVE PLC Questions And Answers 10 June 9th, 2005 06:37 PM
Need guide on RSLogix 500 programming for sequencing & valve operation ckchew666 LIVE PLC Questions And Answers 2 April 24th, 2005 11:04 AM


All times are GMT -4. The time now is 09:01 AM.


.