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 April 15th, 2019, 12:45 PM   #1
Rob S.
Member
United States

Rob S. is offline
 
Join Date: Sep 2008
Location: Maryland
Posts: 672
SLC 500- Need help understanding N106:[N7:10] in a MOV

Good Afternoon ,

I'm sorry. But I'm struggling to understand this combination of integers
in this MOV , and really anywhere else this scheme is being used.

N106:[N7:10] - With your experience , what do you think is being done here ?

In the Data Files N7:10 has a 58 in it and N106:0 has 3038 ( If N106:0 is what it means )

Thanks so much for your help.


MOV

Source N106:[N7:10]
2605
Dest N106:100
2605
  Reply With Quote
Old April 15th, 2019, 12:53 PM   #2
mylespetro
Supporting Member
Canada

mylespetro is offline
 
mylespetro's Avatar
 
Join Date: Dec 2015
Location: NS
Posts: 143
My understanding would be that it's moving N106:[58] into the destination.
  Reply With Quote
Old April 15th, 2019, 01:26 PM   #3
sparkie
Lifetime Supporting Member
United States

sparkie is offline
 
Join Date: Nov 2014
Location: KS
Posts: 978
Quote:
Originally Posted by mylespetro View Post
My understanding would be that it's moving N106:58 into the destination.
This looks to be what is happening to me as well. It is saying to move the contents of N106:58 into N106:100. Lots of reasons to do something like this. One example is to read and pack some values so that they can be transferred with a single read (like for the old serial PV Standard HMI's).

Last edited by sparkie; April 15th, 2019 at 01:29 PM.
  Reply With Quote
Old April 15th, 2019, 01:30 PM   #4
TheWaterboy
Lifetime Supporting Member + Moderator
United States

TheWaterboy is offline
 
TheWaterboy's Avatar
 
Join Date: May 2006
Location: State of Denial
Posts: 871
indirect addressing at play here. something else writes to n7:10 to change the location of the destination
  Reply With Quote
Old April 15th, 2019, 01:31 PM   #5
Mickey
Lifetime Supporting Member
United States

Mickey is offline
 
Mickey's Avatar
 
Join Date: May 2003
Location: Palmdale,Ca
Posts: 10,222
It's called "indirect addressing" whatever value is in N7:10 , 58 in your case means
N106:58 will be moved to N106:100. If the value in N7:10 is 1 then N106:1 will be moved to N106:100.
__________________
Mickey

If you want happiness for an hour-take a nap. If you want happiness for a day-go fishing. If you want happiness for a month-getmarried. If you want happiness for a year-inherit a fortune. If you want happiness for a lifetime-help someone else.
----- Chinese Proverb
  Reply With Quote
Old April 15th, 2019, 06:52 PM   #6
Rob S.
Member
United States

Rob S. is offline
 
Join Date: Sep 2008
Location: Maryland
Posts: 672
Thanks so much for your help. I'm better at creating my own program , then trying to figure , ok , why are they doing this , this way . With your help , it will give me a better perspective to look at it tomorrow.

Thanks again ,
  Reply With Quote
Old April 16th, 2019, 03:28 AM   #7
dcam
Member
United States

dcam is offline
 
Join Date: Apr 2012
Location: livingston
Posts: 72
I get it but I've not seen this before. I would use an additional MOV instruction.
  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
SLC 500 DH485 Link Coupler nodes SiriusMark LIVE PLC Questions And Answers 0 July 28th, 2015 07:18 AM
SLC 500 Where do the programs reside? realolman LIVE PLC Questions And Answers 5 March 15th, 2011 10:54 AM
SLC 500/RSLogix 500 Communications kerch LIVE PLC Questions And Answers 25 October 15th, 2006 12:19 AM
Beginer's question about SLC 500 rqiu LIVE PLC Questions And Answers 6 February 20th, 2006 10:05 PM
PLC 5 and SLC 500 Chakija LIVE PLC Questions And Answers 4 December 8th, 2004 09:51 AM


All times are GMT -5. The time now is 12:54 AM.


.