
4
Table of Contents
FXCPU Structured Programming Manual
[Device & Common]
2.8 Data Register and File Register [D] ........................................................................................... 94
2.8.1 Numbers of data registers and file registers.................................................................................. 94
2.8.2 Structure of data registers and file registers.................................................................................. 96
2.8.3 Functions and operation examples of data registers..................................................................... 96
2.8.4 Functions and operation examples of file registers .......................................................................99
2.8.5 Cautions on using file registers ................................................................................................... 103
2.9 Extension Register [R] and Extension File Register [ER] ..................................................... 104
2.9.1 Numbers of extension registers and extension file registers....................................................... 104
2.9.2 Data storage destination and access method ............................................................................. 104
2.9.3 Structure of extension registers and extension file registers ....................................................... 105
2.9.4 Initialization of extension registers and extension file registers................................................... 105
2.9.5 Functions and operation examples of extension registers .......................................................... 106
2.9.6 Functions and operation examples of extension file registers..................................................... 107
2.9.7 Cautions on using extension file registers................................................................................... 109
2.9.8 Registration of data stored in extension registers and extension file registers............................ 111
2.10 Index Register [V and Z] ......................................................................................................... 115
2.10.1 Numbers of index registers........................................................................................................ 115
2.10.2 Functions and structures ........................................................................................................... 116
2.10.3 Indexing of devices.................................................................................................................... 116
2.11 Pointer [P and I]....................................................................................................................... 117
2.11.1 Numbers of pointers .................................................................................................................. 117
2.11.2 Functions and operation examples of branch pointers.............................................................. 118
2.11.3 Functions and operation examples of interrupt pointers............................................................ 119
3. How to Specify Devices and Constants in Instructions 124
3.1 Numeric Values Handled in PLCs (Octal, Decimal, Hexadecimal and Real Numbers)....... 124
3.1.1 Types of numeric values.............................................................................................................. 124
3.1.2 Conversion of numeric values ..................................................................................................... 125
3.1.3 Handling of numeric values in floating point operations .............................................................. 125
3.2 Specification of Constants K, H and E (Decimal, Hexadecimal and Real Numbers) .......... 128
3.2.1 Constant "K" (decimal number) ................................................................................................... 128
3.2.2 Constant "H" (hexadecimal number) ........................................................................................... 128
3.2.3 Constant "E" (real number).......................................................................................................... 128
3.3 Character Strings ...................................................................................................................... 129
3.3.1 Character string constant ("ABC") ............................................................................................... 129
3.3.2 Character string data ................................................................................................................... 129
3.4 Specification of Digits for Bit Devices (Kn***) ..................................................................... 131
3.5 Specification of Bit for Word Device [D.b] ........................................................................... 132
3.6 Direct Specification of Buffer Memory (U\G) ..................................................................... 132
3.7 Indexing ..................................................................................................................................... 133
3.7.1 Indexing in basic instructions....................................................................................................... 133
3.7.2 Indexing in instructions................................................................................................................ 134
3.7.3 Indexing example for instructions whose number of times of use is restricted............................ 137
4. Operations of Special Devices (M8000 and later, D8000 and later) 138
4.1 Special Device List (M8000 and later, D8000 and later)......................................................... 138
4.1.1 Special auxiliary relays (M8000 and later)................................................................................... 138
4.1.2 Special data registers (D8000 and later)..................................................................................... 177
4.2 Supplement of Special Devices (M8000 and later and D8000 and later).............................. 216
4.2.1 RUN monitor and initial pulse [M8000 to M8003] ........................................................................ 216
4.2.2 Watchdog timer time [D8000] ...................................................................................................... 217
4.2.3 Low battery voltage detection [M8005 and M8006]..................................................................... 217
4.2.4 Power interruption detection time [D8008, M8008 and M8007] .................................................. 218
4.2.5 Operation cycle (scan time) monitor [D8010 to D8012]............................................................... 219
4.2.6 Internal clock [M8011 to M8014] ................................................................................................. 219
4.2.7 Real-time clock [M8015 to M8019 and D8013 to D8019]............................................................ 220
4.2.8 How to set real-time clock ........................................................................................................... 221
4.2.9 Input filter adjustment [D8020]([D8021])...................................................................................... 223