Name
Data type
Address
(DB)
Default
Comment
JOB_REQ
BOOL
8.0
FALSE
Initiates the job (edges 0-1)
JOB_ID
WORD
10.0
0
Job ID:
00h Job without function
01h write period duration
02h write on-delay
04h write minimum pulse duration
81h read period duration
82h read on-delay
84h read minimum pulse duration
JOB_VAL
DINT
8.0
0
Value for write jobs.
-2147483648 (-2
31
) to
+2147483647 (2
31
-1)
Call the SFB. The job is processed immediately.
JOB_DONE
only applies to SFB
run with the result FALSE.
JOB_ERR
= TRUE if an error occurred. Details on the
error cause are indicated at
JOB_STAT
.
Name
Data type
Address
(DB)
Default
Comment
JOB_DONE
BOOL
22.0
TRUE
New job can be started
JOB_ERR
BOOL
22.1
FALSE
Job error
JOB_STAT
WORD
24.0
0000h
Job error ID
0000h No error
0411h Period duration time too low
0412h Period duration time too high
0421h On-delay too low
0422h On-delay too high
0431h Minimum pulse duration too low
0432h Minimum pulse duration too high
04FFh Invalid job ID
8001h Parameter error
8009h Channel no. not valid
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.
Channel no. not valid
(8009h) and Parameter
error (8001h)
VIPA System SLIO
Deployment I/O periphery
Pulse width modulation - PWM > SFB 49 - PULSE - Pulse width modulation
HB300 | CPU | 013-CCF0R00 | en | 16-40
141