You have to create a project with tia, where you configure the CP1604 with the byte in and byte out dimension, Than load it to the Robot CP1604 and use the same project to generate a GSD file to use in your actual project.
If you need I can send you a manual
can you send me ,thanks! junejie.wu@gmail.com