1. Soft component addressing
1. Soft component addressing
Soft component is defined as an element representing a storage area, which is displayed as text in a program. This text is called a soft component.
A software component can be represented by an absolute address or symbol.
Absolute address: a combination of base address and offset address. For example, X000, M10, D100, etc.
Symbol representation: Define symbols in the software component manager and use them in the program. Symbols can be a combination of letters, numbers, and '_', but be careful not to conflict with existing addresses and symbols.
1.1. Global scope and local scope
Symbols defined within the Software Component Manager have a global scope.program parameterand Local variableare limited to the local scope within this program.。
If the program parameters have the same name as the global symbol, the program parameters take precedence. Local variables have higher priority* So it is strongly not recommended to engage in such behavior*