Open, the M4 screen designer, click on the top profile, go down to the properties window, click on the "Event" button,
looks like a little lightning bolt, find PLC script, go to the right hand side with button thatt has 3 little dots.
click it, it will open the PLC script in you lua editor.
scott