;PLC做下位机与MT70通讯协议
LD	M8002
MOV	H4A9	D8400
;当前楼层显示
LD	M8000
MOV	D6000	K2Y000
;锁梯回基站
LD	M8000
SEGD	K109	D10
LD	X000
MPS
ANI	T1
MOV	K1	D10
MPP
OUT	T1	K30
LDI	X000
MPS
ANI	T0
MOV	K2	D10
MPP
OUT	T0	K30
;电梯状态
LD	M8000
MPS
AND	D6012.8
OUT	Y010
MRD
AND	D6012.9
OUT	Y011
MRD
AND	D6012.C
OUT	Y012
MRD
AND	D6012.2
OUT	Y013
MPP
AND	D6012.E
OUT	Y014
END
