1. A new job may be started with JOB_DONE = TRUE.
2. A value to be read of a read job may be found in JOB_OVAL in
the instance DB at address 28.
If you have preset a CHANNEL number greater than 3, the error
"Channel no. not valid" (8009h) is reported. if you have preset a
CHANNEL number greater than the maximum channel number of the
CPU, "Parameter error" (8001h) is reported.
The pulse width modulation is controlled by the internal gate (I gate).
The I gate is identical to the software gate (SW gate).
SW gate:
open (activate): In the user program by setting SW_EN of SFB 49
close (deactivate): In the user program by resetting SW_EN of SFB
49
If values during the PWM output are changed, the new
values will be issued until the beginning of a new period. A
just started period runs always to the end!
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
6.8.1 Process interrupt
The activation of the process interrupt occurs only if at the
same time the counter output is activated and "Diagnostics
+Process" is set in the basic parameters.
Channel no. not valid
(8009h) and Parameter
error (8001h)
Controlling PWM
Overview
Activation
VIPA System 300SDeployment I/O periphery
Diagnostic and interrupt > Process interrupt
HB140 | CPU-SC | 312-5BE13 | GB | 15-50 132