Examples
13.9 Sample program 3 "One Module"
FM 352 electronic cam controller
Operating Instructions, 05/2011, A5E01071724-03
159
Step 3: Cams 0 and 1 receive new parameters. To let you view the change, the cam data
are read before and after the change and indicated at VAT1.
Step 4: The program waits for the set jobs to be executed.
Step 5: The program waits for the "external" event "switch on" (CAM.SWITCH = 1), which
you can set via the VAT.
Step 6: The incoming event resets cams 0 and 1 to the value read in the initialization step.
Step 7: The program waits for the set jobs to be executed.
FB CAM_CTRL and FB CAM_DIAG are called at the end of the step sequence. The
CAM_ERR output will be set if the diagnostics function has detected a message about
incorrect cam data.