Technical data
SINAUT TD7 software package for the CPU
2.6 Blocks for optional expansion
Software
298 System Manual, 07/2009, C79000-G8976-C222-07
Hours 00-23 Day 01-31
Minutes 00-59 Month 01-12
Seconds 00-59 Year 00-99
IntervalMode = TRUE (or 1)
In this case, there are two possible causes for an error:
1. The range permitted for the parameters hours, minutes, and seconds was violated. Apart
from FF, the following settings are valid:
Hours : 01, 02, 03, 04, 06, 08, 12, 24.
Minutes : 01, 02, 03, 04, 05, 06, 10, 12, 15, 20, 30, 60.
Seconds : 10, 12, 15, 20, 30, 60.
2. A time interval can only be set in hours or minutes or seconds. The two unused
parameters must be specified as FF. An error also occurs when all three parameters are
set to FF.
2.6.4 FC PulseCounter
Function
The FC PulseCounter is responsible for counted pulse acquisition.
A maximum of 8 pulse trains are acquired over digital inputs and using SIMATIC counters
passed to the function blocks which create the counted value messages (Cnt01D_S,
Cnt04D_S and ZTZ01, ZTZ02, ZTZ03).
The acquisition of the counted pulses is time-driven. To this purpose, the FC PulseCounter is
included in a cyclic interrupt OB, for example, OB35. The call interval for the cyclic interrupt
OB must be matched to the pulse duration of the counted pulses. For more information on
the cyclic interrupt OB, refer to the section ’Time-driven SINAUT program in a cyclic interrupt
OB’.
Explanation of the parameters
Name: InByte
Declaration: INPUT
Data type BYTE
Explanation Input byte for counted pulses.
Range of
values:
Input bytes
Memory bytes
Data bytes
PIB0 ... PIBn
MB0 ... MBn
LB0 ... LBn
DBm.DBB0 ... n
The inputs for counted pulse acquisition can be set byte by byte.










