EtherNet/IP™ Adapter3.09.00
 
Loading...
Searching...
No Matches

◆ DIO_DEVICE_ASM_initInstance()

DIO_DEVICE_ASM_ReturnCodes_t DIO_DEVICE_ASM_initInstance ( EI_API_CIP_NODE_T *  pCipNode,
DIO_DEVICE_ASM_instances_t  asmType,
uint16_t  memberCount 
)

initializes the given assembly instance with all the necessary mapping

Parameters
[in]pCipNodepointer to CIP node
[in]asmTypethe pre-defined assembly instance (refer to specification for more details)
[in]memberCountin case of using an assembly instance with N number of members, the member count should be given here.
Note
the assemblies with variable member count is currently not supported, the parameter @memberCount is only meant for future compatibility.
Returns
returns the status of operation via DIO_DEVICE_ASM_ReturnCodes_t