ã西é¨åS7-200 PLCæ¥ç»å¯¹åç¼ç å¨é®é¢ã
ä¸è½½å°åï¼
http://www.ad.siemens.com.cn/download/docMessage.aspx?ID=5913&loginID=&srno=&sendtimeå°ä¸è½½ä¸å¿ï¼
http://www.ad.siemens.com.cn/download/ææ¡£ä¸ææ é¢:ææ ·å¨STEP 7 Micro/WIN ä¸ç¸äºè½¬æ¢äºè¿å¶ç åæ ¼é·ç ï¼
ææ¡£ç¼å·:26485059
äºè¿å¶ç ->æ ¼é·ç ï¼ç¼ç ï¼ï¼ä»æå³è¾¹ä¸ä½èµ·ï¼ä¾æ¬¡å°æ¯ä¸ä½ä¸å·¦è¾¹ä¸ä½å¼æ(XOR)ï¼ä½ä¸ºå¯¹åºæ ¼é·ç 该ä½çå¼ï¼æ左边ä¸ä½ä¸å(ç¸å½äºå·¦è¾¹æ¯0)ï¼
1100
è¦å°å®åä¸ºæ ¼è¾ç ï¼
第ä¸ä½0ä¸å
¶å·¦ä½å¼æç»æ为0
第äºä½0ä¸å
¶å·¦ä½å¼æç»æ为1
第ä¸ä½1ä¸å
¶å·¦ä½å¼æç»æ为0
第åä½1ä¿çç»æ为1
å æ¤æç»ç»æ为ï¼1010ï¼ä¹å°±æ¯åå§çæ ¼è¾ç ã
101010100 111111110
æ ¼é·ç -ãäºè¿å¶ç ï¼è§£ç ï¼ï¼ä»å·¦è¾¹ç¬¬äºä½èµ·ï¼å°æ¯ä½ä¸å·¦è¾¹ä¸ä½è§£ç åçå¼å¼æï¼ä½ä¸ºè¯¥ä½è§£ç åçå¼ï¼æ左边ä¸ä½ä¾ç¶ä¸åï¼
1010
è¦å°å®å为èªç¶äºè¿å¶:
0 ä¸ç¬¬åä½ 1 è¿è¡å¼æç»æ为 1
ä¸é¢ç»æ1ä¸ç¬¬ä¸ä½0å¼æç»æ为 1
ä¸é¢ç»æ1ä¸ç¬¬äºä½1å¼æç»æ为 0
ä¸é¢ç»æ0ä¸ç¬¬ä¸ä½0å¼æç»æ为 0
å æ¤æç»ç»æ为:1100,è¿å°±æ¯äºè¿å¶ç å³åè¿å¶12;
ç¼ç å¨éç¨9个è¾å
¥ç¹ç¼ç¨ï¼
http://www.ad.siemens.com.cn/service/answer/solution.asp?Q_id=39064&cid=1029å¤åç¼ç å¨å¦ä½æ§å¶è·ç¦»çï¼
http://www.ad.siemens.com.cn/service/answer/solution.asp?Q_id=39099&cid=1029ç®åºç¼ç å¨ç å¼ä¹åå¦ä½æ§å¶è·ç¦»ï¼
http://www.ad.siemens.com.cn/service/answer/solution.asp?Q_id=39122&cid=1029 å
å°æ ¼é·ç 转æ¢æ2è¿å¼ç ï¼ç¨å¼ææ令éä½è®¡ç®ï¼ï¼æå¾2è¿å¼æ°åç¨æ¯è¾æ令æ¥æ§å¶è¾åºçµç£éæ¢å
设ç¼ç å¨ä¸º8ä½ï¼è¾å
¥i0.0~i0.7ï¼æ ¼é·ç 转æ¢æ2è¿å¼ç ç¨åºï¼
A I 0.7
= M 0.7
X M 0.7
X I 0.6
= M 0.6
X M 0.6
X I 0.5
= M 0.5
X M 0.5
X I 0.4
= M 0.4
X M 0.4
X I 0.3
= M 0.3
X M 0.3
X I 0.2
= M 0.2
X M 0.2
X I 0.1
= M 0.1
X M 0.1
X I 0.0
= M 0.0
计ç®æå¾MB0å³ä¸ºæ ¼é·ç 对åºç2è¿å¼ç ã
å¯ä»¥åèãææ ·å¨STEP 7 Micro/WIN ä¸ç¸äºè½¬æ¢äºè¿å¶ç åæ ¼é·ç ï¼ã
https://support.automation.siemens.com/CN/adsearch/resultset.aspx?region=CNã=zh&netmode=internet&ui=MTg4ODY4ODMA&term=graycode&ID=26485059&ehbid=26485059