三菱PLC指令说明.pdf
《三菱PLC指令说明.pdf》由会员分享,可在线阅读,更多相关《三菱PLC指令说明.pdf(484页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、?FX?Windows, Excel?PC-9800NEC? ?1-1. 101-2. 131-3. 181-4. 221-5. 241-6. 29? ?2-1.K,H . 322-2. 342-3.X, Y. 382-4.M. 402-5.S . 422-6. 442-7. 482-8. 522-8-1. 522-8-2. 542-8-3. 562-8-4. 572-9.D . 602-9-1.D . 602-9-2.V,Z . 632-9-3.FX1N,FX2N,FX2NCD . 642-9-4.FX1SD . 682-10.P I . 70? ?3-1. 743-2 LD LDI,OUT
2、. 753-3 AND,ANI. 763-4 OR,ORI. 773-5 LDP LDF ANDP, ANDF, ORP, ORF. 783-6 ORB. 803-7 ANB. 813-8 MPS, MRD, MPP. 823-9 MC, MCR. 863-10 INV. 883-11 PLS, PLF. 903-12 SET, RST. 913-13.OUT, RST. 923-14 NOP, END. 933-15. 943-15-1. 943-15-2. 953-15-3. 96? ?4-1.STL, RET . 984-2.SFC. 1004-3. SFC. 1024-4.SFC. 1
3、044-5SFC. 1104-5-1. 1104-5-2. 1114-6. 1124-7. 1144-7-1. 1144-7-2. 1154-8. 1164-8-1. 1164-8-2. 1174-8-3. 1184-9. 1204-10. 1244-11. 1264-12(FNC 60 IST). 128? ?6-1. 1426-2. 1466-3FNC00-FNC09 . 1496-4FNC10-FNC19 . 1696-5.FNC20-FNC29 . 1816-6.FNC30-FNC39 . 1916-7.FNC40-FNC49 . 2016-8.FNC50-FNC59 . 2136-9
4、.FNC60-FNC69 . 2396-10.FNC70-FNC79 . I/O . 2576-11.FNC80-FNC89 . SER . 2736-12.FNC110-FNC119 1 . 3096-13.FNC120-FNC129 2 . 3156-14.FNC130-FNC139 3 . 3236-15.FNC140-FNC149 2 . 3276-16.FNC150-FNC159 . 3296-16-1. 3306-16-2. 3316-16-3. 3326-16-4. 3336-16-5. 3346-17FNC160-FNC169 . 3736-18FNC170-FNC179 .
5、3836-19FNC220-FNC229 . 389? ?7-1. 3947-2. 4167-3. 4347-4ASCII. 4367-5. 4377-6. 441? ?5-1.1305-2.1355-3.138? ?8-1.4488-2.4508-2-1FX1S, FX1N.4508-2-2FX2N, FX2NC.451? ?9-1.4549-1-1.4549-1-2.4559-2FX.4589-3.4619-3-1FX2, FX2CFX2N, FX2NC.4619-3-2FX0, FX0S, FX0NFX1S, FX1N.4629-4FX2NC.4639-5.4659-5-1.4659-5
6、-2.466? ?ONONBINBIN21677ASCIIASCIIBFMBFM?202203204205205206207207209210214215216218220221226227231232240246247248249250251253254256258259260262263265267268270270? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ! ?!?!#?!? ? ? ? ? ? ?!? $ $ ? ? #?%?%?#? ? ?! ? ?BCDBINBINBINBINBINBIN1BIN1?150153153154154154166167
7、168168170171172173174175177178179180182183184185186186187187187188192192193193194194196196198198? &? ? ? ? ? ?# ? ? ? ?!? ? !? ? ? ?#?#?#?%? ? ? ? ? ? ? ?#?#?#?8HEX-ASCIIASCII-HEXPIC222-1010-2222222-BINSINCOSTANABS?2742842862882902922932943103113123133163173183193203213243253263283433473533573633743
8、75376377378379381384385386387? ?!? ?!?!?!? ? ? ? ?#?!? ? ? ? ?! ? ? ?!?!? ? ? ? ? ? # ? ?% ? %?#?(S1)=(S2)(S1)(S2)(S1)(S2)(S1)(S2)(S1)S2S1S2S1S2S1 C241Y000 C241K20Y002FNC10(CMP)FNC11(ZCP)C23512?32/2X012ONC251X000(A)X001BX011ONRSTY002ONOFFY003X012ONX006 ONC254X000A X001 (B)X011X002ONC254D1, D0Y004Y00
9、5 ()()X011X012C251K1234C251RSTC251Y002M8251Y003X011X012C254D0(D1)C254RSTC254Y004M8254Y005ABOFFONONOFFM8251-M8255/C251-C255/90AB/2-8-2?FNC56(SPD)FNC57(PLSY)FNC59(PLSR)1C235,C236,C246()/C251():/?$?)*8?$?)*8FNC53( D -HSCS)FNC54( D HSCR)FNC55( D HSZ)22C237-C245, C247-C250()/FNC56(SPD)/C252-C255()? ?$?)*
10、8?$?)*8FNC53( D HSCS), FNC54( D HSCR)?)*8?)*8?)*8FNC55( D HSZ)?)*8?)*8FNC56(SPD) FNC57(PLSY)FNC59(PLSR)2C235C236C246C251?*8?FNC53-55C235()60KhzC237()3KHz3KHzC253()2KHz4KHz (2KHz X 2)PLSY(Y0)7KHz7KHzPLSY(Y1)4KHz4KHz 18KHz20KHz ()?FNC56(SPD)C235C236C246 ()60KHzC251 ()30KHzC237-C245C247-C25010 KHzC252-
11、C2555KHzFNC56(SPD)?*8?(FNC53-55)FNC53 54 55FNC53546030C235():30Khz30KHzC237():10KHz10KHzC253():5KHz10KHz (5KHz X 2)50KHz60KHz()?C235C235X000M800020s (X000, X001), 50s (X002X005)(10ms)FNC51(REFE)D8020()10ms?OUT C*/WDTC235?D10123V0(V)V7Z0(Z)27163?D 0D1291283D 128D2551283D1000D2499D8000D8255256V0(V)V7Z
12、0(Z)2716?D 0D1992001D 200D5113122D 512D799974883D1000D8000D82552561632?$?$?16-32768+32767/?32(VZ)-2147483648-2147483647?$?$32D0D1?RUNSTOP0M8033RUN/STOPFX2NFX2NCRSTZRSTPCFX2-9-3.FX1N, FX2N, FX2NCD2-9-4. FX1SD0ROMD8000ROMFNC12 MOVD80001-5.7.7.250msM8002D8000K250FNC 12MOVFNC 07WDT?T 2D 0C 10D 20FNC12(M
13、OV)C 2D 5FNC 12MOVC2D5C10D4D 4C 10FNC 12MOV16D1020010D10(D11)800001032767632D(D10),(D11)D 10K200FNC 12MOVD10(D11)K8000FNC 12D MOV32D20D10D 20D 10FNC 12MOVFNC12(MOV)1632M8002T 10K300FNC 12MOVC 20T 10FNC 12MOVC 20K300T1030010C20T10T 1 032216C1, C032132C20032?(?V Z16V0V7Z0Z716LD, AND, OUTV, Z 3 21 6Z0Z
14、7V, ZFXZ32V0V732V()Z()V ()3216ZDMOV32VZ32?#?&?)?#?)?)V0K5,D20V0D25(D205)K30V010K35(K305)?%?)?)?%, Z1K8,X0Z1X10(X08: 8)8V, Z8Z1K10, X0Z1X12X10?*V5K30H30V5H4E(30HK30)V5H30H30V5H60(30H30H)5-3.FX0, FX0S, FX1, FX2, FX2CV, ZFX2N, FX2NCV, ZV0, Z032?D1000700011415001500D1000STOPRUNARAMBFNC15(BMOV)BRAM5 0 01
15、4ARAM/BFNC15(BMOV)RSTD 1 0 0 0B/BSTOPRUNASTOPRUNFNC15(BMOV)ABPCABRAMEEPROMOFFEPROMEEPROMON?RAM5 0 014ARAM/BRAM5 0 014ARAM/B?-#!? ?FX1N, FX2N, FX2NCFNC15(BMOV)BRAMFNC15(BMOV)FNC15(BMOV)D1000AX000ONB D SX001ONBAAEEPRMEEPROMONB DBS DFNC15(BMOV)M8024X000M8001M8024D200D1100FNC 15BMOVX001M8024K400SDnM8024
16、(OFF):D1100D200SDM8024(ON) :D1100D200SDBMOVBMOVOFF?FNC15(BMOV) S DRAM5 0 014ARAM/BRAM5 0 014ARAM/BM8024BMOVOFFX002ONBM8024BMOVONX003ONS Dn SD?-#!?BMOVOFFBMOVONBMOVOFFOFF?,?!#EEPROMOFFEEPROM1EEPROMMOVPEEPROM810ms?FX1SD1000-D24991-315001500FX1SD1000-D2499RAM5003ARAM/FX1SFX1NFX2NFX2NCFNC15(BMOV)?FNC15(
17、BMOV)FNC80(RS)FNC15(BMOV)EEPROMPFNC15(BMOV)EEPROMEEPROM1EEPROMBMOV PEEPROM810msOFF,?!#?-#!? ? ?PIFNC15PP63FNC00CJP 6 3 FNC00CJ1FNC00CJX 0 0 1O NFNC00CJ2FNC01CALLX001FNC01CALLFNC02SRETENDP63?P 0P6263P 631I00(X000)I10(X001)I20(X002)I30(X003)I40(X004)I50(X005)6P 0P62P64P127127P 631I00(X000)I10(X001)I20
18、(X002)I30(X003)I40(X004)I50(X005)61617183I010 I040I020 I050I030 I0606?FNC03(IRET)FNC04(EI)FNC05(DI)1)2)10ms99ms3)?FX2NFX2NC1-1?FX2N,FX2NCXYMSTCXYMSTCXYMSTCXYMSTCXYMSTCXYMSTCXYMSTCXYMSTCXYMSTCXYMSTCXYMSTCXYMSTCabababYMSTCLDLDILDPLDFANDANIANDPANDFORORIORPORFANBORBOUTSETRSTPLSPLFMCMCRMPSMRDMPPINVNOPEND
19、SETYMSRST YMSTCDPLSYMPLFYMMCYMNMCR NMPSMRDMPPINV?X,Y,M,S,T,CLDa1LDIbOUTY,M:1 S,M:2T:3 C:3-51X,Y,M,S,T,CY,M,S,T,CM1563-M30711LD,LDIANBOUTOUTOUT M100OUT TOOUTKOUT?1ms10ms100ms1632132,767132,767132,7672,147,483,648+2,147,483,6470.00132.7670.0132.7670.132.7673335?SP?M1536-M30711AND,ANI1OUTOUTOUTM101OUT
20、Y004DOSA6GPP/A7PHP11024?OUT M101T1OUT Y004,MPSX,Y,M,S,T,CX,Y,M,S,T,CANIB1ANDA1?X,Y,M,S,T,CORA1ORIB1X,Y,M,S,T,CM1536-M30711ORORI1ORBORORILD LDIDOSA6GPP/ATPHP24?OR, ORILD, LDIANB1LDLDI?X,Y,M,S,T,CLDP2LDF2X,Y,M,S,T,CANDP2ANDF2ORP2ORF2X,Y,M,S,T,CX,Y,M,S,T,CX,Y,M,S,T,CX,Y,M,S,T,CLDPANDPORPOFFONLDFANDFORF
21、ONOFF0 LDP X0002 ORP X0014 OUT M05 LD M56 ANDP X0028 OUT M10 LDF X0002 ORF X0014 OUT M05 LD M56 ANDF X0028 OUT M1X000X002ONOFFOFFON M0M1?X010OFFONM6X020OFFONMOVMLDP, LDF, ANDP, ANDF, ORP,ORFX000M0M01413M04LDM0ABCX000M2800A BABCLDM2800?ORB OR1? ?!?2LD, LDIORBANBORBORBORBLD, LDI80 LDX0001 ANDX0012 LDX
22、0023 ANDX0034 ORB5 LDIX0046 ANDX0057 ORB8 OUTY0060 LD X0001 AND X0012 LD X0023 AND X0034 LDI X0045 AND X0056 ORB7 ORB8 OUT Y006? ?!ANB1ANBLD, LDIANBANBANBORBLD, LDI8?ANBORANBOR? ?!? ?!? ?!ANB1MPSMRDMPPMRD1MPP11 1MPSMPSMPPM R DMPSY002MRDY003MRD24MPPMRDMPSMPSMPP11? ANB,ORB?24MPSMPS? ?!? ?!MC 3MCR2?MMC
23、YMNMCR NX000MCMCRX000/OUTMCLD, LDIMCMCRY, MMCOUT?N0N02NN0N1.N6N732N0?MCMCNN0N1N2N3N4N5N6N7MCRN7N6N5N4N3N2N1N0MCR N6, MCR N7MCR N558N7?BX000ON?CX000, X002ON?DX000, X002, X004ON?MCR N2C?MCR N1BMCR N0AY005/X010/, X000,X002, X004? ?!INV1INVINV?#?$?0 LDX0001 ?2 OUT Y000$?#?X000Y000ON, X000Y000ANDANIANDPA
24、NDFINVLD, LDI, LDP, LDFOR,ORI, ORP, ORF?ORBANBINVINVINVINVLDLDILDPLDFORBANB52WINVLD, LDI, LDP, LDFINV? ?!? ?!PLS1PLF1PLS Y,MMPLS Y,MMPLSONY, MPLFOFFY, MONRUNSTOPRUNPLSM0PLS M600RUNSTOPM60022? ? ? ? ? ? ? ?!?!SETY, M: 1S,M: 2T, C: 2D, V, Z, D: 3RSTRST Y,M,S,T,C,D,V,ZM1536-M30711RSTY,M,S,X000Y000X001Y
25、000MSSETRSTD(V) (Z)RSTK0T246T255RST? ?!? ?!OUT325163RSTRSTCC2KDX010X011C 0K10C 0RSTC 0Y000C0X011OOFONK10C0X011OFFONX010OUT CKC235-C245M8235M8245X010: ONX010: OFFX011ONC0C241, C242,.ONX012ONX000-X005ON/OFFC244C245,.ONK DONX000-X005 2-8-4KD? ?!? ?!NOPNOP1NOPNOPNOPNOP?END0NOP1ENDENDENDFX0ENDENDRUNENDEN
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 三菱 PLC 指令 说明
限制150内