how do i know what to write in the header like you mentioned in the above comment
INFORM Header Fields – Yaskawa Motoman
All the information is here about the header information.
I do know you have to be super careful though as I wrote this manually and had about 5 tries before I didn't get an error (Final one was the date&time needs to be the same as when the file is saved - every change needs to be changed to match).