User manual
11
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
Table of Contents
34. FX3U-CF-ADP Applied Instructions – FNC300 to FNC305 741
34.1 FNC300 – FLCRT / File create•check ............................................................................................... 742
34.1.1 Detailed explanation of setting data .................................................................................................... 743
34.2 FNC301 – FLDEL / File delete•CF card format ................................................................................. 744
34.2.1 Detailed explanation of setting data .................................................................................................... 745
34.3 FNC302 – FLWR / Data write ............................................................................................................ 746
34.3.1 Detailed explanation of setting data .................................................................................................... 748
34.4 FNC303 – FLRD / Data read.............................................................................................................. 749
34.4.1 Detailed explanation of setting data .................................................................................................... 750
34.5 FNC304 – FLCMD / FX3U-CF-ADP command .................................................................................. 751
34.5.1 Detailed explanation of setting data .................................................................................................... 752
34.6 FNC305 – FLSTRD / FX3U-CF-ADP status read .............................................................................. 753
34.6.1 Detailed explanation of setting data .................................................................................................... 754
35. SFC Program and Step Ladder 756
35.1 SFC Program ..................................................................................................................................... 756
35.1.1 Outline................................................................................................................................................. 756
35.1.2 Explanation of function and operation................................................................................................. 756
35.1.3 SFC program creating procedure........................................................................................................ 758
35.1.4 Handling and role of initial state relay ................................................................................................. 761
35.1.5 Latched (battery backed) type state relays ......................................................................................... 761
35.1.6 Role of the RET instruction ................................................................................................................. 762
35.1.7 Preliminary knowledge for creating SFC program .............................................................................. 762
35.1.8 SFC flow formats................................................................................................................................. 768
35.1.9 Program of branch/recombination state relays ................................................................................... 771
35.1.10 Rule for creating branch circuit ......................................................................................................... 772
35.1.11 Program examples ............................................................................................................................ 776
35.2 Step Ladder........................................................................................................................................ 785
35.2.1 Outline................................................................................................................................................. 785
35.2.2 Explanation of function and operation................................................................................................. 785
35.2.3 Expression of step ladder.................................................................................................................... 787
35.2.4 Creation of step ladder program (SFC program → STL program)...................................................... 788
35.2.5 Preliminary knowledge for creating step ladder programs .................................................................. 789
35.2.6 Program with state relays in branches and recombination ................................................................. 792
35.2.7 Program examples .............................................................................................................................. 796
36. Interrupt Function and Pulse Catch Function 802
36.1 Outline................................................................................................................................................ 802
36.2 Common Items................................................................................................................................... 803
36.2.1 How to disable interrupt function......................................................................................................... 803
36.2.2 Related items ...................................................................................................................................... 804
36.2.3 Cautions on use (common) ................................................................................................................. 804
36.3 Input Interrupt (Interrupt Triggered by External Signal) [Without Delay Function] ............................. 807
36.3.1 Input interrupt (interrupt triggered by external signal) [without delay function].................................... 807
36.3.2 Examples of practical programs (programs to measure short pulse width) ........................................ 811
36.4 Input interrupt (Interrupt by External Signal) [With Delay Function] ................................................... 813
36.5 Timer Interrupt (Interrupt in Constant Cycle)...................................................................................... 813
36.5.1 Timer interrupt (interrupt in constant cycle)......................................................................................... 813
36.5.2 Examples of practical program (timer interrupt programs using applied instruction) .......................... 815
36.6 Counter Interrupt - Interrupt Triggered by Counting Up of High-Speed Counter ............................... 818
36.7 Pulse Catch Function [M8170 to M8177] ........................................................................................... 819
36.8 Pulse width/Pulse period measurement function [M8075 to M8079, D8074 to D8097] ..................... 820










