Limit function

Limit value detection

Limit 1 and 2 are two identical, simultaneously usable functions for optional analysis of the analog value, function referred to below as "Limit". The measured value is not limited. The function is therefore similar to Range Error, except that there is no error output (bit, LED).

Parameter:

• Limit 1

Index [data type]

Designation

80n0:07 [BOOL], disabled by default

Enable Limit 1

80n0:13 [SINT16]

Value Limit 1

80nD:29 [REAL32]

Value Limit 1 (Real32)

• Limit 2

Index [data type]

Designation

80n0:08 [BOOL], disabled by default

Enable Limit 2

80n0:14 [SINT16]

Value Limit 2

80nD:2A [REAL32]

Value Limit 2(Real32)

If the measured value exceeds/falls below the set limit, this is

- displayed in the PDO status, output limit n (2 bits):

0: not active, limit function disabled
1: Measured value < limit value
2: Measured value > limit value
3: Measured value = limit value

Limit function 1:

Linking in the PLC with 2-bit values

The limit information consists of 2 bits. Limit n can be linked to the PLC or a task in the System Manager.

Note on the PLC: In the IEC61131 PLC, there is no 2-bit data type that can be linked directly to this process data. An input byte %I* must therefore be defined to transmit the limit information and the limit value (limit) must be linked to the VariableSizeMismatch dialog if the status word in the PLC is not interpreted bit by bit (recommended method).

• counted informatively in the CoE

Index

Designation

Meaning

90n0:16 or 90n0:18

Limit 1/2 counter low

Value has fallen below the limit value (edge detection)

90n0:17 or 90n0:19

Limit 1/2 counter high

Value has exceeded the limit value (edge detection)

The counters are reset by

Limit function 2:
CoE Index FB00, DEV Command

During command execution, "Status" 255 "busy" is displayed in index 0xFB00:02, "0" means "successfully completed".

The firmware responds to an unknown command with

Limit function 3:
General parameter incompatibility reason, 0x06040043

• Swap Limit Bits

The limit function can be inverted using "SwapLimitBits" in index 0x80n0:0E in order to create compatibility with different application-side code.

Output n (2 bits)

SwapLimitBits setting

Value

FALSE (default)

• 0: not active
• 1: value < limit value
• 2: value > limit value
• 3: value = limit value

TRUE

• 0: not active
• 1: value > limit value
• 2: value < limit value
• 3: value = limit value