Arithmetic Blocks With The Int Data Type; F_Lim_I - Siemens SIMATIC S7 F Manual

Systems
Table of Contents

Advertisement

Fail-Safe Blocks
8.12

Arithmetic Blocks with the INT Data Type

Block

F_LIM_I

8.12.1
F_LIM_I
Function
This block compares the input variables IN, MAX and MIN. It checks whether IN is
within or outside the interval between MIN and MAX. If the lower limit (MIN) of the
interval is greater than or equal to the upper limit (MAX), the output OUT = MAX
and the outputs OUTU and OUTL are set to 1. If IN is > MAX, the upper limit has
been violated, OUT = MAX, OUTU = 1 and OUTL = 0. If IN is < MIN, the lower limit
has been violated, OUT = MIN, OUTU = 0 and OUTL = 1. If IN is between MIN and
MAX, OUT = IN, OUTU = 0 and OUTL = 0 are set.
I/Os
Name
Inputs:
IN
MIN
MAX
Outputs:
OUT
OUTU
OUTL
Error Handling
None
8-114
Description
Asymmetrical limiter of INT values
Data Type
F_INT
F_INT
F_INT
F_INT
F_BOOL
F_BOOL
Explanation
Default
Input variable
0
Lower limit
-32768
Upper limit
32767
Output variable
0
Upper limit violation
0
Lower limit violation
0
Fail-Safe Systems
A5E00085588-03

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7 fh

Table of Contents