work1:LDH00000000TFD200TFD204TFD208TFD212TFD216TFD220LWADRTFW200LWDXNRLKH00FF程序需要使用的中间寄存器清0。#DW打开系统数据块DX0CXDX9FDGLFD252XGLW=FAKTFDGXGGFDJUM002TFW204M004:M003:HMIJCM002JUM005M001:>FJCM003LW=SLOCLKF+100LW=SLOCLKF+0TAK<FJCM004LKF+100JUM005LKF+work2:JCM001LKF+100LW=FASTM002:TFW204M005:LW=FAKTXFNOP0>FJCM003LKF+0TAKM002:M005:M004:M003:<FJCM004LW=FASTJUM005LWKF+100JUM005LWKF+0TFW204LW=FAKTXFJUM001LKF+100LW=SLOW>FJCM006M006:M008:M007:TAKLKF+0<FJCM007LW=SLOWJUM008LKF+0LW=FAKTXFLWKF+100JUM008TFW204M001::M002:TFW204LKF+0JUM001LFW204速度1运转速度2运转MC12MC21MC22无速度信号XFLKF-:M001:
PLC编程实例PLC经典练习八 来自淘豆网m.daumloan.com转载请标明出处.