Learn PLCs free
Data Types & VariablesAdvancedAdvanced
1 min read
Updated 2025-11-10
Advanced

WSTRING

WSTRING

Wide character string supporting Unicode for international character sets.

Key Takeaways

  • Wide character string supporting Unicode for international character sets.
  • Advanced-level topic in Data Types & Variables
  • Related to: STRING, CHAR, BOOL

Detailed Definition

Wide character string supporting Unicode for international character sets. This term is essential for understanding data types in industrial automation and PLC programming.

WSTRING is part of the type system defined by IEC 61131-3, the international standard for PLC programming languages. Wide character string supporting Unicode for international character sets.

The right type choice depends on the value range you actually need, the precision tolerated, the memory budget on your controller, and how the data will be consumed downstream. Choosing too small a type causes overflow bugs that are hard to detect on the bench; choosing too large wastes memory and bandwidth that adds up across thousands of variables on a large project.

For commissioning engineers, the most reliable diagnostic with WSTRING is to inspect the variable in the IDE's online watch table while toggling related inputs — type-mismatch bugs are caught faster by direct observation than by reading code.

Common Questions

What is WSTRING?

Wide character string supporting Unicode for international character sets.

What prerequisites are needed to understand WSTRING?

As an advanced-level concept, WSTRING requires a solid foundation in PLC fundamentals and intermediate programming concepts. It's recommended to have hands-on experience with Data Types & Variables before diving deep into this topic.

What are related concepts I should learn?

To fully understand WSTRING, you should also familiarize yourself with STRING, CHAR, and BOOL. These concepts work together in industrial automation systems.

Was this helpful?

Let us know if this glossary term helped you understand WSTRING better.

Your feedback helps us improve our glossary and create better content for the PLC programming community.

Quick Info

Difficulty
Advanced
Tier
Advanced

About Data Types & Variables

Data structures, variable types, and memory organization

Total Terms:30
Difficulty:Beginner to Intermediate

Free PLC simulator

Stop reading, start doing

Write ladder logic in your browser, hit Run, and watch real machine scenarios react. 12 guided lessons across 8 PLC dialects — free account, no credit card.

Practice PLCs free →