Panasonic GM1 User Manual page 163

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

Advertisement

6.6 Function and Function Block
Example: Invoking the function from ST program
● Additional outputs can be defined for the function. Declare an additional output as variable
"VAR_OUTPUT" in the declaration section of the POU object that defines the function.
Example: Definition of function "ADD_SUB" to which variable iOut that outputs
the sum of three input variables is added
Invoking function "ADD_SUB" from LD program
Invoking function "ADD_SUB" from ST program
WUME-GM1RTXOP-01
6-35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm1 series

Table of Contents