Technical data

Table Of Contents
Integrated Functions (for CPUs with integrated I/Os)
System Software for S7-300/400 System and Standard Functions - Volume 2/2
30-2
A5E00739858-01
Parameters
Parameter Declaration Data Type Memory Area Description
PRES_COUNT INPUT DINT I, Q, M, D, L,
constant
Start value for the counter
PRES_COMP_A INPUT DINT I, Q, M, D, L,
constant
New comparison value
COMP_A
PRES_COMP_B INPUT DINT I, Q, M, D, L,
constant
New comparison value
COMP_B
EN_COUNT INPUT I, Q, M, D, L Enable the counter
EN_DO INPUT BOOL I, Q, M, D, L,
constant
Enable the digital outputs
SET_COUNT INPUT BOOL I, Q, M, D, L,
constant
Set input for the start value
PRES_COUNT
SET_COMP_A INPUT BOOL I, Q, M, D, L,
constant
Set input for the comparison
value COMP_A
SET_COMP_B INPUT BOOL I, Q, M, D, L,
constant
Set input for the comparison
value COMP_B
COUNT OUTPUT DINT I, Q, M, D, L Actual value of the counter
COMP_A OUTPUT DINT I, Q, M, D, L Current comparison value
COMP_A
COMP_B OUTPUT DINT I, Q, M, D, L Current comparison value
COMP_B
STATUS_A OUTPUT BOOL I, Q, M, D, L Status bit STATUS_A
1: COUNT
COMP_A
0: COUNT
< COMP_A
STATUS_B OUTPUT BOOL I, Q, M, D, L Status bit STATUS_B
1: COUNT
COMP_B
0: COUNT
< COMP_B