Technical data

SINAUT TD7 software package for the CPU
2.5 Data point typicals
Software
248 System Manual, 07/2009, C79000-G8976-C222-07
Note
FC Trigger is an easy way to trigger time-driven transmission of a counted value message.
For more detailed information, refer to the description of the FC.
Parameters TriggerInput and GeneralTriggerCommand can be used
together. Transmission is then triggered by a signal edge change from 0 to 1
at the TriggerInput as well as when an organizational restore command is
received.
If no parameter is specified, the default is FALSE; in other words, there is no
restore and transmission triggered over the TriggerInput input.
Name: [Cnt01D_S] Counter_1
[Cnt04D_S] Counter_1 ... _4
Declaration: INPUT
Data type COUNTER
Default: -
Explanation Number of the SIMATIC counter.
Range of
values:
C0 as dummy parameter or
C1 ... Cn (n depending on CPU type)
Here, you specify the SIMATIC counter in which the pulses were counted
time-driven. This takes place in the background using FC PulseCounter that
is called in a cyclic interrupt OB, for example OB35. Refer to the description
of FC PulseCounter and 'Time-driven SINAUT program in a cyclic interrupt
OB'.
The COUNTER data type cannot be assigned a default value. If you have
used the C0 dummy parameter in the typical, the corresponding counted
value is not processed.
Name: DifferenceValue
Declaration: INPUT
Data type INT
Default: 0
Explanation Difference value.
Range of
values:
0 or 1 ... 31768
No parameter specified: Default value 0 is valid.