< EtherCAT:EC MASTER OPMODE(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
描述
此功能将字符串打印到标准输出,并返回主站的操作模式。
输入
None
输出
None
返回值
主站操作状态如下:
INIT - 0x01
PREOP - 0x02
SAFEOP - 0x04
OP - 0x08
声明
public function EC_MASTER_OPMODE as long
例子
retVal = EC_MASTER_OPMODE