E L C P r o g r a m m i n g M a n u a l
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
M N 0 5 0 0 3 0 0 3 E
3 - 3 4 6
H87
M OV
M1002
D1109
SET
M 1136
K100
M OV
D1252
MODRW
K2
K1
X0
H0500
D0
K16
Connection device
address:
K1
Function code: K2
read multiple bits
Data address: Y0=H0500
Data storing register
Data length
( bit)
SET
X0
M 1316
M1320 = OFF,
ASCII mode
RST
M1320
SET
M 1320
Set communication protocol as 9600, 8, E,1
Retain communication setting
Set receiving timeout as
100ms
Sending request
M1320 = ON
RTU mode
RST
M 1318
Processing received data
Reset M1318
M1318
Receiving completed
ASCII mode: The received data is converted to Hex value
and stored in registers starting from D0
RTU mode: The received data is stored in registers starting from D0
ASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF):
When X0 = ON, the MODRW instruction sends the message using Function Code 02.
ELC1
Ö
ELC2, ELC1 sends: “01 02 0500 0010 E8”
ELC2
Ö
ELC1, ELC1 receives: “01 02 02 3412 B5”
ELC1 receives data in register D0
Register
Data
Descriptions
D0 1234H
ELC converts the ASCII data in address 0500H~0515H and
stores the converted data automatically.
State of the bits read from ELC2 Y0~Y17: 1234H
Device
Status
Device
Status
Device
Status
Device
Status
Y0 OFF
Y1 OFF
Y2 ON Y3
OFF
Y4 ON Y5 ON Y6 OFF
Y7
OFF
Y10 OFF Y11 ON Y12 OFF Y13
OFF
Y14 ON Y15 OFF Y16 OFF Y17
OFF
RTU mode (COM3: M1320 = ON, COM1: M1139 = ON):
When X0 = ON, MODRW instruction sends the message using Function Code 02
ELC1
Ö
ELC2, ELC1 sends: “01 02 0500 0010 79 0A”
Содержание 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...