
I185 GB 06 15
LRX D01
77
The example below shows how to configure DR function.
STOP
RUN (DR01 = C01 current value)
The data registers from DR65 to DRF0 will be kept when the LRD powers down. The last 40 DR that from DRC9 to DRF0 are special data
register as shown below. The contents of DRC9 is PLSY total number of pulse and DRD0~DRD3 are output mode registers of AQ01~AQ04, while
DRCA~DRCF, DRD4~DRF0 are reserved.
DRC9
PLSY total number
DRCA~DRCF
reserved
DRD0
AQ01 output mode register
DRD1
AQ02 output mode register
DRD2
AQ03 output mode register
DRD3
AQ04 output mode register
DRD4~DRF0
reserved
1
2
DR01= C01
DR02= 00000
DR03= 00000
DR04= 00000
DR01= 00009
DR02= 00000
DR03= 00000
DR04= 00000
DR (DATA REGISTER)
The LRD includes a total of 240 DR instructions that can be used throughout a program. The DR function is transferring data. DR is a temp
register. DR sends data from prevention registers to current register when it is enabled. The data can be signed or unsigned by setting DR_SET
bit through operation>>module system set menu selection from the LRDSW. There are 2 parameters for proper configuration. The table below
describes each configuration parameter, and lists each compatible memory type for configuring DR.
The parameter
can be a constant or other function current value.
1
2
Symbol
Description
1
Preset value: DR_SET = 0, 0~65535
DR_SET = 1,-32768~32767
2
DR code (DR01~DRF0)