Limit value monitoring

You can define two limit values for each analog input:

For each limit value, there is a variable of the same name in the process data. See Process image chapter. The variable shows whether the current measured value lies above or below the limit value.

Defining a limit value

Enter the limit value in the corresponding CoE parameter.

Value range: 0x8000 … 0x7FFF (-32768 … 32767)

Connection

CoE object

Parameter

X01

8100hex

AI Settings Ch.1

13hex

Limit 1

14hex

Limit 2

X02

8110hex

AI Settings Ch.2

13hex

Limit 1

14hex

Limit 2

X05

8120hex

AI Settings Ch.3

13hex

Limit 1

14hex

Limit 2

X06

8130hex

AI Settings Ch.4

13hex

Limit 1

14hex

Limit 2

Activating the monitoring

The limit value monitoring for both limit values is disabled in the factory setting.

Set the CoE parameter for the respective limit value to TRUE:

Connection

CoE object

Parameter

X01

8100hex

AI Settings Ch.1

07

Enable limit 1

08

Enable limit 2

X02

8110hex

AI Settings Ch.2

07

Enable limit 1

08

Enable limit 2

X05

8120hex

AI Settings Ch.3

07

Enable limit 1

08

Enable limit 2

X06

8130hex

AI Settings Ch.4

07

Enable limit 1

08

Enable limit 2

Evaluation

Evaluate the input variables "Limit 1" and "Limit 2" in the process data in accordance with the following table:

Variable value

Meaning

"Swap limit bits" 1) = FALSE

"Swap limit bits" 1) = TRUE

0

Monitoring is not activated for this limit value.

1

The measured value is smaller than the limit value.

The measured value is greater than the limit value.

2

The measured value is greater than the limit value.

The measured value is smaller than the limit value.

3

The measured value is exactly the same size as the limit value.

1) "Swap limit bits" is a CoE parameter. "Swap limit bits" is FALSE in the factory setting.

Connection

CoE object

Parameter

X01

8100hex

AI Settings Ch.1

0Ehex

Swap limit bits

X02

8110hex

AI Settings Ch.2

0Ehex

Swap limit bits

X05

8120hex

AI Settings Ch.3

0Ehex

Swap limit bits

X06

8130hex

AI Settings Ch.4

0Ehex

Swap limit bits