How to add execution condition?

GSK980MDc User:
Could you tell us how to add execution condition? For example how to make it execute the program once the X0.2 is input.
CNCmakers Support:
We can control X0.2 port with a switch by M code, just write it into the PLC of GSK980MDc will work.