FatekProgramReadStatus 方法 (Byte) |
读取当前PLC的状态信息,返回一个bool数组,同时包含了几种电量信息,分别为 0: RUN/STOP, 1: BAT LOW/正常, 2: Ladder checksum error/正常, 3: 使用ROM PACK/未使用,
4: WDT Timeout/正常, 5: 设定ID/未设ID, 6: 紧急停机/正常
Read the status information of the current PLC and return a bool array, which also contains several power information, 0: RUN/STOP, 1: BAT LOW/normal,
2: Ladder checksum error/normal, 3: Use ROM PACK/ Not used, 4: WDT Timeout/Normal, 5: ID set/ID not set, 6: Emergency stop/Normal
命名空间:
HslCommunication.Profinet.FATEK
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<bool[]> ReadStatus(
byte station
)
Public Function ReadStatus (
station As Byte
) As OperateResult(Of Boolean())
public:
virtual OperateResult<array<bool>^>^ ReadStatus(
unsigned char station
) sealed
abstract ReadStatus :
station : byte -> OperateResult<bool[]>
override ReadStatus :
station : byte -> OperateResult<bool[]>
参数
- station
- 类型:SystemByte
站号信息
返回值
类型:
OperateResultBoolean状态结果信息
实现
IFatekProgramReadStatus(Byte)参见