Creating ST Program
Comparison of Internal/Local/Global Variables and PLC device | ||||
Itmes | Internal Var | Local Var | Global Var | Device |
Number of variables that can be registered in a single ST program | 500 | 500 | - | - |
Number of variables that can be registered in a project | 500x128* | 500x128* | 10,000 | CPU spec |
Adding arrays/structures (declaration and usage) | X | O | O | X |
PLC device allocation (ex. D15) | X | X | O | - |
Retain setting (maintaining value after power reset = latch) | X | X | O | O |
Online Edit Modification (Add/Edit) | O | O | X | O |
Online Edit – Maintaining data | X | X | O | O |
Usage in scan programs | X | X | O | O |
Monitoring in device monitor | X | X | O | O |
Monitoring in memory monitor | X | X | X | O |
Usage in special programs (communication, special) | X | X | X | O |
Data backup/recovery function | X | X | X | O |
Use of names in Korean and other non-English languages | X | X | X | - |
Creating ST Program
Select File -> New ST Program
In the project window, right click on [Project] -> select [New ST Program]
In the project window, right click on [Project] -> [ST Program] -> select [New ST Program]
*You can register up to 128 ST programs.
ST Program name and comments
Enter the program’s name and comment in the [New ST Program] window