Description The input "U" on the "POLYG_P" block is converted to output "V" based on a characteristic with a maximum of 8 sampling points. There is linear interpolation between the sampling points. The "POLYG_P" block supports only 8 sampling points.
You need multiple "POLYG_P" blocks to configure a characteristic with more than 8 sampling points. This entry shows you how to interconnect two "POLYG_P" blocks one after the other in the CFC chart.
Instructions You need the blocks below for this example.
| No. |
Block |
Library |
| 1 |
OP_A [FB45]
(or a block that supplies a real value) |
PCS 7 Library |
| 2 |
LIMITS_P [FB41] |
PCS 7 Library |
| 3 |
POLYG_P [FC271] |
PCS 7 Library |
| 4 |
SEL_R |
Block folder "MULTIPLX" |
Insert the blocks into a CFC chart and wire them as shown in Fig. 01. Please note the points below when setting the parameters.
- Parameterize the "POLYG_P" blocks with the sampling points required. You parameterize the number of sampling points at input "N".
- Set the same parameters for the inputs "U1" and "V1" of the second "POLYG_P" block as for the inputs "U8" and "V8" of the first "POLYG_P" block.
- At the input "V_HL" of the "LIMITS_P" block you parameterize the same value as at "U8" of the first "POLYG_P" block.
Switchover to the second block is made at this value.
- The boolean input "K" of the "SEL_R" block determines which input is transferred to output "OUT".
If "K" = 0, "IN1" is used.
If "K" = 1, "IN0" is used.

Fig. 01: CFC chart
Creation environment The pictures in this FAQ were created with PCS 7 V7.1 SP2.
|