Pwlapprox And Pwlapproxnolinechk - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
PWLApprox and
PWLApproxNoLineChk
The PWLApprox and PWLApproxNoLineChk instructions perform broken line approximations for inte-
ger or real number data.
PWLApprox:
PWLApproxNoLineChk:
Instruction
Name
PWLApprox
Broken Line
Approximation with
Broken Line Data
Check
PWL
Broken Line
Approx
Approximation with-
NoLineChk
out Broken Line
Data Check
Variables
Name
Meaning
In
Data to
convert
Line[]
Broken line
(array)
data array
Num
Number of
broken line
data
Out
Conversion
result
* If you omit the input parameter, the default value is not applied. A building error will occur.
Bit strings
In
Line[]
(array)
Num
Out
2-426
Checks to see if the broken line data is valid.
Does not check to see if the broken line data is valid.
FB/FUN
FUN
FUN
(@)PWLApproxNoLineChk
EN
In
Line
Num
I/O
Description
Data to convert
Broken line data array
Input
Number of broken line data
Output
Conversion result
OK OK OK OK OK OK OK OK OK OK
Must be an array with elements that have the same data type as In.
OK
OK OK OK OK OK OK OK OK OK OK
Graphic expression
(@)PWLApprox
EN
ENO
In
Out
Line
Num
ENO
Out
Valid range
Depends on data type.
Depends on data type.
Integers
NY-series Instructions Reference Manual (W560)
ST expression
Out:=PWLApprox(In, Line, Num);
Out:=PWLApproxNoLineChk(
In,
Line,
Num);
Unit
Default
*
---
1
---
---
Times, durations,
dates, and text strings

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents