Download Siemens 880 Instruction manual
Transcript
9 STEP 5 Operation Set with Programming Examples 9.2.6 Block calls 9.2.6 11.92 Block calls Operation Parameter Function 0 to 255 0 to 255 0 to 255 180 Unconditional jump Conditional jump (depending on the RLO) to a program block to a function block (type FB) to a sequence block to an organization block OB 180 F X 0 to 255 Unconditional jump Conditional jump (depending on the RLO) to a function block (type FX) D B D X 2 to 255 2 to 255 Data block call DX data block call JU JC P F S O B B B B DO DOC C CX BE BEC BEU Block end Block end, conditional (depending on RLO) Block end, unconditional Command C DB and CX DX (data block call) is explained under "Calling data blocks" (see Section ”Data blocks”). Commands BE (block end) and BEC (block end, conditional) result in a return to the calling block. Command BE must be programmed at the end of each data block (except for DB, DX). Example: PB 7 PB 20 AF15.1 AI 20.0 JU PB20 BEC BE BE If the result of the logic operation is 1, the return to PB7 already takes place with processing of the BEC command. If the result of the logic operation is not equal to 0, processing of PB20 continues up to the BE command, which then initiates the return to PB7 when PB20 has been fully processed. 9–24 © Siemens AG 1992 All Rights Reserved 6FC5197- AA80 SINUMERIK 840C/880 (PJ)