Sending A320 FCU Events questions

The RPN code( found in the A320’s ModelBehaviorDebug window) for an AP1 press is

From my SimConnect Client, I want to send an EVENT that sets AP1 to ON.
Is sending the SimConnect EVENT (>K: AP_MASTER) good enough or must I send the complete code as seen in the image to a WASM? It looks like it is OK to just send the (>K: AP_MASTER) so there seems to be a link between the SimConnect Event (>K: AP_MASTER) and the code seen above.

The RPN code for an AP2 press is

As there is no SimConnect Event for any AP2 it looks like the only way is to send the complete code.

For other A320 FCU buttons like LOC and APPR, there are also code lines that must be used.

If I wanted to bind a key in FSUIPC7 to AP2, how do I do it? Has FSUIPC7 implemented these code lines? I am a bit puzzled. Or is it other ways of doing this?

i’m just looking into these same questions, how did you get that display in Model Behavior? I’m trying to see that info for A320 (A32NX) FCU VS LOCK (push and pull) event?