Difference between revisions of "EtherCAT:EC SET VCMD OBJECT"
(Created page with "{{Axystems:Template:EtherCAT-Advanced_Function |DESCRIPTION= This subroutine associates a PCMD with a certain PDO . |INPUT= Bus ID, slave index, PDO index, PDO sub-index |O...") |
|||
Line 2: | Line 2: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | This subroutine associates | + | This subroutine associates the VCMD command with a certain PDO. |
|INPUT= | |INPUT= | ||
− | Bus ID, slave | + | Bus ID, slave address, PDO index, PDO sub-index |
|OUTPUT= | |OUTPUT= | ||
Line 14: | Line 14: | ||
|DECLARATION= | |DECLARATION= | ||
− | public sub | + | public sub EC_SET_VCMD_OBJECT(byval busid as long, byval slaveid as long, byval index as long, byval subindex as long) |
+ | |||
+ | |SYNTAX= | ||
+ | call EC_SET_VCMD_OBJECT(<Bus ID>, <Slave address>, <VCMD PDO Index>, <VCMD PDO Sub-Index>) | ||
|EXAMPLE= | |EXAMPLE= | ||
− | call | + | call EC_SET_VCMD_OBJECT(0, 1, 0x6071, 0x00) |
|SEE ALSO= | |SEE ALSO= |