SLC 500 COP Problem

siralexe

Member
Join Date
Mar 2010
Location
Franklin Grove, IL
Posts
3
I have pulled up an old program using rs/logics on an AB SLC 500. The problem is I have a COP with the source being a #I:6.1 which is an analog input. Both the source and the destination #N230:135 are at 0. I wrote a rung into this program, SCP with the above input so I could see it and it's there and acting as it should. Why doesn't something show with the COP command?

siralexe
 
I think you are asking "why doesn't a value from that location show within the COP command?"

Because a COP command could copy MANY locations (thus the 'length' argument) which one (the first ?) should it show the value of? I guess it therefore shows none of them.
 
If I understand you correctly you have


---+-COP-------------+-
|Copy File |
|Source #I:6.1 |
|Dest #N230:135|
|Length 2|
+-----------------+



This will copy two 16 bit words; I:6.1 will be copied to N230:135 and I:6.2 will be copied to N230:136.

If you want to move just one word then use the MOV instruction.
 
When you look at the input file, I:6.1 and I:)6.2, what do you see? When you look at the destination data file, N230:135 and N230:136 what do you see? I assume you are online when you look at these. Do they appear like what you expect?
 

Similar Topics

I have the pleasure of converting a very large SLC program to Studio 5000 for an L81E processor. To cut to the chase, I've come across many COP...
Replies
3
Views
1,885
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
929
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
748
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,344
Customer has a circa 2004 SLC-500 PLC. Fieldbus is a 1747-SDN DeviceNet scanner. Customer has SLC-500 file (.rss) with no comments. Has no *.dnt...
Replies
7
Views
545
Back
Top Bottom