Integral Blocks
The RESET Block - FB248 -
FB248 resets a job executing over the specified interface. RESET can execute in two different
modes:
•
RESET All
If you assign "0" as the job number, all jobs for the specified interface are reset.
•
RESET Direct
If you assign a number " 0" as the job number, only the specified job is reset.
Calling FB248 (Example)
STL
: JU
NAME
: RESET
SSNR
:
A-NR
:
PAFE
:
:
***
Parameter Description
FB248 requires the following parameters:
•
SSNR -
interface number
•
A-NR
-
number of the job that is to be reset
•
PAFE -
parameter assignment error byte
RESET Function Description
In both modes,
•
the job data are deleted.
•
active jobs are aborted.
FB248 executes dependent on the RLO, and can be invoked in both the cyclic program and in an
interrupt service routine.
11-26
FB
248
KY
0,1
KY
0,0
FY
111
S5-115U Manual
CSF/LAD
FB248
RESET
SSNR
PAFE
A-NR
EWA 4NEB 811 6130-02b