Data types such as structs, classes and function blocks from TIA Portal are accessible as variables in SIMATIC AX library blocks. Depending on the access modifier the Step 7 Accessibility is available as in the following table:
| Program Organization Unit / User-defined data type |
Section | Access Modifier | Step 7 Accessibility |
|---|---|---|---|
| User-defined data type | --- | --- | ReadWrite |
| Class | --- | Public | ReadWrite |
| --- | Internal | ReadWrite | |
| --- | Private | ReadOnly | |
| --- | Protected | ReadOnly | |
| --- | Without Modifier | ReadOnly | |
| FB | Input | ReadWrite | |
| InOut | ReadWrite | ||
| Output | ReadWrite | ||
| Static | Public | ReadWrite | |
| Internal | ReadWrite | ||
| Private | ReadOnly | ||
| Protected | ReadOnly | ||
| Without Modifier | ReadOnly |