150 PROFIBUS Master in CoDeSys 2.3 WAGO-I/O-SYSTEM 750
758-874/000-131 WAGO-I/O-IPC-C6
Manual
Version 1.0.0
The following example is intended to clarify access to the variables. To do this,
one input is assigned to one output:
1. Change to the "POUs" tab and double click on the program function block
PLC_PRG.
Figure 75: PLC_PRG
2. Press the [F2] key to open Input assistant or right click and select "Input
Assistant…" from the context menu.
3. Select the previously declared variable "PB_Output_Bit" under "Global
Variables" and click on [OK] to add it.
Figure 76: Input assistant for selecting variables
PB_Input_Bit (BOOL)
PB_Output_Bit (BOOL)