Programming the FM 352
7.3 FB CAM_CTRL (FB 1)
FM 352 electronic cam controller
46 Operating Instructions, 05/2011, A5E01071724-03
Reaction to errors
If faulty data were written by a write job, the module returns the message DATA_ERR = 1. If
an error occurs during communication with the module for a write or read job, the cause of
the error is entered in the JOB_ERR parameter in the channel DB.
● Error in a write job:
If an error occurs in a job, the trigger bit is canceled and error bit _ERR and done bit _D
are set. The trigger bit is canceled and error bit _ERR is also set for all write jobs still
pending.
The pending read jobs will continue to be processed. JOB_ERR is reset again for each
job.
● Error in a read job:
If an error occurs in a job, the trigger bit is canceled and error bit _ERR and done bit _D
are set.
The read jobs still pending continue to be processed. JOB_ERR is reset again for each
job.
For further error information, refer to the JOB_ERR and DATA_ERR parameters (see
chapter "Diagnostics (Page 145)" and "Data and Structure of the Diagnostic DB
(Page 187)"
).
Application in the user program
The FB CAM_CTRL is indeed a multiple instance block, however cannot be used as a
multiple instance in a user block.