CANopen:SET STATUS PDO DADD

From SoftMC-Wiki
Jump to: navigation, search

Set COBID and location of 16-bit Device status 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_STATUS_PDO_DADD(byval as long,byval as long,byval as long,byval as long)

Syntax

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

Exceptions

None

Examples

SET_STATUS_PDO_DADD(1,0,0,0) ' Unmap Status
SET_STATUS_PDO_DADD(1,0x180,0 , 2) ' Device Status is located in bytes 0 and 1 of RPDO with COBID 0x180

See Also