[S7] REAL address. DBD?

Join Date
Aug 2007
Location
Saint Augustine, FL
Posts
178
I seem to be running into an issue. I have a scaling FB in a Siemens PLC, and so it accurately displays the scaled output as a REAL. When I read it with the HMI, however, it comes in as a very large INT, or more likely, a DINT. I know that DBWxx addresses a word (INT) and that DBDxx addresses a double word (DINT), but is there a way to address a REAL?

I suspect I just use the DBWxx (since a bit is a bit to an address), but if the HMI expects an INT at this address and the PLC is writing a REAL at this address, I won't get what I want.

Advice?

(S7300 PLC. VTScada HMI)
 
I know that DBWxx addresses a word (INT) and that DBDxx addresses a double word (DINT), but is there a way to address a REAL?
Not 100% correct.
A word can be interpreted as a WORD or an INT.
A double-word can be interpreted as a DWORD, a DINT, a REAL or a TIME.
I think you simply have to select the datatype REAL in your Scada software, and all will be well.
 
That's what I figured. The SCADA doesn't have a way to typecast the incoming bits as a real vs an int. Such is life. :)

But, yeah, to answer my original question, there is no "DBR" for real address format.

It's ok. I got it to work by scaling in the SCADA.
 

Similar Topics

Dear All, I need to read the control logix PLC Real time clock tags / addresses of Date and time to my touch panel. I really appreciate if any one...
Replies
3
Views
9,136
I am using PLC S7-200 Cpu 215 with COM1 of my computer. I am having problems creating a real number for VD332 address in memory of PLC.I use...
Replies
5
Views
6,360
I am working on a project using a NB screen and NX1P2 PLC. I am having a really hard time getting a real number to properly translate through to...
Replies
3
Views
104
I am trying to copy an array of real numbers into a UDT with a real data type element. I have attached a snip below showing my COP instruction...
Replies
4
Views
194
Hi Iam using monitouch hmi(V9 soft) with omron plc cj2m (CX programmer). In this I want to read a data from hmi to plc. The data was like...
Replies
0
Views
90
Back
Top Bottom