Loop block operation, Loop block parameters – Micromod MOD: 1800P - MOD 30ML Identity Module (Version 2) System, I/O and Communications Functions User Manual
Page 71
Logic Functions - Book 1
LOOP BLOCK
3-45
3.5.1
Loop Block Operation
The actual behavior of the loop block is indicated by composite state, which is a composite of
state and remote state. The loop’s function blocks only get executed if composite state is
RUN. When state is RUN, composite state is equal to the remote state input, if present and
valid. When state is not RUN, composite state is equal to state and remote state is ignored.
The scan rate for the loop and its function blocks is determined by the scan interval configured
(in the interface block) for the group to which the loop block is assigned. Within a group, the
loops are executed in the order found in the database. When a loop block executes, if its
composite state is RUN, its function blocks whose states are also RUN are executed in the
order found in the database.
The loop block provides the following operator or computer control functions.
•
TAKE CONTROL
A request can be made to take control of a "LOOP" under which
a specified LSP exists. A check is made that no other source of
the same class (CONS/COMP) is currently controlling the
specified "LOOP". If the class is COMP, then a check is made
that the source is also authorized. Control access is defined in
the interface block.
•
RELEASE CONTROL
A request can be made to release control of a "LOOP" under
which a specified LSP exists. A check is made that the source is
currently controlling the specified "LOOP".
•
OVERRIDE CONTROL
A request can be made to demand control of a "LOOP" under
which a specified LSP exists. If class is COMP, then check is
made that the source is also authorized.
3.5.2
Loop Block Parameters
The mnemonics, valid values, and data types for all fields that may be selected for display
and/or be used in making softwiring connections are listed in Table 3-4. The following further
defines the Loop Block configuration parameters.
Block Type
LP
This is the Loop Block type and is present within a loop compound.
Table 3-4. Loop Block Attributes, Valid Values, Mnemonics, and Data Types
Field Name /
Attribute
Mnemonic Valid Values
CWR
Data Type
Attr
Version
VERSION
1
– – R
Long State 00
Block Length
BLKLEN
– – R
Count
01
State
STATE
RUN(0), HOLD(1), OFF(2),
DEBUG(3)
CWR Short State
02
Bad Inputs
BADINP
Rejected (0), Accepted (1)
CWR
Discrete
03
Diagnostic Suppression
Group
SUPPGRP
NONE, 1, 2, 3, 4, 5, 6, or 7
CWR
Long State
04
Remote State Invalid or has
bad quality
RSTS
ENABLE (0),
SUPPRESS (1)
CWR
Discrete
05
Remote state error
unacknowledged
RSTU
NO (0), YES (1)
–WR Discrete
06
Remote state error unack
quality
RSTUQ
GOOD (0)
– – R
Discrete
07
Remote state error Active
RSTA
NO (0), YES (1)
–WR
Discrete
08