View Issue Details

IDProjectCategoryView StatusLast Update
000141110000-008: Data Accesspublic2011-03-17 20:46
ReporterMatthias Damm Assigned ToKarl Deiretsbacher  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Summary0001411: There is no way to indicate a max length for string variables
Description

Most PLCs have fixed length string variables.
I have not found a way to indicate this fixed length to clients.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0001547 closedWolfgang Mahnke 10000-003: Address Space Add properties MaxArrayDimensions and MaxStringLength 

Activities

Karl Deiretsbacher

2011-03-16 13:36

developer   ~0002421

Strings are not simply bytes but a sequence of Unicode characters and the number of characters may be significantly lower than the number of Bytes.
A MaxStringLength that specifies the number of bytes is not useful.
If it is used for determining how many characters can be stored in the variable, the Client has to know in which format the Server stores characters (8-Bit, 16-Bit, 32-Bit Unicode) and has to perform different calculations depending on the format.

Issue History

Date Modified Username Field Change
2010-11-12 12:10 Matthias Damm New Issue
2011-02-14 06:23 Randy Armstrong Status new => assigned
2011-02-14 06:23 Randy Armstrong Assigned To => Karl Deiretsbacher
2011-03-16 13:36 Karl Deiretsbacher Status assigned => resolved
2011-03-16 13:36 Karl Deiretsbacher Resolution open => won't fix
2011-03-16 13:36 Karl Deiretsbacher Note Added: 0002421
2011-03-17 20:46 Randy Armstrong Relationship added related to 0001547
2011-03-17 20:46 Randy Armstrong Status resolved => closed