Mov instrutions

showshocka

Member
Join Date
Mar 2011
Location
USA
Posts
510
OK, Mov instructions Logix 5000. My apologizes if this sounds confusing . Lets say that a system uses a PV touch screen that can load 10 different commands for 10 different functions as the operator selects them. I'm looking at a mov instruction in the 5000 thats associated with the PV function that loading a source value into the mov instruction and they are changing between 1 and 10 depending on what is selected from the touch screen at the PV. With this mov instruction being the only instruction on a rung, what's loading the numbers into that mov instruction's source? I'm guessing that generally the PV is doing it. But How? And I would also guess to say that the engineers would have a data Base of what numbers, 1 thru 10 that coincides with what step out of the 10 that a source number would mean for a particular function in the mov instruction for it to move in the logic, 1 thru 10, via the PV's touch screen selection.
 
My guess is that the selections on the HMI are Interlocked Pushbuttons. Interlocked Pushbuttons use the same PLC tag address, but they have a "Button Value" property for each button. So when button "A" is pressed, the value for button A is written to the PLC. I believe when you open up each button, the "Value" is on the first tab that opens.

So all 10 of your buttons have the same PLC address, but unique button values for each button.
 
With this mov instruction being the only instruction on a rung, what's loading the numbers into that mov instruction's source?
If the MOV insruction Source has a "#" in front such as "#N7:0"), then it is an Indexed Address and will step through the a range of addresses as the S:24 value changes. Also, MOV can use an Indirect Address in the Source, such as "N7:[N7:0]", then its actual address depends on the value of N7:0 (which will be set elsewhere in the program.
 

Similar Topics

Hello experts. Anyone has any idea how to make BLKMOV execute only once? I have tried with R_TRIG and (P) but it wont write to my location.
Replies
3
Views
198
I've used AOI and User Defined Data Types, but I haven't created one yet. I have a lot of repetitive MOV commands to take a select number of...
Replies
4
Views
383
I'm having to make an AOI to use with a generic ethernet device because the manufacturer does not provide an AOP. I just want to do a sanity check...
Replies
13
Views
1,260
Hello, I'm trying to copy the entire value of a UDT base tag to an element of an array of another UDT containing an element of the first UDT...
Replies
7
Views
1,671
Hi, I would like to move a word to display wind direction. For example: NW, or SE, or ESE in RSLogix 5000, not panelview. I have a wind speed...
Replies
18
Views
5,554
Back
Top Bottom