This ObjectTypedefines the representation of a Ctrl Function Blocksof a programmable Controllersystem in an OPC UA Address Space. It is derived from CtrlProgramOrganizationUnitTypeand introduces Ctrl Function Blockspecific components in addition to the components of the base type. Figure 19shows the CtrlFunctionBlockType. It is formally defined in Table 17.

image023.png

Figure 19CtrlFunctionBlockTypeOverview

The CtrlFunctionBlock ObjectTypeis formally defined in Table 17.

Table 17CtrlFunctionBlockTypeDefinition

Attribute

Value

BrowseName

CtrlFunctionBlockType

IsAbstract

True

References

NodeClass

BrowseName

TypeDefinition

ModellingRule

Inherit the Propertiesand components of the CtrlProgramOrganizationUnitType

HasInputVar

Object

<FunctionBlockInputName>

CtrlFunctionBlockType

OptionalPlaceholder

HasOutputVar

Object

<FunctionBlockOutputName>

CtrlFunctionBlockType

OptionalPlaceholder

HasInOutVar

Object

<FunctionBlockInOutName>

CtrlFunctionBlockType

OptionalPlaceholder

HasComponent

Variable

FunctionBlock

BaseDataVariableType

Optional

The CtrlFunctionBlockType ObjectTypeis abstract. There will be no instances of a CtrlFunctionBlockType itself, but there will be instances of subtypes of this type like instances of vendor or user specific Ctrl Function Blocks.

Ctrl Function Blockinstances declared for a Ctrl Function Blocktype are referenced with different subtypes of the HasComponent Reference. The used Referencetype depends on the IEC 61131-3 declaration keywords. The name of the Objectdepends on the name of the block in the Ctrl Function Block.

Ctrl Function Blockinstances declared with the key word VAR_INPUT are referenced with HasInputVardefined in 8.2.

Ctrl Function Blockinstances declared with the key word VAR_OUTPUT are referenced with HasOutputVardefined in 8.3.

Ctrl Function Blockinstances declared with the key word VAR_IN_OUT are referenced with HasInOutVardefined in 8.4.

The FunctionBlock Variablecomponent contains the complete Ctrl Function Blockdata in a complex Variable. The DisplayNamefor the Variable is FunctionBlock.