Difference between revisions of "EtherCAT:EC SET CTRL 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 ControlWord with a certain PDO. |
|INPUT= | |INPUT= | ||
| Line 14: | Line 14: | ||
|DECLARATION= | |DECLARATION= | ||
| − | public sub | + | public sub EC_SET_CTRL_OBJECT(byval busid as long, byval slaveid as long, byval index as long, byval subindex as long) |
|EXAMPLE= | |EXAMPLE= | ||
| − | call | + | call EC_SET_CTRL_OBJECT(0, 1, EC_CTRL_INDEX, EC_CTRL_SUBINDEX) |
|SEE ALSO= | |SEE ALSO= | ||