首页 » 正文内容 » FX2N_PLC_编程手册

FX2N_PLC_编程手册

时间:2022-03-03 16:35:57  热度:137°C

1、? ?11 ? ?FX2N PLC ? ?FX2N PLC ?/1 ?FX2N PLC ?/1 ?FX2N PLC ?/1 ?FX2N PLC ?/1 ?/2 ?/3 ?/3 ?/8 ? ?/10 ? ?!?#?$%)?/31 ?//)?/32 ?ABCDE)?/34 ? ?FG?$%? ?fd? ?P ?!#? ? ?$b ?f? ? ?3z? ?f%?/? ?+/?3z? ? -?o?”C? -?/? ?/0?3z?H 1?23C45?)?3z?*/? ?63z? 78Z?9/?/? ?3z? ? ?3z?HAB -?/0?C?/? 1/1/4#?$% ? ? ? ? ?!#$ ? %?

2、?3456785ABC?D?EF G/ HIJKHLJ?MN/2O3456785?DPQRJS?TU?VTWX+ ?YZ? G/ HJ/2 ? _?EFa?b_cde?/ ? ?17 1/2? 1/2/1? ?!?#? ?D?E? LD?F?T? LDI?F?G? AND?H?T? ANI?H?G? OR ? ?T? ORI?G? ANB?IJH$ ORB?IJ?$ OUT?KL? SET?KL?2? RST?MkKL? PLS?NOP?QR PLF?SP?QR LDP ? F?NOP LDF ? F?SP ANDP?NOP?H$? ANDF?SP?H$? ORP?NOP?$? ORF?SP?

