Help: S7 DI_STRNG issues

John Kerin

Member
Join Date
Jul 2007
Location
Victoria
Posts
1
A colleague is currently trying to utilise the IEC command "DI_STRNG" in an application at the moment.

He needs to convert two different integers into strings, which then need to be concatenated.

The issue arises when we try to use a second instance of the "DI_STRNG". When the second one is added to the block, we are unable to download it.
Error =
* "Unable to copy the block" D21A
* "Incorrect local data length, or write protection encode fault" Message no. 294:6

We are using "symbolically defined" outputs (i.e. in the local variable table.)

Is it OK to use two instances of "DI_STRING"? or do they need to be dealt with in an indexed stack?

Any other ideas?
 
Please post the source code (in absolute addressing format) of the block that will not download. What CPU are you using, how full is it ?

Sounds like your total local data area is too big.

As a test, create another (test) project and cut out as much as possible leaving only the problem block and only related blocks. Delete all blocks in the plc and then download the test project.
 
Last edited:

Similar Topics

I've adjusted the IP of the Panelview Plus as well as the DNS servers; the screen does not show up in the search when I go to the transfer utility...
Replies
3
Views
80
Hi Everyone, I own a GE Versamax controller that I purchased for a class at Long Beach City College a couple of years ago. I lost the use of my...
Replies
1
Views
50
I was wondering if anyone could help i am trying to use a SLC 500 with a 5/05 processor to set up an incremental encoder to a HSCE2 card? The card...
Replies
1
Views
96
Hello, I am working with cimplicity workbench, I have made changes to the current project from this machine I am using in the past. However when...
Replies
0
Views
47
Hello, doing switch from FBD to ST. First task is converting my old work. How do you sum variables? For example, Interlock1, interlocl2 and...
Replies
5
Views
188
Back
Top Bottom