[?]: Wonderware Addressing of Siemens Memory

Прочие SCADA: iFix, InTouch, Citect, ...
Post Reply
reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

[?]: Wonderware Addressing of Siemens Memory

Post by reymond_craig » Thu Nov 29, 2007 1:36 am

Hi,

Good morning, I just want to ask those who know how I can put the address of siemens to item name of wonderware for example, m0.0 I put mx0.0 but I don't know on other data type like for word, Dword. Please help me out here.

Siemens Address Item Name (Wonderware)
Db1000.dbd20 ?
Db1000.dbw30 ?
Mw10 ?
MD20 ?

Thanks in advance

Warm regards,
Rey

frankw
Posts: 103
Joined: Tue Mar 06, 2007 5:59 am
Location: China

Post by frankw » Fri Nov 30, 2007 1:07 am

You'd better read the IO manual:

Data Blocks and Instance Blocks
The following table summarizes the data format, item or
point, suffix, data type, and range for Data Blocks and
Instance Blocks.
Data
Format Item/Point Suffix Data Type Range
Bit D<B,I>d,Xx.y VT_BOOL 0 or 1
String D<B,I>d,Sx,v
D<B,I>d,STRINGx,v
VT_BSTR
VT_BSTR
String
String
S7String D<B,I>d,S7Sx,w
D<B,I>d,S7STRINGx,w
VT_BSTR
VT_BSTR
String
String
Byte D<B,I>d,Bx
D<B,I>d,BYTEx
DT
VT_UI1
VT_UI1
VT_BSTR
0 to 255
0 to 255
1990-1-1-0:00:00.000 to
2089-12-31-23:59:59.999
Byte
Array
D<B,I>d,Bx,v
D<B,I>d,BYTEx,v
VT_ARRAY|VT_UI1
VT_ARRAY|VT_UI1
0 to 255 for each element*
0 to 255 for each element*
Char D<B,I>d,CHARx
DT
VT_I1
VT_BSTR
-128 to 127
1990-1-1-0:00:00.000 to
2089-12-31-23:59:59.999
44 􀀠 Chapter 3 Item Naming
SIDirect DAServer User’s Guide
*: For DDE/SuiteLink, the item value is the HexASCII
representation of the complete array. The result is one string
containing all the elements of the array in the HexASCII
representation of the binary data in big endian format when
data is returned to the DDE/SuiteLink layer.
Char
Array
D<B,I>d,CHARx,v VT_ARRAY|VT_UI1 -128 to 127 for each element*
Word D<B,I>d,Wn
D<B,I>d,WORDn
BCD
KT
S5T
TR
D
VT_UI2
VT_UI2
VT_UI2
VT_BSTR
VT_BSTR
VT_R4
VT_BSTR
0 to 65535
0 to 65535
0 to 9999
0.0 to 999.3
0ms to 2h46m30s
0.0 to 9990.0 (s)
1990-1-1 to 2168-12-31
Word
Array
D<B,I>d,Wn,v
D<B,I>d,WORDn,v
VT_ARRAY|VT_UI2
VT_ARRAY|VT_UI2
0 to 65535 for each element*
0 to 65535 for each element*
Integer D<B,I>d,INTn
BCD
D
VT_I2
VT_I2
VT_BSTR
-32768 to 32767
-999 to 999
1990-1-1 to 2168-12-31
Integer
Array
D<B,I>d,INTn,v VT_ARRAY|VT_UI1 -32768 to 32767 for each
element*
Double
Word
D<B,I>d,Dm
D<B,I>d,DWORDm
BCD
TOD
T
VT_UI4
VT_UI4
VT_UI4
VT_BSTR
VT_BSTR
0 to 4294967295**
0 to 4294967295**
0 to 99999999
0:00:00.000 to 23:59:59.999
-24D_20H_31M_23S_648 MS
to
24D_20H_31M_23S_647MS
Double
Word
Array
D<B,I>d,Dm,v
D<B,I>d,DWORDm,v
VT_ARRAY|VT_UI4
VT_ARRAY|VT_UI4
0 to 4294967295 for each
element*
0 to 4294967295 for each
element*
Double
Integer
D<B,I>d,DINTm
BCD
TOD
T
VT_I4
VT_I4
VT_BSTR
VT_BSTR
-2147483648 to 2147483647
-9999999 to 9999999
0:00:00.000 to 23:59:59.999
-24D_20H_31M_23S_648 MS
to
24D_20H_31M_23S_647MS
Double
Integer
Array
D<B,I>d,DINTm,v VT_ARRAY|VT_I4 -2147483648 to 2147483647
for each element*
Real D<B,I>d,REALm VT_R4 ±3.4e38
Real
Array
D<B,I>d,REALm,v VT_ARRAY|VT_R4 ±3.4e38 for each element*
Data
Format Item/Point Suffix Data Type Range
Data Blocks and Instance Blocks 􀀠 45
SIDirect DAServer User’s Guide
**: For DDE/SuiteLink, this value is restricted to the range
of 0 to 2147483647. Values higher than that are clamped to
the maximum value of 2147483647 in a SuiteLink or DDE
client. In this case, the quality of the item shows "Clamp
High."
Note All data blocks are Read/Write. The longest string or
array that can be read in a cyclic service has the length of the
PDU size minus 32 bytes. The longest string the InTouch software
can process is 131 bytes. The longest string that can be poked is
256 bytes or the PDU size minus 28 bytes, whichever is less. The
SIDirect DAServer processes a write (POKE) to a Data Block.
Examples for S7-300/400 PLCs:
DB123,W24
DB23,DINT10BCD
DI5,X2.0
DI6,BYTE4,10
....................

reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

Post by reymond_craig » Wed Dec 05, 2007 6:25 am

Hi Frankw,

Thank you for your reply, i already ok with my address on word, but my problem now is on my double word. Every time i change the value of a doubleword in my plc it gives me a value 32767, i don't know why this happen. I used address for item name MD344

Another question regarding on historical trending, I log some tags and trend it on intouch. My question is what is the update time of my trend, I mean when it is going to show me the value of the tags on the trend. CAn i change this update time?

Thank you very much in advance.

Warm regards,
Rey

bunglehead
Posts: 109
Joined: Thu Oct 19, 2006 7:00 am
Location: Russia

Post by bunglehead » Wed Dec 05, 2007 9:01 am

reymond_craig wrote:My question is what is the update time of my trend, I mean when it is going to show me the value of the tags on the trend. CAn i change this update time?
This update time's completely defined by tag update. It's means that new value shows up when any of displayed logged tags is about to update. If you mean the logging period it's definded by changing of the tag value too (by default). you can override this behaviour by forcing log period (see ForceLogging parameter of INTOUCH.INI in manual)

bunglehead
Posts: 109
Joined: Thu Oct 19, 2006 7:00 am
Location: Russia

Post by bunglehead » Wed Dec 05, 2007 9:05 am

reymond_craig wrote:i already ok with my address on word, but my problem now is on my double word. Every time i change the value of a doubleword in my plc it gives me a value 32767, i don't know why this happen. I used address for item name MD344
For DB's doublewords item syntax is something like iDBxxxx,DINTyyyy. "i" is a helper for IO Server used during type casting. Feel free to use Simatic NET docs. All syntax should be described there.

reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

Post by reymond_craig » Thu Dec 06, 2007 7:12 am

hi,

Thank you very much for the info, but this one is strange when i tried to go to runtime ( I used MD344 as item name) It always give me value that is equal to Max EU. 2nd is it the same the update on trend value of real time and historical. I like it to be historical but acts like a real time(with logs).

Thank you very much in advance,

Warm regards,
Rey

bunglehead
Posts: 109
Joined: Thu Oct 19, 2006 7:00 am
Location: Russia

Post by bunglehead » Thu Dec 06, 2007 9:04 am

reymond_craig wrote:hi,

Thank you very much for the info, but this one is strange when i tried to go to runtime ( I used MD344 as item name) It always give me value that is equal to Max EU. 2nd is it the same the update on trend value of real time and historical. I like it to be historical but acts like a real time(with logs).

Thank you very much in advance,

Warm regards,
Rey
First of all what OPC Server do you use? If it's SIMATIC NET OPC try to use iMD344 or iMDINT344. What OPC Client provided by WW do you use? And of course check PLC offset

bunglehead
Posts: 109
Joined: Thu Oct 19, 2006 7:00 am
Location: Russia

Post by bunglehead » Thu Dec 06, 2007 5:59 pm

reymond_craig wrote:2nd is it the same the update on trend value of real time and historical. I like it to be historical but acts like a real time(with logs).
realtime trend update speed depends on global application settings (see windowviewer settings). Histtrend doesn't update automatically. You should update it by hands using HTUpdatetoCurrenttime (as I remember)
Last edited by bunglehead on Fri Dec 07, 2007 7:45 am, edited 1 time in total.

reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

Post by reymond_craig » Fri Dec 07, 2007 3:46 am

hi bunglehead,

Thank you again for your response,... I try to do what you say to me but it don't show me any value in wonderware if i put i before md344. I'm communicating intouch through DASSidirect, i think 'm not using opc server here. Thank you very much, we can still solve this problem.

