Siemens S7-300 Operating Instructions Manual page 204

Fm 352 electronic cam controller
Hide thumbs Also See for S7-300:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents