devices_plcs

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devices_plcs [2021/01/25 17:25]
wikiadmin
devices_plcs [2021/01/31 23:32] (current)
wikiadmin
Line 81: Line 81:
 </code> </code>
  
 +**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
 +
 +{{:pasted:20210131-232432.png?400}}
 +
 +The data type is "B" in the starting address DB195:B0, and the number of elements in the array is 6. This means that the S7Array will read 6 byte registers starting at DB195:B0, so DB195:B0,DB195:B1,DB195:B2,DB195:B3,DB195:B4,and DB195:B5. If the Start Register was set to read words, such as DB195:W8, and the array size was set to 3, DB195:W8,DB195:W9,and DB195:W10 would be returned in the array.
  • devices_plcs.1611617133.txt.gz
  • Last modified: 2021/01/25 17:25
  • by wikiadmin