3、$? INV?bc? MPS?/T MRD?FT MPP?T MC?O3 MCR?O3PQ NOP?+? END?HPQ ?3 FX2N PLC ?g3? ?JNs?J /? ?Ns?J?Og?g?G?W?_?x ? ?/?dq? ? ?c? SLJDWin b? Windows ?4?4? Windows 95Windows 98Windows 2000Windows XP ? 6?(4 ? $r?0? ? FX2N PLC ?J?XYD?CFG?on ?Hn ?H?n? ?H?3?L?n ?(? ?n ? ?25 ? 2/1 !?#?$%NI?NIH$? ? ANB ? // LD/LDI

4、/LDP/LDF ? ? ANB ?NOP?W$? ?0?H 5?7 C 15?17 ?W?X0?KLG?S P?W$? ? ? SET/RST ? fi ?(4 ? ?35 2/8 SET/RST ? 2/8/1 ?( D?E?FG J?H0 SET sW?2?Y/M/S RST ?J1s?s?k? RST ? s”a?2? 1 ?0 RST ?Js?2? 0 ?k? SET ?s ?0$JSET/RST ? 2H?H? ? ?RST ?x?(D)?(V/Z)?(T)Cx?(C)/ ?2?2?sy 2/8/2 ?)? 0LDX000 1SETY000 2LDIX001 3RSTY000 4L

5、DPX001 6SETY001 7LDFX001 8RSTY001 10END ? ?36 2/9 NOP/END ? 2/9/1 ?( D?E?FG J?H0 NOP +?W?1 END PQ?MN?TU1 ?HMk? NOP ?g? NOP ?H?/? ?lg?H?0 x ?)?Hwx?$?$? END ? N ?ABCD?EFGH0I1J?KL=? N00M ? N15NO=? MCR ?/0PQRHST/?VW 7 !N66?5 ?SET Si J STL x?“?9? ? fi ?Y?=? STL-RET ?5 ? *+x?!S0$%V?Y/1Y?Ark//5 ?g1 v ? ? ?

6、BCDEF?gh j?=?X?m0GGHI4JK?vw0 ?CD!LkCD FEND? FORCDVWq? ? ? ? ? NEXTCDVW? CMPcd ZCPefcd MOVg?U?W ? ? ?fi ?/?5 ?E/? ? ? ? X001?ON? 0s23b?F?4? P11 ?023?/X23 SRET ? ?/?0?h0?G? 2 ?078? 5 ? ?AB?0 P0Z!0+12=12?AB 1C?DE/ ?g5 ?L5?L?!?5 16bit ?V?AB=? 0-199 VW? 32bit ?V?AB=? 200-255 VW5 16bit ?V?AB4 32bit 32bit

7、?V?AB4 16bit /0?t3 X?m?//0m?t35 C100Z0Z ?-100-+99 VW5 C233V0V ?-33-+22 VW5 A?zY?5 MOV K2 V0Z Y?v?5 B?(?=?rn? KnM0 ?s? n Y?5 MOV K2 K1VM10 Y?v?5 5/2 ZZU XCY ?Y? ?JL?#$?C?0? CPU ?D345?W?NP? %?EF0P?_5?4%?G?5? ?G?W s9- q?ffc?5 HI?ffc?5 /Jffc?5 z?1K?q?fLM? X0q?fcLM? Y ?NO? 5/2/1ffc? X?Y ? ?X?Y ABIV? X8 l

8、?AB0VWX000-X177?V?128 ?5 Y8 l?AB0VWY000-Y177?V?128 ?5 8w PLC $% X?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bIU S ?Y? 5/4/1 x? S ? x? S ?gk?x?/0

12、?lD?m5STL ?K ?Jx? S0?Y? S ?5 ? STL ?m0 x? S ?W/?=?5 ?S ?BVW?V? ?BVWS0-S999 0?l?0? 1000 k5 ?S0-S4990? 500 k5 ?yz?S500-S9990? 500 k5 ? S ?yz? S ?e? ? S?t3/0?8?&0S Y?Y?+?x?0K ? ? *+?N5 ?yz? S?t3/0?8?&0S ?x?Y*+? ?L0?+x?N5 ?m0?yz?G?5 5/4/2 x? S ? ? S ?yz?5 gh?$X?m0A?B?C 9u?gCD?EV?K?5h?/ K?X?0K?80)?c?r?B0

13、Z/?+?/siK?5?K?X?m ?0?YbcK?D?EV?5 ?jg1 vhm S0C0M ?yz?5 5/5 cdU T ?Y? 5/5/1/? T ? ? ? /? T I?/o?0*?/?f4/o80? k?0?%-? ?wfc0-?m?F?=?5?m0?/?5 /?V?5 /Xl?/?*+?0R?bc-?fc0?i?/5 ?T ?-?BVW?V? 100ms ? ?T0-T1990200 ?5 |?T250-T25506 ?5 10ms ? T200-T245046 ?0K?5 1ms ?T246-T24904 ?0K?|?5 /? K2000? 100ms ?0?/=200*10

14、0ms=20s? 10ms ?0?/ =200*10ms=2s? 1ms ?0?/=200*1ms=0/2s5 ?/?!?GV K0I?V? D o?5 ?/? X0=ON0T0 ? 100ms ?V 1 F0*?V?f4 200 /0T0 Gq-? ON0*+? V0*?4UH? K32767 /yzY?5 X0=OFF0?/? T0 (0T0 *+?=00T0 Gq-? OFF5 p80?/? T0 (5 ?|?/? X0=ON0T250 ? 100ms ?V 1 F0*?V?f4 200 /0T250 Gq-? ON0*+? ?V0*?4UH? K32767 /yzY?5 X0=OFF0

15、T250 *+?yzY?0T250 -?x?yzY?5 X1=ON0/? T250 (0T250 *+?=00T250 Gq-?=OFF5 p80M? T250 yzp+x?5 A?/GV?i ? ? !?/0K?GV K0Y?GV H5 B?/?-?fc /?Jmp?w?/?0*+?=?/0L23 OUT T ?0s?/?Y ?fc5W*+?cdJ? OUT ?m23?5bcds/OP/? /80OUT ?m230*+?nH?0?-?mfc5 ?c0/?23o OUT ?fcXZN5 5/5/2/? T ? /?m?Jp0)?DF//0cq/r0s?/?5 ? ? gh?tuq?v5?vw?

16、LU0?W?w?w5 *tu?s/!X0=ON& 0?/?w0tu?z? 5 ?0?/w? *tu?/!X1=ON& 0?w0tuz? 5 ?0?w5 ?wEw?YJxY?0?py?hF?w?z0y?|= ?w5 v ? ? 5/6 e/U C ?Y? ?V?B0?p?V0?V?T0fc-? ?B5 ?V?C?VVW?0L 16bit E 32bit tuYZ?A?V?5?t-?V?2 ? C q?0?Y?wR?4?l3340j?J?AYZ?t-?5 ?s/?m?ql35 5/6/116 bit ?V? C ? 16 bit ?V? C ?l3?V0*?V?f4!X?/0?V?Gq-?=ON0

17、 -?m?F?=?5 16 bit ?V? C J?i?V?5 ?V?GV K !?0I?V? D o?5 16bit ?V?VW1-+327660/?4-32766-+327665 ?V?V?=?0? 32768-+32767 1?5 /Xl?V?*+?0R?bc-?fc5 *?V?J/?/0?V?/?5 ?16bit ?-?BVW?V? ?BC0-C1990?l?0? 200 k5 ?C0-C990100 k5 yz?C100-C1990100 k5 ?16 bit ?V?Eyz?e? ?V? C0 ?80?V?$0Rq?V5 yz?V? C100 ?80?0?V?L?G?5 RUN?ST

18、OP F0E?6NZ5 ? ? ?16 bit ?V?i !?/0K?GV K0Y?GV H5 A?16 bit ?V?-?fc ?V?=?/0L23 OUT C ?0s?V?Yfc5W?V?c dJ? OUT ?m23?5* OUT C 23/0?V?H?0-?fc0Z/?V ?W?5 5/6/232 bit ?V? C ? 32 bit ?V? C JDv?V?5 G?V/0?V?!?-1&?/0?V?-?(5 j?V/0?V?!?-1&/0?V?-?(5 ?Gj?V0?V?OPs02Ybc?V?-?5 RST C ?0(?V?-?0?V? 05 ?V?GV K !?0I? 32 bit

19、V? DN-1!DN&o?5 32bit ?V?VWK-2147483648-K21474836475 Dv?V?K-2147483648 j 1 8?W K2147483647? K2147483647 ? 1 8?W K-21474836485 ?V? 32bit V?=?5 /Xl?V?*+?0R?bc-?fc5 ?32bit ?-?BVW?V? ?BC200-C2550?l?0? 56 k5 32bit ?V?2J?yz?0?V?-?x?p8yzp+x?5 ? ? ? 32 bit ?V? !? K GV? ? 2 kN?V?o?5 ? 32 bit ?V?V?7 32 bit ?V?

20、KLk?V?0Gj?7?J/X?/#?jd?5 C200-C255 ?#?W M8200-M82555 A?32bit ?V?-?/?X? ?mvWh5G?V?V? K-4 4 K-3 /0C201 -?(? j?V?V? K-3 4 K-4 /0C201 -?(? 5/6/3 16 bit ?V? C ? ? ? ?SS“?TUt3?/o0?V?/?i45 s?TUm0GG?j?p0?rl3?5?BE/o?=? V?5hm?9?0C100 ?gB!0?1?2& 0C101 ?g?l3/o0? B?0?R D1?D2?D3 c?/o5?/o?R0I?/Xh)/? ?5 5/6/432 bit

21、?V? ? ? LSw)A0? A?B t/noS0?pO7? A Z7? B /0“c ?B!Y2?Y3& ?4f A!X0=ON& B!X1=ON&80? 5s!T0&8?7? ?UH?VW0Lf4 A B0“c?)A(?LHI?g?0 WyHI?0? A?B /(9?0)$|?5 ? ? 5/7 /fSTU D ?Y? 5/7/1V? D ? kV? D N?Wkn0nW 16bit0?CV?5nW(0? =ren?9n?rnV?5 V?C?nEenCW?0U 1 (J?B(5 V? D KJkV?f?vw0?g7V?l?|?V?BCD w0 I?0?(l?YZ?#$5 V? D ?V?

22、tu?/J?/?W?5 ?V? D ?-?BVW?V? ?B/?V?D0-D59990?l?0? 6000 k5 ?D0-D1990200 k5 yz?D200-D599905800 k5 ?D6000-D7019 0?l?0? 1020 k5?V? ?W?yz?5 ?Eyz?e? ?0p80V?W 0?yz?0p8yzp+x?5 ?TUL5PV?b70b78?y5 ?b780Y?OPs0?c?5 ? D mV?i?!EasyWin h)/&?!?*+?5 ?V?*+?5 ? ? l3hm?O7g&0s?V?*+?5 A?/X D ?V?0f4?fi ?5 B?C$?w=? ? ? ?V? D

23、6000-D69990D7000-D7999 ?=?i0? IA?5 5/7/2V? D ? ?m0H?=?V?5 ?Jj?TUm0?T?A?5 ghm0Qs?ui!Z7b?& 0 X*+/fc!0-1000& ?X0+b?fc? T*+js?T0+js? K1?K2 Wb7?0K2=30*K1? K1=10K2=30? b? t=?0c?W 2s5 ?vm0?TW X=D3000X0=D3010K1=D3020K2=D3030T=D3040SP=D3050 T0=D3060t=D3075 *!? SP - j T& 00fc X ?H0? X=1000? *!? SP - j T&=0? ?

24、 ? Zkhfi I?|?VA5 ?m0H?=?V? D5?_R_/J0?_?PQ=?V? D58P?L?IA? 5 5/8 ?/g?h P ?Y? 5/8/1?(? P ? ?/0?W?fi ?5 ? CJ?CALL ?m=?5 P ?a?V/?0?mPQ/4?/0s?t3/c5 P ?/?(/!P cd?w6?/& 0PQJ?0?Yx?5 ?BVWP0-P127?BW?l?5 V?128 k5 5/8/2?(? P ? ? ? ? CJ m?!?& 5 ? CALL m?!fi ?& 5 L 8 U)=r?)0L?u?OP!#?)& ? ? OP 18 UZ7Z/t? OP 21#?3#?

25、5#?7# rUZ7Z/t? OP 3_?)? OP 41#?3#?5#?7# rUO7Z/t? OP 58 UO7Z/t? 5/9 i/J? KCH jk? 5/9/1 GV? K ? ? K 8?n?0?g?l?GV5 K100 ?g?l? 1005?V?/? ?/=?a?Vm?4GV/=?5 K GV?0 K100V10?g?l?GV 1200! V=1100& ? K1000Z70?g?l?GV-100! Z7=-1100& 5 ?yz?m0GV K Y?0 OUT C0 K100V JY? ?5 ?m0-X KnM0 =?0?g n*4 k(?=r? BIN GV5 lL n m?Q

26、RVn0 K1VM0 Y? 0? K1M0V J? M ?0J?5 16bit ?m n=4?32bit ?m n=8? 0K1M0 ?g 4 k(?!M0-M3&=?g? BIN GV? K2M0 ?g 8 k(?!M0-M7&=?g? BIN GV? K3M0 ?g 12 k(?!M0-M11&=?g? BIN GV? 5/9/2 GV? H H 8?n?0?g?l?GV5?m?GVa?V5 H GV?0 H0010V10?g?l?GV H001A=K26! V=10& ? 5/10 opGH8? G?=?#?s M8000?fc?0?t3/ ON?X?/=?5 M8002a?S?0?t3

27、?Lkfl ?/ ON?PVa?/=?5 M8020?W?5tu?5 M8021 (?W?5tu?5 M8022l(?W?5tu?5 M8200-M8255* 32 bit ?V? C200-C255 ?j?V/0PQ?/N ?#?5 M8200=ON0C200 ?j?V5 ? ? ? 6/1 PID & 6/1/1? ?l3 PID ? PID tu?5 f4?a/o? PID ?8fl ?/l3 PID tu5 fi ?(SV) d?(PV) 23?/0tu?(MV)?m5 +6 ?PV ?s?0?A? RUN /0P?$yz?5 mW?yze?V ?B5 ?L? 25 kV?5 16 (

28、? PID 9 ? 32 (? ? ? ? ?D0D5975 ? n ? ? ( ? ? K/H KnX KnY KnM KnS T C D V/Z X Y M S S1S2S3 D S3 S1 S2 S3 S3 D D D S3 ?a ?V ? ? ?PV? PID tu+PQR?5?PV?L 25 k ?a/o(TS) 132767(ms) (?ctu?/oV?i23) +1/?7(ACT) bit0 0Z/? 1?/?5 bit1 0f? 1f?L6 bit2 0fc? 1fc?L6 bit3 Y?=? bit4 ?/b?Y/? 123?/b? bit5 fc?s? 1fc?sL6 bi

29、t6bit15 Y?=? ?%0?Y?= bit5 E bit12 Z//? ON5 +2f?GV(?) 099% 0 /Lf? +3chG?(Kp) 132767% +4?/o(T1) 032767(100ms) 0 /?W?//(?) +5?G?(KD) 0100% 0 /?G? +6?/o(TD) 032767(10ms) 0 /?// +7 PID tu?//? +19 +20 f?(G)? 032767 +21 f?(G)? 032767 +22 fc?(G)? 032767 +23 fc?(j)?L6) S3 S3 S3 S3 S3 S3 S3 S3 S3 S3 S3 S3 PV

30、S3 ? ? +24 fc bit0 f?Gc bit1 f?jc bit2 fc?Gc bit3 fc?jc ?PID ?F230?1tu=?BY?5 ? PID ?fi ?lv?F?mI?=?5?uOPs023 PID ?+?$ +7 8?=?5 ?a/o TS ?UH?W-(1 tu+1ms)+(1 tu)5 ?a/o TS?A? 1 ktu0s“ PID tu5 ?f?GVL=?65 ?G?LEfc?65 ?/?7( +1 bit 0) +1 ?bit 0=0?Z/?TU?/?75 +1 ?bit 0=1?/?TU?/?75 ?fc?s( +1 bit 5) +1 ? bit5=1fc

31、?sL65 L? PID ?GH?65 =?k?/0PQ +1 ? bit 2=05 S3 S3D S3 S3 S3 S3 S3 S3 S3 ? ? fc? Y?fc +22 fc? fc?sY?fc /o ?ffc? ?= (+F?)-(?F?) ?/?( +24) i) f? (bit1=1) ii) fc? (bit2=1) f?fc? GG ?a?a 0 FV 0 FV jj ? +24 +24 bit0 ON OFF bit2 ON OFF +24 +24 bit1 OFF ON bit3 OFF ON S3 ?fc?s Lfc?s S3 S3S3 S3 ? ? W?23 PID ?

32、4?0PQp? ?PV?U?5?PQp PID ?9kGV chG?Kp ? ?/oT1 ? ?/oTD 5 ?1i0#Oi?p?9kPV5 0OiJ?TU“? 0 ? x %?0fc0E?f?p/?0 R?p PID 9kGV?i5/G x=100075050 5 100% fc?fc?(MV) 0% /o f? ?UH? (R) /o (Sec) ?/o(L) I (Sec) (Sec) p PID PV ? ? chG? (Kp)% ?/o (T1)100ms ?/o (TD)100ms Lch?(P /?) 1 fc? RL (MV) PI ?(PI /?) 0/9 fc? RL (M

33、V) 33L PID ?(PID /?) 1/2 fc? RL (MV) 20L50L W?4U PID ?0=?7?51J?0Oi?/ ?PV /?7 +1 ?bit0 chG? +3 ?/o +4 ?/o +6 ?g&?7?fc?fc?m5 ?k?/b?fc?fc?fc?UH? ?VW =?5 ? ?7Y?PV?a/o?f?G?Ifi ? 5 Y?s?1?0s?7?YZ?5 1? fi fi ? ?7q?/?Efi ?YJ ? ?sY?Z?75 0YJ ? ?OP/0?7?fi ?0fl ?7?r80 ?Ffi ?5 S3 S3 D ?7 PID PV S3 S3 ? ? fi ?a/o ?7/?a/oPQ? ?5 ?%z?a/o?=?HH?fc?/o?5 ? +1(ACT)? bit 4 W ON 80s?7q?5 ? ?f 1/3!q?/?-fi ?&?/0s?7?0 +1(ACT)

免责声明:
1. 《FX2N_PLC_编程手册》内容来源于互联网,版权归原著者或相关公司所有。
2. 若《86561825文库网》收录的文本内容侵犯了您的权益或隐私,请立即通知我们删除。