Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


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