openCONFIGURATOR returns me the error Code 22
"No. of TPDO-Channels on node 1 exceeded. Allowed: 1, existing:5".
Who knows hao to delcare more TPDO-Channels inside the XDD file ?
thanks for answering,
Phil
Christoph answers:
Hello,
Please post openCONFIGURATOR related questions in the respective forum. In general the Nr. of TPDO channels is defined in the PDOTPDOChannels attribute of the GeneralFeatures element. openCONFIGURATOR assumes that there are channel objects for as many channels as defined.
br
Christoph
The trouble is that openConfigurator returns me "The attribute 'PDOTPDOChannels' is not allowed."
what should i do ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got your problem. I think you are trying to add more TPDO channels to an XDD which will be used for the CN. Right?
If so, more that one TPDO channel is not possible in the CN configuration(CN XDD). And 'PDOTPDOChannels' is always 1 and is not a configurable parameter in the CN XDD.
In general:
A CN always can have only one TPDO and any number of RPDO channels.
You could refer to "D_PDO_TPDOChannels_U16" in page-no.347 of EPSG_DS_301_V-1-2-0.pdf which is available in http://ethernet-powerlink.org/
Could you please share your use-case/requirement, that why you need multiple TPDO channels in the CN side?
Regards,
Powerlink-team
Kalycito
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am a new powerlink user and i am not sure of what i am doing...
My situation is the following:
We have an hardware with an embedded software available for CANOpen (5 TPDO + 6 RPDO).
We rencently have add the HMS B40 Interface module for Powerlink and i want to have acces via Powerlink to the same data that where availiable via CANOpen.
So if i well understand, i want to use my hardware as a CN and modify the object dictionary of the demo_mn_console software in order to "discuss" with my hardware.
please see as attachment the equivalent EDS file for CANOpen that i want to translate for Powerlink.
I suppose you are planning to use it as a slave node (CN) in POWERLINK.
Can you please list the nodes that receive the data from the 5 TPDOs of the CN?
You have 5 TPDOs in your device in CAN. In POWERLINK, CNs can have only 1 TPDO and multiple RPDOs. POWERLINK CNs transmit TPDO data as broadcast packets to all nodes in the network.
I had a look into the EDS file and found that the objects 6000/01 to 6000/08, 6401/01 to 6401/10 are mapped into the 5 TPDOs.
So, you can have one TPDO channel in the CN and map all data objects(6000, 6401, ...) from the 5 TPDOs, to this TPDO via 1A00 sub-indices 01/02/03/.../xx.
Then on the receiving nodes,
In case of MN: openCONFIGURATOR will automatically generate the mapping and the objects for the MN.
In case of CN: you can map the objects to be received to any one RPDO via 16xx.
The attached XDD file has been imported as a configuration file for the Master node(MN).
You are actually trying to import an Controlled Nodes (CN) XDD to the master node, which does not work. So you receive an error "Code:16 Msg:Index 0x1f92 does not exist in OD."
Try creating a new project with default MN XDD. Add a CN in the POWERLINK_Network tree with your example XDD configuration.
I hope this will solve your problem.
May I know which MN ( hardware platform + software stack) are you trying to use for this purpose?
Regards,
Powerlink-team
Kalycito
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
what i am trying to do is to modify the "demo_mn_console" sample program (part of openPowerlink package) in order to manage my CN (which is embedded software for ARM STM32 + HMS B40 Hardware).
"demo_mn_console" runs properly in face of "demo_cn_console" under windows, but with a particular object dictionary.
That is why i want at first to replace the object dictionary by my own (the one from HMS).
And in a second time i will replace "demo_cn_console" by my embedded software.
At the end the goal to reach for me is to have a validation program (running under windows) for my embedded CN.
have I been clear enough? Do you understand what i want to do ?
Thank's a lot,
Phil
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everybody,
openCONFIGURATOR returns me the error Code 22
"No. of TPDO-Channels on node 1 exceeded. Allowed: 1, existing:5".
Who knows hao to delcare more TPDO-Channels inside the XDD file ?
thanks for answering,
Phil
Christoph answers:
Hello,
Please post openCONFIGURATOR related questions in the respective forum. In general the Nr. of TPDO channels is defined in the PDOTPDOChannels attribute of the GeneralFeatures element. openCONFIGURATOR assumes that there are channel objects for as many channels as defined.
br
Christoph
The trouble is that openConfigurator returns me "The attribute 'PDOTPDOChannels' is not allowed."
what should i do ?
Hi Phil,
Thank you for the interest.
I got your problem. I think you are trying to add more TPDO channels to an XDD which will be used for the CN. Right?
If so, more that one TPDO channel is not possible in the CN configuration(CN XDD). And 'PDOTPDOChannels' is always 1 and is not a configurable parameter in the CN XDD.
In general:
A CN always can have only one TPDO and any number of RPDO channels.
You could refer to "D_PDO_TPDOChannels_U16" in page-no.347 of EPSG_DS_301_V-1-2-0.pdf which is available in http://ethernet-powerlink.org/
Could you please share your use-case/requirement, that why you need multiple TPDO channels in the CN side?
Regards,
Powerlink-team
Kalycito
Hi,
I am a new powerlink user and i am not sure of what i am doing...
My situation is the following:
We have an hardware with an embedded software available for CANOpen (5 TPDO + 6 RPDO).
We rencently have add the HMS B40 Interface module for Powerlink and i want to have acces via Powerlink to the same data that where availiable via CANOpen.
So if i well understand, i want to use my hardware as a CN and modify the object dictionary of the demo_mn_console software in order to "discuss" with my hardware.
please see as attachment the equivalent EDS file for CANOpen that i want to translate for Powerlink.
Regards,
Phil
Last edit: Phil38 2015-04-23
Hi Phil,
I suppose you are planning to use it as a slave node (CN) in POWERLINK.
Can you please list the nodes that receive the data from the 5 TPDOs of the CN?
You have 5 TPDOs in your device in CAN. In POWERLINK, CNs can have only 1 TPDO and multiple RPDOs. POWERLINK CNs transmit TPDO data as broadcast packets to all nodes in the network.
I had a look into the EDS file and found that the objects 6000/01 to 6000/08, 6401/01 to 6401/10 are mapped into the 5 TPDOs.
So, you can have one TPDO channel in the CN and map all data objects(6000, 6401, ...) from the 5 TPDOs, to this TPDO via 1A00 sub-indices 01/02/03/.../xx.
Then on the receiving nodes,
In case of MN: openCONFIGURATOR will automatically generate the mapping and the objects for the MN.
In case of CN: you can map the objects to be received to any one RPDO via 16xx.
Ref: http://openpowerlink.sourceforge.net/web/POWERLINK/PDO%20Mapping/PDO%20Mapping.html
Regards,
Powerlink-team
Kalycito
Hi,
At first, thank's for fast answering.
i have tried a other way, using the XDD file given by HMS as sample file. (see attached file)
1: start openConfigurator
2: create new project
3: Import MN configuration from HMS XDD sample file.
4: Modify TPDO-00 and RPDO-00
5: Build project.
=> generate the following error:
Code:11 Msg:Configuration does not contain any POWERLINK-CNs.
Ok, so
6: Add Cn (Imported from HMS XDD sample file)
=> generate the following error:
Code:16 Msg:Index 0x1f92 does not exist in OD.
what am i supposed to do ?
Regards,
Phil
Hi Phil,
The attached XDD file has been imported as a configuration file for the Master node(MN).
You are actually trying to import an Controlled Nodes (CN) XDD to the master node, which does not work. So you receive an error "Code:16 Msg:Index 0x1f92 does not exist in OD."
Try creating a new project with default MN XDD. Add a CN in the POWERLINK_Network tree with your example XDD configuration.
I hope this will solve your problem.
May I know which MN ( hardware platform + software stack) are you trying to use for this purpose?
Regards,
Powerlink-team
Kalycito
Hi,
what i am trying to do is to modify the "demo_mn_console" sample program (part of openPowerlink package) in order to manage my CN (which is embedded software for ARM STM32 + HMS B40 Hardware).
"demo_mn_console" runs properly in face of "demo_cn_console" under windows, but with a particular object dictionary.
That is why i want at first to replace the object dictionary by my own (the one from HMS).
And in a second time i will replace "demo_cn_console" by my embedded software.
At the end the goal to reach for me is to have a validation program (running under windows) for my embedded CN.
have I been clear enough? Do you understand what i want to do ?
Thank's a lot,
Phil