Download Control FPWIN Pro Reference Manual
Transcript
Control FPWIN Pro Reference Manual Variables 5. Click in the “Type” field 6. Select desired data type under “Type Class” 7. Select library 8. Click desired data type under “Type” When you declare an FB entity, select the desired function block here. 9. Click [OK] <Tab> The default initial value for the selected data type is displayed automatically. You can overwrite it if required. 10. <Tab> 11. Enter comment <Enter> 12. <Shift> + <Enter> A new declaration line is created after the current line if it is the last line in the POU header. Tip: In the FBD and LD editor you can also declare local variables directly in the POU body if you have activated the check box "Declare new identifiers" under Extras → Options → Program Options → Editors → LD/FBD Editors. In this case, the "Variable Selection (Mode NewVar)" dialog box is automatically opened as soon as you enter the name of a variable not yet declared in the POU header in the POU body and press <Enter>. You can then declare the variable immediately. 50