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

So i've been at this for a long while, i have Citect Scada 2018, i have full access to everything but i can't seem to find any option or...
Replies
0
Views
26
Hi all, hope you are having a great day, I am in need of your help to create a AOI or program that does this kind of job: I have a IO Link...
Replies
14
Views
169
please help me . I have to make this ladder diagram and I can’t figure it out :(
Replies
12
Views
346
Hi Everyone, i was hoping for a little help with this module. i have data that needs to be read from a different plc through the Modbus plus...
Replies
11
Views
227
Hello, I am trying to replicate a piece of logic on the PLC5 onto an SEL RTAC. I am using ladder on SEL and FBD. I am having issue on the ladder...
Replies
13
Views
232
Back
Top Bottom