User Manual
Logic Functions - Book 2
PIECEWISE TABLE BLOCK
9-7
9.2.2 Piecewise Table Block Parameters
The mnemonics, valid values, and data types for all fields that may be selected for display
and/or be used in making softwiring connections are listed in Table 9-1. The following further
defines the piecewise table block configuration parameters.
Block Type
PW This is the piecewise table block type. The block type code is 13.
Occurrence
1 to 4096 There may be up to 4096 ‘instances’ allowed of the PW block type.
Editing Activity
INSERT or DELETE can be selected to insert or delete an X,Y entry in the table.
The delete or insert line position is made through a prompt in the configurator.
Table 9-1. Piecewise Table Block Attributes, Valid Values, Mnemonics, and Data Types
Field Name /
Attribute
Mnemonic Valid Values CWR Data Type Attr
Version VERSION 1, 2 – – R Long State 00
Block Length BLKLEN Number of database bytes in
the block
– – R Count 01
Block State STATE RUN (0) – – R Short State 02
Bad Inputs
BADINP Accepted (1) – – R Discrete 03
Can Be PW
CANBEPW NO (0), YES (1) C – R Discrete 04
Can Be IPW
CANBEIPW NO (0), YES (1) C – R Discrete 05
Number of Points NUMPTS 0 to 60 C – R Count 06
X1 Value X1 CWR Floating Pt 101
... ... ... ... ...
X60 Value X60 CWR Floating Pt 160
Y1 Value Y1 CWR Floating Pt 201
... ... ... ... ...
Y60 Value Y60 CWR Floating Pt 260
00
Version
(VERSION)............................................................................................................– – R
This block is at Version 2. Version 1 does not support attributes 4 through 260.
01
Block Length
(BLKLEN).....................................................................................................– – R
Number of data base bytes used by this block.
02
State
(STATE).....................................................................................................................– – R
This block is always RUN (block is executed). See IB-23G600 (Logic Book 1) Section 2.4.1,
State Changes for additional information on block states.
03 Bad Inputs Accepted (BADINP)........................................................................................– – R
Piecewise block processes data without a check on input quality and output quality is set to
good. See IB-23G600 (Logic Book 1) Section 2.3.2, Data Quality for additional information.
04
Can Be Piecewise
(CANBEPW) ....................................................................................... C – R
If the X values are in ascending order and there are no duplicates, the table is marked as
usable for piecewise linearization.