ÏÄÐÓãy
¿ì˜·×Ô„Ó»¯
¼‰„e: ÂÔÓÐС³É
¾«ÈAÖ÷î}: 0
°l(f¨¡)Ìû”µÁ¿: 131 ‚€
¹¤¿ØÍþÍû: 249 üc
ÏÂÝd·e·Ö: 1501 ·Ö
ÔÚ¾€•rég: 84(С•r)
×¢ƒÔ•rég: 2008-04-27
×îºóµÇä›: 2024-11-08
²é¿´ÏÄÐÓãyµÄ Ö÷î} / »ØÙN
˜ÇÖ÷  °l(f¨¡)±íÓÚ: 2008-11-21 08:45
ÔÚšWÄ·ýˆÖÐÓÐ
”µ“þƒÈ´æ£¨DM£©
DMég½Ó£¨BIN£©
DMég½Ó£¨BCD£©
ß@Èý‚€ÓÐʲô…^(q¨±)„e°¡£¿
ŽÍŽÍæ°¡£¡¸÷λŽŸ¸µ£¡
smallnick
do good
¼‰„e: Õ“‰¯ÏÈäh
¾«ÈAÖ÷î}: 0
°l(f¨¡)Ìû”µÁ¿: 330 ‚€
¹¤¿ØÍþÍû: 1582 üc
ÏÂÝd·e·Ö: 13569 ·Ö
ÔÚ¾€•rég: 707(С•r)
×¢ƒÔ•rég: 2008-11-16
×îºóµÇä›: 2021-07-18
²é¿´smallnickµÄ Ö÷î} / »ØÙN
1˜Ç  °l(f¨¡)±íÓÚ: 2008-11-21 12:10
DM…^(q¨±)Óò,PLC”µ“þ´æƒ¦Æ÷.
ég½ÓDM(BIN)Ö¸ÓöþßMÖÆ·½Ê½Ö¸¶¨(DM/EM),ÐèÒªÔÚÇ°Ãæ¼Ó@×Ö·û.ÅeÀý:
[MOV #0001 @DM300]  ¼ÙÈçDM300ƒÈµÄÖµžé(0100),Ê®ßMÖƾÍÊÇ256,Ò²¾ÍÊÇÖ¸¶¨ÁËDM256ß@‚€µØÖ·.ÄÇôDM256¾ÍµÈÓÚ1.
µ«ÊÇ®”ég½ÓµØÖ·Œ¦‘ªµÄ”µ“þ³¬ß^(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;
±¾Ìû×î½üÔu·Öӛ䛣º
  • ÏÂÝd·e·Ö:+2(yjp-gyl) ŸáÐÄÖúÈË!