uint32_t EI_API_CIP_createAssembly | ( | T * | pCipNode_p, |
uint16_t | assemblyInstanceId_p, | ||
EI_API_CIP_EAr_t | accessRule_p | ||
) |
Create a new assembly instance.
This function creates a new assembly instance with the given ID.
[in] | pCipNode_p | Pointer to the CIP node. |
[in] | assemblyInstanceId_p | Instance identifier. |
[in] | accessRule_p | Parameter to define assembly access rule. |
EI_API_CIP_eERR_OK | Success. |
EI_API_CIP_eERR_NODE_INVALID | CIP node is invalid, possibly EI_API_CIP_NODE_new() was not called. |
EI_API_CIP_eERR_ASSEMBLY_ALREADY_EXISTS | The assembly with the given ID already exists. |
EI_API_CIP_eERR_MEMALLOC | Memory allocation error. |
EI_API_CIP_eERR_GENERAL | General CIP error. |