3.3. Variable declarations
3.4. Program editing
ABB Control - AC 31
1SBC 260400 R1001-b
06.99
Presentation / operation
"
Select the
Variable list" icon in the program editor window (Figure 2-5).
The pre-defined variables in the variable list are those which correspond to the chosen central
unit. The variables of the 40 or 50 series central units are:
- I62.00 to I62.07 for the 8 binary inputs,
- O62.00 to O62.05 for the 6 binary outputs,
- IW62.00 and IW62.01 for the 2 potentiometers,
- M 255.00 to M255.03 for the oscillators
Enter the descriptions for the following variables:
- Select "I62.00" in the list
- Enter: "IN1" without a space and the comment: "Switch"
- Press "OK" to validate
- Create an internal bit "M00.00" by selecting "M" in the variables list available then
enter "00.00"
- Enter: "TEST"
- Press "OK" to validate
- Select "O62.00" in the list
- Enter: "OUT1" and the comment: "Lamp"
- Press "OK" to validate
Press "Exit" to exit. Save by selecting "yes".
3.4.1. Displaying the FBD (function blocks) toolbar
It may be that the LD toolbar is displayed (Figure 2-7).
Should this be the case, click on the "Display FBD toolbar" icon so that the function blocks
toolbar is displayed (result Figure 2-8).
Note that clicking on the "Display LD toolbar" icon will display the LD toolbar again.
3.4.2. Selecting the OR function in the program editor window
Click on the arrow, as indicated in Figure 2-8, in order to obtain the functions list.
Select the "/" function by scrolling through the list with your mouse.
Place the cursor on the blank page (Figure 2-9) and click the mouse to place the "/"
function.
The "/" function block should be completed with 2 parameters:
- an input variable (to the left of the block),
- an internal bit (to the left of the block),
- an output variable (to the right of the block).
A complete description of the function block is available by double-clicking the block and then
clicking on the "Info" followed by the "Note" buttons.
Page 2-7