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

Both sides previous revisionPrevious revision
Next revision
Previous revision
connecting_to_s7-1200 [2021/07/23 14:27] – [Disable Optimized Block Access for the Data Blocks you are going to exchange with.] emozolyakconnecting_to_s7-1200 [2023/09/07 17:47] (current) – [Check network connection details] emozolyak
Line 1: Line 1:
 ====== Connecting to S7-1200 ====== ====== Connecting to S7-1200 ======
-{{ :s7-1200.jpg?nolink&200|}}+{{ network:s7-1200.jpg?nolink&200|}}
 It is possible to connect to the Siemens 1200 series controllers using the ISO-on-TCP protocol. To do this, several additional settings must be made in the controller configuration. To activate the S7 Communication operation mode in TIA Portal, the PLC must be configured correctly. It is possible to connect to the Siemens 1200 series controllers using the ISO-on-TCP protocol. To do this, several additional settings must be made in the controller configuration. To activate the S7 Communication operation mode in TIA Portal, the PLC must be configured correctly.
  
Line 9: Line 9:
 2. Enable Full Access in "Protection PLC" settings. 2. Enable Full Access in "Protection PLC" settings.
  
-{{  ::protection_checkboxes_new.png?direct&800 |}}+{{  network:protection_checkboxes_new.png?direct&800 |}}
  
 ====  Disable Optimized Block Access for the Data Blocks you are going to exchange with.  ==== ====  Disable Optimized Block Access for the Data Blocks you are going to exchange with.  ====
  
-{{ :optimized_check_box.png?direct |}}+{{ network:optimized_check_box.png?direct |}}
  
 ==== Check network connection details ==== ==== Check network connection details ====
Line 21: Line 21:
 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 |}}+{{ network:1200_conn_settings.png?direct |}}
  
 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 length to read from ther register setting (IW0 will serve only as base address)I.e. the  +<WRAP center round info 60%> 
-address is used exclusively as an address and in fact these three addresses - IW0, IB0, ID0 are equivalent to the  +Please note that WebHMI will recognize the data type for the S7 register not from the register address expression of MW, MB or MD, but from the register configuration, i.e. what data type (Byte, Word ..) is chosen for the register  
-I0 record (the actual type will be determined by the register data type settings (Word, Byte or Double Word)).+E.g. in fact these three addresses - IW0, IB0, ID0 are equivalent to the I0 record.  
 +See more on [[siemens_iso|this page]] 
 +</WRAP> 
  
connecting_to_s7-1200.1627050479.txt.gz · Last modified: 2021/07/23 14:27 by emozolyak

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki