Inserting Variables; Links Between The Variables And The Function Block; Saving; Compilation - ABB AC 31 Technical Manual

Advant controller 31 40 & 50 series
Hide thumbs Also See for AC 31:
Table of Contents

Advertisement

3.5. Saving

3.6. Compilation

ABB Control - AC 31
1SBC 260400 R1001-b
06.99
Presentation / operation

3.4.3. Inserting variables

"
Select the
Insert variable" icon (Figure 2-10) in the program editor window. Then place
the cursor to the left of the function block, making sure that enough space is left so that the
input variable does not overlap the function block, and click on the mouse.
Select the "I62.00 - IN1 - Switch" variable in the variable list
Validate with "OK". The variable appears with its name.
Comment: If the "Cannot overlap graphic symbols" message appears instead of the
variable then restart the manipulation leaving enough space to the left of the block for the
variable insertion
Use the same procedure to insert the internal bit to the left of the function block and below
of the input variable and select the "M00.00 - TEST" internal bit.
Use the same procedure to insert the output variable to the right of the function block and
select the "O62.00 - OUT1 - Lamp" variable.

3.4.4. Links between the variables and the function block:

Select the
"Draw connection line" icon in the program editor window (Figure 2-11) and
draw a line, without releasing the mouse button, between the "IN1" variable and the block.
The link between the "TEST" internal bit and the block is drawn in the same manner.
The link between the "OUT1" variable and the block is drawn in the same manner.
The programming phase is finished once the links are established. You may now save,
compile and send the program to the PLC.
Click on the
"Save" icon in the program editor window to save your program.
Compiling corresponds to a program verification and translation into a PLC understandable
language.
Click the
"Verify program" icon in the program editor window.
Click the "Verify" button, wait for the message "0 error detected" (Figure 2-12) then click on
the "Build" button.
Once the "Project ready for download" message has appeared (Figure 2-13), click on "Exit"
to exit and return to the DEMO:MAIN program editor window.
Page 2-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents