PS3 off

How do i make a command to turn the ps3 off? I currently have a logitech ps3 adapter but i do not see a way to make this command. I do realize that it is a macro but what should said macro consist of?

The PS3 FAQ contains that exact answer: