Initialization of standalone function blocks

If FB_TcIoXPlanarEnvironment is not to be used, each subordinate function block can be initialized individually. The OTCID of the corresponding TcCOM object is required for this.

Initialization of standalone function blocks 1:
Expand Solution Explorer > SYSTEM > TcCOM Objects > XPlanar
Double-click on a Mover4300
Initialization of standalone function blocks 2:
In the project window, click on the Object tab
Read value at Object Id
VAR
nState                    : UDINT;
fbTcIoMoverStandalone     : FB_TcIoXPlanarMover;
END_VAR

CASE nState OF

130: // Init stadalone fuction block
     IF fbTcIoMoverStandalone.Init(TRUE,16#010101C0, 1) THEN
          nState := nState + 1;
     END_IF

END_CASE