Main Content

JMP

Jump

Since R2019a

  • JMP block

Libraries:

Description

The JMP block implements the JMP ladder logic instruction. When the rung conditions are true, the block skips a part of ladder logic and the rung execution moves to the block referenced by the label block. Jump block can only skip the rungs after it. The block does not support a backward jump.

Ports

Input

expand all

Controls the execution of the block. EnableIn reflects the rung state preceding the block. If the rung state preceding the block is false, EnableIn is false, the block does not execute and the outputs are not updated.

Output

expand all

By default, EnableOut follows the state of EnableIn. If the EnableIn input to the block is false, the logic implemented by the block is not executed and EnableOut signal is set to false.

Parameters

expand all

Specify the name for associated LBL instruction.

Programmatic Use

Block Parameter: PLCLabelTag
Type: character vector
Value: character vector
Default: 'L'

Version History

Introduced in R2019a

See Also

| | | |