Mitsubishi — 2.8.3 Functions and Features of File Registers

2 Functions of Devices in DVP-PLC 2.8.2 Index Register [E], [F] Index registers E, F are 16-bit data registers and can be written and read. 16 bits 16 bits F0 E0 If you need to use a 32-bit register, you have to designate E. In this case, F will be covered by E and cannot be used anymore; otherwise, 32 bits the content in E (32-bit) will be incorrect. We suggest you use DMOVP K0 E instruction, the content in E (including F) will be cleared to “0” Higher 16 bits Lower 16 bits when the power of PLC is switched on. The combination of E, F when you use a 32-bit index register:

(F0, E0), (F1, E1), (F2, E2), …(F7, E7) X0 When X0 = On, E0 = 8, F0 = 14, D5E0 = D (5 + 8) = D13, D10F0 = D (10 + 14) = D24. At this moment, the content in D13 will be moved to D24. The index register is the same as normal operands, can be used for moving or comparison on word devices (KnX, KnY, KnM, KnS, T, C, D) and bit devices (X, Y, M, S). ES/SA series MPU does not support constant (K, H) index register, but EH2/SV/EH3/SV2 series MPU supports constant (K, H) index register.

ES/EX/SS series MPU has 2 points of index registers E0, F0 SA/SX/SC series MPU has 8 points of index registers E0 ~ E3, F0 ~ F3 EH2/SV/EH3/SV2 series MPU has 16 points of index registers E0 ~ E7, F0 ~ F7  Some instructions do not support index registers. For how to use index register E, F to modify the operands, see Chapter 5.4 for more details.  When you use the instruction mode in WPLSoft to generate constant (K, H) index register function, please use symbol “@”.

For example, “MOV K10@E0 D0F0”  When you use index register E, F to modify the operands, the modification range CANNOT exceed the range of special purpose registers D1000 ~ D1999 and special auxiliary registers M1000 ~ M1999 in case errors may occur. 2.8.3 Functions and Features of File Registers When the power of PLC is switched on, SA/SX/SC and EH2/SV/EH3/SV2 series MPU will check the following devices: 1. M1101 (whether the file register is enabled) 2. D1101 (No. of file registers in SA/SX/SC series MPU: K0 ~ K1,599; No. of file registers in EH2/SV/EH3/SV2 series MPU: K0 ~ K9,999) 3. D1102 (Number of file registers to be read in SA/SX/SC series MPU:

K0 ~ K1,600; number of file registers to be read in EH2/SV/EH3/SV2 series MPU: K0 ~ K8,000) 4. D1103 (devices for storing the data read from file registers; the No. of designated data register D starts from K2,000 ~ K9,999; determining whether to automatically send the content in the file register to the designated data DVP-PLC Application Manual 2-33 F0 E0 0 MOV K8 E0 MOV K14 F0 MOV D5E0 D10F0