12.07.2015 Views

RAPID reference manual - Technology

RAPID reference manual - Technology

RAPID reference manual - Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ISignalAIAnalog Signal InterruptInstructionExample 3 of interrupt generationSignal logical valueHighValueSignal ValueLowValue01 2 3 4 5 6 7 8 9 10 11 12Time for order of interrupt subscriptionStorage of <strong>reference</strong> valueSamplesAssuming the interrupt is ordered between sample 0 and 1, the following instructionwill give the following results:ISignalAI \Single, ai1, AIO_OUTSIDE, 6.1, 2,2, 1.0 \DPos, sig1int;A new <strong>reference</strong> value is stored at sample 7, because the signal is within limitsand the absolute signal difference between the current value and the last stored<strong>reference</strong> value is greater than 1.0sample 8 will generate an interrupt, because the signal value is above HighValueand the signal difference in the positive direction compared to sample 7 is morethan DeltaValue.186 <strong>RAPID</strong> <strong>reference</strong> <strong>manual</strong> - part 1a, Instructions A-R

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!