Quantcast
Channel: Siemens Latest Topics
Viewing all articles
Browse latest Browse all 698

How to increase STRING length in Data Block in S7 300 PLC program

$
0
0

Hello Guys,
I have old Siemens program. In that DB952 is used for 2D barcode scanner data. Previously Barcode was only 10 letters but as per Customer requirement new Barcode is 12 letters. Now if we scan new Barcode with existing program it gives #####error on HMI. When I checked it I found in PLC program in DB952 STRING for barcode scanner data is defined as [10]. So now I want to increase that STRING Length so that I can scan my new Barcode with 12 letters without any error.
Please help me.....
Please see attached picture of my DB952 where STRING is declared.

STRING.jpg


Viewing all articles
Browse latest Browse all 698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>