4
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
Table of Contents
4.4 State Relay [S] ....................................................................................................................................... 90
4.4.1 Numbers of state relays .......................................................................................................................... 90
4.4.2 Functions and operation examples ......................................................................................................... 91
4.5 Timer [T]................................................................................................................................................. 93
4.5.1 Numbers of timers................................................................................................................................... 93
4.5.2 Functions and operation examples ......................................................................................................... 93
4.5.3 Set value specification method ............................................................................................................... 95
4.5.4 Cautions on routines ............................................................................................................................... 95
4.5.5 Details on timer operation and timer accuracy........................................................................................ 95
4.5.6 Program examples [off-delay timer and flicker timer].............................................................................. 96
4.5.7 Handling timers as numeric devices ....................................................................................................... 97
4.6 Counter [C]............................................................................................................................................. 98
4.6.1 Numbers of counters............................................................................................................................... 98
4.6.2 Features of counters ............................................................................................................................... 98
4.6.3 Related devices (to specify counting direction) [32-bit counter].............................................................. 98
4.6.4 Functions and operation examples ......................................................................................................... 99
4.6.5 Set value specification method ............................................................................................................. 100
4.6.6 Response speed of counters ................................................................................................................ 100
4.6.7 Handling counters as numeric devices ................................................................................................. 101
4.7 High-Speed Counter [C] (FX3U/FX3UC PLC) ...................................................................................... 102
4.7.1 Types and device numbers of high-speed counters ............................................................................. 102
4.7.2 Input assignment for high-speed counters............................................................................................ 104
4.7.3 Handling of high-speed counters .......................................................................................................... 105
4.7.4 Current value update timing and comparison of current value.............................................................. 107
4.7.5 Related devices.....................................................................................................................................108
4.7.6 Changing the logic of external reset input signal .................................................................................. 109
4.7.7 Assignment of counter input terminal and switching of function ........................................................... 109
4.7.8 How to use 2-phase 2-count input counters C251 to C255 with 4 edge counting ................................ 110
4.7.9 Conditions for hardware counters to be handled as software counters ................................................ 111
4.7.10 Response frequency of high-speed counters...................................................................................... 112
4.7.11 Cautions on use .................................................................................................................................. 114
4.8 High-Speed Counter [C] (FX3G/FX3GC PLCs).................................................................................... 116
4.8.1 Types and device numbers of high-speed counters ............................................................................. 116
4.8.2 Input assignment for high-speed counters............................................................................................ 118
4.8.3 Handling of high-speed counters .......................................................................................................... 119
4.8.4 Current value update timing and comparison of current value.............................................................. 119
4.8.5 Related devices.....................................................................................................................................119
4.8.6 Assignment of counter input terminal and switching of function ........................................................... 120
4.8.7 Response frequency of high-speed counters........................................................................................121
4.8.8 Cautions on use .................................................................................................................................... 122
4.9 Data Register and File Register [D] ..................................................................................................... 124
4.9.1 Numbers of data registers and file registers .........................................................................................124
4.9.2 Structures of data registers and file registers........................................................................................ 125
4.9.3 Functions and operation examples of data registers ............................................................................ 126
4.9.4 Functions and operation examples of file registers............................................................................... 128
4.9.5 Cautions on using file registers............................................................................................................. 131
4.10 Extension Register [R] and Extension File Register [ER] .................................................................. 132
4.10.1 Numbers of extension registers and extension file registers............................................................... 132
4.10.2 Data storage destination and access method..................................................................................... 132
4.10.3 Structures of extension registers and extension file registers............................................................. 133
4.10.4 Initialization of extension registers and extension file registers ..........................................................133
4.10.5 Functions and operation examples of extension registers .................................................................. 134
4.10.6 Functions and operation examples of extension file registers ............................................................ 135
4.10.7 Cautions on using extension file registers........................................................................................... 138
4.10.8 Registration of data in extension registers and extension file registers ..............................................139
4.11 Index Register [V and Z] .................................................................................................................... 143
4.11.1 Numbers of index registers .................................................................................................................143
4.11.2 Functions and structures..................................................................................................................... 143
4.11.3 Indexing of devices ............................................................................................................................. 143
4.12 Pointer [P and I] ................................................................................................................................. 144
4.12.1 Numbers of pointers............................................................................................................................ 144
4.12.2 Functions and operation examples of pointers for branch .................................................................. 144
4.12.3 Functions and operation examples of pointers for interrupt................................................................ 145