Functional description
I IA CE
SIPLUS RIC IEC on S7 V1.5
Page 28 of 28
©SIEMENS AG 2013
3.1.2.4. Additional references for the processing of commands / setpoint commands
The commands are subject of a 1 out of n control.
Only one command is processed at a time
In case of several command messages have to be processed at the same time the block has to
be called several times and has to be filtered onto the corresponding IOA at the inputs
‚First_IOA_or_Para_DB_No’ resp. ‚Last_IOA_or_No_of_Infos’, or a parameter DB has to be al-
located.
The IEC-Originator is mirrored and included in the answer messages if necessary.
Test-Bits and set P/N-Bit in the cause of transmission (COT) lead to,
non treatment’ – the mes-
sage is not processed.
Commands are confirmed negative from block SL_ORG_ASDU if no output block Slo… is
available for processing the command messages within the next OB1 cycle after receipt of a
command message with (with COT 6 or COT 8).
The confirmation is as follows:
- COT 44: unknown TK, if no output block is programmed for the received TK.
- COT 45: unknown COT, if the rec
eived COT isn’t supported by the output block.
- COT 47: unknown IOA, if no output block is programmed for the received IOA.
Select/Execute will be entered into the status bit SE, and transferred but not evaluated for the
command output.
The command is emitted independently from S/E
Command messages with time stamp (TK 58
… 64) are accepted, transferred with time and ex-
ecuted. However in the actual version the time stamp is not evaluated.
Commands can be cached in a command buffer DB in case a command is already active. With it fast
‘none supervised’ command sequences are supported.
The processing is as follows:
The buffered commands are executed serial, i.e. the next command is executed after the pre-
ceding command has been executed.
The commands are processed in the sequence of its arrival.
Abortion commands have no effect to commands in the buffer.
Without cache:
(‚Cmd_Buffer_Dim’ = 0, or Buffer-DB could not be created) Further switching
commands arriving during an active command are refused (negative confirmed).
With cache:
Commands are immediately forwarded, if no command is active.
With cache:
Switching commands are buffered if
a command is active / executed
already minimum one command is in the buffer
With cache:
Commands are refused, if the buffer is full.
Command processing in case of connection failure
After the connection failure to the (IEC-) partner disappears the send buffer of the IEC
Master is cleared.
This avoids the delayed output of commands which were activated during an identified
connection failure.
The corresponding commands have to be initiated new if necessary.