Back to top
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.
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.
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.
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.
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.