Skip to main content
bernhard.riester
Associate
July 17, 2019
Question

Custom IO-Link Sensors on STEVAL-IDP004V1?

  • July 17, 2019
  • 6 replies
  • 1134 views

Hi,

I'm currently working with the STEVAL-IDP004V1 and I'd like to get process - and service data from a sensor. But in the software examples [https://www.st.com/content/st_com/en/products/embedded-software/evaluation-tool-software/stsw-io-link.html] I'm just able to find a custom set of commands exchanged with the STEVAL-IDP003V1. Are there examples who to read (and write) data with a given IO-Link sensor?

Best regards

Bernhard

    This topic has been closed for replies.

    6 replies

    Winfred LU
    ST Employee
    July 22, 2019

    It seems the sample codes have been already in the package, STSW-IO-LINK v1.1.1

    https://my.st.com/content/my_st_com/en/products/embedded-software/evaluation-tool-software/stsw-io-link.html

    bernhard.riester
    Associate
    July 22, 2019

    Thank you for your answer. This is the code I've already looked at. Here I find no possibility to read process data, but only a function to send byte sequences to the sensor and to receive them. The sensor board [https://www.st.com/en/evaluation-tools/steval-bfa001v1b.html] says that no stack is supplied for this.

    But is there a stack for the master, or would it have to be implemented by the user?

    Winfred LU
    ST Employee
    July 22, 2019

    Hi Bernhard,

    Not quite understand your question.

    STSW-IO-LINK contains 2 packages:

    • STEVAL-IDP003V1 package provides IO-Link communication, sensor configurations, and GPIO interrupts for sensor data.
    • STEVAL-IDP004V1 package provides the communication with PC Hyper Terminal for STEVAL-IDP004V1 configuration and data exchange with STEVAL-IDP003V1 board hosting the L6362A device.

    Possibly you're looking for STSW-BFA001V1 ?

    https://www.st.com/content/st_com/en/products/embedded-software/evaluation-tool-software/stsw-bfa001v1.html

    Best Regards,

    Winfred

    bernhard.riester
    Associate
    July 22, 2019

    Should have been an answer to aboves reply. could be deleted

    Hi Winfred,

     

    sorry for the confusion.

     

    Situation:

    I'd like to use the STEVAL-IDP004V1 to read data from an real IO-Link standard conform sensor. I do not have the STEVAL-IDP003V1. In the sourcecode you linked the communication between those two boards is not "real" IO-Link, but RAW Bytes through the IO-Link controller. So it's more or less just UART with different voltages. In explaination of STEVAL-IDP003V1 this is mentioned: "The package is IO-Link capable (IO-Link stack is not included) with a demonstration that includes communication with the STEVAL-IDP004V1 IO-Link-master-capable multi-port evaluation board."

     

    My question is: Is there a IO-Link Stack available for the STEVAL-IDP004V1 to communicate with real IO-Link Sensors and read/write process data and service data rather than raw bytes (where I have to take care about headers, timings, flags and so on according to specification)?

     

    If I get the board correct it's just the hardware implementation of the IO-Link standard and not the software-stack. So more or less the second question is: Is this assumption correct?

     

    Best regards

    Bernhard