PLC Character-Code Conversion for Cross-Device File Name Decoding
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Programmable controllers (PLCs) face issues when connecting external devices using different character-code sets, leading to character corruption and inability to decode file names correctly across devices.
Innovation Solution
A programmable controller equipped with a storage unit, system unit, character-code conversion table, and character-code management unit that converts character codes between different encoding methods, ensuring file names are decoded consistently across devices with varying character-code sets.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a fixed character-code set is used in the PLC, then the system is simple and stable, but external devices using different character-code sets cannot communicate correctly, causing character corruption
Solution Approach 1:
The patent introduces a character-code conversion table as an intermediary mechanism between the PLC's fixed character-code set and external devices using different character-code sets. This conversion table stores correspondence relationships between multiple character-code sets, enabling the PLC to translate file names from external devices' character codes into its own fixed character-code set, thus ensuring correct identification and communication without changing the PLC's internal fixed character-code structure
Solution Approach 2:
The patent changes the parameter of character-code representation by introducing a conversion table that maps between different character-code sets. Instead of changing the PLC's fixed character-code set parameter, the system dynamically adjusts the interpretation of character codes through the conversion table, allowing the same fixed character-code set to correctly represent file names from external devices using different character-code sets
2Adaptability or versatility
If the PLC supports multiple character-code sets natively, then compatibility with external devices improves, but the system complexity increases
Solution Approach 1:
Rather than integrating multiple character-code set support directly into the PLC system, the patent uses a character-code conversion table as an intermediary layer. This table acts as a reference database that translates between the PLC's fixed character-code set and external devices' character-code sets, avoiding the need to modify the PLC's core character-code handling mechanisms and thus preventing system complexity from increasing
Solution Approach 2:
The patent segments the character-code conversion function into a separate, manageable conversion table structure. Instead of embedding complex multi-character-code support throughout the PLC system, the conversion table is organized as a distinct data structure that stores correspondence relationships between character codes of different sets, making the system easier to manage and maintain while still providing broad compatibility
Data Source
AI summary
To decode a file name set to a PLC to the same name even if a plurality of external devices using different character-code sets are connected to the PLC, the PLC includes a system unit that actuates the control file using a multilingual character-code set A, a character-code conversion table that associates character codes relating to a plurality of character-code sets with one another for every character, and a character-code management unit that converts description of the name of the control file between the description relating to the multilingual character-code set A and that relating to the local character-code set A using the character-code conversion table when the name of the access-target control file is transferred between the external device using the local character-code set A and the system unit.


