Refer to T=3:00-4:30 in the following video on the Plexim website on how to configure the PLECS external mode and external mode triggering.
If you are trying to capture just a single event of a periodic signal, for example when the grid current first rises above a certain current threshold, then simply use "Manual Trigger" instead of "Auto triggering". You can also use "Auto triggering" if the signal is non-periodic, for example the grid breaker status signal that will change when the grid connection first occurs.
Lastly, if you are using XML-RPC, refer to the demo model included in the RT Box Target Support Package for an example of how to use a trigger with a Data Capture block.