Download this file
1 2 3 4
METHOD IsRemote : BOOL VAR_INPUT END_VAR IsRemote := NOT(wINPUTS AND REMOTE_MASK) <> 0;