+1 Tim

That will make it more intuitive for the TIA-side users



Am 03.08.2018 um 15:41 schrieb Christofer Dutz 
<[email protected]<mailto:[email protected]>>:

Hi all,

We have recently discussed changing something to allow defining not only the 
Java-Side type, but also the expected type in the PLC.
For the S7 protocol, we propose to extend the “S7Address” by an additional 
plcType. While at it we would also like to change the general format of the S7 
Address Strings
To the format used in Siemens’ TIA Portal software as this simplifies the 
communication between automation engineers and software developers.

We would append the plcType to these addresses in the address string and a 
fully qualified S7 Resource would look like this:

%DB3.DBX0.0:BOOL (Boolean variable in the DataBlock DB3 which consumes one bit 
of memory)
%DB3.DBW2:INT (Int variable in DataBlock DB3 which consumes one word (two byte) 
of memory)
%DB3.DBD4:REAL (Real variable in DataBlock DB3 which consumes one double-word 
(four bytes) of memory)
%DB3.DBB8:BYTE (Byte variable in DataBlock DB3 which consumes one byte of 
memory)
%I0.1:BOOL (Boolean input variable referring to the second digital input of the 
PLC)
%M0.3:BOOL (Boolean output variable referring to the fourth digital output of 
the PLC)
%IW64:DOUBLE (Double input variable referring to one of the analog inputs of 
the PLC)

Please Vote in this thread and take discussions into the [DISCUSS] thread.

Chris


PS: I know this is overkill, but I want to practice voting on stuff here with 
you ;-)




Reply via email to