2019-07-17 02:51 AM
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
2019-07-21 11:02 PM
It seems the sample codes have been already in the package, STSW-IO-LINK v1.1.1
2019-07-21 11:44 PM
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?
2019-07-22 01:03 AM
Hi Bernhard,
Not quite understand your question.
STSW-IO-LINK contains 2 packages:
Possibly you're looking for STSW-BFA001V1 ?
Best Regards,
Winfred
2019-07-22 01:45 AM
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
2019-07-22 03:52 AM
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
2019-11-14 05:01 PM
Hi Bernhard,
I want to do something similar only with a STEVAL-IOM001V1. Be aware that I am new to IO-LINK and to ST controllers :)
Nevertheless, I think you are right in your assumption of having only a raw interface. On top of this you (we) need (to buy) the real IO-LINK stack from the company TEConcept. This stack provides the high level or real protocol handling code.
The question, can you confirm if I am right?
Any additional info on how you went on would be really appreciated.
Best regards,
Jozef