How to get eState and further device info ?

vformanek
2023-02-24
2023-03-13
  • vformanek - 2023-02-24

    Hello I am facing a problem where I want to get some diagnostic from the bus and the device whether is both running. I want to get the tags in the image to a variable whitch i would be able to use in a program. Most likely somehow convert the ADAPTERSTATE and other types like this (ETHERNETSTATE, SCANNERSTATE) to anything usefull.

     
  • snhatton - 2023-03-13

    Hi there,

    Whenever you add a communication device to a project, implicit function blocks are created, which you can then use throughout your IEC program. Please see the attached picture for an example. This example is for modbus, but works similarly for other communication protocols. I hope this helps!

     

Log in to post a comment.