mov in 500

plcnewbie

Member
Join Date
Jan 2005
Location
Missouri
Posts
220
This should be easy but I usually use 5000. I am using a bit to reset a counter, which I have set up in a CDM and after changing it to a 1 to reset the counter I am tired of changing it back to the 0 to start over the count. I have decided to put in a mov instruction at the end of this rung to mov in a 0 to the bit, but it says it must be specified to the word level.

My bit is say, b3/10 and I want to mov a 0 to it if it becomes a 1 so what am I missing?? I am sure it is just a brain **** on my behalf but would appreciate a quick slap in the face.

Thanks alot
 
Last edited:
bernie, Thanks alot I have read tons of threads on these boards and after posting this simple question ( right after in fact),I did what I should have done in the first place, which is search for past questions that were similar. Man, I really need to learn to start doing that. Mov is more clear to me now in slc500 and your little trick is perfect as well.

Thanks again and sorry for not looking first.
 
darrenj, I in fact am using the res but I want to be able reset it anytime I want to by way of a toggle but want it to toggle back off.

So my line if I can do it right in plain text is like this, bear in mind this is all one line.

toggle
[B3/1]---------------------[-Res ct.acc]
[ct.dn]---------------------[unlatch B3/1]

Thanks again Bernie, I didnt know I could use the unlatch to do this.
 

Similar Topics

So I have a device that uses the last 14 bits of a word for the process value. Bit 0 and 1 are used for a different purpose. what is the best...
Replies
7
Views
2,359
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,624
Good morning. I am making a migration of a control logic from RsLogix5 to Studio 5000. One of the errors I have The two points that appear in...
Replies
3
Views
1,553
I've done a few AB projects, but have not seen either of the following in a MOV instruction (I can't figure how to take a "snippet" and insert). I...
Replies
9
Views
3,312
Good Afternoon , I am trying to understand a MOV instruction . This is suppose to keep track of the layers on a palletizer . Line 4...
Replies
9
Views
2,028
Back
Top Bottom