Chapter 8 Communication Function
8-8
8.6.3 Detailed writing protocol
Writing Request:
ENQ
Address No.
CMD
Address No.
Number of
Addresses
Data
SUM
EOT
05h
“01” ~ “1F”
“W”
“XXXX”
“1” ~ “8” = n
“XXXX…”
“XX”
04h
1
2
1
4
1
n * 4
2
1
Total byte = 12 + n * 4 = 44 at maximum
Normal Writing Response:
ACK
Address No.
CMD
Data
SUM
EOT
06h
“01” ~ “1F”
“W”
“XXXX…”
“XX”
04h
1
2
1
n * 4
2
1
Total byte = 7 + n * 4 = 39 at maximum
Error Writing Response:
NAK
Address No.
CMD Error Code
SUM
EOT
15h
“01” ~ “1F”
“W”
“**”
“XX”
04h
1
2
1
2
2
1
Total byte = 9
8.6.4 Error code
Code
Abbreviation
Description
01:ILLEGAL FUNCTION
IF
When slave cannot implement the received function. That is,
when there is no appropriate function.
02:ILLEGAL DATA ADDRESS
IA
When the received address is not valid in the slave. It is
parameter address, not the address No.
03: ILLEGAL DATA VALUE
ID
When the received data is not valid in the slave.
21: WRITE MODE ERROR
WM
Read Only or change prohibition during operation.
22: FRAME ERROR
FE
When the frame size or internal num or sum is different.
Содержание LSLV-iV5 Series
Страница 59: ...4 Trial Operation 4 17 ...
Страница 285: ......