There is an example in Appendix 1 of the PLC Programmer's Reference Manual. For Educational version user, you can download the programmer's reference from the same link that you use to downloade the TRiLOGI version 5.xx or 3.5x Educational version software.