EasyManua.ls Logo

Grow GM65 - 8 Serial Port Instruction; CRC Algorithm

Default Icon
60 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
31
8.2 Read Zone Bit
Max 256 bytes/time for zone bit reading.
Send Command Format:
Numbers of bytes
2bytes
1byte
1byte
2bytes
1byte
2bytes
Name
Head
Types
Lens
Address
Datas
CRC
Details
0x7E00
07H
01H
xxH
xxH
xxH
PS: Address : 0x0000~0x00FF2 bytes, address to start reading zone bit
Datas : 0x00~0xFF1 byte, Numbers of zone bit for Sequential read, 0x00= 256byets
Receive Command Format:
2bytes
CRC
xxH
PS: Types: 0x00= read succeed
Lens : numbers of upload bytes; 0x00= 256bytes
Datas : 0x00~0xFF means read data.
If CRC wrong, no return data
If format or data wrong, no return data
E.G.:
Read address 0x000A of Zone bit
1) Read successfully and return data is 0x3E.
Input: 0x7E 0x00 0x07 0x01 0x00 0x0A 0x01 0xEE 0x8A
Output: 0x02 0x00 0x00 0x01 0x3E 0xE4 0xAC
2CRC wrong
Input0x7E 0x00 0x07 0x01 0x00 0x0A 0x01 0x11 0x22
Output None
3) When length of command to short or more than 400ms after 0x7e 0x00, treat as unknown
command.
Input: 0x7E 0x00 0x07 0x01 0x00 0x0A 0x01
Output: None

Related product manuals