Response Message; Example Of Reading / Responding Data - LiteOn EVO600021S0D2E20F User Manual

Ultra compact vector ac drive
Hide thumbs Also See for EVO600021S0D2E20F:
Table of Contents

Advertisement

if ( wkg & 0x0001 ) {
wkg = ( wkg >> 1 ) ^ 0xa001;
}
else {
wkg = wkg >> 1;
}
}
}
return( wkg );
}

11.5.8 Response Message

Perform a CRC calculation on the response message according to the above description. The
result of the calculation should match the CRC checksum of the response message.

11.6 Example of Reading / Responding Data

The following are examples of command and response data.
Example: For the drive address 01H, To read 2 consecutive register data for the drive address
01H, the message is "starting address 2422H.
RTU Scheme:
Command Message:
Address
Function
Starting data address
Number of data
(count by world)
CRC CHK Low
CRC CHK High
Function code 06H: Write one piece of data to register
Example: For the drive address 01H, 1(01H) will written to the drive internal parameter 0100H
(b1-00).
01H
03H
24H
22H
00H
02H
6EH
F1H
182
Respond Message:
Address
Function
Number of data
(count by byte)
Content of data
address 2422H
Content of data
address 2423H
CRC CHK Low
CRC CHK High
01H
03H
04H
17H
70H
00H
00H
FEH
5CH

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents