Please enable JavaScript to view this site.

Validity: Rule, Task

This variable identifies the servo alarm enable mask.

Syntax

I32 sam

Attributes

Bit-accessible

If enabled, RTE run-time checks the following error with the threshold value giving alarm (11#nn Following Error (Servo system)) if the error exceeds the threshold itself.

The error calculation is done as follows:

The axis position error is calculated as ip(calculated sa_ip_idx previous sampling) - cp

The alarm threshold is calculated by reading the contents of the ser_thr and ser_gai variables as follows:

ser_cthr = ser_thr + (iv(calculated sa_iv_idx previous sampling)/ser_gai)

The values are compared

If the threshold is exceeded, RTE generates the servo alarm in the alarms stack[11 Following Error(Servo system)]

The alarm will then be handled by RTE according to the definition of the relevant power set

NOTE: By acting on the predefined variable sys_cfg bit 11 it is possible to force the computation of the threshold calculation itself even if sam is disabled.

Example

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC