connecting_to_s7-1200
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
connecting_to_s7-1200 [2021/07/23 14:26] – [Change protection options in the CPU settings] emozolyak | connecting_to_s7-1200 [2022/01/15 16:44] – ↷ Links adapted because of a move operation 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Connecting to S7-1200 ====== | ====== Connecting to S7-1200 ====== | ||
- | {{ : | + | {{ network: |
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 " | 2. Enable Full Access in " | ||
- | {{ | + | {{ |
==== 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. ==== | ||
- | {{ : | + | {{ network: |
- | 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). | + | ==== Check network connection details ==== |
+ | |||
+ | 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: | ||
- | {{:: | + | {{ network: |
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, | 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, |
connecting_to_s7-1200.txt · Last modified: 2023/09/07 17:47 by emozolyak