Panasonic GM1 User Manual page 166

Motion controller controller rtex
Hide thumbs Also See for GM1:
Table of Contents

Advertisement

6.6 Function and Function Block
Next, the procedure for invoking the created function block is explained below.
5.
Open the POU object from which the function block is to be invoked, and declare an
instance of the function block in the declaration section.
Declare an instance that is a copy of the function block.
Declare an instance name in the form of "instance-name: function-block-name" as shown
below.
6.
Invoke the instance of the function block.
Invoking the instance of the function block executes the processing defined with the
function block. Input variables and output variables can be accessed by specifying
"instance.variable-name".
Example: Invoking the instance from LD program
Example: Invoking the instance from ST program
6-38
WUME-GM1RTXOP-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm1 series

Table of Contents