Difference between revisions of "EtherCAT:EC IS PDO"
m |
m |
||
Line 2: | Line 2: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | This function checks whether an object (index/ | + | This function checks whether an object (index/sub-index) is mapped to a PDO in a slave.<br/> |
|INPUT= | |INPUT= |
Revision as of 14:41, 13 January 2015
This function checks whether an object (index/sub-index) is mapped to a PDO in a slave.
Input
Slave address, PDO index, PDO sub-index.
Output
None
Return Value
1 if object mapped to PDO, 0 otherwise.
Declaration
public function EC_IS_PDO(byval slaveAddr as long,byval index as long,byval subindex as long) as long
Syntax
retVal = EC_IS_PDO(<Slave address>, <PDO index>, <PDO sub-index>)
Examples
retVal = EC_IS_PDO(2, 0x20f1, 0)