EasyManua.ls Logo

YASKAWA VIPA SPEED7 - Page 773

YASKAWA VIPA SPEED7
1007 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9. Call the SFB 49:
n SW_EN = TRUE (edge 0-1)
n JOB_REQ = TRUE (edge 0-1)
n OUTP_VAL: Enter the duty factor such as 50%.
ð
n The 1. pulse train job is started and then if present the 2. pulse train job.
n Via STS_EN you get the current status of the pulse train output. As long as
the required number of pulses is output, STS_EN returns TRUE. STS_EN
returns FALSE if either the requested number of pulses has been output or
output with SW_EN = FALSE was terminated early.
n On error JOB_ERR = TRUE and the cause of the error is returned in
JOB_STAT
10. To reset JOB_REQ, call SFB 49 again with the same parameters and JOB_REQ =
FALSE.
11. Call the SFB 49 cyclically:
n SW_EN = FALSE
n Via STS_EN you get the current status of the pulse train output.
12. As soon as JOB_DONE returns TRUE, you can transfer additional pulse train jobs
by repeating the steps 1 to 6.
13. By resetting of SW_EN (SW_EN = FALSE) the output is immediately stopped.
14. With reading jobs, you can find the values to be read in the parameter JOB_OVAL
in the instance DB at address 20.
As long as only one pulse train job is defined and currently being processed, there is the
possibility to attach a 2. pulse train job to the 1. pulse train job.
1.
Call the SFB 49:
n SW_EN = TRUE (edge 0-1)
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 From JOB_VAL the number of pulses for the 2. 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 = TRUE
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
4. To reset JOB_REQ, call SFB 49 again with the same parameters and JOB_REQ =
FALSE.
Extend a running pulse
train job
VIPA SPEED7
Integrated Standard
System Function Blocks > SFB 49 - PULSE - Pulse width modulation
HB00 | OPL_SP7 | Operation list | en | 18-30 773

Table of Contents

Related product manuals