黃色程序,自己看
LD M0
MPS
ZRST M8
M20
ZRST S5
S20
ANI M50
AND X000
OUT Y001
MRD
AND X000
ANI M50
AND X003
OUT Y002
MRD
AND X002
SET M50
MRD
AND M50
OUT Y000
MRD
AND X001
RST M50
MRD
ANI M51
AND X004
OUT Y004
MRD
AND X004
ANI M51
AND X007
OUT Y005
MRD
AND X006
SET M51
MRD
AND M51
OUT Y003
MRD
AND X005
RST M51
MRD
ANI M52
AND X010
OUT Y007
MRD
AND X010
ANI M52
AND X013
OUT Y010
MRD
AND X012
SET M52
MRD
AND M52
OUT Y006
MRD
AND X011
RST M52
MRD
ANI M53
AND X014
OUT Y012
OUT Y015
MRD
AND X014
ANI M53
AND X017
OUT Y013
MRD
AND X016
SET M53
MRD
AND M53
OUT Y011
OUT Y014
MRD
AND X015
RST M53
MRD
AND X020
RST M53
MRD
AND X021
RST M53
MRD
ANI M54
AND X022
OUT Y017
OUT Y025
MRD
AND X022
ANI M54
AND X024
OUT Y020
MRD
AND X025
SET M54
MRD
AND M54
OUT Y026
OUT Y016
MRD
AND X023
RST M54
MRD
AND X034
ANI X035
RST M54
MRD
ANI X034
AND X035
RST M54
MRD
AND X026
ANI X030
ANI X027
OUT Y022
MRD
AND X027
ANI X031
ANI X026
OUT Y021
MRD
MRD
AND X032
ANI X041
ANI X033
OUT Y024
MPP
ANI X032
AND X033
OUT Y023