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

Hello everyone. Could someone please assist me? I am using Citect version 7.2 service pack 5 and Windows 7. I have created a project...
Replies
0
Views
71
Hello, I'm not sure if anyone can help me. I made a big mistake by pulling out the battery to swap it with the machine turned off, and as a...
Replies
0
Views
54
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
5
Views
139
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
11
Views
255
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
2
Views
181
Back
Top Bottom