User Tools

Site Tools


connecting_to_s7-1200

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
connecting_to_s7-1200 [2018/08/02 12:23] – created emozolyakconnecting_to_s7-1200 [2018/08/02 12:28] emozolyak
Line 14: Line 14:
  
 Also, from the controller settings in the TIA portal project, it is necessary to take its IP address and TSAP (this is the device address in the COTP protocol. It is indicated in hexadecimal format.The high byte denotes the access type (by default 03) .The low byte consists of two Rack values ​​(by default 0) and Slot (default 1). See Siemens documentation for controllers for more details).  Also, from the controller settings in the TIA portal project, it is necessary to take its IP address and TSAP (this is the device address in the COTP protocol. It is indicated in hexadecimal format.The high byte denotes the access type (by default 03) .The low byte consists of two Rack values ​​(by default 0) and Slot (default 1). See Siemens documentation for controllers for more details). 
 +
 Example of setting up a connection to the S7 1200 PLC in WebHMI: Example of setting up a connection to the S7 1200 PLC in WebHMI:
 +
 +{{::1200_conn_settings.png?direct&600|}}
  
 After that, you can create registers, using for them the standard notation of memory area addresses in Siemens PLCs - QB0.0, VW0, etc. For more information, see here.  After that, you can create registers, using for them the standard notation of memory area addresses in Siemens PLCs - QB0.0, VW0, etc. For more information, see here. 
  
-**Note** - although WebHMI correctly recognizes addresses with the data type included in them (for example, IW0 in the notation indicates a Word type register from Inputs memory), but WebHMI will decide what data lenggh to read from ther register setting (IW0 will serve only as base address). I.e. the +**Note** - although WebHMI correctly recognizes addresses with the data type included in them (for example, IW0 in the notation indicates a Word type register from Inputs memory), but WebHMI will decide what data length to read from ther register setting (IW0 will serve only as base address). I.e. the 
 address is used exclusively as an address and in fact these three addresses - IW0, IB0, ID0 are equivalent to the  address is used exclusively as an address and in fact these three addresses - IW0, IB0, ID0 are equivalent to the 
 I0 record (the actual type will be determined by the register data type settings (Word, Byte or Double Word)). I0 record (the actual type will be determined by the register data type settings (Word, Byte or Double Word)).
  
connecting_to_s7-1200.txt · Last modified: 2023/09/07 17:47 by emozolyak

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki