![background image](http://html1.mh-extra.com/html/eaton/elc-pb/elc-pb_programming-manual_4017452405.webp)
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 nf o r m a t i o n v i sit :
w w w. e a t o n . c o m
MN05003003E
3-236
‘1’ ‘0’: write contents to multiple registers
Data characters:
The data sent by the user
LRC checksum:
LCR checksum is 2’s complement of the value added from Address to Data Characters.
For example: 01H + 03H + 21H + 02H + 00H + 02H = 29H. 2’s complement of 29H = D7H.
End word (END):
Fix the END as END Hi = CR (0DH), END Lo = LF (0AH)
Example:
Read 2 continuous data stored in the registers of the drive at address 01H (see the table
below). The start register is at address 2102H.
Inquiry message:
Response message:
STX ‘:
’
STX ‘:
’
‘0’ ‘0’
Address
‘1’
Address
‘1’
‘0’ ‘0’
Function code
‘3’
Function code
‘3’
‘2’ ‘0’
‘1’
Number of data
(count by byte)
‘4’
‘0’ ‘1’
Start address
‘2’ ‘7’
‘0’ ‘7’
‘0’
Content of start
address
2102H
‘0’
‘0’ ‘0’
Number of data
(count by word)
‘2’ ‘0’
‘D’ ‘0’
LRC Checksum
‘7’
Content of address
2103H
‘0’
CR ‘7’
END
LF
LRC Checksum
‘1’
CR
END
LF
RTU mode
Field Name
Descriptions
START
Refer to the following explanation
Address
Communication address: n 8-bit binary
Function
Function code: n 8-bit binary
DATA (n-1)
…….
DATA 0
Data:
n
×
8-bit data
CRC CHK Low
CRC CHK High
CRC checksum:
16-bit CRC consists of 2 8-bit binary data
END
Refer to the following explanation
Содержание 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...