SLC 500 MOV Instruction

smohamed

Member
Join Date
Mar 2008
Location
ON
Posts
108
Morning everyone.

I'm using a SLC 5/05 processor for a program I am trying to build. I've posted a couple of rungs here. The code does what it is supposed to do:

1. Move in "0" when the Start Command N10:30/14 is not issued.
2. When N10:30/14 is issued, and we are in Manual N10:30/3 is not set then we move in the value from N24:40. In this case 10.

However my question is, when the Start Command (N10:30/14) AND Auto/Manual Bit are not set (N10:30/3) why does it move in "0" and not the value in n24:40 into N10:68?

I guess my question is, both rungs are "true" and it is moving in "0", it is clearing the register N10:68 and not moving in the 10?
Is there a specific order of operations, or is it easier to move in a constant, or something takes precedence?

I would appreciate any help!

PLC_June6_08.JPG
 
Last edited:
The order of the rungs in the ladder are what take presidence.

When both rungs are true the controller is moving 10 into the register but then it is immediately moving a 0 in over the 10.

If you reverse the order of the rungs then you will always see the value of N24:40 in the register.
 

Similar Topics

Good Afternoon , I'm sorry. But I'm struggling to understand this combination of integers in this MOV , and really anywhere else this scheme...
Replies
6
Views
1,646
Howdy everyone, My company has a few machines running on SLC500 based PLC, and everytime it makes a part we count up on the counter which gets...
Replies
10
Views
339
I have a program that I've used 100 times. SQO settings: File N7:0, Mask 0FFFFh, Dest B3:1, Control R6:0, Length 8, Pos 2. Length & Position...
Replies
48
Views
1,268
Everyone, i am in the process of purchasing the Slc 500 version of software to support what we have and i have a question. Several of our...
Replies
9
Views
851
In a slc 500 plc I am trying to move data with out using a lot of moves. I want to move data from n7:1 to n7:2 and data that was in n7:2 to n7:3...
Replies
16
Views
1,463
Back
Top Bottom