TI及 S7与 Intouch的连接Word文档格式.docx
《TI及 S7与 Intouch的连接Word文档格式.docx》由会员分享,可在线阅读,更多相关《TI及 S7与 Intouch的连接Word文档格式.docx(19页珍藏版)》请在冰豆网上搜索。
B,I>
d,Xx.y
VT_BOOL
0or1
String
d,Sx,v
d,STRINGx,v
VT_BSTR
S7String
d,S7Sx,w
d,S7STRINGx,w
Byte
d,Bx
d,BYTEx
DT
VT_UI1
0to255
1990-1-1-0:
00:
00.000to2089-12-31-23:
59:
59.999
ByteArray
d,Bx,v
d,BYTEx,v
VT_ARRAY|VT_UI1
0to255foreachelement*
Char
d,CHARx
VT_I1
-128to127
CharArray
d,CHARx,v
-128to127foreachelement*
Word
d,Wn
d,WORDn
BCD
KT
S5T
TR
D
VT_UI2
VT_R4
0to65535
0to9999
0.0to999.3
0msto2h46m30s
0.0to9990.0(s)
1990-1-1to2168-12-31
WordArray
d,Wn,v
d,WORDn,v
VT_ARRAY|VT_UI2
0to65535foreachelement*
Integer
d,INTn
VT_I2
-32768to32767
-999to999
IntegerArray
d,INTn,v
-32768to32767foreachelement*
DoubleWord
d,Dm
d,DWORDm
TOD
T
VT_UI4
0to4294967295**
0to99999999
0:
00.000to23:
-24D_20H_31M_23S_648MSto24D_20H_31M_23S_647MS
DoubleWordArray
d,Dm,v
d,DWORDm,v
VT_ARRAY|VT_UI4
VT_ARRAY|VT_UI4
0to4294967295foreachelement*
DoubleInteger
d,DINTm
VT_I4
-2147483648to2147483647
-9999999to9999999
DoubleIntegerArray
d,DINTm,v
VT_ARRAY|VT_I4
-2147483648to2147483647foreachelement*
Real
d,REALm
±
3.4e38
RealArray
d,REALm,v
VT_ARRAY|VT_R4
3.4e38foreachelement*
Where:
d
isthedatablocknumber,witharangefrom1to65535.
x
isthestartaddress.ForS7-300/400PLCs,therangeisfrom0to65535.ForS7-200PLCs,thevalueis1.
y
isthebitposition,witharangefrom0to7.
∙0istheLSB(LeastSignificantBit).
∙7istheMSB(MostSignificantBit).
n
isthestartaddressof2-bytedata/2-bytedataarrays.
m
isthestartaddressof4-bytedata/4-bytedataarrays.
v
isthelengthofdatainbytes,witharangefrom0to65534.
w
isthelengthofthenetS7stringdataincharacters(sizeinS7messageisw+1,sizeofstringrepresentationinS7PLCisw+2).
ExamplesforS7-300/400PLCs:
DB123,W24
DB23,DINT10BCD
DI5,X2.0
DI6,BYTE4,10
通讯故障检测
连铸部分:
HMI站点
TFdatabase名
TOPIC名(H1配置)
与TOPIC对应MAC地址
1#连铸
Start1
OPSTA1**
08.00.06.01.00.00
Start2
OPSTA2**
08.00.06.01.00.06
2#连铸
08.00.06.01.00.14
08.00.06.01.00.15
3#连铸
控制器站点
MAC地址
1plc
08.00.06.01.00.01
2plc
08.00.06.01.00.02
3plc
08.00.06.01.00.03
4plc
08.00.06.01.00.04
5plc
08.00.06.01.00.05
08.00.06.01.00.11
08.00.06.01.00.12
08.00.06.01.00.13