![ABB ACSM1 Series Manual Download Page 398](http://html.mh-extra.com/html/abb/acsm1-series/acsm1-series_manual_2326398.webp)
Standard function blocks
398
IF
(10103)
Illustration
Execution time
-
Operation
The IF, ELSE, ELSEIF and ENDIF blocks define, by Boolean logic, which parts of the
application program are executed.
If the condition input (COND) is true, the blocks between the IF block and the next
ELSEIF, ELSE or ENDIF block (in execution order) are run. If the condition input
(COND) is false, the blocks between the IF block and the next ELSEIF, ELSE or ENDIF
block are skipped.
The outputs of the “branches” are collected and selected by using the
block.
Example:
Bit 4 of
(digital input DI5) controls the branching of the application
program. If the input is 0, the blocks between the IF and ELSE blocks are skipped but
the blocks between ELSE and ENDIF are run. If the input is 1, the blocks between IF
and ELSE are run. The program execution then jumps to the block that follows ENDIF,
which is a BOP. The BOP block outputs the value from the branch that was executed. If
the digital input is 0, the BOP block output is 2; if the digital input is 1, the BOP block
output is 1.
Inputs
Input (COND): Boolean
Outputs
-
Summary of Contents for ACSM1 Series
Page 1: ...ABB motion control drives Firmware manual ACSM1 motion control program ...
Page 4: ......
Page 34: ...Drive programming using PC tools 34 ...
Page 86: ...Drive control and features 86 ...
Page 265: ...Parameters and firmware blocks 265 1 100 us 100 µs 2 1 ms 1 ms 3 50 ms 50 ms ...
Page 302: ...Parameter data 302 ...
Page 422: ...Application program template 422 ...
Page 430: ...Appendix A Fieldbus control 430 ...
Page 500: ...Appendix D Application examples 500 ...
Page 508: ...Appendix E Control chain and drive logic diagrams 508 ...
Page 510: ...3AFE68848270 REV H EN 2015 06 26 Contact us www abb com drives www abb com drivespartners ...