Timers and time
Function blocks in the group “Timers and time”. Each link opens the block page; sorted by library and name.
| Block | Page title | Library | What it is for |
|---|---|---|---|
| ADD_DT_TIME | ADD_DT_TIME | Basic Analogue Boxes | Returns the sum of input values (dates). |
| ADD_LDT_LTIME | ADD_LDT_LTIME | Basic Analogue Boxes | Returns the sum of input values (dates). |
| ADD_LTOD_LTIME | ADD_LTOD_LTIME | Basic Analogue Boxes | Returns the sum of the input values (dates). |
| ADD_TOD_TIME | ADD_TOD_TIME | Basic Analogue Boxes | Returns the sum of the input values (dates). |
| b100_time_conversion | Time conversion | Basic Analogue Boxes | The block is used for conversions of time and date values to the required formats. |
| b84_slew_rate_limit | Ramp with a constant slope | Basic Analogue Boxes | The block prevents the signal from rapid changes, the maximum slew rate is defined by the tup and tdown times which define the time for the signal to change from 0 to 100 and back. |
| b85_variableslewratelimit | Ramp with a constant time of change | Basic Analogue Boxes | The block prevents the signal from rapid changes. |
| b86_filter | Filter | Basic Analogue Boxes | The block is an analogue filter of the input signal in time. |
| b87_pulse_width_modulation | Pulse width modulation signal | Basic Analogue Boxes | The block generates PWM (pulse width modulation) signal with variable duty time according to the input signal. |
| b97_time_date_to_total_seconds | Conversion of Time/Date to seconds | Basic Analogue Boxes | The block converts time and date to total seconds (starting at 1.1.1970, 0:00). |
| b98_total_seconds_to_time_date | Conversion of Seconds to Time/Date | Basic Analogue Boxes | The block converts the total seconds starting at 1.1.1970, 0:00, to seconds, minutes, hours etc. |
| b99_pctimenode | PC (PLC) Time | Basic Analogue Boxes | The block returns UTC or local time, together with iother time units. |
| COMPOSEDATETIME | COMPOSEDATETIME | Basic Analogue Boxes | Returns value of DATETIME type, corresponding to combination of input time values entered as integers. |
| CONCAT_DATE_TOD | CONCAT_DATE_TOD | Basic Analogue Boxes | Links together the input date and time of day values to a single datetime value. |
| converttolocaltime | Convert to local time | Basic Analogue Boxes | The block converts UTC date and time to local date and time, using the time zone settings. |
| converttoutctime | Convert to UTC time | Basic Analogue Boxes | The block converts local time and date (according to time zone) to UTC. |
| DATETOTALDAYS | DATETOTALDAYS | Basic Analogue Boxes | Returns number of days since the beginning of our era (since 1.1. |
| DATETOTALHOURS | DATETOTALHOURS | Basic Analogue Boxes | Returns number of hours since the beginning of our era (since 1.1. |
| DATETOTALMILLISECONDS | DATETOTALMILLISECONDS | Basic Analogue Boxes | Returns number of miliseconds since the beginning of our era (since 1.1. |
| DATETOTALMINUTES | DATETOTALMINUTES | Basic Analogue Boxes | Returns number of minutes since the beginning of our era (since 1.1. |
| DATETOTALSECONDS | DATETOTALSECONDS | Basic Analogue Boxes | Returns number of seconds since the beginning of our era (since 1.1. |
| DECOMPOSEDATE | DECOMPOSEDATE | Basic Analogue Boxes | Converts a DATETIME variable to individual date components as integer values. |
| DECOMPOSETIME | DECOMPOSETIME | Basic Analogue Boxes | Converts a DATETIME variable to individual time components as integer values. |
| DIVTIME | DIVTIME | Basic Analogue Boxes | Returns value of input time divided by the IN2 value. |
| GETDELTATIME | GETDELTATIME | Basic Analogue Boxes | Returns the time difference since the last processing of the function. |
| GETDELTATIME4 | GETDELTATIME4 | Basic Analogue Boxes | Returns the time difference since the last processing of the function in ms (miliseconds). |
| getdsttooffset | Time shift summer/winter time | Basic Analogue Boxes | The block returns the time difference between standard zone time and zone daylight saving time. |
| GETEVALTIME | GETEVALTIME | Basic Analogue Boxes | Returns the value of total time when the program was active. |
| GETEVALTIME4 | GETEVALTIME4 | Basic Analogue Boxes | Returns the value of total time when the program was active, in ms (miliseconds). |
| GETLOCALTIME | GETLOCALTIME | Basic Analogue Boxes | Returns the time of local time zone, inclusive daylight saving shift. |
| gettimezoneoffset | Time zone offset | Basic Analogue Boxes | The block returns time zone shift according to the local zone, or time difference between the local time zone and the standard time (UTC). |
| GETUTCTIME | GETUTCTIME | Basic Analogue Boxes | Returns the UTC time value, as provided by the RTC clock of the controller (PLC). |
| MULTIME | MULTIME | Basic Analogue Boxes | Returns the input time multiplied by IN2. |
| SUB_DATE_DATE | SUB_DATE_DATE | Basic Analogue Boxes | Subtracts the input variables, OUT = IN1 - IN2. |
| SUB_DT_DT | SUB_DT_DT | Basic Analogue Boxes | Subtracts the input variables, OUT = IN1 - IN2. |
| SUB_DT_TIME | SUB_DT_TIME | Basic Analogue Boxes | Subtracts the input variables, OUT = IN1 - IN2. |
| SUB_TOD_TIME | SUB_TOD_TIME | Basic Analogue Boxes | Subtracts the input variables, OUT = IN1 - IN2. |
| SUB_TOD_TOD | SUB_TOD_TOD | Basic Analogue Boxes | Subtracts the input variables, OUT = IN1 - IN2. |
| TIMETOTALDAYS | TIMETOTALDAYS | Basic Analogue Boxes | Returns value corresponding to the number of days for a particular time interval. |
| TIMETOTALHOURS | TIMETOTALHOURS | Basic Analogue Boxes | Returns value corresponding to the number of hours for a particular time interval. |
| TIMETOTALMILLISECONDS | TIMETOTALMILLISECONDS | Basic Analogue Boxes | Returns value corresponding to the number of milliseconds for a particular time interval. |
| TIMETOTALMINUTES | TIMETOTALMINUTES | Basic Analogue Boxes | Returns value corresponding to the number of minutes for a particular time interval. |
| TIMETOTALSECONDS | TIMETOTALSECONDS | Basic Analogue Boxes | Returns value corresponding to the number of seconds for a particular time interval. |
| bd12_switchondelay | Switch-on delay | Basic Digital Boxes | The delay block transforms the input signal IN so that each rising edge is delayed by TON . |
| bd13_switchoffdelay | Switch-off delay | Basic Digital Boxes | The delay block transforms the input signal IN so that each falling edge is delayed by TOFF . |
| bd14_switchonoffdelay | Switch-on/off delay | Basic Digital Boxes | The delay block transforms the input signal IN so that each rising edge longer than TON is delayed by TON and each falling edge longer than TOFF is delayed by TOFF . |
| bd15_digital_filter | Digital filter | Basic Digital Boxes | The block copies the input IN to the output OUT with a functionality that the OUT value changes not more frequently than every T seconds. |
| monostableflipflop | Monostable Flip-Flop | Basic Digital Boxes | Function outputs a true pulse with length of delay on a rising edge at the in input. |
| monostableflipflopnonrst | Monostable Flip-Flop Non Reset | Basic Digital Boxes | Function outputs a true pulse with length of delay on a rising edge at the in input. |
| TOF | TOF | Basic Digital Boxes | The block delays the falling edge of the input signal. |
| TON | TON | Basic Digital Boxes | The block delays the rising edge of the input signal. |
| TP | TP | Basic Digital Boxes | The rising edge of the input signal generates an output pulse of the length pt . |