Subroutine

Ladder Diagram Subroutine

  • Library:

Description

Ladder Diagram Subroutine allows you to create and define a named ladder routine. You can edit the logic implemented by the subroutine by clicking on the Routine Logic button found under the block parameters menu of this block.

Parameters

expand all

Specify the name of the ladder subroutine.

Programmatic Use

Block Parameter: PLCPOUName
Type: character vector
Value: character vector
Default: 'R'

Button that opens the ladder subroutine logic.

Programmatic Use

Block Parameter: PLCOpenRoutine
Type: button

Introduced in R2019a