Warm regards,
Rey

bunglehead
Posts: 109
Joined: Thu Oct 19, 2006 7:00 am
Location: Russia

Post by bunglehead » Fri Dec 07, 2007 8:01 am

reymond_craig wrote:I'm communicating intouch through DASSidirect, i think 'm not using opc server here.
I see..You're right SIDirect doesn't use any OPC Server. Use off. doc in <cdrom>:\SI\DASSIDirect1.5\UserDocs\English\DasSIDirect.pdf of WW Device Integration CD2. Page 43 - Chapter 3 "Item naming".

frankw
Posts: 103
Joined: Tue Mar 06, 2007 5:59 am
Location: China

Post by frankw » Fri Dec 07, 2007 10:01 am

like this:S7C_S7_001.MD334 use default Topic, or S7C_S7_001.TopicName.MD334

reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

Post by reymond_craig » Sat Dec 08, 2007 3:15 am

Hi,

Good morning, hope this morning will be good to me also. I try them but still i got this, the one that the wonderware display is the tag value in decimal, i want to display the value in real form. My tag is already set as io real on type but still the tag display in decimal form not in real values. Thank you very much in advance.

Warm regards
Rey

bunglehead
Posts: 109
Joined: Thu Oct 19, 2006 7:00 am
Location: Russia

Post by bunglehead » Sat Dec 08, 2007 9:56 am

reymond_craig wrote:Hi,

Good morning, hope this morning will be good to me also. I try them but still i got this, the one that the wonderware display is the tag value in decimal, i want to display the value in real form. My tag is already set as io real on type but still the tag display in decimal form not in real values. Thank you very much in advance.

Warm regards
Rey
Did you read any manual materials for InTouch? All functions are very good documeneted. What string pattern do you use to display floating point number? Try to use 0.0

frankw
Posts: 103
Joined: Tue Mar 06, 2007 5:59 am
Location: China

Post by frankw » Sun Dec 09, 2007 12:49 am

bunglehead wrote:
reymond_craig wrote:I'm communicating intouch through DASSidirect, i think 'm not using opc server here.
I see..You're right SIDirect doesn't use any OPC Server. Use off. doc in <cdrom>:\SI\DASSIDirect1.5\UserDocs\English\DasSIDirect.pdf of WW Device Integration CD2. Page 43 - Chapter 3 "Item naming".
Yes,everything will be ok, writing the tagname by "Item naming" conversion.

reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

Post by reymond_craig » Tue Dec 11, 2007 8:03 am

hi,

Can i just leave -32767 to minimum EU and 32767 to max EU sa well as in Min and max Raw? I am using S7 317-2DP.
I think communication with my MD344 is ok but the trick is it display the decimal value of my real value in PLC. Can anybody knows how to display the real value in wonderware?

Thanks and warm regards,
Rey

bunglehead
Posts: 109
Joined: Thu Oct 19, 2006 7:00 am
Location: Russia

Post by bunglehead » Tue Dec 11, 2007 8:35 am

reymond_craig wrote:hi,

Can i just leave -32767 to minimum EU and 32767 to max EU sa well as in Min and max Raw?
Do you mean DINT? It's a 32-bit signed number..
reymond_craig wrote: I think communication with my MD344 is ok but the trick is it display the decimal value of my real value in PLC. Can anybody knows how to display the real value in wonderware?
Thanks and warm regards,
Rey
As wrote above use 0.0 text pattern when displaying value in window. Does your MDxxx contain REAL number?

reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

Post by reymond_craig » Wed Dec 12, 2007 1:27 am

hi bunglehead,

Thank you very much to all of you, i missed something since you mention double integer, i find a way to convert my real value the result from scale fc5, i just round it and the result is dint. it is working now, thank you very much to all.

I hope i can find your help again the next time. Thank you very much.

One more is there anybody here who knows how to export in excell format the data from my history data?

Thanks and warm regards,
Rey

frankw
Posts: 103
Joined: Tue Mar 06, 2007 5:59 am
Location: China

Post by frankw » Wed Dec 12, 2007 1:52 am

"Item naming" !
REAL FORMAT: S7C_S7_001.MREAL334 or 7C_S7_001.TopicName.MREAL334

chandu1403
Posts: 2
Joined: Fri May 27, 2016 8:46 am

Re: [?]: Wonderware Addressing of Siemens Memory

Post by chandu1403 » Wed Jun 01, 2016 3:24 am

Item name for real is MREALxxxx. If double word tag nmae starts with VDxxxx, use VREALxxxx in item name.

Post Reply