狂风vida 发表于 2014-12-12 11:22:02

西门子编程

各位楼控达人,下面是一个空调机组的控制案例,哪位能给逐条解释一下,多谢!

00010    C LOW TEMPALAM
00020    IF ("EY-F2-1QAF") THEN GOTO 130
00030    IF ("EY-F2-1FA" .EQ. OFF) THEN GOTO 190
00040    C FAN RUN
00050    ON ("EY-F2-1DMP1","EY-F2-1DMP2")
00060    IF (SW2 .EQ. OFF) THEN GOTO 100
00070    C SUMMER VALVE CONTROL
00080    LOOP (0,"EY-F2-1HT","EY-F2-1CV","EY-F2-1TSET",3000,200,0,2,0,0,100,0)
00090    GOTO 230
00100    C WINTER VALVE CONTROL
00110    LOOP (128,"EY-F2-1HT","EY-F2-1CV","EY-F2-1TSET",3000,200,0,2,0,0,100,0)
00120    GOTO 230
00130    C LOW DETECT
00140    OFF ("EY-F2-1CMD")
00150    RELEAS (@OPER,"EY-F2-1CMD","EY-F2-1CV","EY-F2-1DMP1")
00160    SET (100,"EY-F2-1CV")
00170    IF ("EY-F2-1FA" .EQ. OFF) THEN OFF ("EY-F2-1DMP1")
00180    GOTO 230

00190    C FAN STOP
00200    OFF ("EY-F2-1DMP1")
00210    IF (SW2) THEN SET (0,"EY-F2-1CV") ELSE SET(0,"EY-F2-1CV")
00220    OFF ("EY-F2-1XDCMD")
00225    ON ("EY-F2-1DMP2")
00230    GOTO 10

lijianchuang070 发表于 2017-1-14 09:54:24

一个带防冻保护的两管制空调机组程序。
页: [1]
查看完整版本: 西门子编程