Block
This component displays a block of LD language. |
This is what a block component looks like:
Common Properties
Custom Properties
NAME
Defines whether a name of function block, function, or program.
Property name: name
Property type: String
variable
Local variable name that saves function block instance. Variable should be declared in edited program variable area. Variable type should correspond to function block type.
Property name: variable
Property type: String
type
Block type : function, function block, and program.
Property name: type
Property type: Integer
expression
Expressions are represented as input and output parameters on block execution.
Each expression is defined by parameters from the table:
Field | Name | Type | Description |
Name | inOutExpressionName | String | Block input or output name |
Expression | inOutExpressionExpression | String | An expression to be passed as an input or output of a block |
Common Events
Hidden, Shown, Moved, Resized, Mouse Clicked, Mouse Pressed, Mouse Released, Mouse Entered, Mouse Exited, Mouse Moved, Mouse Wheel Moved, Key Typed, Key Pressed, Key Released, Focus Gained, Focus Lost
Was this page helpful?