DALYmakamaka ali ndi ma protocol atatu:CAN, UART/485, ndi Modbus.
1. CAN Protocol
Chida Choyesera:CANtest
- Mtengo wa Baud:250k
- Mitundu Yamafelemu:Mafelemu Okhazikika ndi Owonjezera. Nthawi zambiri, Frame Yowonjezera imagwiritsidwa ntchito, pomwe Standard Frame ndi ya BMS yosinthidwa makonda.
- Fomu Yolumikizirana:Ma ID a data kuyambira 0x90 mpaka 0x98zimafikirika ndi makasitomala. Ma ID ena nthawi zambiri sapezeka kapena kusinthidwa ndi makasitomala.
- Mapulogalamu a PC kupita ku BMS: Chofunika Kwambiri + ID ya Data + Adilesi ya BMS + Adilesi ya Mapulogalamu a PC, mwachitsanzo, 0x18100140.
- BMS Respo to PC Software: Chofunika Kwambiri + Data ID + PC Software Address + BMS Address, mwachitsanzo, 0x18104001.
- Onani malo a PC Software Address ndi BMS Address. Adiresi yolandira lamulo imabwera poyamba.
- Zambiri Zokhudza Kulumikizana:Mwachitsanzo, muvuto la batri ndi chenjezo lachiwiri la magetsi otsika, Byte0 idzawonetsa ngati 80. Kusinthidwa kukhala binary, iyi ndi 10000000, pamene 0 imatanthauza zachilendo ndipo 1 imatanthauza alamu. Malinga ndi tanthauzo la DALY lapamwamba kumanzere, kumanja, izi zikufanana ndi Bit7: chenjezo lachiwiri la magetsi otsika.
- Ma ID owongolera:Kulipira MOS: DA, Kutulutsa MOS: D9. 00 amatanthauza, 01 amachotsa.
2.UART/485 Protocol
Chida Choyesera:Chida cha COM
- Mtengo wa Baud:9600bps
- Fomu Yolumikizirana:Njira yowerengera Checksum:Cheki ndi kuchuluka kwa data yonse yam'mbuyomu (yotsika yokhayo imatengedwa).
- Pulogalamu ya PC kupita ku BMS: Mutu wa Frame + Adilesi ya Module Yolumikizana (UPPER-Add) + ID ya data + Utali wa Deta + Zomwe Zilipo + Checksum.
- BMS Response to PC Software: Frame Header + Communication Module Address (BMS-Add) + Data ID + Data Length + Data Content + Checksum.
- Zambiri Zokhudza Kulumikizana:Zofanana ndi CAN.
3. Modbus Protocol
Chida Choyesera:Chida cha COM
- Fomu Yolumikizirana:
- Mtundu wa Message Protocol:Werengani Register, Funsani Frame
- Pa: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
- Kufotokozera: 0xD2 | 0x03 pa Adilesi Yoyambira | Chiwerengero cha Olembetsa (N) | Mtengo wa CRC-16
- Chitsanzo: D203000C000157AA. D2 ndi adilesi ya akapolo, 03 ndiye lamulo lowerengedwa, 000C ndiye adilesi yoyambira, 0001 amatanthauza kuti chiwerengero cha zolembera zowerengera ndi 1, ndipo 57AA ndi CRC checksum.
- Mayankho Okhazikika:
- Pa: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
- Kufotokozera: 0xD2 | 0x03 pa Utali wa Data | Mtengo wa 1st Register | Mtengo wa Nth Register | Mtengo wa CRC-16
- L = 2 *N
- Chitsanzo: N ndi nambala ya kaundula, D203020001FC56. D2 ndi adilesi ya kapolo, 03 ndiye lamulo lowerengedwa, 02 ndi kutalika kwa zomwe zawerengedwa, 0001 zikutanthauza mtengo wa regista 1 yowerengedwa, yomwe ndi gawo lotulutsidwa kuchokera ku lamulo la omvera, ndipo FC56 ndi CRC checksum.
- Mtundu wa Message Protocol:Werengani Register, Funsani Frame
- Lembani Register:Byte1 ndi 0x06, pomwe 06 ndi lamulo lolemba kaundula kamodzi, byte4-5 imayimira lamulo la alendo.
- Mayankho Okhazikika:Mayankhidwe ovomerezeka olembera kaundula amodzi amatsatira njira yofanana ndi yofunsira.
- Lembani Ma Register Ambiri Ambiri:Byte1 ndi 0x10, pomwe 10 ndi lamulo lolemba ma regista angapo a data, byte2-3 ndi adilesi yoyambira ya zolembera, byte4-5 imayimira kutalika kwa zolembera, ndipo byte6-7 imayimira zomwe zili.
- Mayankho Okhazikika:Byte2-3 ndi adilesi yoyambira ya zolembera, byte4-5 imayimira kutalika kwa zolembera.
Nthawi yotumiza: Jul-23-2024