2. Programming Concepts
MN05003003E For more information visit: www.eaton.com
2-137
Example 1: ELC LINK uses with M1354
M1002
MOV K17 D1121
H86 D1120
K300
M1350
END
MOV
SET M1120
MOV D1129
M1351
X1
SET M1354
Example 2: Connection of 1 Master and 2 Slaves by RS-485 and exchange of 16 data
between Master and Slaves through ELC LINK (M1353 = OFF, linkage of 16 stations, 16 data
read/write mode)
1. Write the ladder diagram program into Master ELC (ID#17)
M1002
MOV K17 D1121
H86 D1120
K16
K16
M1351
END
MOV
SET M1120
MOV
MOV
D1434
D1450
M1350
X1
K16
K16
MOV
MOV
D1435
D1451
Master ID#
COM2 communication protocol
Retain communication protocol
Number of data read from Slave ID#1
Number of data written into Slave ID#1
Number of data read from Slave ID#2
Number of data written into Slave ID#2
Auto mode
Enable ELC LINK
2. When X1 = ON, the data exchange between Master and the two Slaves will be automatically
done in ELC LINK, i.e. the data in D100 ~ D115 in the two Slaves will be read into D1480 ~