51
Data register D can deal with many kinds of data.
Data storage
Data transfer
MOV
D0
D10
M0
Read the timer and counter
MOV
C10
D0
M0
As the set value of timer and counter
TMR_A
T0
D0
X0
CNT
HC0
D4
X1
D2
Note: The range of soft components mentioned above is the valid range of PLC in the X-NET
communication mode. In the MODBUS communication mode, some relays can not read and
write. The specific usable range is shown in chapter 6-2-3.
2-9-1
.
Word consist of bits
One of the coils from X0 to X17 is ON, Y0 will be ON.
Programming method one:
Example
When M0 is ON, write 100 into D0.(16 bits value)
When M1 is ON, write 41100 into D11,D10 (32bits value)
When M0 is ON, transfer the value of D10 to D0
When M0 is ON, move the value of C10 to D0.
When X0 is ON, T10 starts to work, T0 will set ON when
D0 value is equal to timer value, time unit is D2.
X1 is ON, HC0 starts to work, HC0 will set ON when D4
value is equal to counter value.
Содержание 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 ...