Cancel
Showing results for 
Search instead for 
Did you mean: 

Upload a String Variable with the MindConnect-IoT2040 per S7-communication

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Hello together,

 

is it possible to upload a String-Variable with the MindConnect-IoT2040.

 

If yes what is the writing for the Datatyp. DB1.????

 

When I create a new S7-Aspect in the MindSphere interface I can choose String in as Datatyp. But in the Getting Started the String isn't list in the table of the data types.

 Datatypes.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Config.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Thanks for your help.

 

Steffen1

2 REPLIES

Re: Upload a String Variable with the MindConnect-IoT2040 per S7-communication

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Hi @Steffen1 - I recently researched this a bit myself.  You are correct that the documentation is currently out of sync...you can specify a string data type in the MindSphere UI but it's not listed in that table.  We will have to update that portion. 

 

The MindSphere documentation does refer us to Step7/TIA documentation because the data types are so specific/custom to each user's configuration, but what I could find referenced strings in a DBx.DBBx format (where x references your actual data block configuration and where the string exists in that data block).  There are also different ways to implement a string (string, array of char) so again it's specific to your configuration...but try the DBB reference to see if that works? 

 

I'd also encourage others to chime in here if this is wrong...I'm by no means an S7/TIA expert.

Re: Upload a String Variable with the MindConnect-IoT2040 per S7-communication

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Hi @Mbossom,

 

thanks for your fast replay.

 

I will test this when I'm back at my testing rack.

 

See you,

Steffen1