EasyManua.ls Logo

Siemens S7-300 - Page 204

Siemens S7-300
226 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...
Programming without SFB 52 and SFB 53
D.4 FC CAM_CTRL (FC 1)
FM 352 electronic cam controller
204 Operating Instructions, 05/2011, A5E01071724-03
Call parameters
Name Data type P-type Meaning
DB_NO INT I Number of the channel DB
RET_VAL INT O Return value
Return values
The function provides the following return values:
RET_VAL BR Description
1 1 At least 1 job active
0 1 No job active, no error
-1 0 Error:
Data error (DAT_ERR) or
Communication error (JOB_ERR) occurred
Job status
You can read the status of the job execution using the RET_VAL return value and the
JOBBUSY activity bit in the channel DB. You can determine the status of a single job by
evaluating its trigger, done, and error bits.
RETVAL JOBBUSY Trigger bit _EN Done bit _D Error bit _ERR
Job active 1 1 1 0 0
Job completed
without errors
0 0 0 1 0
Job completed
with errors
-1 0 0 1 1
Write job aborted -1 0 0 0 1

Table of Contents

Other manuals for Siemens S7-300

Related product manuals