EasyManua.ls Logo

Siemens S7-1200 - Cyclic Interrupts; SET_CINT (Set Cyclic Interrupt Parameters) Instruction

Siemens S7-1200
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Extended instructions
8.4 Interrupts
S7-1200 Programmable controller
334 System Manual, 03/2014, A5E02486680-AG
DETACH operation
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.
Condition codes
Table 8- 87 Condition codes
RET_VAL (W#16#....)
ENO
Description
0000
1
No error
0001
1
Nothing to Detach (DETACH only)
8090
0
OB does not exist
8091
0
OB is wrong type
8093
0
Event does not exist
8.4.2
Cyclic interrupts
8.4.2.1
SET_CINT (Set cyclic interrupt parameters) instruction
Table 8- 88 SET_CINT (Set cyclic interrupt parameters)
LAD / FBD
SCL
Description
ret_val := SET_CINT(
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
Parameter and type
Data type
Description
OB_NR
IN
OB_CYCLIC
OB number (accepts symbolic name)
CYCLE
IN
UDInt
Time interval, in microseconds
PHASE IN UDInt Phase shift, in microseconds
RET_VAL
OUT
Int
Execution condition code

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals