
The JOB_STAT return value gives you detailed information in the event of an error.
Value
Description
0000h
no error
0411h
Period duration
too small
0412h
Period duration
too big
0421h
On-delay
too small
0422h
On-delay
too big
0431h
Minimum pulse duration
too small
0432h
Minimum pulse duration
too big
0441h
Number of pulses
too small
0442h
Number of pulses
too big
0451h
Invalid
time base
0461h
Pulse train job could not be attached
04FFh
Job number not valid
You receive this error message e.g. if the corresponding functionality
is not supported by your CPU.
8001h
Parametrization error
You will get a parametrization error (8001h), if you have transmitted a
channel number with
CHANNEL
, which is bigger than the max. avail-
able number of channels of the CPU.
8009h
Channel no. not valid
You will get the return value channel no. not valid (8009h), if you have
transmitted a channel number with
CHANNEL
, which is bigger than 3.
6.8 Diagnostic and interrupt
The parameterization allows you to define the following trigger for a hardware interrupt
that may initialize a diagnostic interrupt:
Counter function
n
Edge at a digital input
n
Opening the HW gate (at opened SW gate)
n
Closing the HW gate (at opened SW gate)
n
Reaching the comparison value
n
Overflow respectively at overrun upper counter limit
n
Underflow respectively at underrun lower counter limit
Frequency measurement
n
Edge at a digital input
n
End of measurement (end of the integration time)
Pulse width modulation
n
There is no process interrupt available
Return value JOB_STAT
Overview
VIPA System 300S
+
Deployment I/O periphery
Diagnostic and interrupt
HB140 | CPU-SC | 312-5BE23 | en | 18-45
122