Hardware manual

Quick Start Guideline XV-2xx Systems MICRO PANEL
The first PLC Program
After that you can open the programming unit “PLC_PRG” in the register “POUs” and write a basic line
of code:
hmiCounter:=hmiCounter+1;
Declaration and statement windows of the programming unit PLC_PRG
After entering “hmiCounter:=hmiCounter+1;“ and pressing “Return” a dialog window for variable
declaration appears. Select the variable type “INT” and press OK
In the declaration field the variable hmiCounter“ is displayed.
Select in the menu Project
Æ
Rebuild All to compile the project. If the test program compiles error free
then it is ready to be downloaded.
18
Subject to technical changes
M001789-01.DOC
© by Micro Innovation