EtherCAT:EC IS PDO/zh-hans

From SoftMC-Wiki
< EtherCAT:EC IS PDO
Revision as of 17:34, 5 May 2017 by Chi (talk | contribs) (Created page with "{{Languages}} == 描述 == 此函数检查对象(索引/子索引)是否映射到从站中的PDO<br/> == 输入 == Slave address, PDO index, PDO sub-index. == 输出 ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: English  • 中文(简体)‎

描述

此函数检查对象(索引/子索引)是否映射到从站中的PDO

输入

Slave address, PDO index, PDO sub-index.

输出

None

返回值

如果对象映射到PDO返回1,否则为0。

声明

public function EC_IS_PDO(byval slaveAddr as long,byval index as long,byval subindex as long) as long

格式

retVal = EC_IS_PDO(<Slave address>, <PDO index>, <PDO sub-index>)

例子

retVal = EC_IS_PDO(2, 0x20f1, 0)

参见