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 5 4
H87
MOV
M1002
D1120
SET
M1120
K100
MOV
D1129
RST
M1127
MODRW
K5
K1
X0
H0500
D0
K1
Function Code K5:
Force ON/OFF bit device
Reserved
Force ON status (Set FF00H)
M1127
SET
X0
M1122
RST
M 1143
SET
M1143
Connection device address:
K1
Data address : Y0 = H0500
M1143 = OFF
ASCII mode
Reset M1127
Set communication protocol as 9600,8,E,1
Retain communication protocol
Set receiving timeout as 100ms
ASCII mode: The received data is stored in D1070~D1085 in A SCII format
RTU mode: The received data is stored in D1070~ D1085 in Hex.
Sending request
Pr ocessing received data
M1143 = ON
RTU
mode
Receiving completed
z
ASCII mode (M1143 = OFF):
When X0 = ON, MODRW instruction executes the function specified by Function Code 05
ELC1
Ö
ELC2, ELC sends: “01 05 0500 FF00 6F”
ELC2
Ö
ELC1, ELC receives: “01 05 0500 FF00 6F”
Data to be sent
Register
Data
Descriptions
D1256 low byte
‘0’
30 H ADR 1
D1256 high byte
‘1’
31 H ADR 0
Device address: ADR (1,0)
D1257 low byte
‘0’
30 H CMD 1
D1257 high byte
‘5’
35H
CMD 0
CMD (1,0) Control parameter
D1258 low byte
‘0’
30 H
D1258 high byte
‘5’
35 H
D1259 low byte
‘0’
30 H
D1259 high byte
‘0’
30 H
Data Address
D1260 low byte
‘F’
46 H
D1260 high byte
‘F’
46 H
High byte to be force ON/OFF
D1261 low byte
‘0’
30H
D1261 high byte
‘0’
30 H
Low byte to be force ON/OFF
D1262 low byte
‘6’
36 H
D1262 high byte
‘F’
46 H
LRC CHK 1
LRC CHK 0
Checksum: LRC CHK (0,1)
Содержание 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...