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