| AllenBradleyDF1SerialBuildProtectedTypedLogicalReadWithThreeAddressFields 方法 (Int32, String, Int32) | 
 
            构建0F-A2命令码的报文读取指令,用来读取文件数据。适用 Micro-Logix1000,SLC500,SLC 5/03,SLC 5/04, PLC-5,地址示例:N7:1
            Construct a message read instruction of 0F-A2 command code to read file data. Applicable to Micro-Logix1000, SLC500, SLC 5/03, SLC 5/04, PLC-5, address example: N7:1
            
 
        命名空间: 
     HslCommunication.Profinet.AllenBradley
        程序集:
     HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
 语法
语法public static OperateResult<byte[]> BuildProtectedTypedLogicalReadWithThreeAddressFields(
	int tns,
	string address,
	int length
)
Public Shared Function BuildProtectedTypedLogicalReadWithThreeAddressFields ( 
	tns As Integer,
	address As String,
	length As Integer
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildProtectedTypedLogicalReadWithThreeAddressFields(
	int tns, 
	String^ address, 
	int length
)
static member BuildProtectedTypedLogicalReadWithThreeAddressFields : 
        tns : int * 
        address : string * 
        length : int -> OperateResult<byte[]> 
参数
- tns
- 类型:SystemInt32
 消息号
- address
- 类型:SystemString
 PLC的地址信息
- length
- 类型:SystemInt32
 读取的数据长度
返回值
类型:
OperateResultByte初步的报文信息
 备注
备注
            对于SLC 5/01或SLC 5/02而言,一次最多读取82个字节。对于 03 或是 04 为225,236字节取决于是否应用DF1驱动
            
 参见
参见