Copy instruction in RSLogix5000

Keldog

Member
Join Date
Sep 2005
Location
Nova Scotia
Posts
160
in a copy instruction can the source element be the same as the destination element like can it be a counter pointed at the same tag.

I wont be able to respond till tomorrow cause i am heading out of the office for the day.

thanks in advance for you help
 
Keldog,

I'm also wondering what it is you really want to do.

A copy instruction with the source and destination the same does nothing useful.

If you want to increment a value like a counter, use an ADD instruction.

ADD Count 1 Count.
 
Sorry about being so vague. I was wondering is there anyway to turn a counter into a INT so i can copy it into another INT. My counter is counting but i can't transfer the data over to my VTS. So do i have to move my counter into an INT tag first then copy.
 
Keldog,

You can move the DINT from the counter accumulator into an INT, that will work fine as long as you don't count past 32,767.

I don't see why you need an intermediate INT tag. Just MOV the counter .ACC into your target INT tag.
 

Similar Topics

This is a real simple interface problem. Typically when I'm developing in ladder I will Ctrl+C an instruction and Ctrl+V, the new instruction will...
Replies
2
Views
1,678
Productivity3000. I have a 32 bit integer, 1d array that i need converted to a string. The string to array seems to work with the same time type...
Replies
0
Views
2,173
I am diagnosing a malfunctioning system that uses ControlLogix (L63 controllers, v16 firmware) and want to run an unusual data handling question...
Replies
10
Views
7,375
Hi Forum, I am shifting an array of 50 UDT so each element is one position lower than it used to be, and the final element is overwritten. I was...
Replies
8
Views
2,997
G
In regards to a (COP) instruction; Source #I:11.0 Dest #B3:16...
Replies
5
Views
3,213
Back
Top Bottom