add 3 var
This commit is contained in:
		
							parent
							
								
									f92bfb2e08
								
							
						
					
					
						commit
						2b49e0069e
					
				
							
								
								
									
										
											BIN
										
									
								
								Project Backups/schem [Autosaved].pdsprj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Project Backups/schem [Autosaved].pdsprj
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@ -225,6 +225,31 @@
 | 
			
		||||
          <WinNumber>1</WinNumber>
 | 
			
		||||
          <ItemText>MB_DATA.Coils.coils[1].state_val_bit.state_val_01,0x0A</ItemText>
 | 
			
		||||
        </Ww>
 | 
			
		||||
        <Ww>
 | 
			
		||||
          <count>15</count>
 | 
			
		||||
          <WinNumber>1</WinNumber>
 | 
			
		||||
          <ItemText>MODBUS_MSG</ItemText>
 | 
			
		||||
        </Ww>
 | 
			
		||||
        <Ww>
 | 
			
		||||
          <count>16</count>
 | 
			
		||||
          <WinNumber>1</WinNumber>
 | 
			
		||||
          <ItemText>RS_RES</ItemText>
 | 
			
		||||
        </Ww>
 | 
			
		||||
        <Ww>
 | 
			
		||||
          <count>17</count>
 | 
			
		||||
          <WinNumber>1</WinNumber>
 | 
			
		||||
          <ItemText>rx_buffer</ItemText>
 | 
			
		||||
        </Ww>
 | 
			
		||||
        <Ww>
 | 
			
		||||
          <count>18</count>
 | 
			
		||||
          <WinNumber>1</WinNumber>
 | 
			
		||||
          <ItemText>RS_msg</ItemText>
 | 
			
		||||
        </Ww>
 | 
			
		||||
        <Ww>
 | 
			
		||||
          <count>19</count>
 | 
			
		||||
          <WinNumber>1</WinNumber>
 | 
			
		||||
          <ItemText>pMessagePtr</ItemText>
 | 
			
		||||
        </Ww>
 | 
			
		||||
      </WatchWindow1>
 | 
			
		||||
      <WatchWindow2>
 | 
			
		||||
        <Ww>
 | 
			
		||||
@ -241,7 +266,7 @@
 | 
			
		||||
        <periodic>1</periodic>
 | 
			
		||||
        <aLwin>1</aLwin>
 | 
			
		||||
        <aCover>0</aCover>
 | 
			
		||||
        <aSer1>0</aSer1>
 | 
			
		||||
        <aSer1>1</aSer1>
 | 
			
		||||
        <aSer2>0</aSer2>
 | 
			
		||||
        <aPa>0</aPa>
 | 
			
		||||
        <viewmode>1</viewmode>
 | 
			
		||||
@ -276,46 +301,6 @@
 | 
			
		||||
      <pSingCmdsp></pSingCmdsp>
 | 
			
		||||
      <pMultCmdsp></pMultCmdsp>
 | 
			
		||||
      <SystemViewers>
 | 
			
		||||
        <Entry>
 | 
			
		||||
          <Name>System Viewer\BKP</Name>
 | 
			
		||||
          <WinId>35895</WinId>
 | 
			
		||||
        </Entry>
 | 
			
		||||
        <Entry>
 | 
			
		||||
          <Name>System Viewer\GPIOA</Name>
 | 
			
		||||
          <WinId>35904</WinId>
 | 
			
		||||
        </Entry>
 | 
			
		||||
        <Entry>
 | 
			
		||||
          <Name>System Viewer\GPIOB</Name>
 | 
			
		||||
          <WinId>35900</WinId>
 | 
			
		||||
        </Entry>
 | 
			
		||||
        <Entry>
 | 
			
		||||
          <Name>System Viewer\GPIOC</Name>
 | 
			
		||||
          <WinId>35896</WinId>
 | 
			
		||||
        </Entry>
 | 
			
		||||
        <Entry>
 | 
			
		||||
          <Name>System Viewer\IWDG</Name>
 | 
			
		||||
          <WinId>35905</WinId>
 | 
			
		||||
        </Entry>
 | 
			
		||||
        <Entry>
 | 
			
		||||
          <Name>System Viewer\PWR</Name>
 | 
			
		||||
          <WinId>35899</WinId>
 | 
			
		||||
        </Entry>
 | 
			
		||||
        <Entry>
 | 
			
		||||
          <Name>System Viewer\RCC</Name>
 | 
			
		||||
          <WinId>35898</WinId>
 | 
			
		||||
        </Entry>
 | 
			
		||||
        <Entry>
 | 
			
		||||
          <Name>System Viewer\RTC</Name>
 | 
			
		||||
          <WinId>35897</WinId>
 | 
			
		||||
        </Entry>
 | 
			
		||||
        <Entry>
 | 
			
		||||
          <Name>System Viewer\TIM1</Name>
 | 
			
		||||
          <WinId>35903</WinId>
 | 
			
		||||
        </Entry>
 | 
			
		||||
        <Entry>
 | 
			
		||||
          <Name>System Viewer\TIM2</Name>
 | 
			
		||||
          <WinId>35901</WinId>
 | 
			
		||||
        </Entry>
 | 
			
		||||
        <Entry>
 | 
			
		||||
          <Name>System Viewer\USART1</Name>
 | 
			
		||||
          <WinId>35902</WinId>
 | 
			
		||||
 | 
			
		||||
@ -134,6 +134,10 @@ typedef struct
 | 
			
		||||
/** @brief Structure for modbus messsage */
 | 
			
		||||
typedef struct 	// RS_MsgTypeDef
 | 
			
		||||
{
 | 
			
		||||
	uint16_t							Transaction_ID;     ///< Modbus TCP Transaction_ID
 | 
			
		||||
	uint16_t		          Protocol_ID;				///< 
 | 
			
		||||
	uint16_t							Pack_length;							
 | 
			
		||||
	
 | 
			
		||||
	uint8_t 							MbAddr;							///< Modbus Slave Address
 | 
			
		||||
	MB_FunctonTypeDef 		Func_Code;					///< Modbus Function Code
 | 
			
		||||
  MB_DevIdMsgTypeDef    DevId;              ///< Read Device Identification Header struct
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user