Difference between revisions of "EtherCAT:EC SET PFB OBJECT"

From SoftMC-Wiki
Jump to: navigation, search
(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 a PCMD with a certain PDO .
+
This subroutine associates the PFB command with a certain PDO.
  
 
|INPUT=
 
|INPUT=
Bus ID, slave index, PDO index, PDO sub-index
+
Bus ID, slave address, PDO index, PDO sub-index
  
 
|OUTPUT=
 
|OUTPUT=
Line 14: Line 14:
  
 
|DECLARATION=
 
|DECLARATION=
public sub SET_PCMD_OBJECT(byval busid as long,byval slaveid as long, byval index as long,byval subindex as long)
+
public sub EC_SET_PFB_OBJECT(byval busid as long, byval slaveid as long, byval index as long, byval subindex as long)
 +
 
 +
|SYNTAX=
 +
call EC_SET_PFB_OBJECT(<Bus ID>, <Slave address>, <PFB PDO Index>, <PFB PDO Sub-Index>)
  
 
|EXAMPLE=
 
|EXAMPLE=
call EC_SLAVE_HOME(ax1, 5000)
+
call EC_SET_PFB_OBJECT(0, 1, 0x6064, 0x00)
  
 
|SEE ALSO=
 
|SEE ALSO=

Revision as of 12:57, 10 January 2013