Interrupt source (P-RTCF-00001)

P-RTCF-00001

Source of the interrupt that triggers the start of a new NC cycle.

Description

A distinction is made between an external interrupt (e.g. from SERCOS hardware) and an internal interrupt (timer interrupt of the real-time operating system). If an external interrupt is available, execution of the NC-synchronous thread is coupled directly to it. The operating system's higher-resolution timer interrupt is then merely needed to possibly stop the asynchronous thread. The NC cycle time and timer interrupt do not run synchronously. This also means that suspension of the asynchronous thread can vary by the amount of P-RTCF-00003 (time_slice).

If no external interrupt is available, only a high-resolution timer interrupt of the operating system is used to start the NC-synchronous thread (with every nth timer interrupt). The NC cycle time and timer interrupt then run synchronously. When an external operating system semaphore is used, the semaphore's name is defined by P-RTCF-00005 (external_object_name).

Parameter

interrupt_source

Data type

UNS16

Data range

1: Hardware ISR

2: Real-time operating system timer

3: Real-time operating system semaphore

Dimension

----

Default value

0

Remarks