获取当前西门子的PDU的长度信息,不同型号PLC的值会不一样。例如设置值为300,如果想要恢复默认值的话,设置为-1
Get the length information of the current Siemens PDU, the value of different types of PLC will be different.
命名空间:
HslCommunication.Profinet.Siemens
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.9.1.0 (12.9.1.0)
语法public int PDULength { get; set; }Public Property PDULength As Integer
Get
Set
public:
property int PDULength {
int get ();
void set (int value);
}member PDULength : int with get, set
属性值
类型:
Int32
备注V12.6.0版本开放修改值,方便用户手动强制设置pdu长度信息
参见