The ProfiLab 4.0 project is as shown below:

So here is the link to the tutorial:
http://redacacia.me/2015/01/12/control- ... -basic-io/
I have also shared a link there from where you can download the ProfiLab 4.0 project.
Please feel free to ask any questons. ProfiLab-Expert 4.0 is a very easy to use. If you are still learning, or want to learn to make projects wiith ProfiLab, please check my previous post here viewtopic.php?f=98&t=4147