三菱微型可编程控制器手册.pdf
FX Windows, Excel PC-9800NEC 1-1.............................................................. 10 1-2......................................................... 13 1-3..................................................... 18 1-4..................................................... 22 1-5.............................................................. 24 1-6................. 29 2-1. [K],[H] ........................................................ 32 2-2. ..................................................................... 34 2-3. [X], [Y]................................... 38 2-4.[M].................................................. 40 2-5.[S] ................................................................ 42 2-6. ................................................................. 44 2-7......................................................... 48 2-8................................................. 52 2-8-1............................................................................ 52 2-8-2.................................................. 54 2-8-3.................................................. 56 2-8-4.............................................. 57 2-9.[D] .................................................. 60 2-9-1.[D] ................................................................ 60 2-9-2.[V,Z] .............................................................. 63 2-9-3.FX1N,FX2N,FX2NC[D] ..... 64 2-9-4.FX1S[D] .......................... 68 2-10.[P] [I] ..................................................... 70 3-1....................................................................... 74 3-2 [LD] [LDI],[OUT].......................................................... 75 3-3 [AND],[ANI]..................................................................... 76 3-4 [OR],[ORI]......................................................................... 77 3-5 [LDP] [LDF] [ANDP], [ANDF], [ORP], [ORF]........ 78 3-6 [ORB]................................................................................. 80 3-7 [ANB]................................................................................ 81 3-8 [MPS], [MRD], [MPP]....................................................... 82 3-9 [MC], [MCR]...................................................................... 86 3-10 [INV]................................................................................ 88 3-11 [PLS], [PLF].................................................................... 90 3-12 [SET], [RST]..................................................................... 91 3-13.[OUT], [RST]................................... 92 3-14 [NOP], [END]................................................................. 93 3-15......................................................................... 94 3-15-1............................................. 94 3-15-2................... 95 3-15-3............................................. 96 4-1.[STL], [RET] .................................................... 98 4-2.SFC..................................... 100 4-3. SFC................................................................................. 102 4-4.SFC...................................................... 104 4-5SFC...................................................................... 110 4-5-1.......................................................... 110 4-5-2............................................. 111 4-6..................................................................... 112 4-7..................................................................... 114 4-7-1........................................ 114 4-7-2........................................ 115 4-8........................................................ 116 4-8-1................................................. 116 4-8-2................................................. 117 4-8-3............................................. 118 4-9......................................................................... 120 4-10.................................................. 124 4-11.................................................. 126 4-12FNC 60 IST................................... 128 6-1..................................................................... 142 6-2................................................................. 146 6-3FNC00-FNC09 [] ................................................... 149 6-4FNC10-FNC19 [] ............................................... 169 6-5.FNC20-FNC29 [] ....................................................... 181 6-6.FNC30-FNC39 []................................................... 191 6-7.FNC40-FNC49 [] ....................................................... 201 6-8.FNC50-FNC59 [] ....................................................... 213 6-9.FNC60-FNC69 [] ....................................................... 239 6-10.FNC70-FNC79 [. I/O] ............................................. 257 6-11.FNC80-FNC89 [. SER] ............................................ 273 6-12.FNC110-FNC119 [1] .............................................. 309 6-13.FNC120-FNC129 [2] .............................................. 315 6-14.FNC130-FNC139 [3] .............................................. 323 6-15.FNC140-FNC149 [2] .............................................. 327 6-16.FNC150-FNC159 [] ......................................................... 329 6-16-1............................................................ 330 6-16-2.................................................................... 331 6-16-3.............................. 332 6-16-4................................................... 333 6-16-5.................................................................... 334 6-17FNC160-FNC169 [] ............................................. 373 6-18FNC170-FNC179 [] ............................................. 383 6-19FNC220-FNC229 [] .................................... 389 7-1...................... 394 7-2........................................................ 416 7-3........................................... 434 7-4ASCII ....................................................... 436 7-5..................................................................... 437 7-6............................................................ 441 5-1................................................130 5-2............................................................135 5-3................................................138 8-1...........................................448 8-2.....................................................................450 8-2-1FX1S, FX1N.......450 8-2-2FX2N, FX2NC.....451 9-1.................................................................454 9-1-1................................454 9-1-2....................................455 9-2FX............458 9-3.......................................461 9-3-1FX2, FX2CFX2N, FX2NC ....461 9-3-2FX0, FX0S, FX0N FX1S, FX1N...462 9-4FX2NC....................................463 9-5....................................................465 9-5-1....................................465 9-5-2............................466 ON ON BIN BIN2 16 7 7 ASCII ASCII BFM BFM 202 203 204 205 205 206 207 207 209 210 214 215 216 218 220 221 226 227 231 232 240 246 247 248 249 250 251 253 254 256 258 259 260 262 263 265 267 268 270 270 “ “ “ BCD BIN BIN BIN BIN BIN BIN1 BIN1 150 153 153 154 154 154 166 167 168 168 170 171 172 173 174 175 177 178 179 180 182 183 184 185 186 186 187 187 187 188 192 192 193 193 194 194 196 196 198 198 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ “ ’ 8 * “ ’ 9 D8060D8067 I/O1 020 1X0Y 020 D8000 PP ON RAM I/OM8069 24VM8069ON -- OUT T,OUT C OUT T,OUT C P I MC LD,LDI9 LD,LDI LD,LDIANB,ORB STL,RET,MCR,PIEI,DI,SRET, IRET,FOR,NEXT,FEND,END MPP MPS12 MPSMRD,MPP STL9 STLMC,MCR,ISRET STLRETRET PI SRET,IRET ISRET,IRET STL,RET,MC,MCR FORNEXT6 FORNEXTSTL,RET,MC,MCR,IRET, SRET,FEND,END MCMCR MCR N0 MCMCRSRET,IRET,I LD,LDI9 LD,LDIANB,ORB LD,LDIANB,ORB MPS12 MPS MPP MPS-MRD,MPP STL,RET,MCR,P,I,DI,EI, FOR,NEXT,SRET,IRET,FEND,END T200Z Z100 T300 STL,MC,MCR FOR-NEXT STL,RET,MC,MCR,I,IRET FOR-NEXT FOR-NEXT NEXT MC MCR STL9 STL-RET MC,MCR,I,SRET,IRET RET I,SRET,IRET P,I SRET,IRET SRET FEND CJ,CALL END FORNEXT CALL6 3 FORNEXT6 FROM/TO IRET,SRETFORNEXT TsTs0 0100 KpKp0 TITI0 KDKD0201KD TDTD0 TS PV-3276832767PV EV-3276832767EV -3276832767 KP -3276832767 PID-3276832767 PID P I D * * * 150 13 FX2N,FX2NC “ “ ’ ’ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 3 2 1 1 1 2 2 2 2 2 2 2 2 2 3 3 2 3 3 2 3 5 5 R * R 0.08M1536M3071 0.16 0.08M1536M3071 0.16 0.08M1536M3071 0.16 0.08M1536M3071 0.16 0.08M1536M3071 0.16 0.08M1536M3071 0.16 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08M1536M3071M8 0.16 0.08M1536M3071M8 0.16 0.08M1536M3071M8 0.16 0.32M1536M3071 0.40 0.32M1536M3071 0.40 0.08 0.08 25 21 27.312.6nn 21.6 5083.5X5.7Y *2 44 44 38 38 38 38 25 24 *3 24 43 43 26 26 22 26 26 27 27 28 25 18 18 25 25 25 25 38 38 18 *1LD,LDI,AND,ANI,OR,ORI,OUT,SET,RSTM1536M30712 OUT,SET,RSTM82 *2FENDENDENDXY *3289nn *4n n1,n2,m1,m2 8 ““ ; ; ; ’ “ 3 3 1 1 1 1 1 1 3 1 7 9 5 1 1 5 7 7 5 5 5 7 7 7 7 3 3 7 7 7 3 5 5 5 5 9 9 9 9 7 7 5 5 5 7 7 5 7 7 7 1 5 5 1 3 1 7 1 9 9 1 3 9 9 9 1 3 1 3 1 3 1 3 5 5 1 3 1 3 1 3 5 9 9 9 9 9 1 3 1 3 9 9 R * R 29.0 32.2 21.2 18.1 55.8 18.5 5083.5X5.7Y *2 26.3 27.6 5.2 87.6 103.2 1.52 155.2 m1,m2,n14 51.4 97.01.7n 69.12.8n 57.2 37.9 32.4 27.6 27.6 25.2 32.0 18.8 18.9 23.4 23.5 23.5 35.3 61.7 61.2 66.32.2n 65.82.2n 107.053.8nl 104.953.8nl 125.611.7nl 125.411.8nl 83.9 80.2 77.01.7n *4 83.011.1N *4 89.29.4n *4 76.0 81.8 72.8 78.2 83.83.4n 100.8 37.7 150.2 66.8 91.9 108.9 1.84 55.9 73.25.2n 64.0 57.6 44.5 28.9 28.9 31.4 36.4 20.2 20.0 24.8 24.7 25.0 38.4 65.3 65.2 69.72.6n 69.52.6n 94.6 82.3 90.96.7n 154.8 66.8 6.4 6.4 6.4 6.4 6.4 1.52 6.4 m1,m2,n14 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 96.2 6.4 6.4 6.4 6.4 6.4 1.84 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 99.60.6n 65.31.7n 39.1 80.2 85.0 70.4 122.6 114.3 129.28.6n 91.820.2n 110.5 54.9 84.4 50.1 98.1 118.4 50.5 97.2 132.6 92.2 65.0 105.9 134.4 49.5 114.8 88.0 97.0486.9n 94.1556.7n 117.6 65.617.0n 88.210.8n 89.720.0n 90.54.8n 209.7 202.4 155.0 87.8 88.6 100.6 86.6 125.6 147.09.0n 97.521.5n 98.7 134.2 99.0962.3n 96.31098.6n 67.017.7n 104.4 124.5 106.9 81.3 6.4 6.4 23.6 80.2 73.3 73.3 87.5 6.4 22.9 6.4 19.5 44.9 84.4 6.4 81.6 107.2 19.5 22.2 23.4 27.4 6.4 26.5 22.1 6.4 88.5 6.4 6.4 18.0 6.4 6.4 6.4 6.4 27.3 27.3 89.0 6.4 6.4 6.4 75.8 90.5 22.9 6.4 22.2 22.9 6.4 6.4 6.4 6.4 6.4 6.4 6.4 ; “ “ ’ “ * * “ ’ ’ 5 3 9 7 7 7 9 7 9 9 9 5 7 3 9 9 1 1 7 9 9 5 7 9 1 1 5 5 9 9 9 5 7 7 7 5 5 9 1 3 1 3 1 7 1 3 1 7 1 7 1 7 1 3 1 7 1 7 1 7 9 1 3 1 7 9 9 R * R 67.5 36.1 134.2 140.2 118.8 109.4 46.2 112.0 102.5 103.4 117.4 117.4 96.4 100.4 152.1 70.4 199.5 262.5 425.3 41.2 107.1 107.5 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 6.4 ’ “ ’ ’ 5 3 1 1 9 7 7 3 3 5 5 1 3 1 3 1 3 1 3 9 9 9 9 9 5 9 9 R * R 1.52 1.52 1.52 1.52 1.52 1.52 1.52 1.52 1.52 1.52 1.52 1.52 1.52 1.52 1.52 1.52 1.52 1.52 1.84 1.84 1.84 1.84 1.84 1.84 1.84 1.84 1.84 1.84 1.84 1.84 1.84 1.84 1.84 1.84 1.84 1.84 “4 “5 “3 “3 5 “ “ 4 5 3 3 5 4 5 3 3 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 R * R ONOFF