Xinje XD Series User Manual page 255

Hide thumbs Also See for XD Series:
Table of Contents

Advertisement

M8002
D100 K5
X0
STL S0
S0
M 0
MCLW D100 K24576 K10 Y0 K2
M 0
M8138
STLE
STL S1
S1
M 1
COLR D100 K24576 K10 M10 K2
M 1
M8138
STLE
STL S2
S2
M 2
MRGW D100 K10 K10 D10
M 2
M8138
STLE
STL S3
S3
M 3
REGR D100 K10 K10 D20
M 3
M8138
STLE
MOV
K2
D100
S0
( S )
M0
( S )
MOV
HA0
DY0
S1
( S )
M0
( R )
M1
( S )
S2
( S )
M1
( R )
MOV
K0
DY0
FMOV
K1
D10
K10
M2
( S )
S3
( S )
M2
( R )
M3
( S )
K2
FMOV
K0
D10
K10
INC
D100
S0
( S )
M3
( R )
254
//send station no.2 to D100,
execute the process S0
//set ON Y0~Y11 of master
station, write the master status to
Y0~Y11 of slave PLC 2, 3, 4.
Enter process S1 when the
communication succeeded.
//read the Y0~Y11 of slave PLC 2,
3, 4 to master PLC M10~M19.
Reset master PLC Y0~Y11 and
enter process S2 after the
communication is successful.
//write 1 to master PLC D10~D19,
write the master PLC D10~D19 to
D10~D19 of slave PLC 2, 3, 4.
Enter process S3 when the
K2
communication is successful.
//read the D10~D19 of slave PLC
2, 3, 4 to master PLC D20~D29,
reset D10~D19 after the
communication is successful, then
the station no. is added 1, process
S0 is executed, cycle.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xl seriesXd3Xd5

Table of Contents