S7NetPlus / s7netplus

S7.NET+ -- A .NET library to connect to Siemens Step7 devices
MIT License
1.29k stars 577 forks source link

Read or write memory indirect addressing using S7NetPlus #521

Closed ypeng-ming closed 5 months ago

ypeng-ming commented 6 months ago

Hello, I want to know if is possible to read or write memory indirect addressing using S7NetPlus? Thanks.

_Here is some references: memory indirect addressing refers to a way of accessing data through pointers. In Siemens PLC, indirect addressing can be divided into two types: memory indirect addressing and register indirect addressing. The address format for memory indirect addressing is: address identifier + pointer. The value contained in the storage unit indicated by the pointer is the exact numerical value of the address. Register indirect addressing is done through the CPU’s address registers AR1 and AR2. Both AR1 and AR2 are 32-bit registers, and register indirect addressing uses only 32-bit pointers__

1706501229892

If we can't read or write memory indirect addressing using S7NetPlus, is there a workaround? Thanks u in advance!

ypeng-ming commented 6 months ago

I think it's impossible to solve this problem using netS7Plus. From my understanding, the only solution is using SIMATIC NET which is a product of Siemens, and licence needs to be paid. Otherwise Wincc is also a solution, but you can't use C#, and it's ugly.