Extended instructions
8.4 Interrupts
S7-1200 Programmable controller
334 System Manual, 03/2014, A5E02486680-AG
Use the DETACH instruction to detach either a particular event or all events from a particular
OB. If an EVENT is specified, then only this one event is detached from the specified
OB_NR; any other events currently attached to this OB_NR will remain attached. If no
EVENT is specified, then all events currently attached to OB_NR will be detached.
Table 8- 87 Condition codes
Nothing to Detach (DETACH only)
Cyclic interrupts
8.4.2.1
SET_CINT (Set cyclic interrupt parameters) instruction
Table 8- 88 SET_CINT (Set cyclic interrupt parameters)
ob_nr:=_int_in_,
cycle:=_udint_in_,
phase:=_udint_in_);
Set the specified interrupt OB to begin cyclic execution
that interrupts the program scan.
Table 8- 89 Data types for the parameters
OB number (accepts symbolic name)
Time interval, in microseconds
PHASE IN UDInt Phase shift, in microseconds