How to configure Flexy tag addressing for Siemens S7 PLCs

08 Aug 2023

This article describes how to configure Flexy tag addressing for Siemens S7 PLCs.

 

APPLICABLE PRODUCTS

All Ewon Flexy models

 

QUESTION

How do you configure Flexy tag addressing for Siemens S7 PLCs?

 

ANSWER

As you fill out the Address field in the Flexy tag configuration, you may notice that it looks similar to the addressing scheme used in S7 PLCs. This can cause confusion as these are not the same. It's important to note the numbers used in the address of the PLC as it denotes the memory location of the data, but the Flexy's tag addressing contains more information regarding the data type. The full address will be slightly different depending on the memory location in the PLC but the Flexy's web interface helps you build the address step-by-step.

 

Consider the following example for addressing a variable in a data block:

An S7 Real data type at address %DB601.DBD0 becomes DB601F0 in the Ewon Flexy

 

As you can see, the numbers in the addressing are the same:

%DB601.DBD0 to DB601F0

 

A common mistake is with the data type. The address in S7 does not show the data type but rather the size of the memory location. In the example, DBD denotes a double word. If you mistakenly select for Double Word, the Flexy will interpret this value as an integer value instead of a decimal number. Because this is a Real/Float data type, you have to select for Float in the Flexy.

%DB601.DBD0 to DB601F0

 

ADDITIONAL INFO

Read S7 PLC data from Flexy : Disable Optimized Block Access in TIA portal

Flexy IO Servers

Polling Data from Siemens PLC (Using Ethernet Protocol)