Parallel, non-blocking access to an inference module

This sample shows how an instance of FB_MllPrediction can be accessed from two tasks running concurrently.

The sample can be downloaded here: concurrent sample.

The instance fbpredict is declared in the GVL_ML. All programs in the PLC thus have access to the instance. The following are created as programs:

The essential components for the concurrent execution of 2 Predict calls are: