LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

siemens s7 read/write data blocks with optimizeed access

Hello,

How can access to data block  addressed in symbolic Form with optimizeed access. The elements are assigned only a symbolic name and no fixed address within the block (example: DB_name.Cutting_Speed). 

can use Snap7 or somthing else??

please help

0 Kudos
Message 1 of 5
(4,867 Views)

snap7 will work but you have to disable optimized block access.

bp
0 Kudos
Message 2 of 5
(4,857 Views)

thank you for replaying.

i used already Snap7 for reading and writing data from/to data block with disable optimized access and works will.

 

Unbenannt.PNG 

i want to access the daba block with simbolic form like "DB_OperationMode.setting" instead DB100.DBX10.0.

is it possible with snap7 or something else?

0 Kudos
Message 3 of 5
(4,851 Views)

symbolic addressing==selecting optimized block access

so Not possible

edit: with snap7 not possible. i am not aware of other tools.

bp
0 Kudos
Message 4 of 5
(4,836 Views)

The Siemens S7 protocol is not documented by Siemens. libnodave, Snap7 and others have reverse engineered that protocol and implement it but there exists no public implementation of the newer extensions necessary to support symbolic access.

 

Supposedly the Accon AGLink library here does support symbol access. But it is in DLL form and you will have to create a VI library wrapper to it.

 

 

Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 5
(4,817 Views)