beckhoff TF4100 — 4.2.1.2.7 FB_CTRL_TRANSFERFUNCTION_2

PLC API fOut => fOut, eErrorId => eErrorId, bError => bError); 4.2.1.2.7 FB_CTRL_TRANSFERFUNCTION_2 This function block calculates a discrete transfer function with the second standard form shown below. The transfer function here can be of any order, n. The coefficients for the following transfer functions are stored in the parameter arrays: b z b z b z b G z z a z a z a ... ( ) ... + + + + = + + + + n n n n n n n ( 1) ( 1) 1 0 ( 1) ( 1) 1 0 - - - - Description of the transfer behavior The internal calculation is performed in each sampling step according to the second standard form, for which the following block diagram applies:

The transfer function can be brought into the form shown in the block diagram by means of some transformations: b z b z b z G z b a z a z a z ... ( ) 1 ... + + + = + + + + + % % % % 1 ( 1) ( 1) 1 0 n n n - - - - - 1 ( 1) ( 1) 1 0 n n n - - - - - The coefficients of the counter polynomial are calculated according to the following rule: i i n i b b b a = - % 0 i n " Ј n n b b = % The programmer must create the following arrays in the PLC if this function block is to be used: TF4100 38 Version: 2.2.4