support for Profihopper in mode6

fixes #25
fixes Raycast issue