beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 471

background image

8 Application Instructions API 100-149

DVP-PLC Application Manual

8-69

> K9,999, D1103 < K2,000 or D1103 > K9,999.

3. SA/SX/SC: When the PLC is powered, it will decide whether to automatically send the data in the file register to

the designated data register by M1101 (whether to enable the function of file register), D1101 (start address in

file register K0 ~ K1,599), D1102 (number of data to be read in file register K1 ~ k1,600), and D1103 (device for

storing read data, starting from designated D, K2,000 ~ K4,999).

4. In SA/SX/SC, the reading of data from file register to data register D will not be executed if D1101 < 0, D1101 >

K1,599, D1103 < K2,000 or D1103 > K4,999.

5. When the reading of data from file register to data register D starts, PLC will stop the reading if the address of

file register or data register exceed their range.

6. In PLC program, only API 148 MEMR and API 149 MEMW can be used to read or write the file register. See

2.8.3 for more information on file registers.

7. File registers do not have actual addresses in it. Reading and writing of file registers can only be done through

API 148 MEMR, API 149 MEMW or peripheral devices HPP and WPLSoft.

8. If the address in the file register to be read exceeds its range, the read value will be 0.

9. Special relays of file register and other relevant special registers:

Flag

Function

M1101

Whether to enable the function of file register; latched; default = off

Special D

Function

D1101

Start address in file register. SA/SX/SC: K0 ~ K1,599; EH/EH2/SV:

K0 ~ K9,999; latched; default = 0

D1102

Number of data to be read in file register. SA/SX/SC: K1 ~ K1,600;

EH/EH2/SV: K1 ~ K8,000; latched; default = 0

D1103

Device for storing read data, starting from designated D. SA/SX/SC:

K2,000 ~ K4,999; EH/EH2/SV: K2,000 ~ K9,999; latched; default =

2,000