Skip to main content

Kollmorgen Support Network

Can I read the AKD's DIN.STATES over EtherNet/IP? | 21 Sep 2017 | |

Can I read the AKD's DIN.STATES over EtherNet/IP?

Reading DIN.STATES over EtherNet/IP ( using AKD-P-NBEI )

DIN.STATES is not accessible over Ethernet IP. The manual indicates instance 60 but this appears to be a typo.

image

image

From Workbench Help the Data Type is defined as a string which may be one issue. Also note in general the instance number is usually given in the parameter definition in Workbench when applicable but in this case there is no given instance number for Ethernet IP for this parameter.

image

Attempting to dynamically map the parameter to the cyclic IO also is shown as unsupported. From below you can see Instance 60 does not exist in the available mapping list for the Response.

image

When Instance 60 is used in the AKD_GET_PARAMETER AOI, the DN ( done ) bit will be set but the AOI will return a value of 0 regardless of the states of DIN.STATES.

image

To get around this you will have to read the state of each input individually using the instance numbers in the table below. This can be implemented as a succession of AKD_GET_PARAMETER AOIs similar to how the 10 current faults are read in the Simple Example Project ( for EtherNet/IP ) or they can be dynamically mapped assuming the PLC supports cyclic I/O (otherwise explicit messaging has to query each input). Note the caveat of using the AKD_GET_PARAMETER AOI is it can't execute while another AOI (i.e. AKD_JOG, AKD_MOVE) for that drive is executing or there can be timing conflicts. For continuous monitoring use dynamic mapping instead.

image

 

About this Article

toddevans01