Read-only block items
- Last UpdatedJul 29, 2024
- 3 minute read
The following table summarizes the data format, item or point, suffix, data type, and range for Read-Only Block Items. See Conversions and suffixes of items (absolute addressing) for suffix definitions.
|
Data Format |
Item/Point |
Suffix |
Data Type |
Range |
|
Bit |
BLd,Xx.y |
VT_BOOL |
0 or 1 |
|
|
String |
BLd,Sx,v BLd,STRINGx,v |
VT_BSTR VT_BSTR |
String String |
|
|
Byte |
BLd,Bx BLd,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 |
BLd,Bx,v BLd,BYTEx,v |
VT_ARRAY}VT_UI1 VT_ARRAY|VT_UI1 |
0 to 255 for each element* 0 to 255 for each element* |
|
|
USINT |
D<B,I>d,USINTx |
DT |
VT_UI1 VT_BSTR |
0 to 255 1990-1-1-0:00:00.000 to 2089-12-31-23:59:59.999*** |
|
USINT Array |
D<B,I>d,USINTx,v |
VT_ARRAY|VT_UI1 |
0 to 255 for each element* |
|
|
Char |
BLd,CHARx |
DT |
VT_I1 VT_BSTR |
-128 to 127 1990-1-1-0:00:00.000 to 2089-12-31-23:59:59.999 |
|
Char Array |
BLd,CHARx,v |
VT_ARRAY|VT_I1 |
-128 to 127 for each element* |
|
|
SIN T |
D<B,I>d,SINTx |
DT |
VT_I1 VT_BSTR |
-128 to 127 1990-1-1-0:00:00.000 to 2089-12-31-23:59:59.999*** |
|
SINT Array |
D<B,I>dSINTx,v |
VT_ARRAY|VT_UI1 |
-128 to 127 for each element* |
|
|
Word |
BLd,Wn BLd,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 2h46m30s0ms 0.0 to 9990.0 (s) 1990-1-1 to 2168-12-31 |
|
Word Array |
BLd,Wn,v BLd,WORDn,v |
VT_ARRAY|VT_UI2 VT_ARRAY|VT_UI2 |
0 to 65535 for each element* 0 to 65535 for each element* |
|
|
UINT |
D<B,I>d,UINTn |
BCD KT S5T TR D |
VT_UI2 VT_UI2 VT_BSTR VT_BSTR VT_R4 VT_BSTR |
0 to 65535 0 to 9999*** 0.0 to 999.3*** 0ms to 2h46m30s0ms*** 0.0 to 9990.0 (s)*** 1990-1-1 to 2168-12-31 |
|
UINT Array |
D<B,I>d,UINTn,v |
VT_ARRAY|VT_UI2 |
0 to 65535 for each element* |
|
|
Integer |
BLd,INTn |
BCD D |
VT_I2 VT_I2 VT_BSTR |
-32768 to 32767 -999 to 999 1990-1-1 to 2168-12-31 |
|
Integer Array |
BLd,INTn,v |
VT_BSTR |
-32768 to 32767 for each element* |
|
|
Double Word |
BLd,Dm BLd,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_648MS to 24D_20H_31M_23S_647MS |
|
Double Word Array |
BLd,Dm,v BLd,DWORDm,v |
VT_ARRAY|VT_UI4 |
0 to 4294967295 for each element* 0 to 4294967295 for each element** |
|
|
UDINT |
D<B,I>d,UDINTm |
BCD TOD T |
VT_UI4 VT_UI4 VT_BSTR VT_BSTR |
0 to 4294967295** 0 to 99999999*** 0:00:00.000 to 23:59:59.999 -24D_20H_31M_23S_648MS to 24D_20H_31M_23S_647MS |
|
UDINT Array |
D<B,I>d,UDINTm,v |
VT_ARRAY|VT_UI4 |
0 to 4294967295 for each element* |
|
|
Double Integer |
BLd,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_648MS to 24D_20H_31M_23S_647MS |
|
Double Integer Array |
BLd,DINTm,v |
VT_ARRAY|VT_I4 |
-2147483648 to 2147483647 for each element |
|
|
Real |
BLd,REALm |
VT_R4 |
+/-1.2e-38 to +/-3.4e+38 |
|
|
Real Array |
BLd,REALm,v |
VT_ARRAY|VT_R4 |
+/-1.2e-38 to +/-3.4e+38 for each element* |
*: For DDE/SuiteLink, the item value is the Hex ASCIi representation of the complete array. The result is one string containing all the elements of the array in the Hex ASCIi representation of the binary data in big-endian format when data is returned to the DDE/SuiteLink layer.
**: 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."
Where:
|
x |
is the start address, with a range from 0 to 65535. |
|
y |
is the bit position, with a range from 0 to 7. 0 is the LSB (Least Significant Bit). 7 is the MSB (Most Significant Bit). |
|
n |
is the start address of 2-byte data/2-byte data arrays, with a range from 0 to 65534. |
|
m |
is the start address of 4-byte data/4-byte data arrays, with a range from 0 to 65532. |
|
v |
is the length of data in elements (an item in an array), with a range from 1 to (net PDU data size/type size - header information). |
Note: All Block items are Read-Only. The longest string or array that can be read in a block service is the length of 65534 bytes. The longest string the InTouch software can process is 131 bytes.