X0 启动 X1 停止 X2a点限位 X3 b点限位 Y0 向b运动 Y1 向a运动
0 LD X0
1 OR Y0
2 LD T1
3 ANI M0
4 ORB
5 ANI X1
6 ANI X2
7 ANI Y1
8 OUT Y0
9 LDP X2
11 OR M1
12 ANI T0
13 OUT Y0
14 OUT T0 K10
17 LD T0
18 ANI M0
19 OR Y1
20 ANI X1
21 ANI X3
22 ANI Y0
23 OUT Y1
24 LDP X3
26 OR M2
27 ANI T1
28 OUT M2
29 OUT T1 K10
32 LD X2
33 AND M1
34 LD X3
35 AND M2
36 ORB
37 LD X1
38 OR M0
39 ANB
40 OUT M0
41 END
图片给你校验用。