Академический Документы
Профессиональный Документы
Культура Документы
PCS7 V6.1
Function Description
WARNING
means that death, serious bodily injury or considerable property damage may occur unless the
respective precautions are taken.
CAUTION
means that slight bodily injury or property damage may occur unless the respective precautions
are taken.
CAUTION
means that property damage may occur unless the respective precautions are taken.
ATTENTION
is an important information about the product, handling of the product or the respective part of
the documentation to which attention is particularly drawn.
Qualified personnel
Commissioning and operation of a device must be carried out by qualified personnel only.
Qualified personnel in the sense of the safety-relevant instructions in this manual are persons
who are authorized to commission, ground and mark devices, systems and electric circuits
according to the safety-relevant standards.
Intended use
Note as follows:
WARNING
This device must only be used for the applications as provided in the catalog and in the
technical specification and only in connection with third-party devices and components which
are recommended and approved by Siemens.
Proper and safe operation of the product is provided that proper transport, storage, erection and
installation as well as operation and maintenance are ensured.
Trademarks
SIMATIC®, SIMATIC HMI®, SIMATIC NET®, SIROTEC®, SINUMERIK® and USS® are
registered trademarks of Siemens AG. Other designations used in this publication may be
trademarks whose use by third parties for their own purposes could violate the rights of the
owners.
Copyright © Siemens AG 2000, 2001, 2003, 2004, 2005 All rights Disclaimer of Liability
reserved We checked the contents of the publication for compliance with the
Distribution and reproduction of this documentation and use and described hardware and software. Variations can, nevertheless, not be
disclosure of its contents is not allowed, unless expressly allowed excluded so that we do not assume any guarantee for entire compliance.
otherwise. Non-compliance renders liable to pay compensatory damages. The information in this publication is regularly revised and any necessary
All rights reserved, particularly in the case a patent is granted or a design corrections are included in the subsequent revisions. Improvement
is registered. proposals are welcome.
.Siemens AG
Bereich Automation and Drives We reserve the right to make technical changes.
Geschäftsgebiet Industrial Automation Systems
Postfach 4848, D-90327 Nürnberg
Contents Function Description SIMOCODE SP1 pro Library SP1 for PCS7 V6.1
TABLE OF CONTENTS
SAFETY INSTRUCTIONS .............................................................................................................2
1 INTRODUCTION.............................................................................................................. 9
3 DESCRIPTION OF BLOCKS......................................................................................... 18
Siemens AG 3
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Contents
4 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Contents Function Description SIMOCODE SP1 pro Library SP1 for PCS7 V6.1
3.7 SMC_STAR: Signal-processing block for control function ”star/delta starter” .... 85
3.7.1 Calling OBs ............................................................................................................... 85
3.7.2 Called blocks ............................................................................................................. 85
3.7.3 Parameterization in SIMOCODE ES......................................................................... 85
3.7.4 Function..................................................................................................................... 88
3.7.5 Assignment of the cyclic process image ................................................................... 88
3.7.6 Operating modes....................................................................................................... 89
3.7.7 Control stations for MANUAL and AUTOMATIC mode ............................................ 90
3.7.8 Overview Control Stations, Operating Modes, Operator Control Modality .............. 91
3.7.9 Simulation.................................................................................................................. 92
3.7.10 Interlock..................................................................................................................... 92
3.7.11 Local Interruption ...................................................................................................... 92
3.7.12 Current and current limit monitoring.......................................................................... 92
3.7.13 Message characteristics............................................................................................ 93
3.7.14 Reset behaviour ........................................................................................................ 95
3.7.15 Startup characteristics............................................................................................... 95
3.7.16 Time response........................................................................................................... 95
3.7.17 Block parameters ...................................................................................................... 96
3.7.18 State displays for symbols ........................................................................................ 99
3.7.19 Description of faceplates........................................................................................... 99
3.8 SMC_REVS: Signal-processing block for control function ”star/delta starter with
reversal” ...................................................................................................................... 102
3.8.1 Calling OBs ............................................................................................................. 102
3.8.2 Called blocks ........................................................................................................... 102
3.8.3 Parameterization in SIMOCODE ES....................................................................... 102
3.8.4 Function................................................................................................................... 104
3.8.5 Assignment of the cyclic process image ................................................................. 105
3.8.6 Operating modes..................................................................................................... 106
3.8.7 Control stations for MANUAL and AUTOMATIC mode .......................................... 107
3.8.8 Overview Control Stations, Operating Modes, Operator Control Modality ............ 108
3.8.9 Simulation................................................................................................................ 109
3.8.10 Interlock................................................................................................................... 109
3.8.11 Local Interruption .................................................................................................... 109
3.8.12 Current and current limit monitoring........................................................................ 109
3.8.13 Message characteristics.......................................................................................... 110
3.8.14 Reset behaviour ...................................................................................................... 113
3.8.15 Startup characteristics............................................................................................. 113
3.8.16 Time response......................................................................................................... 113
Siemens AG 5
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Contents
3.11 SMC_VAL: Signal-processing block for control function ”valve” ........................ 163
3.11.1 Calling OBs.............................................................................................................. 163
3.11.2 Called blocks ........................................................................................................... 163
3.11.3 Parameterization in SIMOCODE ES....................................................................... 163
3.11.4 Function................................................................................................................... 166
3.11.5 Assignment of the cyclic process image ................................................................. 166
3.11.6 Operating modes..................................................................................................... 167
3.11.7 Control stations for MANUAL and AUTOMATIC mode........................................... 168
6 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Contents Function Description SIMOCODE SP1 pro Library SP1 for PCS7 V6.1
3.11.8 Overview Control Stations, Operating Modes, Operator Control Modality ............ 169
3.11.9 Simulation................................................................................................................ 170
3.11.10 Interlock................................................................................................................... 170
3.11.11 Local Interruption .................................................................................................... 170
3.11.12 Message characteristics.......................................................................................... 171
3.11.13 Reset behaviour ...................................................................................................... 172
3.11.14 Startup characteristics............................................................................................. 172
3.11.15 Time response......................................................................................................... 173
3.11.16 Block parameters .................................................................................................... 173
3.11.17 State displays for symbols ...................................................................................... 175
3.11.18 Description of faceplates......................................................................................... 176
3.12 SMC_POS: Signal-processing block for control function ”actuator” .................. 178
3.12.1 Calling OBs ............................................................................................................. 178
3.12.2 Called blocks ........................................................................................................... 178
3.12.3 Parameterization in SIMOCODE ES....................................................................... 178
3.12.4 Function................................................................................................................... 181
3.12.5 Assignment of the cyclic process image ................................................................. 181
3.12.6 Operating modes..................................................................................................... 182
3.12.7 Control stations for MANUAL and AUTOMATIC mode .......................................... 183
3.12.8 Overview Control Stations, Operating Modes, Operator Control Modality ............ 184
3.12.9 Simulation................................................................................................................ 185
3.12.10 Interlock................................................................................................................... 185
3.12.11 Local Interruption .................................................................................................... 185
3.12.12 Current and current limit monitoring........................................................................ 185
3.12.13 Message characteristics.......................................................................................... 186
3.12.14 Reset behaviour ...................................................................................................... 189
3.12.15 Startup characteristics............................................................................................. 189
3.12.16 Time response......................................................................................................... 189
3.12.17 Block parameters .................................................................................................... 190
3.12.18 State displays for symbols ...................................................................................... 193
3.12.19 Description of faceplates......................................................................................... 194
3.13 SMC_OVL: Signal-processing block for control function ”overload relay” ........ 197
3.13.1 Calling OBs ............................................................................................................. 197
3.13.2 Called blocks ........................................................................................................... 197
3.13.3 Parameterization in SIMOCODE ES....................................................................... 197
3.13.4 Function................................................................................................................... 198
3.13.5 Assignment of the cyclic process image ................................................................. 198
3.13.6 Simulation................................................................................................................ 199
3.13.7 Current and current limit monitoring........................................................................ 199
3.13.8 Message characteristics.......................................................................................... 200
3.13.9 Reset behaviour ...................................................................................................... 201
3.13.10 Startup characteristics............................................................................................. 201
3.13.11 Time response......................................................................................................... 202
3.13.12 Block parameters .................................................................................................... 203
3.13.13 State displays for symbols ...................................................................................... 205
3.13.14 Description of faceplates......................................................................................... 205
3.14 SMC_CB: Signal-processing block for control function ”circuit breaker” .......... 209
3.14.1 Calling OBs ............................................................................................................. 209
3.14.2 Called blocks ........................................................................................................... 209
3.14.3 Parameterization in SIMOCODE ES....................................................................... 209
3.14.4 Function................................................................................................................... 212
3.14.5 Assignment of the cyclic process image ................................................................. 212
Siemens AG 7
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Contents
8 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Introduction Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
1 Introduction
1.1 General
The software package SIMOCODE pro Library SP1 for PCS7 V6.1 can be used in PCS7 V6.1 and it
comprises the following components:
• block library with:
• diagnostic blocks to integrate SIMOCODE pro modules into the PCS7 driver concept
• signal blocks to control SIMOCODE pro C / V in any available control functions
• blocks to display and parameterize measured value / limit and statistical data
• user objects and control blocks to control & monitor SIMOCODE pro on the OS
• online help in German and English
Siemens AG 9
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Introduction
The driver concept for SIMOCODE pro considers both the operation of SIMOCODE pro as a DP-
Slave directly in the DP master system and after a Y link DPV1.
Please note that the use of the time-stamping function in SIMOCODE pro V behind a Y link DPV1 is
not possible.
SIMOCODE pro C / V are integrated via GSD. To integrate it as a PDM object, the respective GSD
files are also available.
The following modules and configurations are supported:
1. SIMOCODE pro C (integrated via GSD SI0180fd.gs?) directly in the DP master system or after a Y
link DPV1
2. SIMOCODE pro C (integrated with PDM via GSD) directly in the DP master system or after a Y link
DPV1
3. SIMOCODE pro V (integrated via GSD SI1180fd.gs?) directly in the DP master system or after a Y
link DPV1
4. SIMOCODE pro V (integrated with PDM via GSD) directly in the DP master system or after a Y link
DPV1
The following I/O configurations (default) are considered for SIMOCODE pro C / V:
• Outputs: 2 bytes digital control data
• Inputs: 4 bytes signalling data (2 bytes digital feedbacks; 2 bytes analog signalling data, e.g.
motor current)
This configuration of SIMOCODE pro V corresponds to basic type 2.
SIMOCODE pro V can alternatively be configured with the following I/O configuration:
• Outputs: 4 bytes control data (2 bytes digital control data, 2 bytes analog control data)
• Inputs: 10 bytes signalling data (2 bytes digital feedbacks, 8 bytes analog signalling data, e.g.
motor current, power factor, phase voltage)
This configuration complies with the basic type 1. The additional data of the basic type 1 are
evaluated and/or described in the measured-value block.
10 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Introduction Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
In HWConfig SIMOCODE pro is installed with the corresponding GSD file (see above) and
SIMOCODE pro V is installed with basic type 1 or basic type 2.
Please note that SIMOCODE pro is used in the alarm mode DPV1 with enabled diagnostic interrupt
and hardware interrupt.
The initial addresses of inputs and outputs must be identical and they must be in the process image
partition which is assigned to the cyclic interrupt OB in which the signal block is called.
The parameter inputs IN_01 (2 bytes binary data) and IN_23 (2 bytes motor current) and the
parameter outputs O_01 (2 bytes binary data) of the signal blocks must be interconnected with the
corresponding inputs and outputs of the SIMOCODE pro device.
The parameter inputs IN_01 (2 bytes binary data), IN_45, IN_67 and IN_89 (2 bytes each analog
signalling data if basic type 1 is used) and the parameter output O_23 (2 bytes analog control data if
basic type 1 is used) of the measured-value block must be interconnected with the corresponding
inputs and outputs of the SIMOCODE pro device.
The assignment of the cyclic interface is included in the description of the signal blocks and of the
measured-value block.
Siemens AG 11
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Introduction
Certain SIMOCODE pro parameters must have specific settings in order to ensure that the signal
blocks function properly. This applies in particular to such parameters which determine the
assignment of the cyclic I/O interface.
The following list shows in addition the parameters which have a default setting for the control function
in the templates for application selection in the SIMOCODE ES software. The settings are a proposal
and depend decisively on the actual wiring of the SIMOCODE pro inputs and outputs.
Additionally the setting of other parameters, e.g. for motor protection, is required. They are not
described here though.
12 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Information about library Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 13
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Information about library
Whereas SIMOCODE pro V supports all control functions, only some control functions are supported
by SIMOCODE pro C. Therefore only the corresponding signal-processing blocks (motor blocks) can
be used in connection with SIMOCODE pro C.
14 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Information about library Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
2.2.1 Faceplates
The faceplates are configured with the Graphics Designer and with templates of the faceplate
designer and PCS7-specific standard views (trend, batch and alarm). If required, other user objects
and functions can be added.
The described faceplates are provided as operable and tested examples and can be adapted by the
user.
A symbol and a group / loop display is created for the different signal blocks, as well as for the time-
stamping block, with any faceplates required. The corresponding group display is called via the
symbol. The faceplates for the measured value and statistics block can be called from the faceplate of
the signal block. The call buttons are only visible if the respective blocks are available (the inputs
EN_MEAS and EN_STAT must be parameterized by the user).
A description is made available together with the faceplates which allows the user to adapt the
faceplates (description of the interface to the SIMOCODE blocks, description of the operating and
display functions).
Overview
The picture is part of the basic pictures @PG_SMC_xxx_OVERVIEW.PDL /
@PL_SMC_xxx_OVERVIEW.PDL.
Signal suppression
(QMSG_SUP)
Message lock
(MSG_LOCK) Signal acknowledg.
Siemens AG 15
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Information about library
Trend (@PCS7_TREND.PDL)
To integrate a curve into a faceplate, the properties ”ReturnPath” and ”StandardTrend” must be
parameterized at the symbol.
• StandardTrend: 2: Online values with time base 5 min
> 2: Archive values with time base of the entered value (in min)
• ReturnPath: .QCUR Structure element name starting with dort
: Separator
CO_GREEN Colour for curve
16 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Information about library Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
2.2.2 Symbols
The process mimic symbols are based on the process symbols provided by the faceplate designer.
The representations are schematic representations.
Templates @PCS7_Typicals_SMC.pdl / @Template_SMC.pdl
The symbols are included in the templates @PCS7_Typicals_SMC.pdl and @Template_SMC.pdl. To
be able to use the functions ”Create/Update Block Icons” in Simatic Manager or ”Update Block Icons”
in Graphics Designer, the symbols of the file @PCS7_Typicals_SMC.pdl must be copied to the file
@PCS7Typicals.pdl or the symbols of the file @Template_SMC.pdl must be copied to the file
@Template.pdl. When the function ”Create/Update Block Icons” is used, PCS7 accesses the file
@PCS7Typicals.pdl.
When you copy the symbols manually to a process picture, the symbols of file @Template_SMC.pdl
must be used.
Different variants of block icons
Several variants of block icons can exist for a tag. These variants are distinguished by the attribute
”type”. The value of this attribute defines the variant. If you consider, for instance, a variant of the
block icon for a valve, you will find the value "@Valve/2". With the part of the value after ”/” you
determine what variant of the block icon will be created. Therefore this part has to be entered in the
object properties of the block instance. If no parameters are entered in the object properties of the
block instance, the default block icon will be created automatically. This is the block icon which in the
attribute ”type” has the identification "/1", e.g. "@Valve/1".
Link to the tag
There is a symbol for the different blocks which is linked to the corresponding tag with the function
”Connect picture block to tag structure”.
The symbols contain the following visible information:
Interlock
(LOCK / LOCK_ON / V_LOCK / VL_xxx)
Contr.modality(QREMOTE)
Simulation (QSIM): magenta
Test mode (QCST): yellow
Siemens AG 17
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3 Description of Blocks
3.1 Diagnostic block SMC_DIAG
FB2000
The block is automatically included with the function “Generate module drivers”.
3.1.2 Called blocks
The block calls the following blocks:
SFB52 RDREC
SFB54 RALRM
SFC6 RD_SINFO
SFC51 RDSYSST
SFC54 TIME_TCK
3.1.3 Function
The block SMC_DIAG performs the diagnosis of the SIMOCODE pro device. The block evaluates the
acyclic events (startup, DP station failure, module fault) which are relevant for SIMOCODE pro,
generates quality code and diagnosis information for the blocks MOD_PAX0 / MOD_PAL0 and
provides the status information to the signal-processing block via the parameter output OMODE.
18 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Following a CPU restart and rack return, the diagnosis record DS92 is read out with the system
function block RDREC (SFB52). After CPU restart or rack return, when SIMOCODE pro is operated
after the Y-link, the reading out is performed with a 1 minute delay to make sure that all existing
components have finished booting.
The read information is sent to the block SMC_MOD, the signal-processing block and the measured
value block and evaluated there.
Siemens AG 19
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Configuration of OMODE
Byte Value Meaning
Byte 3 16#80: valid data
16#40: invalid data primary error
Byte 2 16#01: restart (OB100)
Byte 1; 0 16#0000 without meaning
Configuration of UDT_DIAG
Element Data type Meaning
GR_ERR BOOL General fault
GR_WRN BOOL General warning
FLT_F9 BOOL Error F9
PARFF16 BOOL Parameter error F16
BUS_PLC BOOL Bus / PLC error
BOOL_05 BOOL Standby
BOOL_06 BOOL Standby
BOOL_07 BOOL Standby
BYTE_10 BOOL Standby
DD_17 BYTE Diagnosis data byte 17 warnings
DD_18 BYTE Diagnosis data byte 18 warnings
DD_19 BYTE Diagnosis data byte 19 warnings
DD_20 BYTE Diagnosis data byte 20 warnings
DD_21 BYTE Diagnosis data byte 21 warnings
DD_22 BYTE Diagnosis data byte 22 warnings
DD_24 BYTE Diagnosis data byte 24 faults
DD_25 BYTE Diagnosis data byte 25 faults
DD_26 BYTE Diagnosis data byte 26 faults
DD_27 BYTE Diagnosis data byte 27 faults
DD_28 BYTE Diagnosis data byte 28 faults
20 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Configuration of UDT_MEAS
Element Data type Meaning
QU_WL BOOL Lower warning limit for voltage violated
QU_AL BOOL Lower alarm limit for voltage violated
QCPHI_WL BOOL Lower warning limit for power factor violated
QCPHI_AL BOOL Lower alarm limit for power factor violated
QP_AH BOOL Upper alarm limit for active power violated
QP_WH BOOL Upper warning limit for active power
violated
QP_WL BOOL Lower warning limit for active power
violated
QP_AL BOOL Lower alarm limit for active power violated
QAI_AH BOOL Upper alarm limit for analog input violated
QAI_WH BOOL Upper alarm limit for analog input violated
QAI_WL BOOL Lower warning limit for analog input violated
QAI_AL BOOL Lower alarm limit for analog input violated
QT_AH BOOL Upper alarm limit for temperature violated
QT_WH BOOL Upper warning limit for temperature violated
Siemens AG 21
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
FB2002
Please note that normalising of the output value is already done at the block if the analog control value
is output via the SMC_MEAS block. Please parameterize therefore the above values as start and end
values of the value range.
22 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
3.2.4 Function
The block reads measured values from SIMOCODE pro via the data record DS94 and limit value data
with the data record DS132.
Reading the record 94 supplies, depending on the type of the basic device (SIMOCODE pro C /
SIMOCODE pro V) and with SIMOCODE pro V depending on the used modules, only the measured
values, the values which are actually supplied by the basic device or the used modules.
Measured value SIMOCODE pro C SIMOCODE pro V
SIMOCODE pro V E01 from version E02
Thermal memory Available Available
Unbalanced phase Available Available
Cos φ Not available Available for UM
Max. current I_max Available Available
Current I_L1 Available Available
Current I_L2 Available Available
Current I_L3 Available Available
Last trip current Available Available
Time to trip Available Available
Recovery time Available Available
Voltage U_L1 Not available Available for UM
Voltage U_L2 Not available Available for UM
Voltage U_L3 Not available Available for UM
A-module - output Not available Available for AM
A-module - input 1 Not available Available for AM
A-module - input 2 Not available Available for AM
T-module - max. temperature Not available Available for TM
T-module - temperature 1 Not available Available for TM
T-module - temperature 2 Not available Available for TM
T-module - temperature 3 Not available Available for TM
Active power P Not available Available for UM
Apparent power S Not available Available for UM
Siemens AG 23
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
For the inputs IN_45, IN_67 and IN_89 the parameterization inputs MODEIN45, MODEIN67 and
MODEIN89 are available which are used to define whether the measured values are read cyclically
(MODEINxx <> 0) or acyclically (MODEINxx = 0).
In addition the information is given for the inputs what measured value is interconnected in the case of
cyclic communication.
Assignment of MODExxxx:
MODExxxx Meaning for input
0 Measured value is read out of data
record
1 Cyclic measured Voltage UL1
2 value Voltage UL2
3 Voltage UL3
4 Power factor
5 Active power
6 Analog input 1
7 Analog input 2
8 Max. temperature
9 Temperature T1
10 Temperature T2
11 Temperature T3
12 Thermal memory
13 Unbalanced phase
14 Current L1
15 Current L2
16 Current L3
17 Time to trip
18 Cooling down
period
When the power is to be read in cyclically, two consecutive inputs must be parameterized with
MODEINxx = 3 because the effective power uses one double word in SIMOCODE pro. If this is not the
case, the output QP gets the output 0.
Acyclic reading
Reading of the record 94 is either triggered via the interconnectable input parameter L_RD_DATA, in
the OS when the faceplate is selected or by OS operation RD_DATA).
The read data are output normalized at the output parameters QUL1-3 (voltage UL1-3), QCPHI
(power factor), QP (active power), QAI1-2 (analog inputs 1 and 2), QTM (max. temperature), QT1-3
(temperatures 1 – 3), QTR (thermal memory), QPU (unbalanced phace), QCUR (maximum current),
QCUR_L1 (current L1), QCUR_L2 (current L2), QCUR_L3 (current L3), TRIP_CUR (last trip current),
TRIP_T (time to trip) and COOL_T (cooling down period).
When an error occurs the values are set to zero and the output is set to QERR_RD=TRUE.
24 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
With the switch LINK_ON you parameterize whether the operator-controllable input AO_OP
(LINK_ON = FALSE) or the interconnectable input AO (LINK_ON = TRUE) is used.
If the interconnectable input is selected, the operator-controllable input is corrected to the
interconnectable input.
Siemens AG 25
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
The associated values AUX_PR04 - AUX_PR10 and AUX_PR14 - AUX_PR20 are freely available.
With the inputs M_SUP_xx the messages can be switched off separately for every measured value.
The default value of the inputs M_SUP_XX is TRUE, i.e. the message suppression is enabled.
26 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 27
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
28 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 29
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Maximum current
(QCUR) Thermal memory
(QTR)
Phase currents
(QCUR_L1, Unbalanced phase
QCUR_L2, (QPU)
QCUR_L3)
Cooling down
period (COOL T)
Time to trip
(TRIP_T)
30 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Voltage (STANDARD_2)
Voltage values (QULx,
QULx#unit,
QULx#shortcut, x=1-3)
Update values
(RD_DATA) Bar range (MO_UHR,
MO_ULR)
Limits (CPHI_WL,
CPHI_AL)
Limits (CPHI_WL,
CPHI_AL)
Update values
(RD_DATA)
Bar range (MO_CPHR,
MO_CPLR)
Siemens AG 31
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
32 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Temperature (STANDARD_7)
Siemens AG 33
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
FB2003
34 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
4), TIMERx (timers 1 – 4), COOL_T (cooling down period), TRIP_CUR (trip current), number of
overload trips (N_OVL), motor stopped time (STOP_T / QSTOP_T) and energy (EGY / QEGY).
When an error occurs the values are set to zero and the output is set to QERR_RD=TRUE.
Siemens AG 35
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
36 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Standard (STANDARD)
Permissable starts
(P_STRT)
No of starts (N_STRT)
No. of overload activities
(N_OVL)
Maintenance (MAINTENANCE)
Siemens AG 37
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
38 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 39
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Standard functionsÆTime-stamping
Time-stamping active active
Time-stamping – Input 0 Freely allocatable, e.g. Status – General Fault
Time-stamping – Input 1 Freely allocatable
Time-stamping – Input 2 Freely allocatable
Time-stamping - Input 3 Freely allocatable
Time-stamping - Input 4 Freely allocatable
Time-stamping - Input 5 Freely allocatable
Time-stamping - Input 6 Freely allocatable
Time-stamping - Input 7 Freely allocatable
3.4.5 Function
The block evaluates the alarm information of the called process alarm OBs, which contain the time-
stamping status, the data set number (DS12, DS13 or DS14) of the message buffer, into which the
triggered event was entered with a time-stamp, and the number of entries.
If data is available, the block reads out the data set and reports the events with the delivered time-
stamp.
The information on up to 17 process alarms can be stored. The information is lost when the maximum
number is exceeded. The process alarms are processed in sequence, i.e. the next set of data is only
read, once all entered events in a data set have been reported.
40 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 41
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
QSTATUS construction
Bit Significance
0 Start-up data
1 Time telegram error
2 Time difference between telegram and int. clock > 1 second
3 STOP of time-stamping function
4 Buffer is full
5 -
6 -
7 -
8 -
42 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Time-stamping active
(QTSTACT)
Siemens AG 43
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
FB2004
The following list shows in addition the parameters which have a default setting for the control function
in the templates for application selection in the SIMOCODE ES software. The settings are a proposal
and depend decisively on the actual wiring of the SIMOCODE pro inputs and outputs.
Additionally the setting of other parameters, e.g. for motor protection, is required. They are not
described here though. The parameterization of the extended I/O interface of the basic type 1 is
described in the chapter 3.2.3 Parameterization in SIMOCODE ES.
44 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 45
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
46 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 47
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
48 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
3.5.4 Function
The block is inserted by the user in a cyclic interrupt-OB (e.g. OB32). The parameter inputs IN_01 and
IN_23 and the parameter output O_01 are also interconnected by the user with the corresponding
symbols for the inputs and outputs of the corresponding SIMOCODE pro unit.
SMC_DIR accesses the data provided by SIMOCODE pro via the inputs IN_01 (2 Bytes binary data)
and IN_23 (2 Bytes motor current).
Data are sent to SIMOCODE pro via the output O_01 (2 Bytes binary data).
The configuration of the inputs and outputs is determined by the SIMOCODE pro basic type 2.
The access to the inputs and outputs is achieved exclusively via the process image.
The input parameter MODE is used by the block to determine whether the inputs IN_01 and IN_23 are
valid. In the case of a primary fault all inputs will be read by SIMOCODE pro with “0” and read out at
the corresponding outputs of the block.
The motor current is uploaded via the input parameter IN_23 as an unsigned 2 Byte value. In this
process SIMOCODE pro uploads the current always in percent of the current setting in a range of 0 to
1000%. The motor current is output via the output QCUR.
Siemens AG 49
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
The assignment of the bytes 2 / 3 of the analog control interface and of the bytes 4 - 9 of the cyclic
signalling data when the basic type 1 is used is described in the chapter 3.2.5 Assignment of the cyclic
process image.
3.5.6 Operating modes
Switchover of control station (REMOTE, LOCAL)
The switchover of the control station is effected via the interconnectable function input REM_L if the
input REM_SEL has been set or via the function input REM_ON_OP which is set by the OS.
The function input (REMOP_EN) influences the operator enabling (QLOCOP) for the operation via the
OS.
The operating mode of the control station is output via the output QREMOTE (1=REMOTE,
0=LOCAL). QREMOTE corresponds to the Bit DP 0.5 of SIMOCODE pro here.
In LOCAL mode the control is completely switched off via the SMC_DIR block. Control is possible
then only via the control station which is directly connected with SIMOCODE pro . Fault
acknowledgement is still possible.
Switchover of operating modes (MANUAL, AUTO) with REMOTE selected
With QREMOTE = TRUE the MANUAL and AUTOMATIC operating modes switchover is achieved
either with OS operation by means of AUT_ON_OP (LIOP_SEL = 0) or with the interconnection of the
input AUT_L (LIOP_SEL = 1).
The function inputs (MANOP_EN, AUTOP_EN) influence the operator enabling (QMANOP, QAUTOP)
for the operation via the OS.
The operating mode is output at the output QMAN_AUT (1=AUTO, 0=MANUAL).
Switchover of control station for MANUAL
In the REMOTE mode the operation can be effected in the MANUAL mode either via the OS or via the
interconnectable function inputs. The switchover is done via the interconnectable function input
LINK_MAN.
50 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
In the manual mode the control of SIMOCODE pro is achieved either via the function input MAN_ON
(TRUE = On, FALSE = Off) set by the OS or via the configurable function inputs L_ON and L_OFF.
The inputs for the operator enabling ON_OP_EN / OFFOP_EN set the outputs QON_OP / QOFF_OP
for the operation via OS.
With an edge of the command input the corresponding control bit is set in the interface until
SIMOCODE pro provides the corresponding feedback or an error occurs (QGR_ERR = TRUE). When
the error is acknowledged, the control bit is set anew when the command at the configurable manual
interface is active.
The Off command overrides the On command (no edge evaluation!).
After switchover to manual operation and when L_ON / L_OFF is active, the commands will be
executed only with a positive edge change at the inputs.
Siemens AG 51
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Automatic commands
AUTO_ON
SIMOCODE pro
Local Control
Station
AUTO
Interconnectable inputs
1 DP 0.1, 0.2 PROFIBUS-DP
L_ON
0
L_OFF Op. mode AUTO/ MANUAL: QREMOTE = TRUE
MANUAL LIOP_SEL
Manual control / operator input
1 AUTOP_EN
AUT_ON_OP MANOP_EN
0
0
AUT_L
1 MAN_ONOP
Operator controllable inputs
MAN_ON
Operator control modality REMOTE/LOCAL
ON_OP_EN
LINK_MAN
OFFOP_EN REM_ON_OP
1 DP 0.5 S1
LOCOP_EN_EN
REM_L
0
S2
REM_SEL
52 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
3.5.9 Simulation
The simulation mode is activated via the input SIM_ON and it overrides any other operating mode.
With SIM_ON = TRUE the block processes the simulation values (SIM_I01: binary data, SIM_I23:
motor current) instead of the process values of SIMOCODE pro (IN_01, IN_23). QSIM, QUALITY and
QBAD are output accordingly. The process output (O_01) is output as “0” with simulation activated.
The command status is linked to the output QSTATUS.
A block must be programmed for the simulation. The output QSTATUS can be evaluated and this
information can be used to form the simulation feedback (SIM_I01, SIM_I23). The assignment
corresponds to the assignment of the process inputs / process output and can be checked in the
chapter 3.5.5 Assignment of the cyclic process image.
3.5.10 Interlock
The interlock functions LOCK and LOCK_ON are active only in the REMOTE mode and apply to the
MANUAL and AUTO modes for all control stations of the SMC_DIR block.
An active interlocking input prevents switching and deactivates the control stations for MANUAL and
AUTO. The control bit is set permanently.
LOCK always overrides LOCK_ON.
Resetting LOCK_ON switches the motor to AUTO according to the control station for AUTO. In
MANUAL the motor is switched off.
QLOC_INT is also set if the control state requested with REMOTE has not been reached and no
general fault has occurred (e.g. due to an overriding Off command at the SIMOCODE pro group
control station) within the monitoring time set via TIME_MON. With TIME_MON = 0 or MONITOR =
FALSE this monitoring is deactivated.
QLOC_INT is reset with the inputs RESET (operator-controllable) / L_RESET (configurable). The
input RESET is reset after the acknowledgement. When L_RESET is active permanently QLOC_INT
is set for the duration of a cycle if the above conditions are fulfilled.
Siemens AG 53
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
When an error occurs the values are set to zero and the output is set to QERR_RD=TRUE.
The limits can also be parameterized in the faceplate in addition. When these values are changed,
they are written to SIMOCODE pro.
The message characteristics of limit value violations is parameterized with SIMOCODE ES or
SIMATIC PDM. Therefor in Monitoring Functions Æ Current Limits the characteristics of trip level /
warning level is configured as follows:
• Trip level: disabled or tripping
• Warning level: disabled or warning.
When an error occurs during writing the values are reset to 0 and the output is set to
QERR_WR=TRUE.
Overshooting or undershooting of the limits triggers sending of the corresponding message as far as
the limit signal has not been deactivated entirely via the parameter M_SUP_C (default setting is:
deactivated). The messages of the limit value violations are generated in SIMOCODE pro and
evaluated in the block. The outputs QCUR_AH, QCUR_AL, QCUR_WH and QCUR_WL are set
accordingly.
Range limits
The range limits for the limit bar are parameterized via the function inputs MO_PVHR and MO_PVLR
and can be set in the OS.
54 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The current limit signals are generated by SIMOCODE pro and they are contained in the diagnosis
structure DIAG_INF.
Siemens AG 55
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
There is no block-internal assignment to a certain function for these signals. It can be activated via a
parameter input (MSG_8 – MSG_16) and can be used to signal, for instance, Local_Interruption, the
mode SIMULATION or any other signal.
56 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 57
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
58 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
VSTATUS construction
Bit Parameter
0 OCCUPIED
1 BA_EN
2 QSIM
3 QMAN_AUT
4 QCST
5 QGR_ERR
6 QGR_WRN
7 QLOC_INT
8 LOCK / LOCK_ON
9 QRUN
10 QSTOP
11 -
12 -
13 -
14 -
15 OOS
16 - 31 USTATUS
Siemens AG 59
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Status Display
Op. mode (QMAN_AUT,
(VSTATUS)
AUT_ON_OP)
Local Interruption
(QLOC INT) LOCK_ON
Interlock (LOCK /
LOCK ON)
LOCK
Test (QCST)
Operator control
modality (QREMOTE) Acknowledg. (RESET)
60 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Limits (LIMITS)
Maintenance (MAINTENANCE)
Activating Monitoring
Monitoring time for Local
(MONITOR)
Interruption (TIME_MON)
Acknowledgem. Local
Interruption (RESET) Calling faceplate
SMC_STAT, visible if
EN STAT = TRUE
Siemens AG 61
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Faults (MESSAGE1)
Warnings (MESSAGE2)
62 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
FB2005
The following list shows in addition the parameters which have a default setting for the control function
in the templates for application selection in the SIMOCODE ES software. The settings are a proposal
and depend decisively on the actual wiring of the SIMOCODE pro inputs and outputs.
Additionally the setting of other parameters, e.g. for motor protection, is required. They are not
described here though. The parameterization of the extended I/O interface of the basic type 1 is
described in the chapter 3.2.3 Parameterization in SIMOCODE ES.
Siemens AG 63
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
64 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 65
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
66 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 67
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
68 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
3.6.4 Function
The block is inserted by the user in a cyclic interrupt-OB (e.g. OB32). The parameter inputs IN_01 and
IN_23 and the parameter output O_01 are also interconnected by the user with the corresponding
symbols for the inputs and outputs of the corresponding SIMOCODE pro unit.
SMC_REV accesses the data provided by SIMOCODE pro via the inputs IN_01 (2 Bytes binary data)
and IN_23 (2 Bytes motor current).
Data are sent to SIMOCODE pro via the output O_01 (2 Bytes binary data).
The configuration of the inputs and outputs is determined by the SIMOCODE pro basic type 2.
The access to the inputs and outputs is achieved exclusively via the process image.
The input parameter MODE is used by the block to determine whether the inputs IN_01 and IN_23 are
valid. In the case of a primary fault all inputs will be read by SIMOCODE pro with “0” and read out at
the corresponding outputs of the block.
The motor current is uploaded via the input parameter IN_23 as an unsigned 2 Byte value. In this
process SIMOCODE pro uploads the current always in percent of the current setting in a range of 0 to
1000%. The motor current is output via the output QCUR.
Siemens AG 69
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
The assignment of the bytes 2 / 3 of the analog control interface and of the bytes 4 - 9 of the cyclic
signalling data when the basic type 1 is used is described in the chapter 3.2.5 Assignment of the cyclic
process image.
3.6.6 Operating modes
Switchover of control station (REMOTE, LOCAL)
The switchover of the control station is effected via the configurable function input REM_L if the input
REM_SEL has been set or via the function input REM_ON_OP which is set by the OS.
The function input (REMOP_EN) influences the operator enabling (QLOCOP) for the operation via the
OS.
The operating mode of the control station is output via the output QREMOTE (1=REMOTE,
0=LOCAL). QREMOTE corresponds to the Bit DP 0.5 of SIMOCODE pro here.
In LOCAL mode the control is completely switched off via the SMC_REV block. Control is possible
then only via the control station which is directly connected with SIMOCODE pro . Fault
acknowledgement is still possible.
Switchover of operating modes (MANUAL, AUTO) with REMOTE selected
With QREMOTE = TRUE the MANUAL and AUTOMATIC operating modes switchover is achieved
either with OS operation by means of AUT_ON_OP (LIOP_SEL = 0) or with the interconnection of the
input AUT_L (LIOP_SEL = 1).
The function inputs (MANOP_EN, AUTOP_EN) influence the operator enabling (QMANOP, QAUTOP)
for the operation via the OS.
The operating mode is output at the output QMAN_AUT (1=AUTO, 0=MANUAL).
Switchover of control station for MANUAL
In the REMOTE mode the operation can be effected in the MANUAL mode either via the OS or via the
configurable function inputs. The switchover is done via the configurable function input LINK_MAN.
70 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
In manual mode, the control of SIMOCODE pro is achieved either via the function inputs FORW_ON,
REV_ON and MOT_OFF which are set by the OS, or via the configurable function inputs L_FORW,
L_REV and L_OFF.
The inputs for the operator enabling FW_OP_EN / RV_OP_EN / OFFOP_EN set the outputs
QFORW_OP / QREV_OP / QOFF_OP for the operation via OS.
With an edge of the command input the corresponding control bit is set in the interface until
SIMOCODE pro provides the corresponding feedback or an error occurs (QGR_ERR = TRUE). When
the error is acknowledged, the control bit is set anew when the command at the configurable manual
interface is active.
The Off command overrides the On commands (no edge evaluation!).
The following priorities apply to the On commands:
Clockwise overrides.
After switchover to manual operation and when L_FORW / L_REV / L_OFF is active, the commands
will be executed only with a positive edge change at the inputs.
Siemens AG 71
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Automatic commands
AUTO_ON
AUTO_DIR
SIMOCODE pro
AUTO
Interconnectable inputs
1 DP 0.0, 0.1, 0.2 PROFIBUS-DP
L_FORW
0
L_REV Operating mode AUTO/ MANUAL: QREMOTE = TRUE
MANUAL LIOP_SEL
L_OFF
Manual control / Operator input
1 AUTOP_EN
AUT_ON_OP MANOP_EN
0
0
AUT_L
Operatorcontrollable inputs 1
FORW_ON
Operator control modality REMOTE/LOCAL
FW_OP_EN
LINK_MAN
REV_ON REM_ON_OP
1 DP 0.5 S1
RV_OP_EN LOCOP_EN_EN
MAN_ON
MOT_OFF REM_L
0
OFFOP_EN S2
REM_SEL
72 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
3.6.9 Simulation
The simulation mode is activated via the input SIM_ON and it overrides any other operating mode.
With SIM_ON = TRUE the block processes the simulation values (SIM_I01: binary data, SIM_I23:
motor current) instead of the process values of SIMOCODE pro (IN_01, IN_23). QSIM, QUALITY and
QBAD are output accordingly. The process output (O_01) is output as “0” with simulation activated.
The command status is linked to the output QSTATUS.
A block must be programmed for the simulation. The output QSTATUS can be evaluated and this
information can be used to form the simulation feedback (SIM_I01, SIM_I23). The assignment
corresponds to the assignment of the process inputs / process output and can be checked in the
chapter 3.6.5 Assignment of the cyclic process image.
3.6.10 Interlock
The interlock functions LOCK and LOCK_ON are active only in the REMOTE mode and apply to the
MANUAL and AUTO modes for all control stations of the SMC_REV block.
An active interlocking input prevents switching and deactivates the control stations for MANUAL and
AUTO. The control bit is set permanently.
LOCK always overrides LOCK_ON.
The input LOCK_DIR (TRUE = counterclockwise rotation, FALSE = clockwise rotation) determines the
desired option for LOCK_ON.
Resetting LOCK_ON switches the motor to AUTO according to the control station for AUTO. In
MANUAL the motor is switched off.
QLOC_INT is also set if the control state requested with REMOTE has not been reached and no
general fault has occurred (e.g. due to an overriding Off command at the SIMOCODE pro group
control station) within the monitoring time set via TIME_MON. With TIME_MON = 0 or MONITOR =
FALSE this monitoring is deactivated.
The monitoring time is started only after the interlock time has elapsed.
QLOC_INT is reset with the inputs RESET (operator-controllable) / L_RESET (configurable). The
input RESET is reset after the acknowledgement. When L_RESET is active permanently QLOC_INT
is set for the duration of a cycle if the above conditions are fulfilled.
Siemens AG 73
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Current limits
The current limits are read out of the record DS130. Reading of the record is either triggered via the
configurable input parameter L_RD_DATA, in the OS when the limit view is selected or by OS
operation (RD_DATA). The output QEN_RDWR is reset during communication.
The read data are output at the I/O parameters Alarm high (CUR_AH), Alarm low (CUR_AL), Warning
high (CUR_WH) and Warning low (CUR_WL).
When an error occurs the values are set to zero and the output is set to QERR_RD=TRUE.
The limits can also be parameterized in the faceplate in addition. When these values are changed,
they are written to SIMOCODE pro.
The message characteristics of limit value violations is parameterized with SIMOCODE ES or
SIMATIC PDM. Therefor in Monitoring Functions Æ Current Limits the characteristics of trip level /
warning level is configured as follows:
• Trip level: disabled or tripping
• Warning level: disabled or warning.
When an error occurs during writing the values are reset to 0 and the output is set to
QERR_WR=TRUE.
Overshooting or undershooting of the limits triggers sending of the corresponding message as far as
the limit signal has not been deactivated entirely via the parameter M_SUP_C (default setting is:
deactivated). The messages of the limit value violations are generated in SIMOCODE pro and
evaluated in the block. The outputs QCUR_AH, QCUR_AL, QCUR_WH and QCUR_WL are set
accordingly.
Range limits
The range limits for the limit bar are parameterized via the function inputs MO_PVHR and MO_PVLR
and can be set in the OS.
74 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The unassigned signal inputs have not been assigned a fixed meaning and can be activated via the
parameters MSG_x (x=8 – 16) at SMC_REV.
Siemens AG 75
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
The current limit signals are generated by SIMOCODE pro and they are contained in the diagnosis
structure DIAG_INF.
76 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
There is no block-internal assignment to a certain function for these signals. It can be activated via a
parameter input (MSG_8 – MSG_16) and can be used to signal, for instance, Local_Interruption, the
mode SIMULATION or any other signal.
Siemens AG 77
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
78 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 79
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
80 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
VSTATUS construction
Bit Parameter
0 OCCUPIED
1 BA_EN
2 QSIM
3 QMAN_AUT
4 QCST
5 QGR_ERR
6 QGR_WRN
7 QLOC_INT
8 LOCK / LOCK_ON
9 QRUN
10 QSTOP
11 QDIR
12 -
13 -
14 -
15 OOS
16 - 31 USTATUS
Siemens AG 81
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Mode (QMAN_AUT,
AUT_ON_OP)
Status display
(VSTATUS) Command CCW
active (REV_ON)
Current (QCUR) / Unit
(QCUR#unit) Command Off
(MOT_OFF)
Local Interruption
(QLOC INT) Command CW active
(FORW_ON)
Interlock (LOCK /
LOCK ON)
Test (QCST)
82 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Limits (LIMITS)
Maintenance (MAINTENANCE)
Activating Monitoring
Monitoring time for Local (MONITOR)
Interruption (TIME_MON)
Acknowledgement Local
Interruption (RESET) Calling faceplate
SMC_STAT, visible if
EN STAT = TRUE
Siemens AG 83
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Faults (MESSAGE1)
Warnings (MESSAGE2)
84 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The following list shows in addition the parameters which have a default setting for the control function
in the templates for application selection in the SIMOCODE ES software. The settings are a proposal
and depend decisively on the actual wiring of the SIMOCODE pro inputs and outputs.
Additionally the setting of other parameters, e.g. for motor protection, is required. They are not
described here though. The parameterization of the extended I/O interface of the basic type 1 is
described in the chapter 3.2.3 Parameterization in SIMOCODE ES.
Siemens AG 85
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
86 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 87
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3.7.4 Function
The block is inserted by the user in a cyclic interrupt-OB (e.g. OB32). The parameter inputs IN_01 and
IN_23 and the parameter output O_01 are also interconnected by the user with the corresponding
symbols for the inputs and outputs of the corresponding SIMOCODE pro unit.
SMC_STAR accesses the data provided by SIMOCODE pro via the inputs IN_01 (2 Bytes binary
data) and IN_23 (2 Bytes motor current).
Data are sent to SIMOCODE pro via the output O_01 (2 Bytes binary data).
The configuration of the inputs and outputs is determined by the SIMOCODE pro basic type 2.
The access to the inputs and outputs is achieved exclusively via the process image.
The input parameter MODE is used by the block to determine whether the inputs IN_01 and IN_23 are
valid. In the case of a primary fault all inputs will be read by SIMOCODE pro with “0” and read out at
the corresponding outputs of the block.
The motor current is uploaded via the input parameter IN_23 as an unsigned 2 Byte value. In this
process SIMOCODE pro uploads the current always in percent of the current setting in a range of 0 to
1000%. The motor current is output via the output QCUR.
88 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The assignment of the bytes 2 / 3 of the analog control interface and of the bytes 4 - 9 of the cyclic
signalling data when the basic type 1 is used is described in the chapter 3.2.5 Assignment of the cyclic
process image.
Siemens AG 89
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
In the manual mode the control of SIMOCODE pro is achieved either via the function input MAN_ON
(TRUE = On, FALSE = Off) set by the OS or via the configurable function inputs L_ON and L_OFF.
The inputs for the operator enabling ON_OP_EN / OFFOP_EN set the outputs QON_OP / QOFF_OP
for the operation via OS.
With an edge of the command input the corresponding control bit is set in the interface until
SIMOCODE pro provides the corresponding feedback or an error occurs (QGR_ERR = TRUE). When
the error is acknowledged, the control bit is set anew when the command at the configurable manual
interface is active.
The Off command overrides the On command (no edge evaluation!).
After switchover to manual operation and when L_ON / L_OFF is active, the commands will be
executed only with a positive edge change at the inputs.
90 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Automatic commands
AUTO_ON
SIMOCODE pro
Local Control
Station
AUTO
Interconnectable inputs
1 DP 0.1, 0.2 PROFIBUS-DP
L_ON
0
L_OFF Op. mode AUTO/ MANUAL: QREMOTE = TRUE
MANUAL LIOP_SEL
Manual control / operator input
1 AUTOP_EN
AUT_ON_OP MANOP_EN
0
0
AUT_L
1 MAN_ONOP
Operator controllable inputs
MAN_ON
Operator control modality REMOTE/LOCAL
ON_OP_EN
LINK_MAN
OFFOP_EN REM_ON_OP
1 DP 0.5 S1
LOCOP_EN_EN
REM_L
0
S2
REM_SEL
Siemens AG 91
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3.7.9 Simulation
The simulation mode is activated via the input SIM_ON and it overrides any other operating mode.
With SIM_ON = TRUE the block processes the simulation values (SIM_I01: binary data, SIM_I23:
motor current) instead of the process values of SIMOCODE pro (IN_01, IN_23). QSIM, QUALITY and
QBAD are output accordingly. The process output (O_01) is output as “0” with simulation activated.
The command status is linked to the output QSTATUS.
A block must be programmed for the simulation. The output QSTATUS can be evaluated and this
information can be used to form the simulation feedback (SIM_I01, SIM_I23). The assignment
corresponds to the assignment of the process inputs / process output and can be checked in the
chapter 3.7.5 Assignment of the cyclic process image.
3.7.10 Interlock
The interlock functions LOCK and LOCK_ON are active only in the REMOTE mode and apply to the
MANUAL and AUTO modes for all control stations of the SMC_STAR block.
An active interlocking input prevents switching and deactivates the control stations for MANUAL and
AUTO. The control bit is set permanently.
LOCK always overrides LOCK_ON.
Resetting LOCK_ON switches the motor to AUTO according to the control station for AUTO. In
MANUAL the motor is switched off.
QLOC_INT is also set if the control state requested with REMOTE has not been reached and no
general fault has occurred (e.g. due to an overriding Off command at the SIMOCODE pro group
control station) within the monitoring time set via TIME_MON. With TIME_MON = 0 or MONITOR =
FALSE this monitoring is deactivated.
QLOC_INT is reset with the inputs RESET (operator-controllable) / L_RESET (configurable). The
input RESET is reset after the acknowledgement. When L_RESET is active permanently QLOC_INT
is set for the duration of a cycle if the above conditions are fulfilled.
92 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
When an error occurs the values are set to zero and the output is set to QERR_RD=TRUE.
The limits can also be parameterized in the faceplate in addition. When these values are changed,
they are written to SIMOCODE pro.
The message characteristics of limit value violations is parameterized with SIMOCODE ES or
SIMATIC PDM. Therefor in Monitoring Functions Æ Current Limits the characteristics of trip level /
warning level is configured as follows:
• Trip level: disabled or tripping
• Warning level: disabled or warning.
When an error occurs during writing the values are reset to 0 and the output is set to
QERR_WR=TRUE.
Overshooting or undershooting of the limits triggers sending of the corresponding message unless the
limit signal has been deactivated entirely via the parameter M_SUP_C (default setting is: deactivated).
The messages of the limit value violations are generated in SIMOCODE pro and evaluated in the
block. The outputs QCUR_AH, QCUR_AL, QCUR_WH and QCUR_WL are set accordingly.
Range limits
The range limits for the limit bar are parameterized via the function inputs MO_PVHR and MO_PVLR
and can be set in the OS.
Siemens AG 93
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
The current limit signals are generated by SIMOCODE pro and they are contained in the diagnosis
structure DIAG_INF.
94 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
There is no block-internal assignment to a certain function for these signals. It can be activated via a
parameter input (MSG_8 – MSG_16) and can be used to signal, for instance, Local_Interruption, the
mode SIMULATION or any other signal.
Siemens AG 95
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
96 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 97
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
VSTATUS construction
Bit Parameter
0 OCCUPIED
1 BA_EN
2 QSIM
3 QMAN_AUT
4 QCST
5 QGR_ERR
6 QGR_WRN
7 QLOC_INT
8 LOCK / LOCK_ON
9 QRUN
10 QSTOP
11 -
12 -
13 -
14 -
15 OOS
16 - 31 USTATUS
98 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Status display
(VSTATUS) Operating mode
(QMAN_AUT,
AUT ON OP)
Current (QCUR) / unit
(QCUR#unit)
Command (MAN_ON)
Local Interruption
(QLOC INT)
LOCK_ON
Interlock (LOCK /
LOCK ON)
LOCK
Test (QCST)
Operator control
modality (QREMOTE) Acknowledgement
(RESET)
Change-over pause
active (QCOA)
Siemens AG 99
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Limits (LIMITS)
Maintenance (MAINTENANCE)
Activation Emergency
Operator control modality Start (EM_START)
Local / Remote
(REM ON OP)
Activating Monitoring
Monitoring time for Local (MONITOR)
Interruption (TIME_MON)
Acknowledgement Local
Interruption (RESET) Calling faceplate
SMC_STAT, visible if
EN STAT = TRUE
100 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Faults (MESSAGE1)
Warnings (MESSAGE2)
Siemens AG 101
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
FB2007
The following list shows in addition the parameters which have a default setting for the control function
in the templates for application selection in the SIMOCODE ES software. The settings are a proposal
and depend decisively on the actual wiring of the SIMOCODE pro inputs and outputs.
Additionally the setting of other parameters, e.g. for motor protection, is required. They are not
described here though. The parameterization of the extended I/O interface of the basic type 1 is
described in the chapter 3.2.3 Parameterization in SIMOCODE ES.
102 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 103
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3.8.4 Function
The block is inserted by the user in a cyclic interrupt-OB (e.g. OB32). The parameter inputs IN_01 and
IN_23 and the parameter output O_01 are also interconnected by the user with the corresponding
symbols for the inputs and outputs of the corresponding SIMOCODE pro unit.
SMC_REVS accesses the data provided by SIMOCODE pro via the inputs IN_01 (2 Bytes binary
data) and IN_23 (2 Bytes motor current).
Data are sent to SIMOCODE pro via the output O_01 (2 Bytes binary data).
The configuration of the inputs and outputs is determined by the SIMOCODE pro basic type 2.
The access to the inputs and outputs is achieved exclusively via the process image.
The input parameter MODE is used by the block to determine whether the inputs IN_01 and IN_23 are
valid. In the case of a primary fault all inputs will be read by SIMOCODE pro with “0” and read out at
the corresponding outputs of the block.
104 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The motor current is uploaded via the input parameter IN_23 as an unsigned 2 Byte value. In this
process SIMOCODE pro uploads the current always in percent of the current setting in a range of 0 to
1000%. The motor current is output via the output QCUR.
The assignment of the bytes 2 / 3 of the analog control interface and of the bytes 4 - 9 of the cyclic
signalling data when the basic type 1 is used is described in the chapter 3.2.5 Assignment of the cyclic
process image.
Siemens AG 105
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
106 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
In manual mode, the control of SIMOCODE pro is achieved either via the function inputs FORW_ON,
REV_ON and MOT_OFF which are set by the OS, or via the configurable function inputs L_FORW,
L_REV and L_OFF.
The inputs for the operator enabling FW_OP_EN / RV_OP_EN / OFFOP_EN set the outputs
QFORW_OP / QREV_OP / QOFF_OP for the operation via OS.
With an edge of the command input the corresponding control bit is set in the interface until
SIMOCODE pro provides the corresponding feedback or an error occurs (QGR_ERR = TRUE). When
the error is acknowledged, the control bit is set anew when the command at the configurable manual
interface is active.
The Off command overrides the On commands (no edge evaluation!).
The following priorities apply to the On commands:
Clockwise overrides counterclockwise.
After switchover to manual operation and when L_FORW / L_REV / L_OFF is active, the commands
will be executed only with a positive edge change at the inputs.
Siemens AG 107
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Automatic commands
AUTO_ON
AUTO_DIR
SIMOCODE pro
AUTO
Interconnectable inputs
1 DP 0.0, 0.1, 0.2 PROFIBUS-DP
L_FORW
0
L_REV Operating mode AUTO/ MANUAL: QREMOTE = TRUE
MANUAL LIOP_SEL
L_OFF
Manual control / Operator input
1 AUTOP_EN
AUT_ON_OP MANOP_EN
0
0
AUT_L
1 MAN_ONOP
Operatorcontrollable inputs
FORW_ON
Operator control modality REMOTE/LOCAL
FW_OP_EN
LINK_MAN
REV_ON REM_ON_OP
1 DP 0.5 S1
RV_OP_EN LOCOP_EN_EN
MAN_ON
MOT_OFF REM_L
0
OFFOP_EN S2
REM_SEL
108 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
3.8.9 Simulation
The simulation mode is activated via the input SIM_ON and it overrides any other operating mode.
With SIM_ON = TRUE the block processes the simulation values (SIM_I01: binary data, SIM_I23:
motor current) instead of the process values of SIMOCODE pro (IN_01, IN_23). QSIM, QUALITY and
QBAD are output accordingly. The process output (O_01) is output as “0” with simulation activated.
The command status is linked to the output QSTATUS.
A block must be programmed for the simulation. The output QSTATUS can be evaluated and this
information can be used to form the simulation feedback (SIM_I01, SIM_I23). The assignment
corresponds to the assignment of the process inputs / process output and can be checked in the
chapter 3.8.5 Assignment of the cyclic process image.
3.8.10 Interlock
The interlock functions LOCK and LOCK_ON are active only in the REMOTE mode and apply to the
MANUAL and AUTO modes for all control stations of the SMC_REVS block.
An active interlocking input prevents switching and deactivates the control stations for MANUAL and
AUTO. The control bit is set permanently.
LOCK always overrides LOCK_ON.
The input LOCK_DIR (TRUE = counterclockwise rotation, FALSE = clockwise rotation) determines the
desired option for LOCK_ON.
Resetting LOCK_ON switches the motor to AUTO according to the control station for AUTO. In
MANUAL the motor is switched off.
QLOC_INT is also set if the control state requested with REMOTE has not been reached and no
general fault has occurred (e.g. due to an overriding Off command at the SIMOCODE pro group
control station) within the monitoring time set via TIME_MON. With TIME_MON = 0 or MONITOR =
FALSE this monitoring is deactivated.
The monitoring time is started only after the interlock time has elapsed.
QLOC_INT is reset with the inputs RESET (operator-controllable) / L_RESET (configurable). The
input RESET is reset after the acknowledgement. When L_RESET is active permanently QLOC_INT
is set for the duration of a cycle if the above conditions are fulfilled.
Siemens AG 109
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Current limits
The current limits are read out of the record DS130. Reading of the record is either triggered via the
configurable input parameter L_RD_DATA, in the OS when the limit view is selected or by OS
operation (RD_DATA). The output QEN_RDWR is reset during communication.
The read data are output at the I/O parameters Alarm high (CUR_AH), Alarm low (CUR_AL), Warning
high (CUR_WH) and Warning low (CUR_WL).
The message characteristics of limit value violations is parameterized with SIMOCODE ES or
SIMATIC PDM. Therefor in Monitoring Functions Æ Current Limits the characteristics of trip level /
warning level is configured as follows:
• Trip level: disabled or tripping
• Warning level: disabled or warning.
When an error occurs the values are set to zero and the output is set to QERR_RD=TRUE.
The limits can also be parameterized in the faceplate in addition. When these values are changed,
they are written to SIMOCODE pro.
When an error occurs during writing the values are reset to 0 and the output is set to
QERR_WR=TRUE.
Overshooting or undershooting of the limits triggers sending of the corresponding message unless the
limit signal has been deactivated entirely via the parameter M_SUP_C (default setting is: deactivated).
The messages of the limit value violations are generated in SIMOCODE pro and evaluated in the
block. The outputs QCUR_AH, QCUR_AL, QCUR_WH and QCUR_WL are set accordingly.
Range limits
The range limits for the limit bar are parameterized via the function inputs MO_PVHR and MO_PVLR
and can be set in the OS.
110 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The unassigned signal inputs have not been assigned a fixed meaning and can be activated via the
parameters MSG_x (x=8 – 16) at SMC_REVS.
Siemens AG 111
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
The current limit signals are generated by SIMOCODE pro and they are contained in the diagnosis
structure DIAG_INF.
112 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
There is no block-internal assignment to a certain function for these signals. It can be activated via a
parameter input (MSG_8 – MSG_16) and can be used to signal, for instance, Local_Interruption, the
mode SIMULATION or any other signal.
Siemens AG 113
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
114 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 115
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
116 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
VSTATUS construction
Bit Parameter
0 OCCUPIED
1 BA_EN
2 QSIM
3 QMAN_AUT
4 QCST
5 QGR_ERR
6 QGR_WRN
7 QLOC_INT
8 LOCK / LOCK_ON
9 QRUN
10 QSTOP
11 QDIR
12 -
13 -
14 -
15 OOS
16 - 31 USTATUS
Siemens AG 117
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Operating mode
(QMAN_AUT,
AUT_ON_OP)
Status display
(VSTATUS) Command CCW
Active (REV_ON)
Current (QCUR) / unit
(QCUR#unit) Command Off
(MOT_OFF)
Local Interruption
(QLOC INT) Command CW Active
(FORW_ON)
Interlock (LOCK /
LOCK ON)
Test (QCST)
118 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Limits (LIMITS)
Maintenance (MAINTENANCE)
Activating Monitoring
Monitoring time for Local
(MONITOR)
Interruption (TIME_MON)
Acknowledgement Local
Interruption (RESET) Calling faceplate
SMC_STAT, visible if
EN STAT = TRUE
Siemens AG 119
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Faults (MESSAGE1)
Warnings (MESSAGE2)
120 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
FB2008
The following list shows in addition the parameters which have a default setting for the control function
in the templates for application selection in the SIMOCODE ES software. The settings are a proposal
and depend decisively on the actual wiring of the SIMOCODE pro inputs and outputs.
Additionally the setting of other parameters, e.g. for motor protection, is required. They are not
described here though. The parameterization of the extended I/O interface of the basic type 1 is
described in the chapter 3.2.3 Parameterization in SIMOCODE ES.
Siemens AG 121
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
122 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 123
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
124 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Non-maintained command mode not active / active The parameter setting influences the
parameter JOG_ON at the SIMOCODE-
signal block:
Non-maintained command mode not
active: JOG_ON=FALSE
Non-maintained command mode active:
JOG_ON=TRUE
Saving change-over command active
Motor control Æ control function Æ auxiliary control inputs
Feedback On Status – Motor current
flowing
Outputs Æ Basic unit
BU – Output 1 Contactor control QE1
BU – Output 2 Contactor control QE2
Outputs Æ Operation panel LEDs
LED green 2 Indication QLE>> (On>>)
LED green 3 Indication QLE> (On>)
LED green 4 Indication QLA (Off)
OutputsÆCyclic signalling data
Byte 0, Bit 0 Status – On>>
Byte 0, Bit 1 Status- Off
Byte 0, Bit 2 Status – On>
Byte 0, Bit 3 Event - Overload Operation
Byte 0, Bit 4 Status – Dead interval on reversing
running
Byte 0, Bit 5 Status – Remote mode
Byte 0, Bit 6 Status – General fault
Byte 0, Bit 7 Status – General warning
Byte 1, Bit 0 not connected freely assignable
Byte 1, Bit 1 Status- Test position (TPF)
Byte 1, Bit 2 not connected freely assignable
Byte 1, Bit 3 not connected freely assignable
Byte 1, Bit 4 not connected freely assignable
Byte 1, Bit 5 not connected freely assignable
Byte 1, Bit 6 not connected freely assignable
Byte 1, Bit 7 not connected freely assignable
Byte 2-3 Max. Current Imax
Siemens AG 125
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3.9.4 Function
The block is inserted by the user in a cyclic interrupt-OB (e.g. OB32). The parameter inputs IN_01 and
IN_23 and the parameter output O_01 are also interconnected by the user with the corresponding
symbols for the inputs and outputs of the corresponding SIMOCODE pro unit.
SMC_DAHL accesses the data provided by SIMOCODE pro via the inputs IN_01 (2 Bytes binary
data) and IN_23 (2 Bytes motor current).
Data are sent to SIMOCODE pro via the output O_01 (2 Bytes binary data).
The configuration of the inputs and outputs is determined by the SIMOCODE pro basic type 2.
The access to the inputs and outputs is achieved exclusively via the process image.
The input parameter MODE is used by the block to determine whether the inputs IN_01 and IN_23 are
valid. In the case of a primary fault all inputs will be read by SIMOCODE pro with “0” and read out at
the corresponding outputs of the block.
The motor current is uploaded via the input parameter IN_23 as an unsigned 2 Byte value. In this
process SIMOCODE pro uploads the current always in percent of the current setting in a range of 0 to
1000%. The motor current is output via the output QCUR.
126 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The assignment of the bytes 2 / 3 of the analog control interface and of the bytes 4 - 9 of the cyclic
signalling data when the basic type 1 is used is described in the chapter 3.2.5 Assignment of the cyclic
process image.
Siemens AG 127
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
In manual mode, the control of SIMOCODE pro is achieved either via the function inputs SP1_ON,
SP2_ON and MOT_OFF which are set by the OS, or via the configurable function inputs L_SP1,
L_SP2 and L_OFF.
The inputs for the operator enabling S1_OP_EN / S2_OP_EN / OFFOP_EN set the outputs QS1_OP /
QS2_OP / QOFF_OP for the operator control via OS.
With an edge of the command input the corresponding control bit is set in the interface until
SIMOCODE pro provides the corresponding feedback or an error occurs (QGR_ERR = TRUE). When
the error is acknowledged, the control bit is set anew when the command at the configurable manual
interface is active.
The Off command overrides the On commands (no edge evaluation!).
The following priorities apply to the On commands:
Slow overrides fast.
After switchover to manual operation and when L_SP1 / L_SP2 / L_OFF is active, the commands will
be executed only with a positive edge change at the inputs.
128 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Automatic commands
AUTO_ON
AUTO_SPD
SIMOCODE pro
AUTO
Interconnectable inputs
1 DP 0.0, 0.1, 0.2 PROFIBUS-DP
L_SP1
0
L_SP2 Operating mode AUTO/ MANUAL: QREMOTE = TRUE
MANUAL LIOP_SEL
L_OFF
Manual control / Operator input
1 AUTOP_EN
AUT_ON_OP MANOP_EN
0
0
AUT_L
Operator-controllable inputs 1
SP1_ON
Operator control modality REMOTE/LOCAL
S1_OP_EN
LINK_MAN
SP2_ON REM_ON_OP
1 DP 0.5 S1
S2_OP_EN LOCOP_EN_EN
MAN_ON
MOT_OFF REM_L
0
S2
OFFOP_EN
REM_SEL
Siemens AG 129
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3.9.9 Simulation
The simulation mode is activated via the input SIM_ON and it overrides any other operating mode.
With SIM_ON = TRUE the block processes the simulation values (SIM_I01: binary data, SIM_I23:
motor current) instead of the process values of SIMOCODE pro (IN_01, IN_23). QSIM, QUALITY and
QBAD are output accordingly. The process output (O_01) is output as “0” with simulation activated.
The command status is linked to the output QSTATUS.
A block must be programmed for the simulation. The output QSTATUS can be evaluated and this
information can be used to form the simulation feedback (SIM_I01, SIM_I23). The assignment
corresponds to the assignment of the process inputs / process output and can be checked in the
chapter 3.9.5 Assignment of the cyclic process image.
3.9.10 Interlock
The interlock functions LOCK and LOCK_ON are active only in the REMOTE mode and apply to the
MANUAL and AUTO modes for all control stations of the SMC_DAHL block.
An active interlocking input prevents switching and deactivates the control stations for MANUAL and
AUTO. The control bit is set permanently.
LOCK always overrides LOCK_ON.
The input LOCK_SPD (TRUE = Speed 2, FALSE = Speed 1) determines the desired option for
LOCK_ON.
Resetting LOCK_ON switches the motor to AUTO according to the control station for AUTO. In
MANUAL the motor is switched off.
QLOC_INT is also set if the control state requested with REMOTE has not been reached and no
general fault has occurred (e.g. due to an overriding Off command at the SIMOCODE pro group
control station) within the monitoring time set via TIME_MON. With TIME_MON = 0 or MONITOR =
FALSE this monitoring is deactivated.
The monitoring time is started only after the dead interval on reversing has elapsed.
QLOC_INT is reset with the inputs RESET (operator-controllable) / L_RESET (configurable). The
input RESET is reset after the acknowledgement. When L_RESET is active permanently QLOC_INT
is set for the duration of a cycle if the above conditions are fulfilled.
130 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Current limits
The current limits are read out of the record DS130. Reading of the record is either triggered via the
configurable input parameter L_RD_DATA, in the OS when the limit view is selected or by OS
operation (RD_DATA). The output QEN_RDWR is reset during communication.
The read data are output at the I/O parameters Alarm high (CUR_AH), Alarm low (CUR_AL), Warning
high (CUR_WH) and Warning low (CUR_WL).
When an error occurs the values are set to zero and the output is set to QERR_RD=TRUE.
The limits can also be parameterized in the faceplate in addition. When these values are changed,
they are written to SIMOCODE pro.
The message characteristics of limit value violations is parameterized with SIMOCODE ES or
SIMATIC PDM. Therefor in Monitoring Functions Æ Current Limits the characteristics of trip level /
warning level is configured as follows:
• Trip level: disabled or tripping
• Warning level: disabled or warning.
When an error occurs during writing the values are reset to 0 and the output is set to
QERR_WR=TRUE.
Overshooting or undershooting of the limits triggers sending of the corresponding message unless the
limit signal has been deactivated entirely via the parameter M_SUP_C (default setting is: deactivated).
The messages of the limit value violations are generated in SIMOCODE pro and evaluated in the
block. The outputs QCUR_AH, QCUR_AL, QCUR_WH and QCUR_WL are set accordingly.
Range limits
The range limits for the limit bar are parameterized via the function inputs MO_PVHR and MO_PVLR
and can be set in the OS.
Siemens AG 131
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
The unassigned signal inputs have not been assigned a fixed meaning and can be activated via the
parameters MSG_x (x=8 – 16) at SMC_DAHL.
132 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The current limit signals are generated by SIMOCODE pro and they are contained in the diagnosis
structure DIAG_INF.
Siemens AG 133
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
There is no block-internal assignment to a certain function for these signals. It can be activated via a
parameter input (MSG_8 – MSG_16) and can be used to signal, for instance, Local_Interruption, the
mode SIMULATION or any other signal.
134 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 135
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
136 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 137
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
VSTATUS construction
Bit Parameter
0 OCCUPIED
1 BA_EN
2 QSIM
3 QMAN_AUT
4 QCST
5 QGR_ERR
6 QGR_WRN
7 QLOC_INT
8 LOCK / LOCK_ON
9 QRUN
10 QSTOP
11 -
12 QSPEED
13 -
14 -
15 OOS
16 - 31 USTATUS
138 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Test (QCST)
Operator control
modality (QREMOTE) Acknowledgement
(RESET)
Change-over pause
active (QCOA)
Siemens AG 139
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Limits (LIMITS)
Maintenance (MAINTENANCE)
Activating Monitoring
Monitoring time for Local (MONITOR)
Interruption (TIME_MON)
Acknowledgement Local
Interruption (RESET) Calling faceplate
SMC_STAT, visible if
EN STAT = TRUE
140 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Faults (MESSAGE1)
Warnings (MESSAGE2)
Siemens AG 141
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
FB2009
The following list shows in addition the parameters which have a default setting for the control function
in the templates for application selection in the SIMOCODE ES software. The settings are a proposal
and depend decisively on the actual wiring of the SIMOCODE pro inputs and outputs.
Additionally the setting of other parameters, e.g. for motor protection, is required. They are not
described here though. The parameterization of the extended I/O interface of the basic type 1 is
described in the chapter 3.2.3 Parameterization in SIMOCODE ES.
142 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 143
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
144 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 145
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
146 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 147
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3.10.4 Function
The block is inserted by the user in a cyclic interrupt-OB (e.g. OB32). The parameter inputs IN_01 and
IN_23 and the parameter output O_01 are also interconnected by the user with the corresponding
symbols for the inputs and outputs of the corresponding SIMOCODE pro unit.
SMC_REVD accesses the data provided by SIMOCODE pro via the inputs IN_01 (2 Bytes binary
data) and IN_23 (2 Bytes motor current).
Data are sent to SIMOCODE pro via the output O_01 (2 Bytes binary data).
The configuration of the inputs and outputs is determined by the SIMOCODE pro basic type 2.
The access to the inputs and outputs is achieved exclusively via the process image.
The input parameter MODE is used by the block to determine whether the inputs IN_01 and IN_23 are
valid. In the case of a primary fault all inputs will be read by SIMOCODE pro with “0” and read out at
the corresponding outputs of the block.
148 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The motor current is uploaded via the input parameter IN_23 as an unsigned 2 Byte value. In this
process SIMOCODE pro uploads the current always in percent of the current setting in a range of 0 to
1000%. The motor current is output via the output QCUR.
The assignment of the bytes 2 / 3 of the analog control interface and of the bytes 4 - 9 of the cyclic
signalling data when the basic type 1 is used is described in the chapter 3.2.5 Assignment of the cyclic
process image.
3.10.6 Operating modes
Switchover of control station (REMOTE, LOCAL)
The switchover of the control station is effected via the configurable function input REM_L if the input
REM_SEL has been set or via the function input REM_ON_OP which is set by the OS.
The function input (REMOP_EN) influences the operator enabling (QLOCOP) for the operation via the
OS.
The operating mode of the control station is output via the output QREMOTE (1=REMOTE,
0=LOCAL). QREMOTE corresponds to the Bit DP 0.5 of SIMOCODE pro here.
In LOCAL mode the control is completely switched off via the SMC_REVD block. Control is possible
then only via the control station which is directly connected with SIMOCODE pro . Fault
acknowledgement is still possible.
Switchover of operating modes (MANUAL, AUTO) with REMOTE selected
With QREMOTE = TRUE the MANUAL and AUTOMATIC operating modes switchover is achieved
either with OS operation by means of AUT_ON_OP (LIOP_SEL = 0) or with the interconnection of the
input AUT_L (LIOP_SEL = 1).
The function inputs (MANOP_EN, AUTOP_EN) influence the operator enabling (QMANOP, QAUTOP)
for the operation via the OS.
The operating mode is output at the output QMAN_AUT (1=AUTO, 0=MANUAL).
Switchover of control station for MANUAL
In the REMOTE mode the operation can be effected in the MANUAL mode either via the OS or via the
configurable function inputs. The switchover is done via the configurable function input LINK_MAN.
Siemens AG 149
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
In manual mode, the control of SIMOCODE pro is achieved either via the function inputs
FWSP1_ON, FWSP2_ON, RVSP1_ON, RVSP2_ON and MOT_OFF, which are set by the OS, or via
the configurable function inputs L_FWSP1, L_FWSP2, L_RVSP1, L_RVSP2 and L_OFF.
The inputs for the operator enabling FS1OP_EN / FS2OP_EN / RS1OP_EN / RS2OP_EN /
OFFOP_EN set the outputs QFS1_OP / QFS2_OP / QRS1_OP / QRS2_OP / QOFF_OP for the
operator control via OS.
With an edge of the command input the corresponding control bit is set in the interface until
SIMOCODE pro provides the corresponding feedback or an error occurs (QGR_ERR = TRUE). When
the error is acknowledged, the control bit is set anew when the command at the configurable manual
interface is active.
The Off command overrides the On commands (no edge evaluation!).
The following priorities apply to the On commands:
Clockwise overrides counterclockwise / slow overrides fast.
After switchover to manual operation and when L_FWSP1 / L_FWSP2 / L_RVSP1 / L_RVSP2 /
L_OFF is active, the commands will be executed only with a positive edge change at the inputs.
150 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Automatic commands
AUTO_ON
AUTO_SPD
SIMOCODE pro
AUTO_DIR
Local control station
AUTO
Interconnectable inputs
1 DP 0.0, 0.1, 0.2, 1.0 und 1.2 PROFIBUS-DP
L_FWSP1
0
L_FWSP2
Control mode AUTO/ MANUAL: QREMOTE = TRUE
L_RVSP1 MANUAL LIOP_SEL
Manual control / operator input
L_RVSP2
L_OFF 1 AUTOP_EN
AUT_ON_OP MANOP_EN
0
0
AUT_L
1 MAN_ONOP
Operator-controllable inputs
FWSP1_ON
Operator control modality REMOTE/LOCAL
FS1OP_EN
LINK_MAN
FWSP2_ON REM_ON_OP
1 DP 0.5 S1
FS2OP_EN LOCOP_EN_EN
MAN_ON
RVSP1_ON REM_L
0
RS1OP_EN S2
RVSP2_ON
REM_SEL
RS2OP_EN
MOT_OFF
OFFOP_EN
Siemens AG 151
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3.10.9 Simulation
The simulation mode is activated via the input SIM_ON and it overrides any other operating mode.
With SIM_ON = TRUE the block processes the simulation values (SIM_I01: binary data, SIM_I23:
motor current) instead of the process values of SIMOCODE pro (IN_01, IN_23). QSIM, QUALITY and
QBAD are output accordingly. The process output (O_01) is output as “0” with simulation activated.
The command status is linked to the output QSTATUS.
A block must be programmed for the simulation. The output QSTATUS can be evaluated and this
information can be used to form the simulation feedback (SIM_I01, SIM_I23). The assignment
corresponds to the assignment of the process inputs / process output and can be checked in the
chapter 3.10.5 Assignment of the cyclic process image.
3.10.10 Interlock
The interlock functions LOCK and LOCK_ON are active only in the REMOTE mode and apply to the
MANUAL and AUTO modes for all control stations of the SMC_REVD block.
An active interlocking input prevents switching and deactivates the control stations for MANUAL and
AUTO. The control bit is set permanently.
LOCK always overrides LOCK_ON.
The inputs LOCK_DIR (TRUE = COUNTERCLOCKWISE, FALSE = CLOCKWISE) and LOCK_SPD
(TRUE = speed 2, FALSE = speed 1) determine the desired option for LOCK_ON.
Resetting LOCK_ON switches the motor to AUTO according to the control station for AUTO. In
MANUAL the motor is switched off.
QLOC_INT is also set if the control state requested with REMOTE has not been reached and no
general fault has occurred (e.g. due to an overriding Off command at the SIMOCODE pro group
control station) within the monitoring time set via TIME_MON. With TIME_MON = 0 or MONITOR =
FALSE this monitoring is deactivated.
The monitoring time is started only after the interlock time and/or the dead interval on reversing has
elapsed.
QLOC_INT is reset with the inputs RESET (operator-controllable) / L_RESET (configurable). The
input RESET is reset after the acknowledgement. When L_RESET is active permanently QLOC_INT
is set for the duration of a cycle if the above conditions are fulfilled.
152 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Current limits
The current limits are read out of the record DS130. Reading of the record is either triggered via the
configurable input parameter L_RD_DATA, in the OS when the limit view is selected or by OS
operation (RD_DATA). The output QEN_RDWR is reset during communication.
The read data are output at the I/O parameters Alarm high (CUR_AH), Alarm low (CUR_AL), Warning
high (CUR_WH) and Warning low (CUR_WL).
When an error occurs the values are set to zero and the output is set to QERR_RD=TRUE.
The limits can also be parameterized in the faceplate in addition. When these values are changed,
they are written to SIMOCODE pro.
The message characteristics of limit value violations is parameterized with SIMOCODE ES or
SIMATIC PDM. Therefor in Monitoring Functions Æ Current Limits the characteristics of trip level /
warning level is configured as follows:
• Trip level: disabled or tripping
• Warning level: disabled or warning.
When an error occurs during writing the values are reset to 0 and the output is set to
QERR_WR=TRUE.
Overshooting or undershooting of the limits triggers sending of the corresponding message unless the
limit signal has been deactivated entirely via the parameter M_SUP_C (default setting is: deactivated).
The messages of the limit value violations are generated in SIMOCODE pro and evaluated in the
block. The outputs QCUR_AH, QCUR_AL, QCUR_WH and QCUR_WL are set accordingly.
Range limits
The range limits for the limit bar are parameterized via the function inputs MO_PVHR and MO_PVLR
and can be set in the OS.
Siemens AG 153
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
The current limit signals are generated by SIMOCODE pro and they are contained in the diagnosis
structure DIAG_INF.
154 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
There is no block-internal assignment to a certain function for these signals. It can be activated via a
parameter input (MSG_8 – MSG_16) and can be used to signal, for instance, Local_Interruption, the
mode SIMULATION or any other signal.
Siemens AG 155
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
156 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 157
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
158 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
VSTATUS construction
Bit Parameter
0 OCCUPIED
1 BA_EN
2 QSIM
3 QMAN_AUT
4 QCST
5 QGR_ERR
6 QGR_WRN
7 QLOC_INT
8 LOCK / LOCK_ON
9 QRUN
10 QSTOP
11 QDIR
12 QSPEED
13 -
14 -
15 OOS
16 - 31 USTATUS
Siemens AG 159
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Test (QCST)
Acknowledgement
Operator control (RESET)
modality (QREMOTE)
160 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Limits (LIMITS)
Maintenance (MAINTENANCE)
Activating Monitoring
Monitoring time for Local (MONITOR)
Interruption (TIME_MON)
Acknowledgement Local
Interruption (RESET) Calling faceplate
SMC_STAT, visible if
EN STAT = TRUE
Siemens AG 161
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Faults (MESSAGE1)
Warnings (MESSAGE2)
162 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
FB2010
The following list shows in addition the parameters which have a default setting for the control function
in the templates for application selection in the SIMOCODE ES software. The settings are a proposal
and depend decisively on the actual wiring of the SIMOCODE pro inputs and outputs.
Additionally the setting of other parameters, e.g. for motor protection, is required. They are not
described here though. The parameterization of the extended I/O interface of the basic type 1 is
described in the chapter 3.2.3 Parameterization in SIMOCODE ES.
Siemens AG 163
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
164 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 165
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3.11.4 Function
The block is inserted by the user in a cyclic interrupt-OB (e.g. OB32). The parameter input IN_01 and
the parameter output O_01 are also interconnected by the user with the corresponding symbols for
the inputs and outputs of the corresponding SIMOCODE pro unit.
SMC_VAL accesses the data provided by SIMOCODE pro via the input IN_01 (2 Bytes binary data).
Data are sent to SIMOCODE pro via the output O_01 (2 Bytes binary data).
The configuration of the inputs and outputs is determined by the SIMOCODE pro basic type 2.
The access to the inputs and outputs is achieved exclusively via the process image.
The input parameter MODE is used by the block to determine whether the input IN_01 is valid. In the
case of a primary fault the input will be read by SIMOCODE pro with “0” and read out at the
corresponding outputs of the block.
The assignment of the bytes 2 / 3 of the analog control interface and of the bytes 4 - 9 of the cyclic
signalling data when the basic type 1 is used is described in the chapter 3.2.5 Assignment of the cyclic
process image.
166 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 167
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
In manual mode, the control of SIMOCODE pro is achieved either via the function inputs OPEN_VAL
and CLOS_VAL, which are set by the OS, or via the configurable function inputs L_OPEN and
L_CLOSE.
The inputs for the operator enabling OP_OP_EN / CL_OP_EN set the outputs QOP_OP / QCL_OP for
the operation via OS.
With an edge of the command input the corresponding control bit is set in the interface until
SIMOCODE pro provides the corresponding feedback or an error occurs (QGR_ERR = TRUE). When
the error is acknowledged, the control bit is set anew when the command at the configurable manual
interface is active.
The Close command overrides the Open command (no edge evaluation!).
After switchover to manual operation and when L_OPEN / L_CLOSE is active, the commands will be
executed only with a positive edge change at the inputs.
168 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Automatic commands
AUTO_OC
SIMOCODE pro
AUTO
Interconnectable inputs
1 DP 0.1, 0.2
PROFIBUS-DP
L_OPEN
0
L_CLOSE Control mode AUTO/ MANUAL: QREMOTE = TRUE
MANUAL LIOP_SEL
Manual control / operator input
1 AUTOP_EN
AUT_ON_OP MANOP_EN
0
0
AUT_L
1 MAN_ONOP
Operator-controllable inputs
OPEN_VAL
Operator control modality REMOTE/LOCAL
OP_OP_EN
LINK_MAN
CLOS_VAL REM_ON_OP
1 DP 0.5 S1
LOCOP_EN_EN
CL_OP_EN
REM_L
0
S2
REM_SEL
Siemens AG 169
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3.11.9 Simulation
The simulation mode is activated via the input SIM_ON and it overrides any other operating mode.
With SIM_ON = TRUE the block processes the simulation values (SIM_I01: binary data) instead of the
process values of SIMOCODE pro (IN_01). QSIM, QUALITY and QBAD are output accordingly. The
process output (O_01) is output as “0” with simulation activated. The command status is linked to the
output QSTATUS.
A block must be programmed for the simulation. The output QSTATUS can be evaluated and this
information can be used to form the simulation feedback (SIM_I01). The assignment corresponds to
the assignment of the process input / process output and can be checked in the chapter 3.11.5
Assignment of the cyclic process image.
3.11.10 Interlock
The interlock functions V_LOCK, VL_CLOS and VL_OPEN are active only in the REMOTE mode and
apply to the MANUAL and AUTO modes for all control stations of the SMC_VAL block.
An active interlocking input prevents switching and deactivates the control stations for MANUAL and
AUTO. The control bit is set permanently.
The input SS_POS (TRUE = Open, FALSE = Close) corresponds to the safe position and determines
the control with V_LOCK.
The priorities have the following order from high to low: V_LOCK Æ VL_CLOS Æ CL_OPEN
Resetting the interlocking input switches the valve in the AUTO mode according to the control station
for AUTO. In the MANUAL mode the valve is switched to the safe position.
QLOC_INT is also set if the control state requested with REMOTE has not been reached and no
general fault has occurred (e.g. due to an overriding Close command at the SIMOCODE pro group
control station) within the monitoring time set via TIME_MON. With TIME_MON = 0 or MONITOR =
FALSE this monitoring is deactivated.
QLOC_INT is reset with the inputs RESET (operator-controllable) / L_RESET (configurable). The
input RESET is reset after the acknowledgement. When L_RESET is active permanently QLOC_INT
is set for the duration of a cycle if the above conditions are fulfilled.
170 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 171
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
There is no block-internal assignment to a certain function for these signals. It can be activated via a
parameter input (MSG_4 – MSG_16) and can be used to signal, for instance, Local_Interruption, the
mode SIMULATION or any other signal.
172 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 173
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
174 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
VSTATUS construction
Bit Parameter
0 OCCUPIED
1 BA_EN
2 QSIM
3 QMAN_AUT
4 QCST
5 QGR_ERR
6 QGR_WRN
7 QLOC_INT
8 V_LOCK / VL_CLOS / VL_OPEN
9 QOPENED
10 QCLOSED
11 -
12 -
13 -
14 -
15 OOS
16 - 31 USTATUS
Siemens AG 175
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Control mode
(QMAN_AUT,
AUT_ON_OP)
Status display
(VSTATUS) VL_CLOS / V_LOCK
and SS_POS
Local Interruption
(QLOC INT)
Command Close
Interlock (V_LOCK, (CLOS_VAL)
VL_OPEN, VL_CLOSE
Command Open
(OPEN VAL)
Test (QCST)
VL_OPEN / V_LOCK
and SS_POS
Operator control
modality (QREMOTE)
Acknowledgement
(RESET)
Maintenance (MAINTENANCE)
Activating Monitoring
Monitoring time for Local (MONITOR)
Interruption (TIME_MON)
Acknowledgement Local
Interruption (RESET) Calling faceplate
SMC_STAT, visible if
EN STAT = TRUE
176 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Faults (MESSAGE1)
Warnings (MESSAGE2)
Siemens AG 177
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
FB2011
The following list shows in addition the parameters which have a default setting for the control function
in the templates for application selection in the SIMOCODE ES software. The settings are a proposal
and depend decisively on the actual wiring of the SIMOCODE pro inputs and outputs.
Additionally the setting of other parameters, e.g. for motor protection, is required. They are not
described here though. The parameterization of the extended I/O interface of the basic type 1 is
described in the chapter 3.2.3 Parameterization in SIMOCODE ES.
178 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 179
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
180 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
3.12.4 Function
The block is inserted by the user in a cyclic interrupt-OB (e.g. OB32). The parameter inputs IN_01 and
IN_23 and the parameter output O_01 are also interconnected by the user with the corresponding
symbols for the inputs and outputs of the corresponding SIMOCODE pro unit.
SMC_POS accesses the data provided by SIMOCODE pro via the inputs IN_01 (2 Bytes binary data)
and IN_23 (2 Bytes motor current).
Data are sent to SIMOCODE pro via the output O_01 (2 Bytes binary data).
The configuration of the inputs and outputs is determined by the SIMOCODE pro basic type 2.
The access to the inputs and outputs is achieved exclusively via the process image.
The input parameter MODE is used by the block to determine whether the inputs IN_01 and IN_23 are
valid. In the case of a primary fault all inputs will be read by SIMOCODE pro with “0” and read out at
the corresponding outputs of the block.
Siemens AG 181
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
The motor current is uploaded via the input parameter IN_23 as an unsigned 2 Byte value. In this
process SIMOCODE pro uploads the current always in percent of the current setting in a range of 0 to
1000%. The motor current is output via the output QCUR.
The assignment of the bytes 2 / 3 of the analog control interface and of the bytes 4 - 9 of the cyclic
signalling data when the basic type 1 is used is described in the chapter 3.2.5 Assignment of the cyclic
process image.
182 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
In manual mode, the control of SIMOCODE pro is achieved either via the function inputs OPEN_VAL,
CLOS_VAL and STOP_VAL, which are set by the OS, or via the configurable function inputs
L_OPEN, L_CLOSE and L_STOP.
The inputs for the operator enabling OP_OP_EN / CL_OP_EN / ST_OP_EN set the outputs QOP_OP
/ QCL_OP / QST_OP for the operation via OS.
With an edge of the command input the corresponding control bit is set in the interface until
SIMOCODE pro provides the corresponding feedback or an error occurs (QGR_ERR = TRUE). When
the error is acknowledged, the control bit is set anew when the command at the configurable manual
interface is active.
The Stop command overrides the Open / Close commands (no edge evaluation!).
After switchover to manual operation and when L_OPEN / L_CLOSE / L_STOP is active, the
commands will be executed only with a positive edge change at the inputs.
Siemens AG 183
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
AUTO_ON
AUTO_OC
SIMOCODE pro
AUTO
Interconnectable inputs
1 DP 0.0, 0.1, 0.2
PROFIBUS -DP
L_OPEN
0
L_CLOSE Control mode AUTO/ MANUAL: QREMOTE = TRUE
MANUAL
LIOP_SEL
L_STOP Manual control / Operator input
1 AUTOP_EN
AUT_ON_OP MANOP_EN
0
0
AUT_L
1 MAN_ONOP
Operator - controllable inputs
OPEN_VAL
Operator control modality REMOTE/LOCAL
OP_OP_EN
LINK_MAN
CLOS_VAL REM_ON_OP
1 DP 0.5 S1
CL_OP_EN LOCOP_EN_EN
STOP_VAL REM_L
0
ST_OP_EN
S2
REM_SEL
184 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
3.12.9 Simulation
The simulation mode is activated via the input SIM_ON and it overrides any other operating mode.
With SIM_ON = TRUE the block processes the simulation values (SIM_I01: binary data, SIM_I23:
motor current) instead of the process values of SIMOCODE pro (IN_01, IN_23). QSIM, QUALITY and
QBAD are output accordingly. The process output (O_01) is output as “0” with simulation activated.
The command status is linked to the output QSTATUS.
A block must be programmed for the simulation. The output QSTATUS can be evaluated and this
information can be used to form the simulation feedback (SIM_I01, SIM_I23). The assignment
corresponds to the assignment of the process inputs / process output and can be checked in the
chapter 3.12.5 Assignment of the cyclic process image.
3.12.10 Interlock
The interlock functions V_LOCK, VL_CLOS, VL_OPEN and VL_HOLD are active only in the REMOTE
mode and apply to the MANUAL and AUTO modes for all control stations of the SMC_POS block.
An active interlocking input prevents switching and deactivates the control stations for MANUAL and
AUTO. The control bit is set permanently.
The input SS_POS (TRUE = Open, FALSE = Close) corresponds to the safe position and determines
the control with V_LOCK.
The priorities have the following order from high to low: V_LOCK Æ VL_CLOS Æ CL_OPEN Æ
VL_HOLD
Resetting the interlocking input switches the actuator in the AUTO mode according to the control
station for AUTO. In the MANUAL mode the valve is switched to the safe position.
QLOC_INT is also set if the control state requested with REMOTE has not been reached and no
general fault has occurred (e.g. due to an overriding Close command at the SIMOCODE pro group
control station) within the monitoring time set via TIME_MON. With TIME_MON = 0 or MONITOR =
FALSE this monitoring is deactivated.
QLOC_INT is reset with the inputs RESET (operator-controllable) / L_RESET (configurable). The
input RESET is reset after the acknowledgement. When L_RESET is active permanently QLOC_INT
is set for the duration of a cycle if the above conditions are fulfilled.
Siemens AG 185
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Current limits
The current limits are read out of the record DS130. Reading of the record is either triggered via the
configurable input parameter L_RD_DATA, in the OS when the limit view is selected or by OS
operation (RD_DATA). The output QEN_RDWR is reset during communication.
The read data are output at the I/O parameters Alarm high (CUR_AH), Alarm low (CUR_AL), Warning
high (CUR_WH) and Warning low (CUR_WL).
When an error occurs the values are set to zero and the output is set to QERR_RD=TRUE.
The limits can also be parameterized in the faceplate in addition. When these values are changed,
they are written to SIMOCODE pro.
The message characteristics of limit value violations is parameterized with SIMOCODE ES or
SIMATIC PDM. Therefor in Monitoring Functions Æ Current Limits the characteristics of trip level /
warning level is configured as follows:
• Trip level: disabled or tripping
• Warning level: disabled or warning.
When an error occurs during writing the values are reset to 0 and the output is set to
QERR_WR=TRUE.
Overshooting or undershooting of the limits triggers sending of the corresponding message unless the
limit signal has been deactivated entirely via the parameter M_SUP_C (default setting is: deactivated).
The messages of the limit value violations are generated in SIMOCODE pro and evaluated in the
block. The outputs QCUR_AH, QCUR_AL, QCUR_WH and QCUR_WL are set accordingly.
Range limits
The range limits for the limit bar are parameterized via the function inputs MO_PVHR and MO_PVLR
and can be set in the OS.
186 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The unassigned signal inputs have not been assigned a fixed meaning and can be activated via the
parameters MSG_x (x=8 – 16) at SMC_POS.
Siemens AG 187
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
The current limit signals are generated by SIMOCODE pro and they are contained in the diagnosis
structure DIAG_INF.
188 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
There is no block-internal assignment to a certain function for these signals. It can be activated via a
parameter input (MSG_8 – MSG_16) and can be used to signal, for instance, Local_Interruption, the
mode SIMULATION or any other signal.
Siemens AG 189
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
190 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 191
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
192 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
VSTATUS construction
Bit Parameter
0 OCCUPIED
1 BA_EN
2 QSIM
3 QMAN_AUT
4 QCST
5 QGR_ERR
6 QGR_WRN
7 QLOC_INT
8 V_LOCK / VL_CLOS / VL_OPEN / VL_HOLD
9 QOPENED
10 QSTOP
11 QCLOSED
12 -
13 QOPENING
14 QCLOSING
15 OOS
16 - 31 USTATUS
Flashing Flashing
Siemens AG 193
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Test (QCST)
Operator control
modality (QREMOTE)
Acknowledgement
(RESET)
Interlocking time active
(QLTA)
194 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Limits (LIMITS)
Maintenance (MAINTENANCE)
Activating Monitoring
Monitoring time for Local (MONITOR)
Interruption (TIME_MON)
Acknowledgement Local
Interruption (RESET)
Calling faceplate
SMC_STAT, visible if
EN STAT = TRUE
Siemens AG 195
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Faults (MESSAGE1)
Warnings (MESSAGE2)
196 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
FB2012
The following list shows in addition the parameters which have a default setting for the control function
in the templates for application selection in the SIMOCODE ES software. The settings are a proposal
and depend decisively on the actual wiring of the SIMOCODE pro inputs and outputs.
Additionally the setting of other parameters, e.g. for motor protection, is required. They are not
described here though. The parameterization of the extended I/O interface of the basic type 1 is
described in the chapter 3.2.3 Parameterization in SIMOCODE ES.
Motor control Æ control function Æ auxiliary control inputs
Feedback On Status – Motor current flowing
OutputsÆCyclic signalling data
Byte 0, Bit 0 not connected
Byte 0, Bit 1 not connected
Byte 0, Bit 2 not connected
Byte 0, Bit 3 Event - Overload Operation
Byte 0, Bit 4 not connected
Byte 0, Bit 5 not connected
Byte 0, Bit 6 Status – General fault
Byte 0, Bit 7 Status – General warning
Byte 1, Bit 0-7 not connected freely assignable
Siemens AG 197
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3.13.4 Function
The block is inserted by the user in a cyclic interrupt-OB (e.g. OB32). The parameter inputs IN_01 and
IN_23 and the parameter output O_01 are also interconnected by the user with the corresponding
symbols for the inputs and outputs of the corresponding SIMOCODE pro unit.
SMC_OVL accesses the data provided by SIMOCODE pro via the inputs IN_01 (2 Bytes binary data)
and IN_23 (2 Bytes motor current).
Data are sent to SIMOCODE pro via the output O_01 (2 Bytes binary data).
The configuration of the inputs and outputs is determined by the SIMOCODE pro basic type 2.
The access to the inputs and outputs is achieved exclusively via the process image.
The input parameter MODE is used by the block to determine whether the inputs IN_01 and IN_23 are
valid. In the case of a primary fault all inputs will be read by SIMOCODE pro with “0” and read out at
the corresponding outputs of the block.
The motor current is uploaded via the input parameter IN_23 as an unsigned 2 Byte value. In this
process SIMOCODE pro uploads the current always in percent of the current setting in a range of 0 to
1000%. The motor current is output via the output QCUR.
198 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The assignment of the bytes 2 / 3 of the analog control interface and of the bytes 4 - 9 of the cyclic
signalling data when the basic type 1 is used is described in the chapter 3.2.5 Assignment of the cyclic
process image.
3.13.6 Simulation
The simulation mode is activated via the input SIM_ON and it overrides any other operating mode.
With SIM_ON = TRUE the block processes the simulation values (SIM_I01: binary data, SIM_I23:
motor current) instead of the process values of SIMOCODE pro (IN_01, IN_23). QSIM, QUALITY and
QBAD are output accordingly. The process output (O_01) is output as “0” with simulation activated.
The command status is linked to the output QSTATUS.
A block must be programmed for the simulation. The output QSTATUS can be evaluated and this
information can be used to form the simulation feedback (SIM_I01, SIM_I23). The assignment
corresponds to the assignment of the process inputs / process output and can be checked in the
chapter 3.13.5 Assignment of the cyclic process image.
Siemens AG 199
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
200 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The current limit signals are generated by SIMOCODE pro and they are contained in the diagnosis
structure DIAG_INF.
There is no block-internal assignment to a certain function for these signals. It can be activated via a
parameter input (MSG_7 – MSG_16) and can be used to signal, for instance, Local_Interruption, the
mode SIMULATION or any other signal.
Siemens AG 201
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
202 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 203
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
204 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
VSTATUS construction
Bit Parameter
0 OCCUPIED
1 BA_EN
2 QSIM
3 -
4 QCST
5 QGR_ERR
6 QGR_WRN
7 -
8 -
9 -
10 -
11 -
12 -
13 -
14 -
15 OOS
16 - 31 USTATUS
Siemens AG 205
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Standard (STANDARD)
Status
The status display is a user object which consists of several state displays. The status display
corresponds to the visualization from the process mimic symbol.
Status display
(VSTATUS) State (QGR_ERR)
Test (QCST)
Acknowledgement
(RESET)
206 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Limits (LIMITS)
Faults (MESSAGE1)
Siemens AG 207
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Warnings (MESSAGE2)
208 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
FB2013
The following list shows in addition the parameters which have a default setting for the control function
in the templates for application selection in the SIMOCODE ES software. The settings are a proposal
and depend decisively on the actual wiring of the SIMOCODE pro inputs and outputs.
Additionally the setting of other parameters, e.g. for motor protection, is required. They are not
described here though. The parameterization of the extended I/O interface of the basic type 1 is
described in the chapter 3.2.3 Parameterization in SIMOCODE ES.
Motor control Æ control stations
Mode selector S1 Cycl. Receive - Bit 0.5
Mode selector S2 Fixed level 1
Local Control [LC]
Off BU – input 2
On BU – input 1
Operator enabling Local Control active
2 Off
Operator enabling Local Control active
2 On
Operator Enabling Remote Off not active
Operator Enabling Remote On not active
Siemens AG 209
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
PLC/PCS [DP]
Off Cycl. Receive - Bit 0.1
On Cycl. Receive - Bit 0.2
Operator enabling Local Control not active
2 Off
Operator enabling Local Control not active
2 On
Operator Enabling Remote Off active
Operator Enabling Remote On active
Operation Panel [OP]
Off OP button 4
On OP button 3
Operator enabling Local Control active
2 Off
Operator enabling Local Control active
2 On
Operator Enabling Remote Off not active
Operator Enabling Remote On not active
Motor control Æ control function Æ control commands
Off Released control command -
Off
On> Released control command –
On>
210 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 211
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3.14.4 Function
The block is inserted by the user in a cyclic interrupt-OB (e.g. OB32). The parameter inputs IN_01 and
IN_23 and the parameter output O_01 are also interconnected by the user with the corresponding
symbols for the inputs and outputs of the corresponding SIMOCODE pro unit.
SMC_CB accesses the data provided by SIMOCODE pro via the inputs IN_01 (2 Bytes binary data)
and IN_23 (2 Bytes motor current).
Data are sent to SIMOCODE pro via the output O_01 (2 Bytes binary data).
The configuration of the inputs and outputs is determined by the SIMOCODE pro basic type 2.
The access to the inputs and outputs is achieved exclusively via the process image.
The input parameter MODE is used by the block to determine whether the inputs IN_01 and IN_23 are
valid. In the case of a primary fault all inputs will be read by SIMOCODE pro with “0” and read out at
the corresponding outputs of the block.
The motor current is uploaded via the input parameter IN_23 as an unsigned 2 Byte value. In this
process SIMOCODE pro uploads the current always in percent of the current setting in a range of 0 to
1000%. The motor current is output via the output QCUR.
212 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The assignment of the bytes 2 / 3 of the analog control interface and of the bytes 4 - 9 of the cyclic
signalling data when the basic type 1 is used is described in the chapter 3.2.5 Assignment of the cyclic
process image.
3.14.6 Operating modes
Switchover of control station (REMOTE, LOCAL)
The switchover of the control station is effected via the configurable function input REM_L if the input
REM_SEL has been set or via the function input REM_ON_OP which is set by the OS.
The function input (REMOP_EN) influences the operator enabling (QLOCOP) for the operation via the
OS.
The operating mode of the control station is output via the output QREMOTE (1=REMOTE,
0=LOCAL). QREMOTE corresponds to the Bit DP 0.5 of SIMOCODE pro here.
In LOCAL mode the control is completely switched off via the SMC_CB block. Control is possible then
only via the control station which is directly connected with SIMOCODE pro . Fault acknowledgement
is still possible.
Switchover of operating modes (MANUAL, AUTO) with REMOTE selected
With QREMOTE = TRUE the MANUAL and AUTOMATIC operating modes switchover is achieved
either with OS operation by means of AUT_ON_OP (LIOP_SEL = 0) or with the interconnection of the
input AUT_L (LIOP_SEL = 1).
The function inputs (MANOP_EN, AUTOP_EN) influence the operator enabling (QMANOP, QAUTOP)
for the operation via the OS.
The operating mode is output at the output QMAN_AUT (1=AUTO, 0=MANUAL).
Switchover of control station for MANUAL
In the REMOTE mode the operation can be effected in the MANUAL mode either via the OS or via the
configurable function inputs. The switchover is done via the configurable function input LINK_MAN.
Siemens AG 213
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
In the manual mode the control of SIMOCODE pro is achieved either via the function input MAN_ON
(TRUE = On, FALSE = Off) set by the OS or via the configurable function inputs L_ON and L_OFF.
The inputs for the operator enabling ON_OP_EN / OFFOP_EN set the outputs QON_OP / QOFF_OP
for the operation via OS.
With an edge of the command input the corresponding control bit is set in the interface until
SIMOCODE pro provides the corresponding feedback or an error occurs (QGR_ERR = TRUE). When
the error is acknowledged, the control bit is set anew when the command at the configurable manual
interface is active.
The Off command overrides the On command (no edge evaluation!).
After switchover to manual operation and when L_ON / L_OFF is active, the commands will be
executed only with a positive edge change at the inputs.
214 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Automatic commands
AUTO_ON
SIMOCODE pro
Local Control
Station
AUTO
Interconnectable inputs
1 DP 0.1, 0.2 PROFIBUS-DP
L_ON
0
L_OFF Op. mode AUTO/ MANUAL: QREMOTE = TRUE
MANUAL LIOP_SEL
Manual control / operator input
1 AUTOP_EN
AUT_ON_OP MANOP_EN
0
0
AUT_L
1 MAN_ONOP
Operator controllable inputs
MAN_ON
Operator control modality REMOTE/LOCAL
ON_OP_EN
LINK_MAN
OFFOP_EN REM_ON_OP
1 DP 0.5 S1
LOCOP_EN_EN
REM_L
0
S2
REM_SEL
Siemens AG 215
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
3.14.9 Simulation
The simulation mode is activated via the input SIM_ON and it overrides any other operating mode.
With SIM_ON = TRUE the block processes the simulation values (SIM_I01: binary data, SIM_I23:
motor current) instead of the process values of SIMOCODE pro (IN_01, IN_23). QSIM, QUALITY and
QBAD are output accordingly. The process output (O_01) is output as “0” with simulation activated.
The command status is linked to the output QSTATUS.
A block must be programmed for the simulation. The output QSTATUS can be evaluated and this
information can be used to form the simulation feedback (SIM_I01, SIM_I23). The assignment
corresponds to the assignment of the process inputs / process output and can be checked in the
chapter 3.14.5 Assignment of the cyclic process image.
3.14.10 Interlock
The interlock functions LOCK and LOCK_ON are active only in the REMOTE mode and apply to the
MANUAL and AUTO modes for all control stations of the SMC_CB block.
An active interlocking input prevents switching and deactivates the control stations for MANUAL and
AUTO. The control bit is set permanently.
LOCK always overrides LOCK_ON.
Resetting LOCK_ON switches the motor in the AUTO mode according to the control station for AUTO.
In MANUAL the motor is switched off.
QLOC_INT is also set if the control state requested with REMOTE has not been reached and no
general fault has occurred (e.g. due to an overriding Off command at the SIMOCODE pro group
control station) within the monitoring time set via TIME_MON. With TIME_MON = 0 or MONITOR =
FALSE this monitoring is deactivated.
QLOC_INT is reset with the inputs RESET (operator-controllable) / L_RESET (configurable). The
input RESET is reset after the acknowledgement. When L_RESET is active permanently QLOC_INT
is set for the duration of a cycle if the above conditions are fulfilled.
216 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
When an error occurs the values are set to zero and the output is set to QERR_RD=TRUE.
The limits can also be parameterized in the faceplate in addition. When these values are changed,
they are written to SIMOCODE pro.
The message characteristics of limit value violations is parameterized with SIMOCODE ES or
SIMATIC PDM. Therefor in Monitoring Functions Æ Current Limits the characteristics of trip level /
warning level is configured as follows:
• Trip level: disabled or tripping
• Warning level: disabled or warning.
When an error occurs during writing the values are reset to 0 and the output is set to
QERR_WR=TRUE.
Overshooting or undershooting of the limits triggers sending of the corresponding message unless the
limit signal has been deactivated entirely via the parameter M_SUP_C (default setting is: deactivated).
The messages of the limit value violations are generated in SIMOCODE pro and evaluated in the
block. The outputs QCUR_AH, QCUR_AL, QCUR_WH and QCUR_WL are set accordingly.
Range limits
The range limits for the limit bar are parameterized via the function inputs MO_PVHR and MO_PVLR
and can be set in the OS.
Siemens AG 217
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
The current limit signals are generated by SIMOCODE pro and they are contained in the diagnosis
structure DIAG_INF.
218 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Unassigned signals (signal number 8 of the signalling block 1, signal numbers 1 – 8 of the
signalling block 2)
There is no block-internal assignment to a certain function for these signals. It can be activated via a
parameter input (MSG_8 – MSG_16) and can be used to signal, for instance, Local_Interruption, the
mode SIMULATION or any other signal.
Siemens AG 219
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
220 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 221
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
VSTATUS construction
Bit Parameter
0 OCCUPIED
1 BA_EN
2 QSIM
3 QMAN_AUT
4 QCST
5 QGR_ERR
6 QGR_WRN
7 QLOC_INT
8 LOCK / LOCK_ON
9 QON
10 QOFF
11 -
12 -
13 -
14 -
15 OOS
16 - 31 USTATUS
222 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
The status display is a user object which consists of several state displays. The status display
corresponds to the visualization from the process mimic symbol.
Status display
(VSTATUS) Control mode
(QMAN_AUT,
Current (QCUR) / unit AUT_ON_OP)
(QCUR#unit)
Operator control
modality (QREMOTE) Acknowledgement
(RESET)
Siemens AG 223
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Description of Blocks
Limits (LIMITS)
Maintenance (MAINTENANCE)
Activating Monitoring
Monitoring time for Local (MONITOR)
Interruption (TIME_MON)
Acknowledgement Local
Interruption (RESET)
Calling faceplate
SMC_STAT, visible if
EN STAT = TRUE
224 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Description of Blocks Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Faults (MESSAGE1)
Warnings (MESSAGE2)
Siemens AG 225
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Driver Generator
4 Driver Generator
With setup xml files for linking the SIMOCODE pro modules with the driver generator are installed.
The following modules and configurations are supported:
1. SIMOCODE pro C (integrated via GSD SI0180fd.gs?) directly in the DP master system or after a Y
link DPV1
2. SIMOCODE pro C (integrated with PDM via GSD) directly in the DP master system or after a Y link
DPV1
3. SIMOCODE pro V (integrated via GSD SI1180fd.gs?) directly in the DP master system or after a Y
link DPV1
4. SIMOCODE pro V (integrated with PDM via GSD) directly in the DP master system or after a Y link
DPV1
With SIMOCODE pro V both basic types (basic type 1 and basic type 2) are taken into account.
From the user’s point of view SIMOCODE pro is compactly inserted in the hardware configuration via
GSD (SI0180fd.gs? or SI1180fd.gs?) with the basic type 2. The inputs and outputs used must be
within the process image then.
A signal-processing block is inserted for any SIMOCODE pro in the CFC and the link to the hardware
is established via symbolic addressing.
If, during compilation of the CFC chart, the option “Generate module drivers” is selected, all
additionally required blocks will be inserted, the corresponding parameters will be linked and
parameterized.
226 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Driver Generator Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 227
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Technical Data
5 Technical Data
Glossary:
Block type name
The symbolic identifier in the symbols table of the library for the respective FB. It must be unique in
the project.
Object name
It consists of the kind of the block (FB) and of the number.
Block length in the load / work memory
Memory requirements of the program code, once per block type
Length of the instance data in the load / user memory
Memory requirements of an instance DB.
Temporary memory
The local data memory required in a task when the block is called. It is limited depending on the
specific CPU. When it is exceed it must be checked in the CPU configuration and, if required, it has to
be redistributed to the OBs according to the actual demand.
Called blocks
The blocks specified here are used by the respective driver block and they must be in the user
program. They are stored in the same library.
228 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description
Technical Data Function Description SIMOCODE pro Library SP1 for PCS7 V6.1
Siemens AG 229
SIMOCODE pro Library SP1 for PCS7 V6.1
Function Description V1.1
Function Description SIMOCODE pro Library SP1 for PCS7 V6.1 Technical Data
230 Siemens AG
SIMOCODE pro Library SP1 for PCS7 V6.1
V1.1 Function Description