Initialization

The FB_TcIoXPlanarEnvironment function block must be instantiated once for the XPlanar project so that all parameters of the Processing Unit can be accessed. If visualization is to be used in the project, the FB_XPlanarUtilityVisu function block must also be configured.

The FB_TcIoXPlanarEnvironment function block must be initialized once at startup to collect information about all objects. Optionally, the status bits can be checked to obtain feedback from the function block. After initialization, all objects subordinate to the XPlanarEnvironment can be accessed by calling the corresponding methods. There is no cyclic updating of the data.

In addition to using the FB_TcIoXPlanarEnvironment function block, you also have the option of using the Tc3_XPlanarUtility function blocks as a standalone variant. Each function block has its own initialization method. You can use this method to initialize the function block and use the corresponding function block as a standalone variant.

If FB_TcIoXPlanarEnvironment has been assigned the Environment property of FB_XPlanarUtilityVisu, the Cycle() method must be called cyclically.