Programming the FM 352
7.6 Interrupts
FM 352 electronic cam controller
52 Operating Instructions, 05/2011, A5E01071724-03
7.6 Interrupts
Interrupt processing
The FM 352 can trigger hardware and diagnostic interrupts. You process those interrupts in
an interrupt OB. If an interrupt is triggered and the corresponding OB is not loaded, the CPU
goes to STOP mode (refer to the
Programming with STEP 7
Manual).
You can enable interrupt processing in the following stages:
1. Global interrupt enable for the entire module
– Select the module in HW Config
Select Edit > Object Properties > Basic Parameters, then enable the diagnostic and/or
hardware interrupt.
– Select the OB number for the hardware interrupt using Edit > Object Properties >
Addresses.
– Save and compile the hardware configuration.
– Download the hardware configuration to the CPU.
2. Enable the hardware interrupt events in the machine data.
3. Assign the hardware interrupts in the cam data for cams 0 to 7.