PLCS7-300课后习题答案

泵启动到20次后,暂停80s之后,继续重复上述步骤。如此一直循环下去,直到按下停止按钮I0.1。 STL程序如下:

A I 0.0 AN I 0.1 AN M 0.1 = L 20.0 A L 20.0 AN M 0.0 = Q 0.0 A(

A L 20.0 AN T 1 L S5T#45S SD T 0 NOP 0 NOP 0 NOP 0

A T 0 )

= M 0.0 A M 0.0 = Q 1.0 A L 20.0 A T 0 L S5T#20S SD T 1 NOP 0

NOP 0 NOP 0 NOP 0

A M 0.0 CU C 0 BLD 101 NOP 0 NOP 0 A(

O I 0.1 O M 0.2 )

R C 0 L C 0 T MW 1 NOP 0 NOP 0

A(

AN I 0.1 A( L 20

L MW 1 ==I )

= M 0.1 A M 0.1 L S5T#1M20S SD T 2 NOP 0 NOP 0 NOP 0

A T 2 )

= M 0.2 A M 0.2 = Q 1.1

实验仿真:

按下启动开关I0.1,泵开始工作:

启动45s后,计数器加1:之后暂停20s,

待泵启动20次以后,暂停80秒:

之后重复上述步骤:

仿真完毕,满足题目要求。

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4