Skip to content

Commit

Permalink
Added some specs
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Jan 27, 2024
1 parent 4ee1e09 commit 126d555
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 2 deletions.
Binary file added docs/JSY-MK-194T 1.pdf
Binary file not shown.
Binary file added docs/JSY-MK-194T 2.pdf
Binary file not shown.
Binary file added docs/JSY-MK-194T 3.pdf
Binary file not shown.
28 changes: 28 additions & 0 deletions docs/JSY-Reset.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
https://forum-photovoltaique.fr/viewtopic.php?p=717586&sid=3db9427c877401e7d57c0ffbc6f50096#p717586

Departement/Region : 38
Professionnel PV : NON
Contact :
Re: jsy-mk-194T module qui compte dans les 2 sens
par Thierry3838 » 21 sept. 2023 11:32

Bonjour,

Voici les commandes a envoyé au jsy pour faire un reset des compteurs d'énergie (sauf erreur de ma part):
on a 2 bobines qui comptent en + et - donc :
- Positive energy 1 :
commande : 0x01, 0x10, 0x00, 0x4B, 0x00, 0x02, 0x04, 0x00, 0x00, 0x00, 0x00, 0xB6, 0x2C
réponse : 0110004B000231DE
-Negative energy 1 :
commande : 0x01, 0x10, 0x00, 0x4D, 0x00, 0x02, 0x04, 0x00, 0x00, 0x00, 0x00, 0x36, 0x06
réponse : 0110004D0002D1DF
- Positive energy 2 :
commande : 0x01, 0x10, 0x00, 0x53, 0x00, 0x02, 0x04, 0x00, 0x00, 0x00, 0x00, 0xB6, 0x86
réponse : 011000530002B1D9
-Negative energy 2 :
commande : 0x01, 0x10, 0x00, 0x55, 0x00, 0x02, 0x04, 0x00, 0x00, 0x00, 0x00, 0x36, 0xAC
réponse : 01100055000251D8

Pour le calcul du CRC vous pouvez allez sur https://crccalc.com/ et choisir CRC-16/modbus

Thierry
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ monitor_filters = esp32_exception_decoder, log2file

[platformio]
lib_dir = .
; src_dir = examples/JSYRead
src_dir = examples/JSYReadAsync
src_dir = examples/JSYRead
; src_dir = examples/JSYReadAsync

[env:esp32]
platform = [email protected]
Expand Down

0 comments on commit 126d555

Please sign in to comment.