写入标签内容
命名空间:
Smobiler.Device
程序集:
Smobiler.Device (在 Smobiler.Device.dll 中) 版本:6.0.651.17422+acac930a389332bc36ed645b22d5419d24641df7
语法public void WriteTag(
int mbank,
int startaddress,
string data,
int length,
string password = "00000000",
int timeout = 1000
)
Public Sub WriteTag (
mbank As Integer,
startaddress As Integer,
data As String,
length As Integer,
Optional password As String = "00000000",
Optional timeout As Integer = 1000
)
参数
- mbank
- 类型:SystemInt32
读取标签的区域,0:RESERVED区,1:EPC区,2:TID区,3:USER区 - startaddress
- 类型:SystemInt32
读取标签的起始地址 - data
- 类型:SystemString
写入的数据 - length
- 类型:SystemInt32
读取标签数据的长度,单位word - password (Optional)
- 类型:SystemString
访问密码,默认值:'00000000' - timeout (Optional)
- 类型:SystemInt32
读取的超时时间,单位:毫秒 默认值:1000
参见