358
PROFIBUS DP-V1 Master
The following example in the "Structured Text" (ST) programming language is
intended to clarify access to the variables. To do this, an input is assigned to an
output:
1.
Change to the "Module" tab and double click on the program function block
PLC_PRG.
Figure 158: PLC_PRG
Press [F2] to open the Input assistant, or right click and select "Input
2.
assistant" from the context menu.
3.
Select the variable "PB_Output_Bit" previously declared under "Global
Variables" and click on [OK] to add it.
Figure 159: Input assistant for selecting variables
4.
After the variable name, enter the assignment := ON.
5.
Repeat step 3 for the variable "PB_Input_Bit".
750-8208 PFC200 CS 2ETH RS CAN DPM
Version 1.1.0, valid from FW Version 02.06.20(09)
WAGO-I/O-SYSTEM 750
Manual