Name
Declaration
Data type
Address
(Inst.-DB)
Default
value
Comment
OUTP_VAL
INPUT
INT
6.0
0
Output value
JOB_REQ
INPUT
BOOL
8.0
FALSE
Initiates the job (edge 0-1)
JOB_ID
INPUT
WORD
10.0
0
Job ID
JOB_VAL
INPUT
DINT
12.0
0
Value for write jobs
STS_EN
OUTPUT
BOOL
16.0
FALSE
Status of the internal gate
JOB_DONE
OUTPUT
BOOL
16.3
TRUE
New job can be started.
JOB_ERR
OUTPUT
BOOL
16.4
FALSE
Job error
JOB_STAT
OUTPUT
WORD
18.0
0
Job error ID
Name
Data type
Address
(Instance DB)
Default
Comment
JOB_OVAL
DINT
20.0
-
Output value for read request.
Per channel you may call the SFB in each case with the same instance
DB, since the data necessary for the internal operational are stored here.
Writing accesses to outputs of the instance DB is not permissible.
To read/write the registers of the pulse width modulation the request interface of the SFB
49 may be used.
So that a new job may be executed, the previous job must have be finished with
JOB_DONE
= TRUE.
The deployment of the request interface takes place at the following sequence:
Edit the following input parameters:
Local data only in
Instance DB
PWM Request interface
Proceeding
VIPA System SLIO
Deployment I/O periphery
Pulse width modulation - PWM > SFB 49 - PULSE - Pulse width modulation
HB300 | CPU | 013-CCF0R00 | en | 16-40
140