The ‘output format’ for PWM and pulse train can be set via the hardware configuration.
Depending on the output format, there are the following range of values for the output
value:
n Output in ‰
– Range of values: 0 ... 1000
– Pulse duration = (OUTP_VAL / 1000) x period duration
n Output format: S7 analog value
– Pulse duration = (OUTP_VAL / 27648) x period duration
– Range of values: 0 ... 27648
Job number
n 00h: Job without function
n 01h: Write period duration for PWM and. 1 pulse train job
Range of values in dependence of the time base:
– 1ms: 1 ... 87
– 0.1ms: 1 ... 870:
– 10µs 2 ... 8700
– 1µs: 20 ... 65535
n 02h: Write on-delay
Range of values in dependence of the time base:
– 1ms: 0 ... 65535
– 0.1ms: 0 ... 65535
– 10µs 0 ... 65535
– 1µs: 0 ... 65535
n 04h: Write minimum pulse duration
Range of values in dependence of the time base:
– 1ms: 0 ... Period duration/2
– 0.1ms: 0 ... Period duration/2
– 10µs 0 ... Period duration/2
– 1µs: 5 ... Period duration/2
n 08h: Write number of pulses for the 1. pulse train job
Range of values:
– 0 ... 8.388.607
n 09h: Write number of pulses for the 2. pulse train job
Range of values:
– 0 ... 8.388.607
n 0Ah: Period duration for writing 2. pulse train job
n 0Bh: Write time base
– 00h: 0.1ms
– 01h: 1ms
– 02h: 1µs:
– 03h: 10µs
n 0Ch 2. Attach pulse train job to the 1. pulse train job
– With this job number, the duty factor for the 2. pulse train job is additionally to be
specified via OUTP_VAL.
n 81h: Read period duration of PWM and 1. pulse train job
n 82h: Read on-delay
n 84h: Read minimum pulse duration
n 88h: Read number of pulses of the 1. pulse train job
n 89h: Read number of pulses of the 2. pulse train job
OUTP_VAL
JOB_ID
VIPA SPEED7
Integrated Standard
System Function Blocks > SFB 49 - PULSE - Pulse width modulation
HB00 | OPL_SP7 | Operation list | en | 18-30 769