11
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instructions Edition
Table of Contents
35. SFC Program and Step Ladder 751
35.1 SFC Program ..................................................................................................................................... 751
35.1.1 Outline................................................................................................................................................. 751
35.1.2 Explanation of function and operation................................................................................................. 751
35.1.3 SFC program creating procedure........................................................................................................ 753
35.1.4 Handling and role of initial state relay ................................................................................................. 756
35.1.5 Latched (battery backed) type state relays .........................................................................................757
35.1.6 Role of RET instruction ....................................................................................................................... 757
35.1.7 Preliminary knowledge for creating SFC program .............................................................................. 757
35.1.8 SFC flow formats................................................................................................................................. 763
35.1.9 Program of branch/recombination state relays ................................................................................... 766
35.1.10 Rule for creating branch circuit ......................................................................................................... 767
35.1.11 Program examples............................................................................................................................ 771
35.2 Step Ladder........................................................................................................................................ 780
35.2.1 Outline................................................................................................................................................. 780
35.2.2 Explanation of function and operation................................................................................................. 780
35.2.3 Expression of step ladder.................................................................................................................... 782
35.2.4 Creation of step ladder program (SFC program STL program)...................................................... 783
35.2.5 Preliminary knowledge for creating step ladder programs.................................................................. 784
35.2.6 Program with state relays in branches and recombination ................................................................. 787
35.2.7 Program examples.............................................................................................................................. 791
36. Interrupt Function and Pulse Catch Function 797
36.1 Outline................................................................................................................................................ 797
36.2 Common Items................................................................................................................................... 798
36.2.1 How to disable interrupt function and pulse catch function................................................................. 798
36.2.2 Related items ...................................................................................................................................... 799
36.2.3 Cautions on use (common)................................................................................................................. 799
36.3 Input Interrupt (Interrupt Triggered by External Signal) [Without Delay Function] ............................. 802
36.3.1 Input interrupt (interrupt triggered by external signal) [without delay function].................................... 802
36.3.2 Examples of practical programs (programs to measure short pulse width) ........................................ 806
36.4 Input interrupt (Interrupt by External Signal) [With Delay Function] ................................................... 808
36.5 Timer Interrupt (Interrupt in Constant Cycle)...................................................................................... 808
36.5.1 Timer interrupt (interrupt in constant cycle).........................................................................................808
36.5.2 Examples of practical program (timer interrupt programs using applied instruction) .......................... 810
36.6 Counter Interrupt - Interrupt Triggered by Counting Up of High Speed Counter................................ 812
36.7 Pulse Catch Function [M8170 to M8177]........................................................................................... 813
36.8 Pulse width/Pulse period measurement function [M8075 to M8079, D8074 to D8097]..................... 814
37. Operation of Special Devices (M8000 -, D8000 -) 818
37.1 Special Device List (M8000 -, D8000 -) ............................................................................................. 818
37.1.1 Special Auxiliary Relay (M8000 to M8511) ......................................................................................... 818
37.1.2 Special Data Register (D8000 to D8511)............................................................................................ 835