IOLink - A TwinCAT library for demonstrating TcUnit
This library project is used primarily for the demonstration purposes of the TwinCAT unit testing framework TcUnit.
It implements certain parts of the IO-Link functionality. IO-Link is a serial communication protocol for end devices such as various types of sensors (temperature, pressure, etc) and actuators. The functionality implemented in this library is related to the "diagnosis" part of IO-Link, which in EtherCAT masters is implemented using the diagnosis history object defined in the ETG1020 specification.
This library is explained in full detail in seven chapters on the website for the TcUnit framework.
- The function blocks
- Test cases - part one
- Test cases - part two
- Implementation - part one
- Implementation - part two
- Final words
Documentation and examples for TcUnit is available at www.tcunit.org