Download this file
1 2 3 4 5 6 7 8 9 10
/// This object implements the reaction of the goal field /// /// In PONG, we have two goals (east and west) FUNCTION_BLOCK FB_GOALS EXTENDS FB_ObjectBase VAR_INPUT END_VAR VAR_OUTPUT VAR CONSTANT iWidth : INT := 1024; iHeight : INT := 768;