Programming Port Mapping to Prevent Cross-Language Value Overwrites
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional programming assistance devices fail to prevent overwriting of set values on physical I/O ports when programs written in different programming languages are created, leading to unintended changes in set values.
Innovation Solution
A programming assistance device and method that displays a map information table associating reference names with set values for each device port, determining if a set value has been written in one programming language and prohibiting overwriting by another language, using a display processing unit, writing determination unit, and overwriting prohibition unit to maintain intended set values across multiple programming languages.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If multiple program authors create programs in different programming languages for the same system, then programming proficiency and working efficiency are improved, but the risk of mistakenly overwriting set values on device ports increases
Solution Approach 1:
The system provides feedback by detecting when a set value has already been written to a device port and notifying subsequent program authors. The writing determination unit monitors write operations and triggers the overwriting prohibition unit when a conflict is detected, creating a feedback loop that prevents erroneous overwrites while maintaining multi-language programming capabilities
Solution Approach 2:
The patent introduces an intermediary mechanism (the overwriting prohibition unit) that mediates between multiple program authors working in different languages. This intermediary detects potential conflicts and blocks harmful write operations, allowing collaborative development while protecting against overwriting errors
2Ease of operation
If a map information table is displayed to show set values for device ports, then program creation is supported, but the complexity of the programming assistance device increases
Solution Approach 1:
The device functionality is segmented into distinct units: display processing unit for showing the map information table, writing determination unit for detecting write operations, and overwriting prohibition unit for preventing conflicts. This segmentation allows each unit to perform its specific function independently, making the overall system more manageable and maintainable despite the added complexity
Data Source
AI summary
In the present invention, a map information table is displayed as a list on a display screen. The map information table associates a reference name field representing each of the plurality of device ports with a set value field for each device port. It is determined whether a set value has been written on the set value field for each of the device ports regarding a first program in a first programming language. Writing of a set value on the set value field is prohibited regarding a second program in a second programming language, which is different from the first programming language, for a device port for which it is determined that a set value has been written on the set value field regarding a first program in the first programming language.


