Uploaded image for project: 'EtherNet/IP Core V2'
  1. EtherNet/IP Core V2
  2. PSEIPCORE-196

"Change of State" trigger type is not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V2.4.0.0
    • Fix Version/s: V2.4.0.11, V2.4.2.0, V2.5.0.0
    • Labels:
      None
    • Account:
      SPC EthernetIp Core (SPCETHERNET)

      Description

      Currently only "Application triggered" is working.

      We need to handle  EIP_CM_TYPTRIG_TRIG_COS in places where currently only EIP_CM_TYPTRIG_TRIG_APP is handled.
      E.g.: in function Eip_StartTransportReq()

        if( (ulTrigger == EIP_CM_TYPTRIG_TRIG_APP)
            &&
            (ulClass == EIP_CM_TYPTRIG_TYP_CL1 || ulClass == EIP_CM_TYPTRIG_TYP_CL0) )
        {
          /* data production is triggered by application */
          /* Enable triple buffer call back */
          TLR_TBF_CALLBACK_ENABLE( ((EIP_AS_INSTANCE_T*)ptTransport->tAPIMsgAppCtrl.tHead.ulSrcId)->hTriBuf,
                                   (TLR_VOID*)&Eip_TripleBuffCb,
                                   (TLR_VOID*)&ptTransport->tAPIMsgAppCtrl);
          ptTransport->ulState |= EIP_TB_TX_ACTIV;
        }

       In addition, the Productin Inhibit Timer needs to be implemented (see CIP Volume 1, Edition 3.23, section 3-4.5.3 "Production Inhibit Timer").

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    KMichel Kai Michel
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: