Jump to content
OMRON Forums

How to correctly map signals with NT151 Hilscher gateway


tecnico

Recommended Posts

Hi all,

          I am trying to configure a Hilscher NT151 (Ecat slave to Ecat master) to split a previously single ethercat network.

While doing some tests, I succeed in almost all taks, the networks operate correctly but I am not able to properly configure the PDOs on the PMAC side. 

While on the Hislcher side I have a correctly structured process image, on the PMAC side I just have a byte array (and can't even edit the data type to match the secondary mapping)

On the Sycon.net software I can export different config files, but none of them is accepted by the IDE (as done with ESD ECX-EC where  the configurator generates an ESI file that is imported with the ESI manager in the IDE)

 

What am I missing here?

Thanks

Andrea

 

image.thumb.png.9c971f793734d9ddf4a3fdba0c820387.png

 

image.thumb.png.5e71859ebd4e25e9c35305816aa70948.png

Link to comment
Share on other sites

  • Replies 11
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

The PDO items displayed in the IDE are determined by the imported ESI file(Including whether PDO can be edited is determined by the ESI file), so I think your problem is that the IDE does not import the ESI file exported by Sycon.net.

It's not clear to me that the difficulty you're having is when importing the ESI file, the IDE reports an error? Or is it another problem?
Usually the IDE cannot import ESI files because ESI does not comply with the EtherCATSlaveInformationSpecification standard. If an error occurs when importing an ESI file, usually the IDE software will report.

Edited by MoMo
Link to comment
Share on other sites

From the file name of your picture "HLS_RTA_ENI", I guess that this is not an ESI file, which means that it is not a file used to describe the slave station information, but an ENI file, which is a file used to describe the master station settings.The meaning of the ENI file is "EtherCAT Network Information (ENI) Specification"

Usually used to set and notify the master station of its network topology and slave station information.

Link to comment
Share on other sites

I don’t know much about your device. It may be that it cannot export the modified ESI file. You may need to consult Hilscher about this.

I'm also not sure that the Mapping file exported in your picture is an ESI file.

But judging from your current situation, it should not be a problem that can be solved by PMAC.

I can give you an example.

image.thumb.png.d61165c5d7e4e38eff24a8a828a72687.png

If the Fixed attribute of the 0x1a0 PDO in the ESI file is 1, the PDO group cannot be edited or modified in the IDE.

So all your current troubles are caused by the ESI file. PMAC cannot know your mapping information in the slave station. It must be obtained through the ESI file.

Edited by MoMo
Link to comment
Share on other sites

Based on the content inside, this is obviously not an ESI file.

I guess your module is similar to the user-defined memory in PMAC.

In other words, it only delimits the data length of ECAT slave PDO communication. You need to reorganize the data through these bytes described in its existing ESI file.

For example, if a 32-bit data is mapped on the master side, it corresponds to a 4-byte PDO on the slave side.

In other words, you may need to reorganize the data by writing a program in PMAC.

Edited by MoMo
Link to comment
Share on other sites

Hilscher NT 151XX ECS V4.2.X.xml

Tried searching  for "fixed" in the XML but could not find any string.

Looking at other ESI files in comparison it appears that it's not a "fixed" type  problem but rather that only "byte" data is defined inside the XML file.

When I try to edit I just have the possibility to change the name of the entry but not the data size.

If nothing comes from Hilscher then I am afraid the only way is to mirror the exchanged tata in a user memory area and then access it as desired with suitable pointers.  Not exactly elegant...

Link to comment
Share on other sites

Add your slave station in my IDE, PDO can be edited, just add the content is still byte.

The content that can be added or modified in PDO is also determined by the ESI file, so you still need to consult Hilscher on this issue.
But there is a high probability that it will be what I guessed before, and it won’t be very elegant.

Link to comment
Share on other sites

I have been talking to Hilscher technical support  and, as I was afraid of, only bytes are available in the process image.

The only way to get the data properly formatted is to have a PLC / C function copying the process image to a memory area (like user memory) and then configure pointers with the correct size.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...