2 Functions of Devices in DVP-PLC SA/SX/SC series MPU: EH2/SV/EH3/SV2 series MPU: There are five types of registers: 1. General purpose register: When PLC goes from RUN to STOP or the power of the PLC is switched off, the data in the register will be cleared to “0”. When M1033 = On and PLC goes from RUN to STOP, the data will not be cleared, but will still be cleared to “0” when the power is off. 2. Latched register: When the power of PLC is switched off, the data in the register will not be cleared but will retain at the value before the power is off. You can use RST or ZRST instruction to clear the data in the latched register. 3. Special purpose register:
Every register of this kind has its special definition and purpose, mainly for storing the system status, error messages and monitored status. See 2.10 and 2.11 for more details. 4. Index register E, F: The index register is a 16-bit register. There are 2 points of E, F in ES/EX/SS series MPU; 8 points (E0 ~ E3, F0 ~ F3) in SA/SX/SC series MPU; 16 points (E0 ~ E7, F0 ~ F7) in EH2/SV/EH3/SV2 series MPU. If the index register is to be used as a 32-bit register, please designate E. When E is already designated in a 32-bit instruction, using also F will not be allowed. 5. File register:
There are 1,600 file registers (K0 ~ K1,599) in SA/SX/SC series MPU and 10,000 file registers (K0 ~ K9,999) in EH2/SV/EH3/SV2 series MPU. The file register does not have an exact device No.; therefore the read/write function of file registers has to be executed by instruction API 148 MEMR, API 149 MEMW or through peripheral devices HPP and WPLSoft. DVP-PLC Application Manual 2-32 General purpose D0 ~ D199, 200 points. Fixed to be non-latched. Total 5,000 points (SX v.3.0 and above: 10,000 points) D200 ~ D999, D2000 ~ D4999, 3,800 points. Can be modified to be non-latched by setting up parameter. Latched Data register D Special purpose D1000 ~ D1999, 1000 points. Some are latched.
D5000~D9999, 5000 points (Only supported by SX v.3.0 and above) Fixed to be non-latched. General purpose Index register E, F E0 ~ E3, F0 ~ F3, 8 points K0 ~ K1,599, MPU 1,600 points. Fixed to be latched. 1,600 points File register D0 ~ D199, 200 points. Can be modified to be latched by setting up parameters. Total 10,000 points General purpose D200 ~ D999, D2000 ~ D9999, 8,800 points. EH3/SV2: D200 ~ D999, D2000 ~ D11999, 10,800 points. Can be modified to be non-latched by setting up parameters. Data register D Latched Special purpose D1000 ~ D1999, 1,000 pints. Some are latched. Index register E, F E0 ~ E7, F0 ~ F7, 16 points. K0 ~ K9,999, MPU 10,000 points. Fixed to be latched.
10,000 points File register