Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devices_plcs [2021/01/13 11:11] wikiadmin |
devices_plcs [2021/01/31 23:32] (current) wikiadmin |
||
---|---|---|---|
Line 39: | Line 39: | ||
https:// | 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 " |