The FC 1 is to be called from the cycle OB 1.
1. Go to OB 1, which was automatically created with starting the
project.
2. Go to ‘Project content’ or to ‘Solution’ and open the OB 1 by a
double click.
3. Change to the STL view
.
4. T
ype in "Call FC 1" and press the [Return] key.
ð
The FC parameters are automatically displayed and the fol-
lowing parameters are assigned:
5.
Save the OB 1 with respectively press [Strg]+[S].
9.3.3
Test the PLC program in the Simulator
With WinPLC7 there is the possibility to test your project in a Simu-
lator.
1. Here select ‘T
arget: Simulator’ .
2. T
ransfer the blocks to the simulator with [Load all blocks into the
PLC].
3. Switch the CPU to RUN, by clicking at ‘RUN’ in the ‘CPU
Control Center
’ of ‘Edit project’ .
ð
The displayed state changes from STOP to RUN.
Creating the block OB 1
Proceeding
VIPA System 300S WinPLC7
Example project engineering > Test the PLC program in the Simulator
HB140 | CPU | 314-6CF03 | GB | 16-43 213