Download Print this page

Xinje XD Series User Manual page 52

Hide thumbs Also See for XD Series:

Advertisement

Data transfer
M0
MOV
D0
Read the timer and counter
M0
MOV
C10
As the set value of timer and counter
X0
TMR_A
T0
X1
CNT
HC0
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:
D10
When M0 is ON, transfer the value of D10 to D0
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
D2
D0 value is equal to timer value, time unit is D2.
D4
X1 is ON, HC0 starts to work, HC0 will set ON when D4
value is equal to counter value.
51

Advertisement

loading