When copy doesn't copy ...

croakus

Member
Join Date
May 2004
Location
Dayton, OH
Posts
101
All,
I was working on this program this weekend and ran into something 'new' (more like What The He__). I copied a rung from another station and pasted into my logic and found out the COP length of two was only one. See below:

Logic_Screen_Shot.jpg


Logic_Screen_Shot2.jpg


The COP on rung zero was working on the opposite hand machine, but not here. It would load 32767 from N7:22 to N7:20 but not N7:21 ! I finally had to add the MOV on rung two to get it to run.
I'm not using indexed addressing in the program but added a MOV 0 S:24 as a new rung zero. No luck.
The cross reference is the same station to station.

Any ideas?

Mike
 
Duh

Paul,
Thanks for waking me up. I was thinking in terms of a constant -i.e. COPying a zero to multiple words. Not the fact that I'm referencing a file "#N7:22".
I just didn't remember putting values into both N7:22 and N7:23 on the first station.

Thanks again

Mike
 

Similar Topics

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,171
Hello I wanted to copy a program. I'm using a MMC slot in my laptop Fujitsu-Siemens. Both MMC Cards are from Siemens orginal. I'm using s7imgrd1...
Replies
1
Views
4,902
I have 2 7cp476 plcs. How can I copy one of them and install it somewhere else?
Replies
0
Views
73
Hello Inside a FB, I´m trying to transfer a string from a DB to a IN_OUT var that was define as a UDT. The problem is that i can´t determine the...
Replies
4
Views
128
Hi everyone I'm in a bit of a conundrum, I've been trying to get this HMI on our machine and I am unable to retrieve it. Device Delta Model...
Replies
10
Views
883
Back
Top Bottom