To find a station via Ethernet (accessible nodes) you have to install
the WinPCAP driver. This driver may be found on your PC in the
installation directory at WinSPS-S7-V5/WinPcap_... .exe. Execute this
file and follow the instructions.
8.3
Example project engineering
8.3.1 Job definition
In the example a FC 1 is programmed, which is cyclically called by
the OB 1. By setting of 2 comparison values (value1 and value2)
during the FC call, an output of the PLC-System should be activated
depending on the comparison result.
Here it should apply:
n if value1 = value2 activate output Q 124.0
n if value1 > value2 activate output Q 124.1
n if value1 < value2 activate output Q 124.2
n You have administrator rights for your PC.
n WinPLC7 is installed and activated as "Profi" version.
n One SPEED7 CPU and one digital output module are installed
and cabled.
n The Ethernet PG/OP channel of the CPU is connected to your
Ethernet network. Your CPU may be connected to your PC with
an Ethernet cable either directly or via hub/switch.
n WinPCap for station search via Ethernet is installed.
n The power supply of the CPU and the I/O periphery are activated
and the CPU is in STOP state.
8.3.2 Project engineering
1. Start WinPLC7 ("Profi" version)
2. Create and open a new project with [Create a new solution].
1. For the call of the hardware configurator it is necessary to set
WinPLC7 from the Simulator-Mode to the Offline-Mode. For this
and the communication via Ethernet set "Target: TCP/IP Direct".
2. Double click to ‘Hardware stations’ and here at ‘Create new’ .
3. Enter a station name. Please consider that the name does not
contain any spaces.
Installation of WinPCAP
for station search via
Ethernet
Precondition
Hardware configuration
VIPA System 300SWinPLC7
Example project engineering > Project engineering
HB140 | CPU-SC | 312-5BE13 | GB | 15-50 168