Hello,
i'm using Kalycito's openPOWERLINK MN for Windows. As a CN, i employ netSTICK with the limited version of the EPL stack. On netX, a rcX task (AP-Task) communicates with the EPLCN_PCK task via the rcX packet interface. I have two questions:
1) I started with a Warmstart packet and received a positive confirmation.
After a EPLCN_PCK_STATE_CHG_TO_PRE_OPERATIONAL_2_IND, i receive a EPLCN_PCK_NEW_ERROR_ENTRY_IND with usEntryType = 0x7001 and usErrorCode = 0x8000. What's that supposed to mean? According to the EPL API documentation, the error code is vendor specific.
In the Wireshark trace, the CN status response contains an error code list with one entry (EntryType = 0x8000, ErrorCode changes with every retry).
2) Is it possible to use the Od2_XXX functions to access the object dictionary? As in an EtherCAT example, i tried to call Od2_identify() to retrieve the object dictionary handle. The return value was 0xC028000F (not enough memory).
Hello Code-small,
thanks for the advice. I found some information regarding ulCommunicationCOS in the Dual Port Memory section of the Powerlink CN API documentation. I don't use the DPM interface. Do i have to set the flag anyways? How can i do that?
Hilscher Gesellschaft für Systemautomation mbH
Hello jr,
1)
My last response was slightly misguided, the error means internal error reason which means that I need a bus trace.
Can you please send this to the netxsupport?
2)
yes, it is possible if you use the name "EPL_OBJDICT" for the name parameter of Od2_IdentifyObjDict.
Greetz,
code-small
Hi,
i sent you the trace. If also successfully applied some od2_xxx functions. One problem was that i couldn't find an epl include file that defines the CANopen data types. I expected these defines in Pls_public.h as they appear in Ecs_public.h in the EtherCAT includes. Is there a general header file for CANopen?
Hilscher Gesellschaft für Systemautomation mbH
Hello jr,
can you please tell me the version you got.
Greets,
code-small
Hilscher Gesellschaft für Systemautomation mbH
Hi Jr,
the standard data type areas are in both cases taken from the CANopen object dictionary definition. Therefore, these are interchangeable.
e.g. 0x0007 = UNSIGNED32
Greets,
code-small
Hello code-small,
get_ver.bat tells: "libpls_V0.96.05". I hope this is what you are interested in.
Regards
Jr
Hello jr,can you please tell me the version you got.
Greets,
code-small
Hilscher Gesellschaft für Systemautomation mbH
Hello,
That version is too old to work with the openPowerlink MN you got. Since that time there were some changes within the Powerlink specification.
Greets,
code-small
Hi,
now i am working with libpls_V2.1.1.0. Still a EPLCN_PCK_NEW_ERROR_ENTRY_IND with EntryType and ErrorCode as described in my first contribution appears. So i would really like to know what that error message means.
Best regards
jr
Hilscher Gesellschaft für Systemautomation mbH
Hi,
i need the following information to see what is happening:
- a wireshark trace of the startup
- the data which is attached to status indications like EPLCN_PCK_STATE_CHG_TO_PRE_OPERATIONAL_1_IND.
- your configuration of the MN
could you please send these files to the netx support.
Greets,
code-small
code- small
Hilscher Gesellschaft für Systemautomation mbH
Hello,
you did not set BusOn. Therefore, the vendor error code is set.
Greets,
code-small