Базово всё запущено. Датчики считываются записываются в модбас регистры, и по запросу выдаются.

Есть запас на 27-30 датчиков
This commit is contained in:
2025-03-03 16:49:25 +03:00
parent b96e00b166
commit 324c26e559
15 changed files with 191 additions and 176 deletions

View File

@@ -153,24 +153,7 @@
<Name>(105=-1,-1,-1,-1,0)</Name>
</SetRegEntry>
</TargetDriverDllRegistry>
<Breakpoint>
<Bp>
<Number>0</Number>
<Type>0</Type>
<LineNumber>152</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>134221440</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>1</BreakIfRCount>
<Filename>..\Core\Dallas\dallas_tools.c</Filename>
<ExecCommand></ExecCommand>
<Expression>\\Project\../Core/Dallas/dallas_tools.c\152</Expression>
</Bp>
</Breakpoint>
<Breakpoint/>
<WatchWindow1>
<Ww>
<count>0</count>
@@ -185,7 +168,7 @@
<Ww>
<count>2</count>
<WinNumber>1</WinNumber>
<ItemText>\\Project\../Core/Dallas/ds18b20_driver.c\OW.RomByte[7]</ItemText>
<ItemText>module2</ItemText>
</Ww>
<Ww>
<count>3</count>
@@ -240,7 +223,12 @@
<Ww>
<count>13</count>
<WinNumber>1</WinNumber>
<ItemText>hmodbus1</ItemText>
<ItemText>hmodbus1,0x0A</ItemText>
</Ww>
<Ww>
<count>14</count>
<WinNumber>1</WinNumber>
<ItemText>RS_Buffer,0x10</ItemText>
</Ww>
</WatchWindow1>
<WatchWindow2>
@@ -262,7 +250,12 @@
<Ww>
<count>3</count>
<WinNumber>2</WinNumber>
<ItemText>MB_DATA</ItemText>
<ItemText>MB_DATA,0x0A</ItemText>
</Ww>
<Ww>
<count>4</count>
<WinNumber>2</WinNumber>
<ItemText>hmodbus1</ItemText>
</Ww>
</WatchWindow2>
<Tracepoint>
@@ -456,8 +449,8 @@
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\Core\Src\py32f002b_hal_msp.c</PathWithFileName>
<FilenameWithoutPath>py32f002b_hal_msp.c</FilenameWithoutPath>
<PathWithFileName>..\Core\Src\py32f002b_it.c</PathWithFileName>
<FilenameWithoutPath>py32f002b_it.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
@@ -468,8 +461,8 @@
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\Core\Src\py32f002b_it.c</PathWithFileName>
<FilenameWithoutPath>py32f002b_it.c</FilenameWithoutPath>
<PathWithFileName>..\Core\Src\py32f002b_hal_msp.c</PathWithFileName>
<FilenameWithoutPath>py32f002b_hal_msp.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>

View File

@@ -435,16 +435,16 @@
<FileType>1</FileType>
<FilePath>..\Core\Src\usart.c</FilePath>
</File>
<File>
<FileName>py32f002b_hal_msp.c</FileName>
<FileType>1</FileType>
<FilePath>..\Core\Src\py32f002b_hal_msp.c</FilePath>
</File>
<File>
<FileName>py32f002b_it.c</FileName>
<FileType>1</FileType>
<FilePath>..\Core\Src\py32f002b_it.c</FilePath>
</File>
<File>
<FileName>py32f002b_hal_msp.c</FileName>
<FileType>1</FileType>
<FilePath>..\Core\Src\py32f002b_hal_msp.c</FilePath>
</File>
</Files>
</Group>
<Group>