FujiSPBHelperBuildReadCommand 方法 (Byte, FujiSPBAddress, UInt16) |
创建一条读取的指令信息,需要指定一些参数,单次读取最大105个字
命名空间:
HslCommunication.Profinet.Fuji
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildReadCommand(
byte station,
FujiSPBAddress address,
ushort length
)
Public Shared Function BuildReadCommand (
station As Byte,
address As FujiSPBAddress,
length As UShort
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildReadCommand(
unsigned char station,
FujiSPBAddress^ address,
unsigned short length
)
static member BuildReadCommand :
station : byte *
address : FujiSPBAddress *
length : uint16 -> OperateResult<byte[]>
参数
- station
- 类型:SystemByte
PLC的站号 - address
- 类型:HslCommunication.Core.AddressFujiSPBAddress
地址信息 - length
- 类型:SystemUInt16
数据长度
返回值
类型:
OperateResultByte是否成功的结果对象
参见