I don't know what language you use but in VB6 Object Browser(F2) all of the security commands are there, there is also a plcsendraw command for extended commands and many others. Before I start digging deeper and making my own document, I want to see if one exists.