Global variables mapping to hardware

Global variables must be mapped to hardware variables, because the HW variables alone can not be used in programs.

Click the „Compile“ button and click the „PLC“ item in Solution explorer twice. This opens the PLC editor at the main workspace. In the editor, select the “I/O mapping” tab in the lower part of the window. In the tab, find your I/O module, and assign the created variables to the module I/Os. In the „IO⇒ST“ column, input variables are assigned, such as temperature sensors, and in the „ST⇒IO“ column, the output variables, such as relays and valves.