EasyManua.ls Logo

YASKAWA VIPA SPEED7 - Page 774

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...
5. Call the SFB 49:
n SW_EN = TRUE (edge 0-1)
n JOB_ID = 0Ch: Attach 2. pulse train job to the 1. pulse train job.
n JOB_REQ = TRUE (edge 0-1)
n OUTP_VAL: Enter the duty factor such as 50%.
ð
n As long as the 1. pulse train job is still running, the 2. pulse train job is
attached. Otherwise you receive the error message 0461h as return value.
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
Please note that a maximum of 2 pulse train jobs can be exe-
cuted directly after another!
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.
Return value JOB_STAT
VIPA SPEED7
Integrated Standard
System Function Blocks > SFB 49 - PULSE - Pulse width modulation
HB00 | OPL_SP7 | Operation list | en | 18-30 774

Table of Contents

Related product manuals