show the entry list
ES - SIMATIC Manager -- Creating programs -- CFC - Processing sources
How can I read out the system time of the CPU and then convert it into a format that I can transfer to WinCC and have it displayed there?
Changing the texts of the switches of the OP_D3 faceplates
Warning: "CHANGE the OBx: the FCy must be called." when compiling the CFC
Copying CFC charts between projects in PCS 7 V4.x
How can you change the block number of a block (FC or FB)?
What should you watch out for when using STL code in PCS 7 projects?
How can you use PCS 7 to implement a polygon function with more than 8 sampling points?
How can you use PCS 7 to implement a polygon function with more than 8 sampling points?
Part number:

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.

 Entry ID:22000546   Date:2010-12-20 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour