3 . I n s t r u c t i o n S e t
M N 0 5 0 0 3 0 0 3 E F o r m o r e
i n f o r m a t i o n
v i s i t :
w w w. e a t o n . c o m
3 - 3 6 5
H87
MOV
M1002
D1109
SET
M1136
K100
MOV
D1252
Set communication protocol as 9600, 8, E, 1
Retain communication protocol
Set receiving timeout as 100ms
MODRW
K15
K1
X0
H0500
D0
K16
Connection device
address: K1
Function code: K15
Write in multiple bit devices
Data address: H0500
Data storing register
Data length(bit)
SET
X0
M1316
Sending request
M1320 = OFF
ASCII mode
RST
M1320
M1320 = ON
RTU mode
SET
M1320
RST
M1318
M1318
Reset M1318
ASCII mode: No processing on received data .
RTU mode: No processing on received data .
Received data
Receiving completed
z
ASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF):
When X0 = ON, MODRW executes the function specified by Function Code H0F
ELC1
Ö
ELC2, ELC sends: “ 01 0F 0500 0010 02 3412 93 ”
ELC2
Ö
ELC1, ELC receives: “ 01 0F 0500 0010 DB ”
(No data processing on received data)
z
RTU mode (COM3: M1320 = ON, COM1: M1139 = ON):
When X0 = ON, MODRW executes the function specified by Function Code H0F
ELC1
Ö
ELC2, ELC1 sends: “01 0F 0500 0010 02 34 12 21 ED”
ELC2
Ö
ELC1, ELC1 receives: “01 0F 0500 0010 54 CB” ,
(No data processing on received data)
Program Example 11: COM2 (RS-485), Function Code H10
1.
Function code K16(H10): write multiple words of data. For ELC COM2 ASCII mode, only 8
words can be written.
ASCII Mode when M1143=OFF
RTU Mode when M1143=ON
2.
In ASCII mode, store the data that will be written to the drive in ASCII format in 8 continuous
registers started from D50. Received data from the drive will be stored in registers
D1070~D1076.
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...