11
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
Table of Contents
34. FX3U-CF-ADP Applied Instructions – FNC300 to FNC305 732
34.1 FNC 300 – FLCRT / File create•check .............................................................................................. 733
34.1.1 Detailed explanation of setting data.................................................................................................... 734
34.2 FNC 301 – FLDEL / File delete•CF card format ................................................................................ 735
34.2.1 Detailed explanation of setting data.................................................................................................... 736
34.3 FNC 302 – FLWR / Data write ........................................................................................................... 737
34.3.1 Detailed explanation of setting data.................................................................................................... 739
34.4 FNC 303 – FLRD / Data read............................................................................................................. 740
34.4.1 Detailed explanation of setting data.................................................................................................... 741
34.5 FNC 304 – FLCMD / FX3U-CF-ADP command ................................................................................. 742
34.5.1 Detailed explanation of setting data.................................................................................................... 743
34.6 FNC 305 – FLSTRD / FX3U-CF-ADP status read ............................................................................. 744
34.6.1 Detailed explanation of setting data.................................................................................................... 745
35. SFC Program and Step Ladder 747
35.1 SFC Program ..................................................................................................................................... 747
35.1.1 Outline................................................................................................................................................. 747
35.1.2 Explanation of function and operation................................................................................................. 747
35.1.3 SFC program creating procedure........................................................................................................ 749
35.1.4 Handling and role of initial state relay .................................................................................................752
35.1.5 Latched (battery backed) type state relays ......................................................................................... 753
35.1.6 Role of the RET instruction ................................................................................................................. 753
35.1.7 Preliminary knowledge for creating SFC program .............................................................................. 753
35.1.8 SFC flow formats................................................................................................................................. 759
35.1.9 Program of branch/recombination state relays ................................................................................... 762
35.1.10 Rule for creating branch circuit ......................................................................................................... 763
35.1.11 Program examples............................................................................................................................ 767
35.2 Step Ladder........................................................................................................................................ 776
35.2.1 Outline................................................................................................................................................. 776
35.2.2 Explanation of function and operation................................................................................................. 776
35.2.3 Expression of step ladder.................................................................................................................... 778
35.2.4 Creation of step ladder program (SFC program → STL program)...................................................... 779
35.2.5 Preliminary knowledge for creating step ladder programs.................................................................. 780
35.2.6 Program with state relays in branches and recombination ................................................................. 783
35.2.7 Program examples.............................................................................................................................. 787
36. Interrupt Function and Pulse Catch Function 793
36.1 Outline................................................................................................................................................ 793
36.2 Common Items................................................................................................................................... 794
36.2.1 How to disable interrupt function......................................................................................................... 794
36.2.2 Related items ...................................................................................................................................... 795
36.2.3 Cautions on use (common)................................................................................................................. 795
36.3 Input Interrupt (Interrupt Triggered by External Signal) [Without Delay Function] ............................. 798
36.3.1 Input interrupt (interrupt triggered by external signal) [without delay function].................................... 798
36.3.2 Examples of practical programs (programs to measure short pulse width) ........................................ 802
36.4 Input interrupt (Interrupt by External Signal) [With Delay Function] ................................................... 804
36.5 Timer Interrupt (Interrupt in Constant Cycle)...................................................................................... 804
36.5.1 Timer interrupt (interrupt in constant cycle)......................................................................................... 804
36.5.2 Examples of practical program (timer interrupt programs using applied instruction) .......................... 806
36.6 Counter Interrupt - Interrupt Triggered by Counting Up of High-Speed Counter ............................... 808
36.7 Pulse Catch Function [M8170 to M8177] ........................................................................................... 809
36.8 Pulse width/Pulse period measurement function [M8075 to M8079, D8074 to D8097] ..................... 810
37. Operation of Special Devices (M8000 -, D8000 -) 814
37.1 Special Device List (M8000 -, D8000 -) ............................................................................................. 814
37.1.1 Special Auxiliary Relay (M8000 to M8511) ......................................................................................... 814
37.1.2 Special Data Register (D8000 to D8511)............................................................................................ 831