EtherCAT:EC IS PDO

From SoftMC-Wiki
Revision as of 10:17, 15 June 2014 by Rasty (talk | contribs)
Jump to: navigation, search

This subroutine whether object (index/subindex) is mapped into a PDO in a certain 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)

See Also