[project] name = "line1" entry = "program MAIN" cycle_limit = 100000 dt_ms = 10 [files] st = ["globals.st", "motor.st", "main.st"] # 全工程只允许这一处出现 VAR_GLOBAL(第一版:单个文件) [gvl] file = "globals.st" # 可选:I/O 绑定。不创造变量,var 必须已在 GVL 里声明 [[io.input]] var = "EmergencyStop" channel = 0 bit = 2 [[io.input]] var = "I0_0" channel = 0 bit = 0 [[io.output]] var = "Q0_0" channel = 0 bit = 0