Jump to content
OMRON Forums

Using ampEnableBit for EtherCAT


markr

Recommended Posts

Hi,

 

I am looking at controlling a Kollmorgen amplifier/motor through EtherCAT. Specifically, the Amp Enable, where the setup is as follows:

 

Motor[1].pAmpEnable = ECAT[0].IO[0].Data.a

Motor[1].AmpEnableBit = 0.

 

With this setup, the output Controlword was 15 when enabled and 14 when not enabled (and this works fine). When I changed to using bit 3, I was expecting the control to become 7 when not enabled, but the outputs remained at 15 and 14. I have attached two snippets from the Software Reference Manual that seem to contradict each other on whether AmpEnableBit is used for EtherCAT - could you please clarify this? If the bit is not used, how is the amplifier enabled - using information read in through the xml?

1734031913_ampenableSRM.thumb.PNG.c6909a5b9a7d480fd07105cc44061a3f.PNG

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

When using EtherCAT, Motor[x].AmpEnableBit is not used--the "pattern" that is sent to the Motor[x].pAmpEnable register is following a state machine that is part of the EtherCAT standard, and users do not typically need to alter it.

 

That SRM entry is a bit written a bit awkwardly--the intent was to give multiple examples of proper registers to set Motor[x].pAmpEnable, and then afterwards to explain that Motor[x].AmpEnableBit specifies which particular bit of the intended register is used. When applicable, we tend to list local hardware settings, then MACRO settings, then EtherCAT settings, and in this case, that means that the EtherCAT example is immediately followed by "this is how you use AmpEnableBit" (despite it not applying for EtherCAT). The intent was for them to be separate statements.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...