Main Content

Variable Write

Variable Write

  • Library:
  • Variable Write block


The block is used as an output variable assignment.


expand all

Specify the data bits to be written, specified in the format of tags. In Ladder Diagrams, tags (variables) are used for representing all inputs, outputs, and internal memory with attributes such as Data Type, Initial Value, and size. To change the attributes of the Data Tag, open the Program Variables table within the Ladder Diagram Program block.

Programmatic Use

Block Parameter: PLCOperandTag
Type: character vector
Value: character vector
Default: 'A'
Introduced in R2019a