EasyManua.ls Logo

Inovance H3U Series - Page 701

Inovance H3U Series
737 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
700
12
12 Subprogram12.4 Application of a Subprogram with Parameters
Example: During an arithmetical operation, if SEL = ON, Sin(X) is output; otherwise, Cos(X) is output.
Y
SEL
X
Sin(X)
Cos(X)
X and Y are 32-bit oating-point numbers. SEL is a bit variable. As a subprogram with parameters supports
transmission of only 16-bit data, two word elements need to be input. The case of data output is similar.
The following shows the
Call Subprogram
window.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals