Difference between revisions of "CANopen:SET PFBEXT PDO DADD"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "CANOpen" to "CANopen")
m (Lisa moved page CANOpen:SET PFBEXT PDO DADD to CANopen:SET PFBEXT PDO DADD: correction of CANopen)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Template:CANopen-Firmware-Functions
+
{{Template:CANopen Firmware Functions
  
 
|DESCRIPTION=
 
|DESCRIPTION=

Latest revision as of 14:53, 26 August 2014

Set COBID and location of 32-bit Secondary (external) Position Feedback (MC-Basic:axis.COUNTEXTERNAL) inside RPDO.

Input

dadd: device address (physical network address)
cobid: CAN COBID
offset: offset inside PDO, starting from 0
size: in bytes, for example 0x607a.0 is 4 bytes long

Output

None

Return Value

None

Declaration

import_c SET_PFBEXT_PDO_DADD(byval as long,byval as long,byval as long,byval as long)

Syntax

SET_PFBEXT_PDO_DADD(<dadd>,<cobid>,<offset>,<size>)

Exceptions

None

Examples

SET_PFBEXT_PDO_DADD(1,0,0,0) ' Unmap external position feedback
SET_PFBEXT_PDO_DADD(1,0x180,2 , 4) ' External Position Feedback is located in bytes 2,3,4 and 5 of RPDO with COBID 0x180

See Also