Where is data of ENIP getAttributeSingle stored?

inayama
2023-04-10
2023-04-20
  • inayama - 2023-04-10

    Does anyone know where is the acquired data stored using getAttributeSingle insturuction?

     
  • ben1 - 2023-04-17

    I'm not sure I understand - the acquired values are stored in whichever variable you write them into...?

     
  • inayama - 2023-04-17

    Hi,
    I think it seems acquired data will be stored in area that as assigned as pData. But no data was stored.
    Get attribute single request was succussed in captured packed.
    Is acquired data stored in pData assigned area?

     
  • ben1 - 2023-04-18

    It looks as though you are not receiving the data, as the ReceivedDataSize is 0...

    Have you set the wAttribute input? Sorry if you have, I can't see it there.

     
  • inayama - 2023-04-19

    Hi, yes, I set wAttribute input.
    .xError bit is false and .xDone bit is accumulated. So it seems getAttributeSingle request is succeeded.
    What will be the problem that no data is acquired even in requested is succeeded??
    Any advice will be appreciated.

     
  • inayama - 2023-04-20

    I also tried String64 type but no data is appeared in the program.
    I referred webinar video of youtube and acquired data is indicated in the bottom of the HMI faceplate.
    But latest faceplate is not.
    And received data size is different even in same eClass, instance and attribute.
    Any idea?

     

Log in to post a comment.