The request interface is used according to the following sequence:
1. Call the SFB 49:
n SW_EN = FALSE
n JOB_VAL = Enter a value for the number of pulses here.
n JOB_ID = 08h: Write number of pulses for the 1. pulse train job.
n JOB_REQ = TRUE (edge 0-1)
ð
n From JOB_VAL the number of pulses for the 1. pulse train job is trans-
mitted.
n JOB_DONE is FALSE during the SFB run.
n On error JOB_ERR = TRUE and the cause of the error is returned in
JOB_STAT
2. To reset JOB_REQ, call SFB 49 again with the same parameters and JOB_REQ =
FALSE.
3. Call the SFB 49:
n SW_EN = FALSE
n JOB_VAL = Enter a value for the period duration here.
n JOB_ID = 01h: Write period duration for the 1. pulse train job.
n JOB_REQ = TRUE (edge 0-1)
ð
n From JOB_VAL the period duration for the 1. pulse train job is transmitted.
n JOB_DONE is FALSE during the SFB run.
n On error JOB_ERR = TRUE and the cause of the error is returned in
JOB_STAT
4. To reset JOB_REQ, call SFB 49 again with the same parameters and JOB_REQ =
FALSE.
5. Optional for the 2. pulse train job: Call the SFB 49:
n SW_EN = FALSE
n JOB_VAL = Enter a value for the number of pulses here.
n JOB_ID = 09h: Write number of pulses for the 2. pulse train job.
n JOB_REQ = TRUE (edge 0-1)
ð
n The number of pulses for the 2. pulse train job is transmitted.
n JOB_DONE is FALSE during the SFB run.
n On error JOB_ERR = TRUE and the cause of the error is returned in
JOB_STAT
6. To reset JOB_REQ, call SFB 49 again with the same parameters and JOB_REQ =
FALSE.
7. Optional for the 2. pulse train job: Call the SFB 49:
n SW_EN = FALSE
n JOB_VAL = Enter a value for the period duration here.
n JOB_ID = 0Ah: Write period duration for the 2. pulse train job.
n JOB_REQ = TRUE (edge 0-1)
ð
n From JOB_VAL the period duration for the 2. pulse train job is transferred.
n JOB_DONE is FALSE during the SFB run.
n On error JOB_ERR = TRUE and the cause of the error is returned in
JOB_STAT
8. To reset JOB_REQ, call SFB 49 again with the same parameters and JOB_REQ =
FALSE.
Controlling the pulse train
output
VIPA SPEED7
Integrated Standard
System Function Blocks > SFB 49 - PULSE - Pulse width modulation
HB00 | OPL_SP7 | Operation list | en | 18-30 772