Documente Academic
Documente Profesional
Documente Cultură
Operating principle 2
Time characteristics 3
PCS 7
Message characteristics 4
CEMAT
Storage Module C_STORAG 5
Module states
Operator Commands 6
Function Manual
Feature Bits 7
OS Permissions 8
I/O-bar of C_STORAG 9
OS-Variable table 10
Variable details 11
07/2016
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be
used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property
damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified
personnel are those who, based on their training and experience, are capable of identifying risks and avoiding
potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended or
approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described.
Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in
this publication is reviewed regularly and any necessary corrections are included in subsequent editions.
1 Function........................................................................................................................................................5
1.1 General Function description...................................................................................................6
1.2 Change of operation mode.....................................................................................................10
1.3 Storage locked.......................................................................................................................11
1.4 Sequence Test.......................................................................................................................12
1.5 Visualization...........................................................................................................................13
2 Operating principle.....................................................................................................................................15
2.1 Input interfaces.......................................................................................................................15
2.1.1 Interfaces for mode change...................................................................................................17
2.1.2 Inputs for testing and as Interface to the OS..........................................................................20
2.1.3 Process Parameters...............................................................................................................20
2.1.4 Process Parameter for Simulation.........................................................................................21
2.1.5 Process Parameters for alarm/warning limits.........................................................................21
2.1.6 Process Parameter for delaying outgoing fault/warnings.......................................................22
2.1.7 Storage Parameters...............................................................................................................23
2.1.8 Material Parameters...............................................................................................................25
2.1.9 User Faceplate call................................................................................................................27
2.1.10 Batch Parameters..................................................................................................................27
2.1.11 OS Permissions and Features:..............................................................................................28
2.2 Group and Object links...........................................................................................................30
2.2.1 Example of a circuit:...............................................................................................................33
2.3 Output interfaces....................................................................................................................34
2.3.1 Outputs for testing and as Interface to the OS.......................................................................34
2.3.2 Output status for connection to other blocks..........................................................................39
2.4 Engineering Errors.................................................................................................................42
3 Time characteristics....................................................................................................................................43
4 Message characteristics.............................................................................................................................45
5 Module states.............................................................................................................................................47
6 Operator Commands..................................................................................................................................49
7 Feature Bits................................................................................................................................................51
8 OS Permissions..........................................................................................................................................53
9 I/O-bar of C_STORAG................................................................................................................................55
10 OS-Variable table.......................................................................................................................................61
11 Variable details...........................................................................................................................................63
11.1 Variable details COMMAND...................................................................................................63
11.2 Variable details MSG8_EVID.................................................................................................64
Calling OBs
All CEMAT Functions must be installed in the same OB, which is preferable OB1. The System
Chart SYSPLCxx contains infrastructure blocks which must be called at the Beginning
(Runtime group OB1_START) and at the End (Runtime group OB1_END) of this OB.
The application program must be called between OB1_START and OB1_END.
Calling of the CEMAT blocks in a cyclic interrupt OB (OB34 or OB35) is possible, but only if
the complete program is called in the same cyclic interrupt OB. In this case the infrastructure
blocks must as well be moved to the cyclic interrupt OB (see Engineering Manual chapter
Tips&Tricks)
● material name
● brief name storage
Note
Block functions are only active in automatic mode. If the block is switched to Out of Service,
operation of the storage block is inhibited, the outputs are set to "0", all messages are
suppressed and only the status words are updated. All memorized functions are reset.
Limit Supervision:
If an external level instrument is available, supervision is possible for two binary inputs "Storage
empty" and "Storage full".
The analog process value of the filling level is monitored for 4 limits. With violation of Value L
limit L_Lim or Value H limit H_Lim a warning message is generated. With violation of Value
LL limit LL_Lim or Value HH limit HH_Lim, a fault message is created. The status "limit
violated" is additionally available as block outputs PV_L, PV_H, PV_LL and PV_HH.
● With interface DynFltEn alarms and dynamic faults can be suppressed in general. (In case
of a limit violation the block shows only static indications).
This behavior can be desired during the start-up or for non running equipment.
● The interface enable messages MsgEn can be used in order to prevent an onrush of
messages in case of power failure. As long as MsgEn has 0-Signal the message generation
in the block is frozen and neither incoming nor outgoing messages are created.
● Via interface GrFltLck the block can be deselected for the summarizing indication in group
and route. In the status call the fault and warnings can still be seen.
● Via interface GrStaLck the block can also be deselected form the summarizing indication
in group and route. In this case the block faults and warnings are not entered in the status
call.
● Through configuration of a hysteresis at parameter Hysteres it can be prevented that a
process value which is very close to the limit (sometimes below, sometimes above)
continuously creates incoming and outgoing messages. The outgoing message will only
be created if the value goes above the hysteresis value.
● Via parameter LZDelTi the live zero message can be delayed. If the Value is invalid for
a short time, no message is created.
Additional Supervisions:
Additionally to the limits the following supervisions are possible:
● Dedusting running: If the group is running the dedusting must be ON (DedustOn must have
1-Signal). Missing dedusting leads first to a warning message and after expiring of time
DedDelTi it leads to an alarm message.
● Different Material: If the charging material is different from the assigned materiel the storage
block creates a warning message.
● Storage locked: If the storage is locked it leads to an alarm message.
● If the block is switched to simulation, instead of the input value the simulation value is
displayed and transferred to the output PV_Out.
The change to simulation is carried out via diagnosis window or automatically if the AS is
switched to sequence test mode.
OS_ Perm.bit15 must be TRUE to enable switching to simulation via OS.
● Unit for Storage level UNIT Physical unit for filling level of the storage
Storage parameters
The following values can be configured online:
Material parameters
The following values can be configured online:
Batch parameters
The following values can be configured online:
If Feature.bit26 = TRUE the operation mode of the storage block is included in the
summarizing indication of the group block icon.
Storage locked
The storage can be locked via Operator command or by program (via input StoLocked). In
this case output Ready will be reset, which can be used in order to disable filling.
The Storage locked function must be enabled via Feature bit setting:
For the lock/unlock via Operator Faceplate the following OS Permission is needed:
1.5 Visualization
In the block icon of the storage block the most important operation status are displayed (ok,
fault, warning, simulation). Refer to Variable Details. Control functions and detail information
are only available after opening the faceplate.
For status information the following variables exist:
StoType
APF_ACT
GroupON
StoLocked
Interlock
ChargOn
DisChaOn
HomogOn
StoEmpty
StoFull
DedustOn
DiffMat
DynFltEn (SAMV)
AutModOn
OoSModOn
MsgEn (SMFR)
Note
If MsgEn has 0-Signal the storage faults/warnings are not shown in the summarizing indication
of group and route and not listed in the status call.
GrFltLck (SMZS)
GrStaLck (GFSO)
GrStaLck 1 = don't incl. in group sum. ind.+status call Basic state 0-Signal
Format BOOL
1-Signal at GrStaLck completely deselects the storage block for the Group Summarizing fault
and for the Group Status Call.
The function is similar to interface GrFltLck but the storage block is excluded from status
call as well.
Ack (SQIT)
Note
Using Ack for individual acknowledgement, the acknowledgement interface at the C_PUSHBT
must not be connected.
For group-wise acknowledgement connect the output AckGr of the corresponding group to
interface Ack of the storage block. See Engineering Manual, chapter AS-Engineering.
PV
PV Process value
Format STRUCT
Interface PV must be connected with the process signal of the filling level. Input PV can be
connected to output PV_Out of a PCS 7 channel driver block Pcs7AnIn or to a physical value
in REAL format.
Structure variables:
PV.Value Value Default: 0.0
Format REAL
PV.ST Signal status Default: 16#FF
Format BYTE
UNIT
MSG8_EVID1
MSG8_EVID2
COMMAND
The process parameters can either be set in the CFC during engineering and/or modified by
the operator, if the Operator has the corresponding OS Permission:
Note
To permit the modification of the process values from the faceplates, they must not be
connected in the CFC.
SimPV
HH_Lim
H_Lim
L_Lim
LL_Lim
LZDelTi
Hysteres
Height
StoWidth
Length
StoDiam
Capacity
StoHour
ScaleLo
DedDelTi
ChambNo
MatQuali
MQ_IN
Structure variable:
MQ_IN.Value Value Default: 0.0
Format REAL
MQ_IN.ST Signal status Default: 16#FF
Format BYTE
With OS_Perm.bit31 = TRUE the operator is permitted to change the charging material
quantity.
MQ_OUT
Structure variable:
MQ_OUT.Value Value Default: 0.0
Format REAL
MQ_OUT.ST Signal status Default: 16#FF
Format BYTE
With OS_Perm.bit31 = TRUE the operator is permitted to change the discharging material
quantity.
MQ_UNIT
Material
ChargMat
ASMatCl
ASMatTy
ASMat
ASStoCl
ASStora
SelFp1
Note
The button description for the User Function button in the standard faceplate is fixed, but the
tooltip text can be entered via Property 'OS additional text'. Default value can not be configured
as a property of the block input. Value can only be defined in the CFC.
BatchEn
BatchID
BatchName
OS_Perm
Note
It is not allowed to connect any logic to OS_Perm input.
OpSt_In
Feature
Note
It is not allowed to connect any logic to Feature input.
Group/Route links
Each storage block must be linked to a group or route in order to collect the status of the objects
for summarizing indications.
The group link is essential for control and diagnosis and comprises the following functions:
● All objects, linked to the group (or route) are listed in the group (or route) object list.
● All objects, linked to the group (or route) are highlighted in the process picture with button
"Show related objects".
● The faults of all objects, linked to the group (or route) are included in the summarizing fault
indication of the group (or route).
● The warnings of all objects, linked to the group (or route) are included in the summarizing
warning indication of the group (or route).
● In case of a dynamic fault during the startup of the group, the group start will be interrupted.
A storage block can be linked to two groups or routes via GR_LINK1 and GR_LINK2. If a
storage block belongs to more than two groups or routes the additional block C_MUX must be
inserted, which provides 5 additional link interfaces.
Note
The main group (or main route) should be connected to GR_LINK1! This is the one which is
opened with a click on button "Main group" in the faceplate of the storage block.
Via additional feature bit settings, control commands can also be transmitted through the group/
route link interface.
With Feature.Bit26 = TRUE the mode information of the storage block is automatically
transmitted to the allocated group.
Note
This is the only way of transmitting the mode feedback from the storage block to the group. In
difference to the drive blocks the C_STORAG block has no output OoSAct for connection to
FbObjOoS.
GR_LINK1
Note
GR_LINK1 must be used for the main group!
Structure variables:
GR_LINK1.Link Link Default: 0
Format INTEGER
GR_LINK1.Command Group / Route Command Default: 16#00
Format WORD
GR_LINK2
Structure variables:
GR_LINK2.Link Link Default: 0
Format INTEGER
GR_LINK2.Command Group / Route Command Default: 16#00
Format WORD
MUX_LINK
Note
If a C_MUX block is used, the programming order is very important. The C_MUX must be called
before the storage block!
If the same C_MUX block is connected to more than one object (e. g. the drive and
annunciations and measures of the same equipment), it is essential that no different group link
(or C_MUX) is programmed between those objects.
Structure variables:
MUX_LINK.Point_GRL PointerDefault: 0
Format INTEGER
MUX_LINK.Command Group / Route Command Default: 16#00
Format WORD
Note
Check the runtime sequence! The C_MUX module must be called before the storage block.
For the other modules the run sequence is as follows: first the annunciation blocks, measures
and drives/devices, then the associated routes and finally the associated groups.
Note
Some people use one C_MUX block and connect its output to a number of drives/devices,
annunciations and measurements.
If you do so, make sure that the C_MUX is called before all the other objects and that no other
C_MUX call comes in between.
We don't recommend using the same C_MUX if the blocks are located in different runtime
groups.
CHA_OUT
Structure variable:
CHA_OUT.STATUS STATUS Infos
Format DWORD
Status information
CHA_OUT.PV_Out_Value Process value (Analog Output)
Format REAL
Corresponds to input PV_Out.Value
CHA_OUT.ST Process value Signal status
Format BYTE
Corresponds to input PV_Out.ST
CHA_OUT.PV_Stat_UNIT Process value Unit
Format STRING (8 Characters)
Corresponds to input PV_Stat.UNIT
CHA_OUT.PV_Stat_STA‐ Process value status
TUS
Format DWORD
Corresponds to input PV_Stat.STATUS
CHA_OUT.V_HH_O Value HH Limit
Format REAL
Corresponds to input HH_Lim
CHA_OUT.V_H_O Value H Limit
Format REAL
Corresponds to input H_Lim
CHA_OUT.V_L_O Value L Limit
Format REAL
Corresponds to input L_Lim
CHA_OUT.V_LL_O Value LL Limit
Format REAL
Corresponds to input LL_Lim
STATUS
STATUS Interface to OS
Format DWORD
Interface to OS
For more information see Variable details.
PV_Out
Structure variables:
PV_Out.Value Value
Format REAL
PV_Out.ST Signal status
Format BYTE
PV_Stat
Structure variables:
PV_Stat.UNIT Unit
Format STRING[8]
PV_Stat.STATUS Status
Format DWORD
HH_LimQ
H_LimQ
L_LimQ
LL_LimQ
MV_I
Structure variables:
MV_I.Value Value
Format REAL
MV_I.ST Signal status
Format BYTE
ALARM
DelayCon
FeatureOut
OS_PermOut
OS_PermLog
OpSt_Out
Ready
Ready Ready
Format BOOL
The output Ready will be set, if:
- the storage is not locked (input StoLocked has 0-Signal or lock via Operator command)
- Interlock signal is ok (input Interlock has 1-Signal)
- no high alarms are present
- annunciations are acknowledged
PV_HH
PV_H
PV_L
PV_LL
LZ (ULZ)
LZ Live Zero
Format BOOL
In case of a card/channel failure for the analog input (signal status PV.ST = 16#00), the
process value is interpreted as being faulty and, after the live zero delay time has elapsed, bit
LZ is set and an alarm message for "Bad Quality" is created.
DedFlt
Ready
Ready Ready
Format BOOL.
The Output Ready will be set, if:
● the Storage is not locked (input StoLocked has 0-Signal)
● Interlock signal is ok (input Interlock has 1-Signal)
● no high Alarms are present
● Annunciations are acknowledged
DedFlt
DynFlt
Fault
SimActQ
Note
Simulation at the channel driver block has no influence on SimActQ!
ReadAPF
ST_Worst
If Feature.bit22 = TRUE, the worst status is additionally transmitted to the block outputs
(and via this to the next block).
The worst status of the analog values MQ_IN, MQ_OUT, PV and the 'internal simulation' is
transmitted to output PV_Out.
The worst status of the analog value PV is transmitted to output MV_I.
ErrorNum
Note
Only one error number can be indicated at a time!
Additional indications:
A detailed description of the individual Feature bits can be found in the chapters above.
Feature bits of block C_STORAG can be modified at any time, but we recommend switching
the block to Out of Service mode.
Note
Do not connect any logic to input Feature
A detailed description of the individual OS Permission bits can be found in the chapters above.
Note
Do not connect any logic to input OS_Perm.