DM…^(q¨±)Óò,PLC”µ(sh¨´)“þ(j¨´)´æƒ¦(ch¨³)Æ÷.
ég½ÓDM(BIN)Ö¸ÓöþßM(j¨¬n)ÖÆ·½Ê½Ö¸¶¨(DM/EM),ÐèÒªÔÚÇ°Ãæ¼Ó@×Ö·û.ÅeÀý:
[MOV #0001 @DM300] ¼ÙÈçDM300ƒÈ(n¨¨i)µÄÖµžé(0100),Ê®ßM(j¨¬n)ÖƾÍÊÇ256,Ò²¾ÍÊÇÖ¸¶¨ÁËDM256ß@‚€(g¨¨)µØÖ·.ÄÇôDM256¾ÍµÈÓÚ1.
µ«ÊÇ®”(d¨¡ng)ég½ÓµØÖ·Œ¦(du¨¬)‘ª(y¨©ng)µÄ”µ(sh¨´)“þ(j¨´)³¬ß^(gu¨°)(8000),„tÖ¸Ïò®”(d¨¡ng)Ç°µÄEM…^(q¨±)Óò.ÀýÈç:
[MOV #0001 @DM300] ¼ÙÈçDM300ƒÈ(n¨¨i)µÄÖµÊÇ8001,¼´Ê®ßM(j¨¬n)ÖÆ32769,„t®”(d¨¡ng)Ç°EM…^(q¨±),EM0001=1;
ég½ÓDM(BCD)Ö¸ÓÃBCD·½Ê½Ö¸¶¨DM/EM,ÐèÒªÔÚÇ°Ãæ¼Ó*Ì–(h¨¤o),ÅeÀý:
[MOV #0001 *D300] ¼ÙÈçDM300ƒÈ(n¨¨i)µÄÖµÊÇ0100,„tD100=1;