EtherCAT:EC IS PDO

From SoftMC-Wiki
Revision as of 12:17, 12 June 2014 by Nigeller (talk | contribs) (Created page with "{{Template:EtherCAT-Function |DESCRIPTION= This subroutine checks the existence of a PDO in a certain slave.<br/> |INPUT= Slave address, PDO index, PDO sub-index. |OUTPUT= ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This subroutine checks the existence of a PDO in a certain slave.

Input

Slave address, PDO index, PDO sub-index.

Output

None

Return Value

1 if PDO exists, 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