三相六拍步进电机PLC梯形图控制程序设计与调试
-7-
三相六拍步进电机PLC梯形图控制程序设计与调试
-8-
三相六拍步进电机PLC梯形图控制程序设计与调试
三、三相六拍步进电机控制语句表 LD I0.4 LD M1.0 EU
O M1.1 AN I0.5 EU MOVW 50, VW100 O C0
MOVB 2#100000, MB0 LD I0.5 LD I0.2 EU
= M3.0 AN I0.4
MOVW 5, VW100 LD M1.0
O M1.1 LD I0.0 AN M2.0 O M1.0 AN C20 AN I0.1 AN I0.2 AN I0.2
KA
TON T33, VW100 L1
L2
L3
LD M0.0 O M0.4 O M0.5 = Q0.0
LD M0.0 O M0.1 O M0.2 A M1.1 LD M0.2 O M0.3 O M0.4 A M1.0 OLD = Q0.1
LD M0.0 O M0.1 O M0.2 A M1.0 LD M0.2 O M0.3 O M0.3 A M1.1 OLD = Q0.2