Error code Description8089h You have assigned the value 0 to CMP_ID.808Ah CMP_ID not fit to EV_ID8xyyh General error informationÄ Chap. 4.2 ‘General and Specific Error Information RET_VAL’ page 6614.2 System Function Blocks14.2.1 SFB 0 - CTU - Up-counterThe SFB 0 can be used as Up-counter. Here you have the following characteristics:n If the signal at the up counter input CU changes from "0" to "1" (positive edge), thecurrent counter value is incremented by 1 and displayed at output CV.n When called for the first time with R="0" the counter value corresponds to the presetvalue at input PV.n When the upper limit of 32767 is reached the counter will not be incremented any fur-ther, i.e. all rising edges at input CU are ignored.n The counter is reset to zero if reset input R has signal state "1".n Output Q has signal state "1" if CV ≥ PV.n When it is necessary that the instances of this SFB are initialized after a restart, thenthe respective instances must be initialized in OB 100 with R = 1.Parameter Declaration Data type Memory block DescriptionCU INPUT BOOL I, Q, M, D, L,constantCount inputR INPUT BOOL I, Q, M, D, L,constantReset input. R takes precedence overCU.PV INPUT INT I, Q, M, D, L,constantPreset valueQ OUTPUT BOOL I, Q, M, D, L Status of the counterCV OUTPUT INT I, Q, M, D, L Current countCount input:This counter is incremented by 1 when a rising edge (with respect to the most recent SFBcall) is applied to input CU.Reset input:The counter is reset to 0 when input R is set to "1", irrespective of the status of input CU.Preset value:This value is the comparison value for the current counter value. Output Q indicateswhether the current count is greater than or equal to the preset value PV.DescriptionParametersCURPVVIPA SPEED7 Integrated StandardSystem Function Blocks > SFB 0 - CTU - Up-counterHB00 | OPL_SP7 | Operation list | en | 18-30 729