![background image](http://html1.mh-extra.com/html/eaton/elc-pb/elc-pb_programming-manual_4017452538.webp)
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 9
Program example 12: COM1 (RS-232) / COM3 (RS-485), Function Code H10
1.
Function code K16 (H10): Write multiple words. Up to 16 Words can be written.
2.
The message data between ELC COM3 and the drive is shown in the tables below.
3.
If the ELC uses COM1 for communications, the program below can be usable by changing:
1. D1109
→
D1036: communication protocol
2. M1136
→
M1138: retain communication setting
3. D1252
→
D1249: Set value for data receiving timeout
4. M1320
→
M1139: ASCII/RTU mode selection
5. M1316
→
M1312: sending request
6. M1318
→
M1314: receiving completed flag
H87
M OV
M1002
D1109
SET
M1136
K100
M OV
D1252
M ODRW
K16
K1
X0
H2000
D50
K2
Connection device address: K1
Function Code:
K16
Write in multiple Word data
Data address:
H2000
Datat register:
D50 = H1770, D51=H12
Data length: K2
SET
X0
M 1316
RST
M 1320
SET
M1320
M1320 = OFF
ASCII mode
Set communication protocol as 9600,8,E,1
Retain communication setting
Set communication t imeout as 100ms
Sending request
M1320 = ON
RTU
mo de
RST
M1318
M1318
Reset M1318
ASCII mode: No processing on received data .
RTU m ode: 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 H10
ELC
Ö
the drive, ELC sends: “01 10 0705 0002 04 1770 0012 44”
The drive
Ö
ELC, ELC receives: “01 10 0705 0002 E1”
(No processing on received data)
z
RTU Mode (COM3: M1320=On, COM1: M1139=On):
When X0 = ON, MODRW executes the function specified by Function Code H10
ELC
Ö
the drive,,ELC sends:
“
01 10 0705 0002 04 1770 0012 91 C2”
The drive,
Ö
ELC, ELC receives :
"
01 10 0705 0002 50 BD
"
(No processing on received data)
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...