RSLOGIX500 pointer???? How do?

Marcosbelgo

Member
Join Date
Jun 2015
Location
Belo Horizonte
Posts
34
Hi friends,

I need to build this logic in rslogix500 and I'm having difficulties. Can someone help me?

N7:X/Y - Where Y is the product number (product1,product2......) and contain the size of each product.
N7:W - Is the product number.

I want that the PRESET of my counter (CTU0.PRESET) be loaded with the N7:X/Y where Y is equal N7:W

Thanks
 
I'm not sure what X and W are supposed to be, I'm assuming some constants that you will fill in later? If they are also variables, this won't work.

MOV
Source: N7:X/[N7:W]
Destination: CX:X.PRE

Also worth mentioning, N7:W cannot have a value greater than 15 when this instruction runs or else it will fault the controller due to the INT data size limit.
 
I'm not sure what X and W are supposed to be, I'm assuming some constants that you will fill in later? If they are also variables, this won't work.

MOV
Source: N7:X/[N7:W]
Destination: CX:X.PRE

Also worth mentioning, N7:W cannot have a value greater than 15 when this instruction runs or else it will fault the controller due to the INT data size limit.

thank you friend, it's just that ........ very well remembered about the limit of N7: W, but this easy to solve. Hug.
 

Similar Topics

So here's my situation, I have been tasked with modifying the logic to mimic a button press in the PLC. I have two identical machines however one...
Replies
6
Views
537
Hello, I'm new to programming. I'm using RSLogix500 to modify an existing program for a SLC500. My plan was to use one of the existing inputs...
Replies
26
Views
1,971
So i have an allen bradley rack (2080-LC50-24QWB), i have it connected through ethernet. I dont have an offline program so im trying to upload...
Replies
6
Views
672
Hi Everyone, I am supporting a system which runs on a SLC 500 (1747-L532). A fault has developed whereby the output state of some digital outputs...
Replies
10
Views
990
Hello, I am currently taking a course on plc programming and in the course rslogix 500 is being used. I am however having a problem since it keeps...
Replies
4
Views
1,689
Back
Top Bottom