Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devices_plcs [2020/08/29 12:05] wikiadmin |
devices_plcs [2021/01/31 23:32] (current) wikiadmin |
||
---|---|---|---|
Line 19: | Line 19: | ||
EtherNetIP is based on tag names. | EtherNetIP is based on tag names. | ||
+ | |||
+ | **Siemens S7 PLCs** | ||
+ | |||
+ | There are three primary families of the S7 PLC. S7-1200, S7-300 and S7-1500 (the S7-200 also supported). | ||
+ | |||
+ | To support the different S7 PLCs, the "TSAP dst" property needs to be changed to match the PLC type and configuration. This is an expert property. | ||
+ | |||
+ | S7-1200 | ||
+ | The S7-1200 is usually addressed with the TSAP 02 01 (binary). | ||
+ | |||
+ | S7-300 & S7-1500 | ||
+ | |||
+ | The S7-1500 uses that same configuration as the S7-300 | ||
+ | |||
+ | The S7-300 is usually addressed with the TSAP 03 02 (binary). | ||
+ | |||
+ | Additional information is available here: | ||
+ | |||
+ | https:// | ||
+ | |||
+ | **S7 Addressing** | ||
+ | |||
+ | S7 (and S5) PLCs have the following address structure. | ||
+ | |||
+ | Supported memory types are: I, | ||
+ | Supported data types are: X, | ||
+ | |||
+ | Scalar types can have bit numbers added, so, for example, DB8:D80.11 and MW11.1 are valid addresses. | ||
+ | |||
+ | Further register examples: | ||
+ | |||
+ | < | ||
+ | DB8:S86.50 | ||
+ | DB8:D80.11 | ||
+ | DB8:I80.11 | ||
+ | DB8:R2 | ||
+ | DB8:D8 | ||
+ | DB8:D8.2 | ||
+ | DB8:S20.50 | ||
+ | DB8:I0.2 | ||
+ | DB8:I80 | ||
+ | DB8:W80.11 | ||
+ | DB8:W0.2 | ||
+ | DB8:W80 | ||
+ | DB8:X0.2 | ||
+ | DB8:X6.11 | ||
+ | DB8:X6.2 | ||
+ | |||
+ | MS11.7 | ||
+ | FB2 | ||
+ | QI21 | ||
+ | AI21 | ||
+ | AW21 | ||
+ | MW11.0 | ||
+ | MW11 | ||
+ | MX10.7 | ||
+ | T0 | ||
+ | T0.4 | ||
+ | C1 | ||
+ | C1.4 | ||
+ | </ | ||
+ | |||
+ | **S7 Arrays** | ||
+ | |||
+ | An S7 Array is configured with the size (Register Count) and starting register (Start Register), and the data type of the array is taken from the address designation. In the example | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The data type is " |