This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi expert,
Customer needs to implement CIP Motion feature on AM243. (Class code: 0x42, Motion Device Axis Object)
This profile use Motion I/O Connection, but KUNBUS EtherNet/IP stack seems only provide Connection by Assembly Object (Class code: 0x04).
The path in EDS file which we need to implement is 20 42 2C 51 2C 02.
Could you help us to check how to implement this feature by KUNBUS EtherNet/IP stack?
Regards
Andre
Hi Andrea,
We do not have CIP Motion feature support on AM243x. I will check internally if we have any plans or not.
Hi Nilabh,
Thank you for your reply.
If we implement the Motion Device Axis Object(0x42) by our self, we also need the connection between connection object and application object.
Motion I/O Connection is created by Forward_Open / Large_Forward_Open services.
We find Forward_Open callback function in EtherNet/IP example, but it hasn't more detail information.
Do you have any idea about this?
Thanks,
Chia-Hsun
I will check internally if we have any plans or not.
We do not have plans as of now.
If we implement the Motion Device Axis Object(0x42) by our self, we also need the connection between connection object and application object.
Motion I/O Connection is created by Forward_Open / Large_Forward_Open services.
We find Forward_Open callback function in EtherNet/IP example, but it hasn't more detail information.
Do you have any idea about this?
Let me check this internally once.
Hi Nilabh,
Do you have any updates?
We have another question.
1.
If we implement the Motion Device Axis Object(0x42) by our self, we also need the connection between connection object and application object.
Motion I/O Connection is created by Forward_Open / Large_Forward_Open services.
We find Forward_Open callback function in EtherNet/IP example, but it hasn't more detail information.
Do you have any idea about this?
2.
We try to use Time Sync Object(0x43), but it seems not implement complete.
For example, we try to get instance Attribute ID 2 "IsSynchronized".
This type is bool and required from CIP specification.
We get IsSynchronized = 0x43 and errcode = 0x0.
Could you help us to check?
uint8_t IsSynchronized; uint32_t errcode; errcode = EI_API_CIP_getAttr_bool(pCip_s, 0x43, 0x1, 0x2, &IsSynchronized);
Thanks,
Chia-Hsun
Hi Li,
Apologies for delay in response, As discussed in today's call the attribute is supported and we will get back once we verify if api call back.
Hi CH Li,
updated Wireshark trace that is recorded with a 2.1 stack flashed to the LP-AM243 Rev E2, a tp-link TL-SG108E switch for monitoring, and a Allen-Bradley CompactLogix L16ER as clock master.
You see that the launchpad synchronized with the master clock, and that all attributes contain reasonable data. All attributes from 1 - 28 are implement Attribute 29 and further not, but the are not required.
Time Sync Object Attribute Access LP-AM243 EtherNetIP Rev 2.1 2023-07-04.pcapng.zip
Ps: In Wireshark I use a filter !mdns&& !ssdp && !nbns && !igmp
to better find the relevant frames.
Please let me know in case if you still see wrong data in attributes, also please check the setup on your end.
Hi Nilabh,
Thank you for your reply, but we discussing in the meeting is get attribute from API side.
As discussed in today's call the attribute is supported and we will get back once we verify if api call back.
Your Wireshark capture file is still show the accessing attribute from Ethernet side.
Please help us to check this issue.
Thanks,
Chia-Hsun
Hi CH Li,
Kunbus team is trying to look into the code as the function concerned is quite complex .Due to the complexity of the service we believe that it will be only possible sometime Q4 2023