4. Type 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].
8.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 ‘Target: Simulator’ .
2. Transfer 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.
4. To view the process image select ‘View
è Display process image window
’ or click at
.
ð
The various areas are displayed.
5. Double click to the process image and enter at ‘Line 2’
the
address PQB 124. Confirm your input with [OK]. A value marked
by red color corresponds to a logical "1".
6. Open the OB 1.
Proceeding
VIPA System 300SWinPLC7
Example project engineering > Test the PLC program in the Simulator
HB140 | CPU-SC | 312-5BE13 | GB | 15-50 174