50
Normal type
When write a new value in the register, the former value will be covered.
When PLC changes from RUN to STOP or STOP to RUN, the value in the register will be
cleared.
Retentive type
When PLC changes from RUN to STOP or power off, the value in the register will be
retained.
The retentive register range cannot be changed.
Special type
Special register is used to set special data, or occupied by the system.
Some special registers are initialized when PLC is power on.
Please refer to the appendix for the special register address and function.
Used as offset (indirect appoint)
Data register can be used as offset of soft element.
Format : Dn[Dm], Xn[Dm], Yn[Dm], Mn[Dm].
Word offset: DXn[Dm] means DX[n+Dm].
The offset value only can be set as D register.
MOV
K0
D0
SM2
MOV
K5
D0
M2
MOV
D10[D0]
D100
SM0
( )
Y0[D0]
When D0=0, D100=D10, Y0 is ON;
When M2 is from OFF→ON, D0=5, D100=D15, Y5 is ON.
D10[D0]=D[10+D0], Y0[D0]=Y[0+D0].
Sign bit
b 0
D1 16 bits
0 0 0 0 1 0
1
0
0
1 1 0 0 0 0 0
b 31
0: positive 1: negative
0 0 0 0 1 0
1
0
0
1 1 0 0 0 0 0
D0 16
bits
Low
High
Function
Содержание XD Series
Страница 1: ...XD XL series PLC User manual Instruction WUXI XINJE ELECTRIC CO LTD Data No PD05 20201022 3 5 ...
Страница 210: ...209 ...
Страница 314: ...313 B Double click the middle part to modify ...