Strange Step 7 behaviour... anyone explain this one?

uptown47

Lifetime Supporting Member
Join Date
Feb 2008
Location
Over there, next to those boxes
Posts
1,146
Have a look at Network 49.

If I put in the DB address then all is well:




attachment.php



But if I leave out the DB address as I have done in networks after it and before it then I get an error ???

attachment.php



Anyone any ideas why this would be?

I wondered if maybe the DB register is being cleared by the JMPN instruction perhaps ??

Or is it a bug....

???

PS. All the lines are getting called and executed.

db_ok.jpg db_not_ok.jpg
 
Last edited:
Apologies to Rafal.

Kalle, you were right to check the DB register.

The DB register is being written with the DB111 instance DB that is used when I call FB 111.

So... Rafal, you were perfectly correct!

Kalle, thank you for pointing me in the right direction.

Cheers

John ;-)
 

Similar Topics

Hi all, I was recently transposing a bit of software and found that the original software used DB20.DBW2 as the timebase for a timer. Within...
Replies
7
Views
3,927
Hello all, I am facing an issue with my Commander SK that I cannot solve on my own, I am struggling on it since several days :confused: The...
Replies
9
Views
1,040
Hi. I'm doing an upgrade of an old 1400e to a new panel view plus 7 standard using ftv studio v 12,which will be communicating to a slc 5/04 via...
Replies
15
Views
2,614
Can someone explain the jumper between the elements? Does it do anything? See attached jpeg.
Replies
4
Views
684
We have an OPC server getting data from a Compactlogix PLC. The PLC also communicates with a Panelview and a couple VFDs via Ethernet/IP...
Replies
3
Views
1,163
Back
Top Bottom