Siemens SIMATIC S5-115U User Manual page 399

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

S5-115U Manual
The CONTROL Block - FB247 -
FB247 updates the job status word for a specific job or indicates which job is currently in progress.
Calling FB247 (Example)
STL
: JU
NAME
: CONTROL
SSNR
:
A-NR
:
ANZW
:
PAFE
:
:
***
Description of the CONTROL Function
The CONTROL function requires the following parameters:
SSNR -
interface number
A-NR
-
number of the job to be monitored
ANZW -
job status word where the result is to be stored
PAFE -
parameter assignment error byte
The CONTROL block implements different functions depending on the job number.
A-NR="0"
The CP is asked which job is currently in progress. The CP writes the number of the current job in
job location 0. The contents of this location are transferred to the low-order byte of the job status
word when the CONTROL block is processed.
A-NR "0"
The block executes in CONTROL DIRECT mode:
The status of a specific job is interrogated.
The job status word is updated.
Processing of this block does not depend on the RLO. However, FB247 should be called in the cyc-
lic part of the control program.
EWA 4NEB 811 6130-02b
FB
247
KY
0,10
KY
0,101
FW
20
FY
22
Integral Blocks
CSF/LAD
FB247
CONTROL
SSNR
A-NR
ANZW
PAFE
11-25

Advertisement

Table of Contents
loading

Table of Contents