Tool/software:
Hi all,
I'm currently working with EtherNet/IP adapter example [C:\ti\ind_comms_sdk_am243x_11_00_00_08\examples\industrial_comms\ethernetip_adapter_demo].
Connection setup:
I'm trying to send cyclic data from the Adapter to Scanner software[EnIPExplorer].
Created Assembly object with Instance Id 0x65 and added
Class ID => 0x70 : Instance ID => 0x1 : ID => 0x308 to 0x30D => as assembly member under the assembly instance 0x65
EI_API_CIP_addAssemblyMember(pCipNode, 0x65, 0x70, 0x1, (uint16_t)(0x308));
which is an Input assembly [T -> O].
Under EI_APP_GENERIC_DEVICE_run(), tried two approaches for sending cyclic data
1. EI_API_CIP_setAttr_usint(pCipNode, 0x70, 0x01, 0x0308, attrValue); => default 2. EI_API_CIP_getAssemblySize(pCipNode, 0x65, &size); EI_API_CIP_setAssemblyData (pCipNode, 0x65, &attrValue, size);
Once Adapter connected with EnIPExplorer and when I tried to do implicit messaging with the assembly instance ID 0x65 and attribute ID 0x3
the connection established with Forward_open request. Data got received at EnIP with an error
May I know how to clear this.
Regards,
D.Jenita