AllenBradleyDF1SerialBuildProtectedTypedLogicalMaskWithThreeAddressFields 方法 |
构建0F-AB的掩码写入的功能
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildProtectedTypedLogicalMaskWithThreeAddressFields(
int tns,
string address,
int bitIndex,
bool value
)
Public Shared Function BuildProtectedTypedLogicalMaskWithThreeAddressFields (
tns As Integer,
address As String,
bitIndex As Integer,
value As Boolean
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildProtectedTypedLogicalMaskWithThreeAddressFields(
int tns,
String^ address,
int bitIndex,
bool value
)
static member BuildProtectedTypedLogicalMaskWithThreeAddressFields :
tns : int *
address : string *
bitIndex : int *
value : bool -> OperateResult<byte[]>
参数
- tns
- 类型:SystemInt32
消息号 - address
- 类型:SystemString
PLC的地址信息 - bitIndex
- 类型:SystemInt32
位索引信息 - value
- 类型:SystemBoolean
通断值
返回值
类型:
OperateResultByte命令报文
参见