谁能把下面的转换成西门子s7-200的啊,顺便解说下,看不懂啊LD X000OR M1ANI C3OUT M1LD X000OUT C0K 1LDI M1RST C0LD X000OUT C1K 2LDI M1RST C1LD X000OUT C2K 3LDI M1RST C2LD X000OUT C3K 4LDI M1RST C3LD C0ANI C1OR C2ANI C3OUT Y000LD C1AN
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/27 16:48:37
谁能把下面的转换成西门子s7-200的啊,顺便解说下,看不懂啊LD X000OR M1ANI C3OUT M1LD X000OUT C0K 1LDI M1RST C0LD X000OUT C1K 2LDI M1RST C1LD X000OUT C2K 3LDI M1RST C2LD X000OUT C3K 4LDI M1RST C3LD C0ANI C1OR C2ANI C3OUT Y000LD C1AN
谁能把下面的转换成西门子s7-200的啊,顺便解说下,看不懂啊
LD X000
OR M1
ANI C3
OUT M1
LD X000
OUT C0
K 1
LDI M1
RST C0
LD X000
OUT C1
K 2
LDI M1
RST C1
LD X000
OUT C2
K 3
LDI M1
RST C2
LD X000
OUT C3
K 4
LDI M1
RST C3
LD C0
ANI C1
OR C2
ANI C3
OUT Y000
LD C1
ANI C3
OUT Y001
END
谁能把下面的转换成西门子s7-200的啊,顺便解说下,看不懂啊LD X000OR M1ANI C3OUT M1LD X000OUT C0K 1LDI M1RST C0LD X000OUT C1K 2LDI M1RST C1LD X000OUT C2K 3LDI M1RST C2LD X000OUT C3K 4LDI M1RST C3LD C0ANI C1OR C2ANI C3OUT Y000LD C1AN
ORGANIZATION_BLOCK 主程序:OB1
TITLE=程序注释
BEGIN
Network 1 // 网络标题
// 网络注释
LD I0.0
LD C10
CTU C10, +4
Network 2
LDW= C10, 1
OW= C10, 3
= Q0.0
Network 3
LDW= C10, 2
OW= C10, 3
= Q0.1
END_ORGANIZATION_BLOCK
SUBROUTINE_BLOCK SBR_0:SBR0
TITLE=子程序注释
BEGIN
Network 1 // 网络标题
// 网络注释
END_SUBROUTINE_BLOCK
INTERRUPT_BLOCK INT_0:INT0
TITLE=中断程序注释
BEGIN
Network 1 // 网络标题
// 网络注释
END_INTERRUPT_BLOCK