Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
bgColor#ffffff
titleQ

Is it possible to access the status of the Real-time Ethernet protocol status LEDs (COM-LEDs) from the netX 90 application side or from an external host controller via the DPM - dual port memory interface?

Panel
bgColor#ffffff
titleA

The netX 90 firmwares for different protocol stacks offer different services to indicate the network connection status. The actual status of LEDs must be derived from the respective communication status. Today there is no common service for all protocol stacks.

EthernetIP

The Get Module Status/ Network Status service provide the current Module and Network Status of the netX device.

Please refer to the EthernetIP Adapter API Manual and the description of the "EIP_APS_PACKET_GET_MS_NS_REQ" mailbox packet.

The more resource efficent way is to enable the state change indication "EIP_APS_MS_NS_CHANGE_IND":


static void Eis_EnableSignalMsNsChange(void)
{
  EIP_APS_PACKET_SET_PARAMETER_REQ_T* ptReq = (EIP_APS_PACKET_SET_PARAMETER_REQ_T*) (&g_tCifxPck);
  ptReq->tData.ulParameterFlags = EIP_APS_PRM_SIGNAL_MS_NS_CHANGE;
  ptReq->tHead.ulLen = EIP_APS_SET_PARAMETER_REQ_SIZE;
  ptReq->tHead.ulCmd = EIP_APS_SET_PARAMETER_REQ;
  DeviceDriver_SendPacket();
}

The communication LEDs status can be determined by the returned information. The host application must poll the status, there is no indication service implemented.

PROFINET

PNS_IF_GET_DIAGNOSIS_REQ

The communication LEDs status can be determined by the returned information.The host application must poll the status, there is no indication service implemented.

EtherCAT

ECAT_ALSTATUS_IND

The communication LEDs status can be determined by the returned information.The indication is sent upon status change. I.e. no polling required.


Panel
bgColor#ffffff
titleSee also...

Filter by label (Content by label)
showLabelsfalse
spaces@self
showSpacefalse
cqllabel = "faq" and space = currentSpace()
labelsfaq