Home
        simatic c7-633 siemens - klawiatura keyboard 24x20cm manual
         Contents
1.                                                                                                                                                                                                                               EGG  JA          EA  f   s z K X X ma     9 l      A  15   p   A E a     LA     B a  M m  PEDDLE T  9    sta      a  15 a Ega  E A  X lt    x   x   x                                                x  x  x ii 5 95                                                                                                                                                                                                                                                                                                                                                                         Transparent LED window Key surface can be labeled a 3   Figure 2 1 Dimensions of the Labeling Strips for the C7 633  A Eaa  150 a EA  f   s Z x x x lt  x x x x jani   B  5 21 43  P A  15 AE    Eaa  a a EA  a  x   x   x  x   x   x   x Pa  5 95  a ras Eaa   LA  x f x j x i Xx j x l x j Xx j x    Transparent LED window Key surface can be labeled  Figure 2 2 Dimensions of the Labeling Strips for the C7 634  C7 633 C7 634 Control Systems  C79000 G7076 C634 01 2 3    Installation and Setup Guidelines for the C7       Changing Labeling  Sirips    2 4    The C7 is designed for user friendly insertion of the labeling strips  The  labeling strips should only be changed when the C7 is not installed  Proceed
2.                                                     Horizontal axis       a  a  gt                                                                                                                        15  i             Figure 2 6 Gap Dimensions to be Observed when Installing the C7                                  T             e A                                                                                        Figure 2 7 Dimension Drawings for the C7 633 DP C7 634 DP    C7 633 C7 634 Control Systems  C79000 G7076 C634 01 2 7    Installation and Setup Guidelines for the C7       2 8                230                                                                                                                                                                158                                                                                                                                                                                                                                                                                                                            o p    2  lt p  F   a      26 9  WAA  6 2    89 4      67 4                         Figure 2 8    Dimension Drawings for the C7 633 P C7 634 P    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Installation and Setup Guidelines for the C7       2 3 Electrical Installation    Overview The following plug and socket connectors  interfaces  required for  connecting the various inputs and outputs of t
3.                            Table 1 1 Connectable Components of a C7  Component Function Illustration  C7 I O module     is used for expanding the   expansion I Os  integrated I Os by 16 digital inputs   16 digital outputs  4 analog inputs  4  analog outputs  and 4 universal  inputs directly on the device  C7 simulator modules     with switches and LEDs to allow  simulation of 16 digital inputs and 16  digital outputs  It can be connected to  the C7 via an IM 361  SIMATIC TOP Connect     permits easy  fast  and reliable  wiring of the I O and power supply  connectors  OP  operator panel      executes operator interface    functions  Oo a a  gt   H  PROFIBUS bus cable with bus     connects nodes of an MPI network wl    connector or L2 DP network together  Programming device cable  MPI      connects a programming  device PC to a C7  Programming device cable  serial      connects a programming  device PC to a C7  RS 232 TTY    Serial transfer with ProTool  Printer     prints out operator interface ih  messages for the C7 DIERN                   C7 633 C7 634 Control Systems  C79000 G7076 C634 01 1 7    Product Overview       Table 1 1 Connectable Components of a C7       Component    Programming device  PG  or PC  with the STEP 7 and ProTool    Function        configures  assigns parameters   programs  and tests the C7       Illustration                software packages   RS 485 repeater     for amplifying the signals in an oy  MPI network or L2 DP network  and    for linking seg
4.                       If larger amounts of user data are transferred using I_PUT I_GET   inconsistencies may arise     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    5 5          C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Digital I O    Chapter  Overview                               Section Description Page  6 1 Digital Inputs 6 2  6 2 Digital Outputs 6 5  6 3 DI DO Status Displays  6 4 Addressing the C7 Digital I O          C7 633 C7 634 Control Systems    C79000 G7076 C634 01    6 1    C7 Digital I O       6 1 Digital Inputs    Introduction The C7 has different digital inputs for connecting sensors     Digital Inputs This chapter lists the technical specifications of the digital inputs in the C7     In addition to the technical specifications of the digital inputs  this chapter  also describes    e The characteristics  e The special features    e The terminal connection and block diagrams of the digital inputs    Characteristics The digital input function has the following characteristics   e 16 inputs  isolated as a group  e Nominal input voltage  24 VDC    e Suitable for switches and 2 wire proximity switches  BEROs   for  example     C7 633 C7 634 Control Systems  6 2 C79000 G7076 C634 01    C7 Digital I O                                                                                        Terminal Figure 6 1 shows the terminal connection and the block diagram of the  Connection and digital inputs   Block Diagram The pages following contain de
5.                    Address   7 0  n 0  Control   checkback bits  n 4  Job area  n 12 Reserved  n 13 Coupling identifier  n 14 Reserved  n 15 Time  n 18  Reserved  n 21 Date  n 25        Reserved    n 26  Cyclic interrupt bits  n 31          Figure 4 7 Layout of the Interface Area for the C7 CPU    C7 633 C7 634 Control Systems  4 14 C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       4 7 1 Control and Checkback Bits    Introduction Three bytes are available in the interface area for the control and checkback  bits  Bytes n 0 and n 1 are used to coordinate between the C7 OP and the  C7 CPU  Byte n 3 is required for the transfer of data records and indirect    variables     Byte n 0  n 1  and n 3 are described below     Description of The structure of byte n 0 is shown below  The diagram is followed by a  Byte n 0 description of the individual bits   Address    Cyclic interrupt bit                                  nso   7 6  5  4  3  2 1  0                                                                Time  Date  Bits 5 6 Date time 1   New  The transfer of the date and time from the C7 OP to the C7 CPU  can be initiated by means of control job 41  These bits are set by  the C7 OP if a new date or a new time is transferred  The bits must  be reset in the control program after the date or time has been  evaluated   Bit 7 Cyclic interrupt bit  1   New  The cyclic interrupt bit is possible only for the C7 634   If the C7 634 has set a new cyclic inte
6.               Logic                         Figure 7 8    Block Diagram of the Analog Input Module    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Analog I O       Technical  Specifications       Data Specific to Analog Inputs    Data for Selecting a Sensor             Number of inputs 4  Cable length  shielded 200 m  Voltages  Currents  Potentials  Isolation yes     analog I Os to electronics     Isolationresistance    Permitted potential difference    Urso   500 V DC          e Betweenreference Ucm   2 5 V DC  potential of the inputs  AIx M and Mana for  signal   0V   Analog Value Formation   Measurementprinciple Instantaneous value   e Cycle time  all channels  2 ms   Cycle time  per channel  0 5 ms      Resolution in bits incl  12   sign  incl  overflow  range    Measurementranges  Measurementrange  selected by connection  to different pins   Voltage   10V   Current   20mA  4 to 20mA    Input ranges  rated  values  inputresistance    e Voltage       Current    Permitted input voltage for  voltage input  destruction  limit    Permitted input current for  current input  destruction  limit    Connection of signal sensors  e For voltage measurement    e For current measurement  as 4 wire transducer  as 2 wire transducer      10V  150 KQ    20mA   105 5Q  4 20mA  7 105 5Q    Max  30 V permanent   38 V for max  1 s   pulse duty ratio 1 20     30 mA    Possible    Possible  Not directly possible       Status  Interrupts  Diagnostics          Noise Suppression  Error
7.            Figure 2 15 Connecting a Programming Device PC to an MPI Network    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    2 19    Installation and Setup Guidelines for the C7       2 7 Setup Guidelines for Interference Free Installation    Overview    Use and  Installation of  Interference Free  Cables    Cabinet  Installation    2 20    An automation system must be shielded to prevent interference     When a system is poorly grounded or not shielded  low frequency or  high frequency interference signals can penetrate through to the internal bus  of the controller and cause malfunctions     Interference signals can also be caused when relays or contactors switch   very rapid changes in current or voltage  high frequency interference  signals  or when two parts of a system have different grounding potentials   low frequency interference signals      Use only shielded cables for all signal lines   Ground cable shields on both sides for       Cables to the programmable controller      Bus cables      Cables to I O devices     The standard cables specified in the ST80 7 catalog meet these  requirements     Screw or lock all plug type connections     Do not install signal lines parallel to power lines  Use a separate cable  duct located at least 50 cm from the power lines     Devices which could bring in interference signals from outside should be  installed at the bottom of the cabinet  Place the grounding rail immediately at  the cabinet entrance so that cables whi
8.           Hardware Hardware  interrupt interrupt  to the C7 CPU to the C7 CPU  DIB  ere reer ener eran PL  Figure 8 6 Gate Time Measurement with an External Gate Counter    The gate time measurement is only activated if the start bit is set in the input  area at the same time as the external gate pin     Counters 1 and 2 operate as 16 bit counters  while counter 3 is a 24 bit  counter     The default value is OxXFFFF for counters 1 and 2 and OxFFFFFF for counter  3  If no valid value is available  for example  during the first measuring cy   cle  this default value is output     If the count value exceeds the upper count limit and an overflow occurs  the  corresponding bit is set in byte 15 7 and value OFFFFy  for counters 1 and  counter 2  or OFFFFFFy  for counter 3  is output     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Universal Inputs       8 3 Example for Programming the Counters    Overview    Function of Block    The following programming example for the universal input counters is  intended to familiarize you with programming the I O     The program is intended to implement a simple function which shows the  principle of addressing the counter inputs by the STEP 7 program     The counters are implemented to count up until the comparison value is  reached  They are reset when the comparison value is reached and counting  is restarted  beginning with zero  Due to the immediate reset  the specified  comparison value never can be read out     In the follo
9.         Figure 2 11 C7 633 P and C7 634 P  View with IM  MPI Interface  Memory Card     and I O Interface    2 14    C7 633 C7 634 Control Systems  C79000 G7076 C634 01       Installation and Setup Guidelines for the C7          IM   X5        Memory Card   X6              MPI   X3                                PROFIBUS DP   X4                 Figure 2 12 C7 633 DP and C7 634 DP  View with IM  MPI  and DP Interfaces  and                            RS485 line A  NC       Memory Card   MPI Interface Pin No  Explanation   X3  and 1 NC  PROFIBUS DP  Interface  X4  2 Mey   3 RS485 line B   4 RTSAS   5 MS5V   6 P5V   7 P24V   8   9                C7 633 C7 634 Control Systems  C79000 G7076 C634 01 2 15    Installation and Setup Guidelines for the C7       C7 Device  Connections    You can use the following cables to connect the C7 to other devices                                                                                                        Table 2 7 Cables for Connecting to the C7  see also Section 1 2   Connecting Cable Length   Special Features Illustration Connection  between     MPI  Programming device cable 5m   C7  lt  gt  PG PC  PROFIBUS bus cable   User must make C7  lt  gt  PG PC  Interior cable  own cable mmi     C7 lt C7  Direct buriedcable C7  lt  gt  S7 300  and bus connector  C7   S7 400  without PG type socket   with PG type socket  and PROFIBUS bus terminal RS 485   with 1 5 m  with 3 m cable   with PG type socket and 1 5 m cable     RS 232 TTY serial inte
10.        4 8 3 Synchronization during Transfer   Normal Case    Transferring Data  Records    Transfer C7 OP  gt   C7 CPU    Initiated on   C7 OP     The control and checkback bits in the interface area synchronize data record  transfer  A transfer is normally initiated by an operator input on the C7 OP     Bit 0 1   Data mailbox is disabled  set only by the C7 OP   0   Data mailbox is enabled   Bit 1 1   Data record variable is faulty   Bit 2 1   Data record variable is correct   Bit 3 1   Data transfer completed   Bit 4 1   Request data record variable   Bit 5 1   C7 OP should read data mailbox   Bit 6 1   Request data mailbox disable   Bit 7 1  C7 OP has read data mailbox    with transfer C7 CPU     C7 OP   Description     Byte n   3   Control and checkback bits in the interface area    The following description shows the procedure by which the C7 OP sets  synchronizing bits and the manner in which the C7 CPU program has to react    to them     Table 4 2    Procedure for Transmission       1    Step    Explanation    Bit 0 is checked by the C7 OP  If bit 0 is set to 1    data mailbox  disabled   the transfer is terminated with a system error message  If bit 0 is  set to 0  the C7 OP sets the bit to 1        The C7 OP enters the identifications in the data mailbox     With an indirectly transferred data record  the data record values are also  written to the data mailbox  With a directly transferred data record  the  values of the variables are written to the configured addre
11.       C7 633 C7 634 Control Systems    C79000 G7076 C634 01    7 27    C7 Analog I O       7 6 5 Representation of Analog Values for the Measurement Ranges of  the Analog Inputs    Overview    How to Read the  Measured Value  Tables    Measured Value  Resolution    The tables in this section contain the digitalized analog values for the  measurement ranges of the analog inputs     In Table 7 9  you will find the representation of the binary analog values and  the associated decimal or hexadecimal representation of the units of the  analog values     Table 7 10 contains the digitalized analog values for the various  measurement ranges     Since the binary representation of the analog values is always the same  this  table contains only the comparison of the measurement ranges to the units     This table is therefore clearer and easier to read  The corresponding binary  representation of the measured values can be referred to in Table 7 9     The bits identified with    x    are not relevant to a resolution of 12 bits     Table 7 9 Possible Resolutions of Analog Values                Resolution in Bits Units Analog Value   incl  Sign  Decimal Hexadecimal High Byte Low Byte  12 16 104 S0000000 OOO1Lxxxx                   7 28    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Analog I O                      Voltage and Table 7 10 contains the representation of the digitized voltage measurement  Current ranges for   10 V and the digitized current measurement ranges   20
12.       Figure 2 14 Connecting a Programming Device PC to Several C7 Devices    C7 633 C7 634 Control Systems  C79000 G7076 C634 01       Installation and Setup Guidelines for the C7       Connecting a  Programming  Device PC for  Service Purposes    Programming  Device PC for  Startup and  Maintenance    If there is no stationary programming device or PC available  we recommend  the following procedure     In order to connect a programming device or PC for service purposes to an  MPI network with    unknown    node addresses  we recommend you set the  following address on the service programming device PC     MPI address  0  Highest MPI address  126     Then work out the highest MPI address in the MPI network using the STEP 7  application Configuring Hardware and adjust the highest MPI address on the  programming device or PC to match the highest address of the MPI network     For startup and maintenance purposes  you connect the programming  device PC via a spur line to a node in the MPI network  To do this  the bus  connector of this node must have a PG type socket     Figure 2 15 shows two networked C7s to which a programming device PC is  connected     7 PG cable      spur line                               C7                               HHH    000000  0000000                                                                                  g  Loge  000000  00000000  o000    o  OOOO a 5 jal  Oooo   oo                                                    PROFIBUS bus cable  
13.     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    Glossary 7    Glossary       Process Image    Programmable  Logic Control    Programmable  Logic Controller    Programming  Device    RAM    Reference Ground    Reference  Potential    Glossary 8    The signal states of the digital input and output modules are stored in the  CPU in a process image  There is a process image input table  PII  and a  process image output table  PIQ      The process image output table is transferred to the output modules by the  operating system at the end of the user program     The process image input table is read by the input modules before execution  of the user program by the operating system     Programmable logic control is the automation technique using electronic  controllers whose function is stored in the control device as a program  The  structure and the wiring of the device are not therefore dependent on the  function of the controller  A programmable logic controller has the structure  of a computer  it consists of a CPU with memory  I O modules  and internal  bus system  The I O and the programming language are set up according to  the requirements of control engineering     A programmable logic controller  PLC  comprises a central processor  a  CPU  and a number of I O modules     Programming devices are essentially personal computers that are compact  and portable and suitable for industrial use  They are characterized by being  equipped with special hardware and soft
14.     C7 Universal Inputs       c3 NOP 0   AN L8 2     interrupt from C3   BEB     L MB42     counts number of interrupts from C3  up to 255   INC 1   T MB42     END_ORGANIZATION_BLOCK    C7 633 C7 634 Control Systems  C79000 G7076 C634 01 8 27    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Data Set Description  I O Parameter    Assignment       Chapter Overview       Section    9 1       Description    Data Set Description for Parameter Block of C7 Analog    T O and Universal Inputs       Page       C7 633 C7 634 Control Systems  C79000 G7076 C634 01    9 1       Data Set Description  I O Parameter Assignment                                        9 1 Data Set Description for Parameter Block of C7 Analog I O and  Universal Inputs  Overview If a reassignment is to be performed during operation  then the validity and  inter relationships between the individual parameters must be checked by the  user program   Incorrect value ranges of the parameters can result in incorrect behavior of  the I O  Table 9 1 lists the layout of the parameter data sets   Table 9 1 Table with Data Set Descriptions Parameter Block  DS   Byte   Bit   Default  What Can Be Assigned Meaning of the Respective Bits  Value  o 00 7 0 Enable diagnostics AO4 0 No 1 Yes  6 0 Enable diagnostics AO3 0 No 1 Yes  5 0 Enable diagnostics AO2 0 No 1 Yes  4 0 Enable diagnostics AO1 0 No 1 Yes  3 0 Enable diagnostics AI4 0 No 1 Yes  2 0 Enable diagnostics AI3 0 No 1 Yes  2 0 Enable diagnostics AI2 0 No 1 Yes  1
15.     G    Gate counter  external  8 22  Gate time measurement  8 22  Grounding   2 20   Grounding bar  installing  2 22  Grounding rail  2 20  Group error  CPU   Guidelines  for setup  2 20           H    Hardcopy  control job  4 25   Hardware interrupt   events  8 12       IM 360   IM 361 cable  2 16  Increments   Input 24 VDC  2 13   Input range  universal inputs  8 7   Installation  interference free   Installation guidelines  2 6     Installing C7   2 5     Integrated interface module  2 24        Index 3    Index       Interface module  1 6   Interface module IM 360  2 24  Interface parameters  control job  4 26    Interference signals  2 20   Interference free installation  2 20    Internal errors  A 2  Interrupt   Interrupt cycle   interrupt time  7 22  parameter block  7 22     Interrupt input     universal inputs  Interrupt OB  7 35  8 12     Interrupt time  parameter block   7 22            J  Job area  4 17     K    Key assignment  function keyboard image  4 10   Keyboard  C7 633  3 2  C7 634  3 3   group bit  function keyboard   system keyboard image   variations   Keyboard simulation  control job  4 30   Keying connectors  2 23      Keyswitch     L    Labeling  function keys  2 2   Labeling strips        template   Labeling template  function keys  2 2   LED    assignment  4 11   states  4 11    LED assignment  bit number  4 11    LED image  4 11     LEDs     Index 4    List  system messages   A 1      Lock  cursor     Lower threshold  period time   8 21    M   Ma
16.    If possible  avoid any contact with electrostatically sensitive devices unless  absolutely necessary  for example  to work on them   Hold modules without  touching the pins of components or printed conductors  In this way  the  discharged energy cannot affect the sensitive components     Note the following measures that have to be taken for modules that are not  protected against accidental contact     e Touch electrostatically sensitive devices only      if you wear a wristband complying with ESD specifications or        if you wear special anti static footwear or ground straps when walking  on an ESD floor     e Before working on electronic devices  discharge your body by touching  grounded metallic objects  for example  bare metal parts of cabinets   water pipes etc       e Protect modules against contact with chargeable and highly insulating  materials such as plastic foils  insulating table tops  or synthetic clothing     e Place electrostatically sensitive devices only on conductive surfaces       Tables with anti static table top         Conductive ESD foam plastic  ESD plastic foam is mostly colored  black          ESD bags     e Avoid placing electrostatically sensitive devices in the immediate vicinity  of visual display units  monitors  or TV sets  minimum distance to  screen  gt  10 cm      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Guidelines for Handling Electrostatically Sensitive Devices  ESD        ESD Precautions The following figure again ill
17.    R        Byte 0 Bit2 1 External error       Byte 0  Bit3 1 Channel error       Byte 7 Evaluate channel vector if req              Wire break   Byte 8  9  10  11  Bit4 1channel specific diagnostic  byte AI  E P    Underrange   Byte 8  9  10  11  Bit 6   1 channel specific diagnostic  byte AI  E P M   Overrange   Byte 8  9  10  11  Bit 7   1 channel specific diagnostic  byte AI  E P M        Byte0 Bit7 1 Incorrectparameters       Byte 8 9 10 11   Bit 0   1 channel specific diagnostic byte AI  P        Byte 15   Bit 0   1 Collective error AO  only parameter error  possible   P           Byte 0  Bit 6   1 Module not assigned parameters          Legend   E   temporary  can be removed by hand at connection  P   permanent  can be reset by assigning correct parameters  R   permanent  can be removed by RESET  memory reset and  complete restart of C7 CPU  or by exchanging equipment  M   temporary  disappears after new measurement    C7 633 C7 634 Control Systems  10 8 C79000 G7076 C634 01       VO Diagnostics                                        Reaction to The diagnostic messages listed in Table 10 4 refer to Table 10 3   Diagnostie Table 10 4 lists the diagnostic messages and also possible reactions of the  Messages  user   Table 10 4 Diagnostic Messages and Reaction Possibilities  Reason for the Source of Error Reaction of the Module Possible Elimination   Diagnostic Message   Module not During the startup of the Report to C7 CPU that the Assign parameters to   assigned module 
18.    RUN  green  RUN mode for the Lights up when the C7 CPU user program is being processed     C7 CPU Flashes  2 Hz  during C7 CPU startup  then the STOP LED also lights up   when the STOP LED goes out  the outputs are enabled      Flashes  2 Hz  when the CPU is in HOLD mode                    C7 633 C7 634 Control Systems  C79000 G7076 C634 01 3 7    Special Features of C7          LED Meaning    STOP  yellow    STOP mode for the    Explanations    Lights up when the C7 is not processing a CPU user program        C7 CPU Flashes in 1 second intervals if the C7 CPU requires a memory reset   MRES    SF IM  red  Interface module Lights up when the connection between the C7 and the expansion rack is          group error       faulty           Display Elements  for PROFIBUS    The following table explains the meaning of the LEDs which are assigned to  the PROFIBUS DP  Refer also to Chapter 11 in the manual  70               SF DP   BUSF Meaning Remedy   red   green   On On e Bus fault  physical fault  e Check the bus cable for short circuit or wire  break  e DPinterface fault e Evaluate diagnostics  reconfigure or correct  e Different transmission rates in errors if necessary  multi masteroperation  On Flashing     Station failed e Check the bus cable is connected correctly     check for short circuits or wire breaks       e Atleast one of the assigned slaves cannot      Wait until the C7 has completed its startup                   be addressed e If flashing does not cease  check t
19.    possible    max  20 V DC    max  40 mA DC       Crosstalk attenuation between  gt 40 dB  outputs   Error limit  in the entire   temperature range  relative to   the output range    e Voltage   0 8    e Current  1   Basic error limit  error limit at   25   C relative to the output   range    e Voltage   0 5    e Current   0 6    Output ripple  relative to the   0 05    output range    Reproducibility  in settled state   0 06      at 25   C relative to the output  range              C7 633 C7 634 Control Systems  C79000 G7076 C634 01    7 17       C7 Analog I O       7 6 Use and Function of the C7 Analog I O    In This Section This section contains   e Descriptions of the basic terms in analog value processing  e How to address and assign parameters to the analog I O  e How you allocate measurement ranges to analog input channels    e The behavior of the individual analog input and output channels     7 6 1 Addressing the Analog I O    Analog Function The address of an analog channel is always a word address     Addresses An analog input output has the same start address for the analog input and    output channels  see Figure 7 11         View of right hand side of C7  Analog inputs          Channel 0  Address PIW272    Channel 1  Address PIW274    o  o  o  o  o  o  o  o  o  o  o  o    0000000000000    AI3 I  AI3 M    AI4 U  AI4 I   Channel 3  Address PIW278    Al4 M    Channel 2  Address PIW276       Not occupied    ae Analog outputs  1   Channel 0  Address PQW272    O A   
20.   Bit 1 0   Do not accept new start comparison value    1   Set new start comparison value          PQW282 Start comparison value counter 2   PQB287  Bit 0 0   Counter 2 disabled 1   Counter 2 enabled  Bit 1 0   Do not accept new start comparison value    1   Set new start comparison value          PQB284 Start comparison value counter 3     PQB285   PQB285   PQB287 Bit4   0  Counter 3 disabled 1   Counter 3 enabled    Bit5   0  Do not accept new start comparison value    1   Set new start comparison value                  Initial value for down counter  comparison value for up counter       Note    Please note that no direct read in function is available for reading in the  complete counter status of counter 3     When counting in the 0 to 65535 value range  2 bytes   the counter values  are stored in PQW285        C7 633 C7 634 Control Systems  8 8 C79000 G7076 C634 01    C7 Universal Inputs       8 2 2 Assigning Parameters to the Universal Inputs    Parameter Block  Universal Inputs    Assigning  Parameters    Interrupt Inputs    Counter Inputs    In the parameter block    universal inputs    you set the parameters for   e The interrupt inputs   e The counters   e The frequency meter period time counter   e The digital inputs    e The external gate counter    You set the parameters for the universal inputs using the STEP 7 application  Configuring Hardware  A parameter block is generated which contains all  currently selected parameters of the universal inputs  After loadi
21.   Isolation yes   Dielectricstrength Urso   500 V DC   Measurementranges  Voltage or current  selectable   Voltage  10V   Current  20mA  4 to 20mA    Interrupts  e Diagnostic interrupt    Diagnostic functions    yes  selectable    yes  selectable    e Diagnostic information can yes  group error    be read out       Data for Selecting an Actuator          Analog Value Formation       Resolution  incl  overflow   range    e  10V x 220 mA   4to 20 mA    Conversion time  all active  channels     Settling time   e For resistive load   e For capacitive load  e For inductive load    Substitute value  Idle power and voltage     one value for all channels   Retain last value    Global value can be substituted    12 bits incl  sign    max  4 ms  typ  2 ms    0 1 ms  3 3 ms  0 5 ms    yes  selectable  yes  selectable    yes  selectable       Noise Suppression  Limit Values          Output ranges  rated values     Load resistance   e For voltage outputs  e For current outputs  e Capacitive load   e Inductive load  Voltage output   e Short circuit protection       Short circuitcurrent  Current output   e Idle voltage  Connecting actuators    e For voltage output  2 wire connection    e For current output   2 wire connection  Destruction limits for  voltages currents applied  externally    e Voltage at the outputs  against MANA       Current      10V    20mA  From 4 to 20 mA    min  2 k Q  max  500 Q  max    uF    max    mH    Short circuit proof yes  approx  25 mA    max  15V    possible 
22.   LED Assignment    The LED image can be categorized into separate data areas     e Maximum number of data areas  4  for example  4 different data areas in  various CPUs     e Total length of all data areas  words  8     The LED image must also be specified under    area pointer  type  LED  image    in the configuration     The assignment of the individual LEDs to the data area bits is defined when  the function keys are configured  The bit number within the image area is  declared for every LED     The K keys in the C7 OPs have two colored LEDs  red and green      The bit number  n  denotes the first of two consecutive bits  which can  control four different LED states in total        Bitn  1 Bitn LED Function  0 Oo o To  0 1 Flashing red  1 0 Permanently red  1 1 Permanently green                   C7 633 C7 634 Control Systems    C79000 G7076 C634 01    4 11    Communication between the CPU and the Operator Panel       4 5 Screen Number Area    Application    Requirement    Layout    4 12    The C7 OP stores information concerning the image displayed on the C7 OP  in the screen area number     It is thus possible to transfer information about the current display contents  from the C7 OP to the C7 CPU  and from there  to trigger certain reactions   for example  displaying another image     If the screen number area is to be used  it must be specified as an    area  pointer    in the configuration  It can only be stored once and in one C7 CPU     The screen number area is tr
23.   Parameter   Recipe number  1 to 99   Parameter 2 Data record number  1 to 99   Parameter 3     71 Partial screen updating  Parameter 1 0  Off   1  On    Parameters 2  3    This job must only be triggered if no screen is selected     C7 633 C7 634 Control Systems    C79000 G7076 C634 01 4 29    Communication between the CPU and the Operator Panel       Jobs with Cursor  Lock    4 30             No  Function  72 Cursor positioning in current screen or recipe  Parameter 1 Entry number  0 to 99  Parameter 2 Field number   1to8 for C7 633  1 to 32 for C7 634  Parameter 3 Cursorlock  0  off  1  on   73 Cursor positioning in current special screen  Parameter 1 Fieldnumber  0 to 8   Parameter 2 Cursorlock  0  off  1  on   Parameter 3    74 Keyboard simulation  Parameter 1 LB  Keyboard number    1 Internal function keypad  2 System keypad    RB  Password level  0  Will be evaluated  1  Will not be evaluated    Parameter 2 LB  Key code  Parameter 3      For keyboard simulation via a control job  take note of the transfer time from the  C7 CPU to the C7 OP  For example  the acknowledgement of an alarm message  by keyboard simulation on the C7 CPU can lead to an undesired result if     The alarm message in question has already been acknowledged by an  operation on the C7 or   A new alarm message or system message arrives before the control job has  been evaluated     If the    cursor lock    parameter is equal to 1 in one of the jobs 11  51  53  72   and 73  the selected input field ca
24.   as follows to change the strips     1  Pull the labeling strips you want to replace out of the device     2  From the rear of the device  push the new strips into the relevant slots on  the side        Note    The labels on the strips must be indelible before the strips are inserted  If the  keypad membrane is dirtied or smudged from the inside  it cannot be cleaned  and can only be replaced at the factory of origin                          j Labeling strips                                     Figure 2 3 Inserting Labeling Strips    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Installation and Setup Guidelines for the C7       2 2 Mechanical Installation    Installing the  Device    The C7 control system has been prepared for fixed installation in a control  panel or cabinet door  Proceed as follows to install the C7     1  Make a cutout in the control panel dimensions 230 5 x 158 5 mm  same  size for all device variants   See Figure 2 5     2  Push the enclosed seal over the casing from behind   3  Insert the C7 into the prepared cutout     4  Guide the fixing hooks of the enclosed screw in tensioner   into the  appropriate recesses in the casing of the C7     5  Tighten the C7 using a screwdriver from the rear of the control panel 2            Control panel                                                                   Figure 2 4 C7 633 DP with Screw In Tensioners    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    2 5    Installation and Setup Guidel
25.   initialization reset  start value  for counting down  or comparison  value  for counting up   PQW280 PQW282   PQB284  PQB285  PQB286     e Activate the new start comparison value   PQB287 rising edge    0    gt    1      e Set the start bit  PQB287 rising edge    0    gt    1           Restart counter without e Do not set the new start comparison value    counterinitialization e Start the counter by setting the start bit     counter continues counting  PQB287 rising edge    0    gt    1      without a reset                 C7 633 C7 634 Control Systems    C79000 G7076 C634 01    8 15    C7 Universal Inputs       8 16    Table 8 7 Controlling Counters with the User Program       Aim       Select new start comparison  value       Procedure    Enter new start comparison value   PQW280  PQW282  PQB284  PQB285   PQB286     Set value   PQB287 rising edge    0       1          Newstart comparison value will be  activated with the next rising edge at the  count input       If counting up is running  new  comparison value will be accepted       If counting down is running  new start  value will be accepted  current count value  will be corrected by the difference       Initialize counter  start of a  new counting process   always occurs     At zero transition  counting down  or   comparison value reached exceeded  counting up   After setting the enable bit in the data area   PQB287 rising edge  0       gt    1        if the bit    set new start comparison value    is set  simultaneo
26.   that cannot be  acknowledged             Figure 4 6 Reduced Acknowledgement Area       Note    Allocate important alarm messages  whose acknowledgement is to be  signaled to the C7 CPU in the alarm message area from bit 0 in ascending  order     The two related bits in the alarm message area and the acknowledgement  area must not be set simultaneously        C7 633 C7 634 Control Systems    C79000 G7076 C634 01    4 7    Communication between the CPU and the Operator Panel       4 4 Keyboard and LED Image    Application    Prerequisite    Transfer    Value Allocation    4 8    Key actions on the C7 OP can be transferred to the C7 CPU and evaluated  there  In this way  actions can be triggered in the C7 CPU  for instance   switching on a motor      The LEDs in the C7   s function keys can be controlled from the C7 CPU  In  this way  active LEDs can be used in different situations to signal to the  operator which key they should press     In order to make use of this function  you must   e Set up corresponding data areas  images  in the C7 CPU  e Specify these data areas as    area pointers    during the configuration    e Assign the bits from the    area pointers    to these data areas on configuring  the function keys     The keyboard images are transferred spontaneously to the C7 CPU  That  means the transfer always happens if a change is registered at the C7 OP  In  this case you do not need to configure a polling time  A maximum of two  simultaneous key actions can be tr
27.  0 Enable diagnostics AI1 0 No 1 Yes  Ol   7  5 000    4 0 Enable diagn  interrupt module  3 0 Enable diagn  wire break AT4   O No  1 Yes  only if measurement range 4 to 20mA   2 0 Enable diagn  wire break AI3   O No  1 Yes  only if measurement range 4 to 20mA   1 0 Enable diagn  wire break AI2   O No  1 Yes  only if measurement range 4 to 20mA   0 0 Enable diagn  wire break AI1   O No  1 Yes  only if measurement range 4 to 20mA   02   0  7   00000000   Reserved Must always be zero  otherwise parameter  assignment error  03 00000000   Reserved Must always be zero  otherwise parameter  assignment error  1 04   7  6 00 A2    5  4 01 Measurementrange 00 Deactivated  01  10 V  10  20 mA   11 4 to 20 mA  3  2 00 All      1  0 01 Measurementrange 00 Deactivated  01  10 V  10  20 mA   11 4 to 20 mA                            C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Data Set Description  I O Parameter Assignment                               Table 9 1 Table with Data Set Descriptions Parameter Block  05   7  6 01 A4    5  4 00 Measurementrange 00 Deactivated  01  10 V  10  20 mA   11 4 to 20 mA  3  2 01l AB    1 05   1  0 00 Measurementrange 00 Deactivated  01   10 V  10  20 mA   11 4 to 20 mA  06   7  2   000000     1  0 00 Enable cyclic interrupt 00 N0 cyclic interrupt  01 Time cyclic interrupt   only if byte 7  lt  gt  1   10 Cycle end interrupt  only if all AIx are not  deactivated   07   7 4  0000     3  0 0001 Cycle time 0 16 ms  1 Free running  6 3 ms  7 3 5 ms  
28.  4 29    select special screens   4 25    set contrast  4 27   set date  4 26    set password level 4 27      set time  4 26   SIMATIC  7  4 17   structure   transfer date time    Conversion  analog output  7 32    Conversion time  analog in put  7 31   Count direction  setting  8 10    Count inputs  parameter block  8 10    Counter  start   stop  8 15  threshold frequenc   8 14   universal inputs    Counter input  parameter   8 9   universal inputs    Counting down    Counting up  8 14   Coupling identifier  4 17    CPU operating mode  selecting  3 4   CSA   Current measurement  7 10   Current measurement range  analog input   analog output  7 30   Current transducer  7 3   Cursor lock  4 30    Cursor positioning  control job  4 30    Cycle time  analog input   analog output     Cyclic interrupt bits   Cyclic interrupt times  4 18                       8 4                       D    Data area  screen number area  4 12    system keyboard image   Data record  recipes  4 19  transfer  4 20    synchronization   4 21      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Index           Data record to CPU  control job  4 29   Data record to OP  control job  4 29  Data records  addressing   Date   4 15   Date and time   4 17   Delete alarm message buffer  control job  4 28    Delete event message buffer  control job  4 28   DI DO 24 VDC power supply  2 12  DI DO status display  3 6  6 8  Diagnostic   interrupt    7 34     parameter assignment   10 2  Diagnostic area  layout  
29.  4 Representation of Analog Values    Overview    Representation of  Analog Values    The representation of analog values  or an analog value in binary form  is the  same for all C7 analog inputs and analog outputs     This section describes the analog values for all measurement ranges or output  ranges that can be used with the C7 analog I O     The digitalized analog value is the same for input and output values of the  same nominal range     The representation of analog values is performed as a two   s complement    Table 7 7 illustrates the representation of the analog I O     Table 7 7 Representation of Analog Values                         Resolution Analog Value  Bit number 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0  Weighting of the bits S 214 213 212 gil 210 29 98   27 26 25 24 23 22 2 20                Sign Conventions    12 Bit Resolution    The sign  S  of the analog value is always contained in bit number 15   e    0      gt       e toy         The resolution is 12 bit  The analog value is entered into the ACCU left  justified  The unoccupied low significance places are written with    0        Table 7 8 contains an example of a bit pattern showing how the  unoccupied places for 12 bit resolution are filled with    0        Table 7 8 Bit Pattern of a 12 Bit Analog Value  Example        Resolution    Bit number       Analog Value    15 14 13 12 11 10 9 8   7 6 5 4 3 2 1 0                12 bit analog value   incl  sign        0 1 0 0 0 1 1 0   0 1 1 1 0 0 0 0          
30.  8 4 ms etc   increment 0 5 ms up to 15 5 ms   08   7  6 00 Univ  DII      Direction 0 Up  1 Down  only if mode 010   4 0 Edge 0 Rising edge  1 Falling edge  Hardware interrupt O No  1 Yes  2  0 000 Mode 000 General DI  001 Interrupt DI   010 Counter  CI   101 External gate counter  09   7  6 00 Univ  DI2      0 Direction 0 Up  1 Down  only if mode 010   4 Edge 0 Rising edge  1 Falling edge  3 0 Hardware interrupt O0 No  1 Yes  2  0 000 Mode 000 General DI  001 Interrupt DI   010 Counter  CI   101 External gate counter  10   7  6 00 Univ  DI3 gate time 00 0 1 s  01 1 s  10 10 s  only if mode 010   Direction 0 Up  1 Down  only if mode  010   4 Edge 0 Rising edge  1 Falling edge  3 Hardware interrupt 0 No  1 Yes  2  0 000 Mode 000 General DI  001 Interrupt DI   010 Counter  CI   011 Frequency counter  FC   100 Period duration counter  PC   101 External  gate counter  11   7 5   00000   Univ  DI4      4 0 Edge 0 Rising edge  1 Falling edge  3 0 Hardware interrupt 0 No  1 Yes  2  0 0 Mode 000 General DI  001 Interrupt DI  12   7  6 00 AO2 Reaction to CPU STOP   00 Voltage power idle  substitute value   0   01 Retain last value  10 Global substitute value   byte 14 to 15                             C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Data Set Description  I O Parameter Assignment                Table 9 1 Table with Data Set Descriptions Parameter Block  5  4 Ol Output area 00 Deactivated  01  10 V  10  20 mA   11 4 to 20 mA  1 3 2 00 AO1 Reaction to CPU STOP   0
31.  Bit 4  Bit 5  Bit 6  Bit 7    0   Data mailbox is enabled   1   Data record variable is faulty   1   Data record variable is correct   1   Data transfer completed   1   Request data record variable   1   C7 OP should read data mailbox  1   Request data mailbox disable   1   C7 OP has read data mailbox     with transfer C7 CPU  gt C7 OP     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       4 7 2 Data Areas in the Interface Area    Overview    Job Area    Coupling Identifier    Date and Time    In this section  the structure and use of the interface data areas are described     The C7 CPU initiates an action to be carried out on the C7 OP by means of  the job area  All other bytes are areas in which the C7 OP writes data  These  areas can be evaluated by the C7 CPU program  The individual bytes are  described below     Bytes n 4 to n 11   Control jobs can be passed on to the C7 OP via the job area  The actions on  the C7 OP are initiated in this way     The job area consists of four words  In the first word of the job area is the job  number  In the other words  the job parameters are to be entered  maximum  3   Figure 4 8 shows the general structure of a control job     If the first word of the job area is not equal to zero  the C7 OP evaluates the  control job  After that  the C7 OP sets this data word to zero again  For this  reason  the parameters must first be entered in the job area and only then the  job nu
32.  Communication between the CPU and the Operator Panel       4 8 1 Transferring Data Records    Definition    When a data record is written  the variables in the data record are written  directly to the defined addresses concerned  With direct reading  the variables  are read into the C7 OP from the target memories of the C7 CPU     With ProTool  the variables must have a direct link to the C7 CPU for direct  transfer  Variables not having an assigned address on the C7 CPU are not  transferred     4 8 2 Addressing Recipes and Data Records  and the Requisite    Data Areas    Adressing   Data areas    4 20    During configuration  the recipe is given a name and a number  Both the  recipe name and the recipe number can be seen on the C7 OP     The data records you create on the C7 OP are similarly given a name and a  number     When a data record transfer is initiated from the C7 OP to the C7 CPU  the  recipe name and the data record number are transferred to the controller  together with the data  For this  you have to create a data mailbox in the  controller  Use the same specifications as were set in the configuration under  Area Pointer  The values of the data record are written directly to the  addresses in the controller     Data mailbox                 1st word Recipe number  2nd word Reserved   3rd word Reserved   4th word Data record number  5th word Reserved       C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication between the CPU and the Operator Panel
33.  DB60 DBW50  80 65  I  Message number       Figure 4 1 Assignment of Message Bit and Message Number    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       Acknowledgement    Acknowledgement  Area    Assignment of  Acknowledgement  Bit to Message  Number    As alarm messages indicate faulty behavior of some sort  these must be  acknowledged  Acknowledgement follows either by     e Taking appropriate action on the C7 or    e Setting a bit in the acknowledgement area of the C7 CPU     If the C7 CPU is to be informed about an acknowledgement of an alarm  message at the C7 OP itself  or if the acknowledgement should be given by  the C7 CPU  the corresponding acknowledgement areas are to be configured  in the C7 CPU     e Acknowledgement area C7 OP     C7 CPU   The programmable controller is informed when an alarm message is  acknowledged by an operation at the OP    e Acknowledgement area C7 CPU     C7 OP   The alarm message is acknowledged via the C7 CPU     These acknowledgement areas are to be allocated in the configuration     when using ProTool and ProTool Lite  under    area pointers     Figure 4 2  shows schematically the individual alarm message and acknowledgement  areas       C7 OP C7 CPU          Alarm message area       y  Internal processing   Acknowledgementarea  ACK linking C7 CPU   C7 OP                                         Acknowledgementarea  C7 OP   C7 CPU                            Figure 4 2 Alar
34.  Limits       Noise voltage suppression    e Common mode noise   Ucm  lt  1 0 V     Crosstalk between the inputs    Error limit  in entire  temperature range  relative to  input range    e Voltage   e Current   Basic error limit  error limit at  25   C  relative to the input  range    e Voltage   e Current    Reproducibility in settled state  at 25   C related to range        gt  40 dB     gt  60 dB      0 8      0 8        0 6      0 6    0 05         Interrupts    e Hardware interrupt  as cyclic interrupt  as cycle end interrupt    e Diagnostic interrupt  Diagnostic functions    e Diagnostic information can  be read out    Time intervals    Wire break detection    yes  selectable  yes  selectable    yes  selectable  yes  selectable    yes    yes  selectable    In measurement range  4 to 20mA  selectable             7 14    C7 633 C7 634 Control Systems    C79000 G7076 C634 01       C7 Analog I O       7 5 Analog Output Function    This Section    Characteristics    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    This section contains    The characteristics of the analog output function    The technical specifications of the analog output function    You will learn    How to start up the analog output function  The various ranges of the analog output function    The parameters you can use to influence the characteristics of the analog  output function    The technical specifications of the analog output function     The output function has the following characterist
35.  Print alarm message buffer    Parameter 1 0  Print chronologically  1  Print together    Parameters 2  3         32 Print event message buffer    Parameter 1 0  Print chronologically  1  Print together    Parameters 2  3      C7 633 C7 634 Control Systems  C79000 G7076 C634 01 4 27    Communication between the CPU and the Operator Panel       4 28                                  No  Function  37 Overflow warning for event messages on off  Parameter 1 0  Off  1  On  Parameters 2  3    38 Overflow warning for alarm messages on off  Parameter 1 0  Off  1  On  Parameters 2  3    41 Transfer date time to C7 CPU  At least 5 seconds should lie between two jobs otherwise the C7 OP will be  overloaded   Parameters 1  2 3    43 Fetch C7 CPU event message bit area  Parameter 1 Area pointer no   1to4  Parameters 2  3    44 Fetch C7 CPU alarm message bit area  Parameter 1 Area pointer no   1 to4  Parameters 2  3    45 Fetch C7 CPU acknowledgement area  Parameter 1 Area pointer no   1 to4  Parameters 2  3    47 Transfer LED area directly to C7 OP  Parameter 1 Area pointer no   1 to4  Parameter 2 LED image  1st word  Parameter 3 LED image  2nd word  In contrast to control job no  42  fetch LED area from C7 CPU   the LED image  is directly transferred with the control job here  thus achieving faster control of  the LEDs   The specified LED area must not be configured larger than 2 DW   48 Menu selection  Parameter 1 Menu number in the standard menu  1 Messagelevel  Parameter 2 Menu item nu
36.  _ AOx  O __   D ADC  C7 CPU 3     RL  AO M  aA oO Uiso  L       M              Ground bus L             Figure 7 5 Connecting Loads to a Current Output of an Isolated Analog Output    C7 633 C7 634 Control Systems  7 8 C79000 G7076 C634 01    C7 Analog I O       Connecting Loads  to a Voltage  Output    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    Connection of loads to a voltage output is only possible in 2 wire circuits as  there is only one output     2 wire connection of loads to a voltage output is carried out at terminal AOx  and the reference point of the measuring circuit AO M     Figure 7 6 shows the principle of connecting loads to a voltage output of a  non isolated analog output module with 2 wire connection                                                                                                                         AOx     ADC  C7 CPU ei    RL  AO M  A   Cz   oe   Uso        e   Ground bus L       Figure 7 6 2 Wire Connection of Loads to a Voltage Output of an Analog Output    C7 Analog I O       7 4 Analog Input Function    This Section    Available  Measurement  Types    Measurement  Ranges    Wire Break Check    Measurement  Ranges for 4 Wire  Transducers    7 10    This section contains   e The characteristics of the analog input module   e The technical specifications of the analog input module  You will learn   e How to start up the analog input module   e The measuring ranges provided by the analog input module    e The parameters yo
37.  control ext  gate counter 3  O  Figure 8 1 Pin Assignments of the Universal Inputs    C7 633 C7 634 Control Systems  C79000 G7076 C634 01 8 3    C7 Universal Inputs       Pin Assignments  of the Universal  Inputs    Assigning  Parameters to the  Inputs    Interrupt Input    Digital Input    Counter Input    Frequency  Counter    Period Duration  Counter    External Gate  Counter    The pin assignments of the universal inputs are as follows        Table 8 1 Assignments of the Universal Inputs  Pin No  Function  M Associated ground       DI X1   Universal input 1  interrupt  digital and counter input  external gate counter  16 bit        DI X2   Universal input 2  interrupt  digital and counter input  external gate counter  16 bit        DI X3   Universal input 3  interrupt  digital  counter  frequency counter and period  duration counter input  external gate counter 24 bit           DI X4   Universal input 4  interrupt or digital input        GATE 1   External gate pin for DI X1       GATE 2   External gate pin for DI X2       GATE 3   External gate pin for DI X3                The universal inputs are set using software  This is done using the  Configuring Hardware application  You use this application to determine  which function the individual input is to execute  see Table 8 1      If this function is set  the input responds like a normal interrupt input  that is   a hardware interrupt is triggered in the C7 CPU as a response to the assigned  edge     If this function is 
38.  entered  you may continue editing     Query as to whether the event message buffer should be  cleared     Query as to whether the alarm message buffer should be  cleared     Information message  appears if a global data record  V3 0  or later  is edited and not all entries that are defined in the  current recipe are completed  The data record can only be  saved if the marked entries are edited  If no entries are  marked  only the version number has changed     Information as to which mode was set using the function     First LastMessage           Information as to which mode was set using the function     First LastMessage           Query  if 0 is entered the data record is created  If anything  else is entered  the function is cancelled     Query  if during transfer of a global data record it is found  that not all entries are present  the missing entries can be        read by the PLC if 1 is entered  or      edited if 2 is entered  If 3 is entered  transfer is cancelled     Data record contains array that does not fit the current  recipe structure     Remedy     This query is also used when backing up or    restoring configurations  In that case  it  relates to deletion of all data records in the  system memory     Only returned in the case of data records  that are transferable from one recipe to  another  Missing entries are marked and  must be edited  Editing can  however  be  cancelled at any time     Only returned in the case of data records  that are transferable fro
39.  external pin   0 to 216 1   0 to 274 1      10V 50 kQ    20 mA 105 5 Q  4 to 20 mA 105 5 Q       Permissible input voltage for                voltage input max  30 V   Permissible input current for   current input max  30 mA   Isolation Yes  shared with AO  Cycle time  all channels  2 ms   Conversion time per channel 0 5 ms       Resolution    12 bits incl  sign       Operational limit  over entire  temperature range  with  reference to input range        e Current          e Voltage   0 8    e Current   0 8    Basic error limit  operational   limit at 25   C  with reference to   input range    0 6    e Voltage   0 6               B 8    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Technical Specifications for the C7       Interrupts  e Hardware interrupts   As cyclic interrupt   As end of cycle interrupt  e Diagnostic interrupt    e Interrupt cycle    Yes  configurable  Yes  configurable  Overranging  open circuit detection at 4 to 20  mA with software  Yes  configurable       Cable length  shielded max           Output range       200 m                      e Voltage output   10V  e Current output   20 mA  Load impedance  For voltage outputs min   e For current outputs max  2kQ  e For capacitative load max  0 5 kQ  e For inductive load max  1 uF  1 mH  Voltage output  e Short circuit protection Yes  e  Short circuit current 25 mA  Current output  e No load voltage max   xiI5V  Isolation Yes  shared with AI  Resolution 12 bits incl  sign       Cycle time  all chan
40.  if no parameters module is working with module   parameters were assigned by the default parameters  no  C7 CPU  The    module channel specificmodule  fault    bit is not set if no diagnostics  no hardware  further error exists  and diagnostic interrupts     Module fault Group error of all set The error is set reset with the   See error under the grouping  diagnostic bits  except ifthe   subordinate diagnostic bits     module fault     Table 10 3   message    module not If the diagnostic interrupt  assigned parameters    is set  has been assigned  one will   be generated    Internal error The error bit is set See error under the grouping  simultaneously with the    Internal error     Table 10 3   error bits    Watchdog          EEPROM error     or    ADC  error     In addition  the  watchdog is activated with     EEPROM error       Watchdog The watchdog error is With watchdog  the module   The error cannot be  identified after an internal adopts a safe state  0 V is corrected by the user   reset of the module  The output  the measured values   The module can only be  watchdog error can arise as become 7FFF  and the restarted after a reset on the  the result of an EPROM or counter values become bus  restart C7 CPU    general module error  FFFFp FFFFFFp    EEPROM error The error is identified after The module adopts a safe The error cannot be  resetting the module during   state  O V is output  the corrected by the user   the reading of the measured values become The module ca
41.  is isolated and so there is no electrical connection between  Output the reference point of the AO M analog circuit and the M terminal of the C7     A potential difference Urso can occur between the reference point of the  analog circuit Mana and the M terminal of the C7  Make sure that Urso does  not exceed the permissible value  Where it is possible that the permissible  value might be exceeded  see technical specifications   establish a connection  between the AO M terminal and the M terminal of the C7     Abbreviations and The abbreviations and mnemonics in the Figures 7 5 to 7 6 have the  Mnemonics following meanings     AOx  Analog output  current  AO I  and voltage  AO U  can be  assigned     Ri  Load actuator    AO M  Ground terminal  reference potential of the analog output     L   Terminal for 24 VDC supply voltage  Ujso  Potential difference between Mana and the M terminal of the  CT     Figures 7 5 to 7 6 show you how to connect loads actuators to the current  and or voltage outputs of the analog output module     C7 633 C7 634 Control Systems  C79000 G7076 C634 01 7 7    C7 Analog I O       Connecting Loads You must connect loads to a current output at AO I and the reference point of  to a Current the analog circuit AO M     Output Figure 7 5 shows the principle of connecting loads to a current output of an    isolated analog output module                                                                                                                             
42.  is the polling  time plus the transfer time plus the processing time     To achieve an optimal update time  the following points should be observed  during configuration     e Configure the individual data areas as large as necessary  but as small as  possible     e Define the data areas which belong together contiguously  The actual  update time improves if you configure one large area as opposed to  several small areas     e The total performance is unnecessarily compromised if the polling times  are too small  Set the polling time according to the changing speed of the  process values  The change in temperature of an oven for example  is  significantly more sluggish than the change of rotary speed in an  electrical drive     e The approximate value for the polling time is around 1 second     e Avoid cyclic transfer of the user data areas  polling time 0  if necessary in  order to improve the update time  Instead of this use the control jobs to  transfer the user data areas as required according to events     e Place the variables of a message or a screen without gaps in one data  area     e In order that changes in the C7 CPU are recognized by the C7 OP  they  must at least be pending during the actual polling time     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    4 23    Communication between the CPU and the Operator Panel       4 10 Control Jobs and Their Parameters    Description    Control Job    4 24    Using control jobs  functions on the C7 OP can be tri
43.  lt 1 6  mA     Overflow The error is identified after The bit is set and reset again   Check the connection of the  the comparison of the when the measurement appropriate input channel or  measured value  incl  decreases  transducer   correctioncalculation     Measurement gt  positive  overflow range    Underflow The error is identified after The bit is set and reset again   Check the connection of the  the comparison of the when the measurement appropriate input channel or  measured value  incl  becomes valid  transducer   correctioncalculation     Measurement  gt   negative  overflow range  That is   lt 0 mA for 4 to 20 mA    Incorrect The error is identified when   The measurement 7FFFy is   Assigncorrect parameters    Parameters checking the parameter after   set in the incorrectly  reading and processing the configured measurement  parameterarea  channel and the   corresponding diagnostic bit  set or  for an output channel   0 V  0 mA is output and the  corresponding bit set  If the  module had not been  assigned parameters and the  assignment is correct  then  the bit    incorrect parameter     is reset and  if diagnostic  interrupt  yes  a diagnostic  interrupt reported to the C7  CPU    Hardware Interrupt   The module is sending more   Bit 6 in byte 3    hardware Change parameter settings  Lost interrupts than can be interrupt lost    is set for at for counter values  processed by the CPU  least 500 ms  if no further   hardware interrupt is lost  during this time per
44.  mA   Measurement 4 to 20 mA   Ranges  Table 7 10 Representation of the Digitalized Measured Value of the Analog Inputs  Voltage and Current  Measurement Ranges   Measuring   Measuring   Measuring   Units  Range Range Range Range   10V  20mA   4to20mA   Decimal Hexadecimal   gt  11 759  gt  23 516 0   wo il2  gt  7F00H Overflow  11 7589 23515 22 81   S25 TEFFH        Upper range  10 0004 20 0007 20 005   27649 6C0lH  10 20 000 20 000 27648 6C00H  7 500 14 998   20736 5100H   0  0 4 000    0  0H Nominal range    7 500   14 998   3 9995    20736 AF004   10  20 000   o        27648 94001    10 0004   20 0007 Underflow  27649 93FFH  range          Lower range   11 759  23 516      32512 81004    1176     23 517    lt   32513   lt  80FFy Underflow                      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    7 29    C7 Analog I O       7 6 6 Representation of Analog Values for the Output Range of the  Analog Outputs    Table for Output Table 7 11 contains the analog output ranges of the analog outputs   Ranges   Voltage  Current Table 7 11 contains the representation of the voltage output range   10 V  Output Ranges and the current output ranges  20 mA  4 to 20 mA    Table 7 11 Representation of the Analog Output Range of the Analog Outputs  Voltage Current Output Ranges                                               Output Output Output Units  Range Range Range     Range    10V 4 to 20 mA   20 mA   Decimal Hexadecimal  0 0 0    32512     7F00n Overflow        Upper r
45.  no  l  yes oll  7 Error in channel A14 0 no  l  yes Oll  08 Channel Specific Diagnostic Byte AI1  0 Parameter error in parameters for O no  1 yes    Oll  channel  1 3       000  4   Wire break in software 0 no  1  yes  only for 4 to 20mA  Ol1  5     0  6 Measurement underrange 0 no  1 yes  underflow  Oll  7 Measurementoverrange 0 no  1 yes  overflow  Oll  09 Channel Specific Diagnostic Byte AI2  0 Parameter error in parameters for O no  1 yes    Oll  channel  1 3       000  4   Wire break in software 0 no  1  yes  only for 4 to 20mA  Ol1  5     0  6 Measurement underrange 0 no  1 yes  underflow  Oll  7 Measurementoverrange 0 no  1 yes  overflow  Oll                            10 6    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    VO Diagnostics                                              Table 10 2 Structure of the Diagnostic Area  Byte   Bit Meaning Explanation Value  Range  10 Channel Specific Diagnostic Byte AI3  0 Parameter error in parameters for O no  1 yes    OlT  channel  1 3       000  4   Wire break in software 0 no  1 yes  only for 4 to 20mA  Ol1  5     0  6 Measurement underrange 0 no  1 yes  underflow  Ol1  7 Measurementoverrange 0 no  1 yes  overflow  Oll  11 Channel Specific Diagnostic Byte A14  0 Parameter error in parameters for 0 no  1 yes    Oll  channel  1 3       0  4   Wire break in software 0 no  1  yes  only for 4 to 20mA  oll  5     0  6 Measurementunderrange 0 no  1 yes  underflow  Ol1  F Measurementoverrange 0 no  1 yes  overflow  Oll  12 
46.  of 1 ms     CALL SFC47       Wait function      WT  1000        1000 s 1ms         Determining counter image  optional      run  NOP 0    L PIW280  MCI   T MW20    L PIW282  i C2   T MW22      either         Determining counter image for 16 bit counter      L PIW285  ii C3   T MW25     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    8 25    C7 Universal Inputs       OB35 Statement  Sequence    OB40 Statement  Sequence    8 26    or        Determining counter image for 24 bit counter       L PID284     read in C3  PIB284 286  and status byte  PIB287   S RD8     transfer PIB287 bits from ACCU   T MD24     transfer ACCU or C3 to memory double word    END_ORGANIZATION_BLOCK    OB35 contains the following statements     ORGANIZATION_BLOCK OB35    var_temp  start_info   array 0  19  of byte   end_var  BEGIN  AN Q1 2     assigned to Cl   Q1 2   AN Q1 3     assigned to C2   Q1 3   AN Q1 4     assigned to C3   Q1 4   L QWO     transfer QWO immediately  T PQWO     END_ORGANIZATION_BLOCK    OB40 contains the following statements     ORGANIZATION_BLOCK OB40  var_temp  start_info   array 0  19  of byte   end_var  BEGIN         Determining which input has triggered interrupt       AN L8 0     interrupt from C1   JC c2     L MB40     counts number of interrupts from C1  up to 255   INC 1   T MB40     c2 NOP 0   AN L8 1     interrupt from C2   JC c3     L MB41     counts number of interrupts from C2  up to 255   INC 1   T MB41     C7 633 C7 634 Control Systems  C79000 G7076 C634 01
47.  of measurement Deactivated Voltage  Voltage  Current  e Measurementrange  10V  10V   20 mA  4 to 20 mA  Interrupt cycle  e Interrupt Yes No No  e Interrupt time Unsolicited  3ms  Unsolicited  3 5 ms  4 ms   4 5 ms to 16 ms                   C7 633 C7 634 Control Systems    C79000 G7076 C634 01    C7 Analog I O       Hardware Interrupt    You can operate the inputs of the analog I Os in three ways   e Without hardware interrupt    A free measuring cycle of all activated channels without generating  hardware interrupts        A D conversion of the channels  Al Al2 AIS Al4 AN Al2 AI AIS    aL EEL Ler Erk       Measuring cycle  of all activated  channels                   Figure 7 16 Sequence of the Measurement with Four Analog Input Channels without  Generating Hardware Interrupts    e Hardware interrupt as a cyclic interrupt    Free measuring cycle of all activated channels with generation of a non  measuring cycle dependent hardware interrupt as a time interrupt with a  configurable interrupt time        Hardware interrupt Hardware interrupt Hardware interrupt  to the C7 CPU to the C7 CPU to the C7 CPU    A D conversion of the channels    Alt Al2 Al3 Al4 A1 Al2 AIS Al4 Alt Al2 AIS Al4 Alt Al2 Al3 Al4    eg yi i ge    Measuring cycle  of all activated  channels       Cycle time e g  3 ms l Cycle time e g  3 ms l      lt                    Figure 7 17 Sequence of the Measurement with Four Analog Input Channels and  Generation of Hardware Interrupts as Cyclic Interrupts    e Har
48.  of the Login screen    Internal error In COM TEXT  IHV recipes affected   Error in data structure of other type of function screen   Internal error   Error in data structure of    Average Statistics    screen   Internal error   Error group  task ID  does not exist    Internal error   The message number for this error group does not exist   Internal error    Communication  mailbox type of received message is  incorrect     Internal error Occurs if  for example  new firmware is           being used with old COM TEXT version   Configuration error  message for which there is no text  expected  761 received instead    Internal error   Configuration error    Internal error    There are two variables     Var 1  for the message number  Var 2  a number for the  error location    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    System Messages       Message    767  769     771    7712    774    716    7717    780    781    782       Cause Remedy        Internal error   With stop  TD10   TD OP20 different   Internal error   Communication error    gt  Message frames    Internal error   Error reading area pointer    Internal error   Data record memory full    Internal error   Too many cyclic interrupts in transit   Internal error Reset and repeat MPI download     Internal error during MPI download  possibly due to  buffer problems     Internal error  Undefined error from communication with PLC     An    Online Setter    function has been incorrectly defined  in ProTool     C7 633 C
49.  period  PIB286 time counter  PIB287 Bit7        Bit 6  Bit5   States of the count inputs see Table 8 3  Bit 4  Bit3   Current state of universal input 4  Bit 2   Current state of universal input 3  Bit 1   Current state of universal input 2  BitO   Current state of universal input 1  States of the The state of the individual inputs is stored as a bit pattern in PIB287   Inputs  Table 8 3 State of the Inputs  Address Status Display of Universal Inputs  PIB287  Bit7      Bit6     Bit  1  Counter 3 enabled  Bit   0  Counter 3 disabled  Bit5     Bit  1  Counter 2 enabled  Bit   0  Counter 2 disabled  Bit4     Bit  1  Counter 1 enabled    Bit   0     Counter   disabled             Bit 3 Bit 1   Bit 2 Bit 1   Bit 1 Bit 1   Bit 0 Bit 1     universal input 1 set  Bit   0  universal input 1 reset   universal input 2 set  Bit   0  universal input 2 reset  universal input 3 set  Bit   0  universal input 3 reset     universal input 4 set  Bit   0  universal input 4 reset              Only relevant if universal input was assigned as count input    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    8 7    C7 Universal Inputs       Output Range If the universal inputs are used as counters  then the behavior of the counters  is controlled via the output range     Table 8 4 Addresses and Weighting of the Output Range of the Count Inputs                Address Control of Counters 1 to 3  PQW280 Start comparison value counter 1     PQB287  Bit 0 0   Counter 1 disabled 1   Counter 1 enabled
50.  setting a bit in one of the message areas in the  C7 CPU  The location of the message area is defined by the configuration  tool  The corresponding area must also be defined in the C7 CPU     As soon as the bit in the event or alarm message area of the C7 CPU is set  and transferred to the C7 OP  the message is recognized as having    arrived        Conversely  after resetting the same bit in the C7 CPU  the message is  registered in the C7 OP as having    departed        Table 4 1 represents the number of message areas for event and alarm  messages and alarm acknowledgement areas  as well as the total length of all  areas  for both the C7 633 and the C7 634                                Table 4 1 Message Areas of the C7 OP  Device Event message area Alarm message area and alarm  message acknowledgement area  Number   Length  words  Number of   Total length of each  each type type  words   C7 633 4 32 4 32  7 634  4  64 4  64          A message can be configured for every bit in the configured message area   The bits are assigned to the message numbers in ascending sequence     Example   The following event message area is configured for the C7 CPU   DB 60 Address 42 Length 5  in words     Figure 4 1 shows the assignment of all 80  5 x 16  message numbers to the  individual bit numbers in the control event message area     The assignment follows automatically in the C7 OP                                                                             7 oj 7 0  DB60 DBW42  16 1 
51.  switching frequency    e With resistive load lamp  load    e With inductive load    Inductive cutoff voltage  limited  internally  to    Short circuit protection of the  outputs    e Operating point    L   0 8 V     0 5 A  5 mA to 0 5 mA    max  0 5 mA    max  5 W    Possible  outputs of  the same group only     Not possible    Yes    100 Hz    0 5 Hz  L   48 V     Yes electronically  timed    1A       6 7       C7 Digital I O       6 3 DI DO Status Displays    Configuring the  DI DO Status  Display    C7 CPU Access    6 8    The DI DO status display is not a system function but a configured image of  the C7 OP  You can create the DI DO status display image yourself or copy it  from the standard configuration supplied with ProTool  image name   Z_DI_DO      The values represented are read as a direct process image of the digital  inputs and an internal process image of the digital outputs of the digital C7  T O and displayed in binary format  BIN      Note that the last state set by the program is displayed  although the real  process state of the digital outputs is 0 when the C7 CPU is in STOP mode     The following data are displayed                   DI 11101110  10101010  DO 11101110  10101010    or  a  0   a                Figure 6 3 DI DO Status Display on a C7 633 P       Table 6 1 Explanation of the DI DO Display in Figure 6 3  Position Explanation     Signal status of the DI DO  e 1 DI DO set    e 0 DI DO reset                   Pin no  from   to          Note    Th
52.  the case of high counting frequency and  relatively long cycles  gt  accessing OB1 more than once might supply  different values      C7 633 C7 634 Control Systems    C79000 G7076 C634 01    8 23    C7 Universal Inputs       S7 Status    OB100 Statement  Sequence    8 24    5  OB40  This block is used for interrupt evaluation  A jump is executed by  evaluating the information of the interrupt vector register from the start  information of OB40  LB 8   A memory byte is incremented as a function  of the counter which has triggered the interrupt  OB40 is programmed to  recognize even several interrupts occurring almost simultaneously     6  OB35  OB35 is used to generate the count pulses  The following wiring is  required to execute the example     Connect digital output 1 2 with DI X1  Connect digital output 1 3 with DI X2  Connect digital output 1 4 with DI X3    In OB35  the output bits of the C7 digital outputs are toggled  alternately  enabled disabled   and the effect is a period time of 200 ms at each  output  correponding to a frequency of 5 Hz  This value results from the  100 ms default cyclic interrupt time of OB35  This means that each  output is set to a logical    1    for 100 ms and then  also for 100 ms  reset to  a logical    0        With the Monitoring and Modifying Variables application in STEP 7  the  following can be monitored     PIW280 current counter value C1  MW20 counter image Cl  PIW282 current counter value C2  MW22 counter image C2  PIW285 current 
53.  the two pin plug    connector  The battery connector is coded to prevent it being plugged  incorrectly  see Figure 11 3      Replace the battery cover on the C7 with the clips to the left and screw  the cover tight again                          Figure 11 3 Inserting the Backup Battery    Service Life of the We recommend that you change the battery every year     Backup Battery       Note    Observe the regulations or guidelines concerning the handling and disposal  of lithium batteries enclosed with the battery        Storage of Backup Store your backup batteries in a cool  dry place  Backup batteries can be  Batteries stored for up to five years     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Maintenance       11 2 Replacing the C7    Introduction    Requirement    Removal    On site repair of the C7 has not been provided for  For this reason  a  defective C7 must be replaced     The following components must be available in order to replace a C7   Hardware   e Programming device PC with MPI interface module   e Connection cable  MPI and RS 232 TTY    Development tools   e STEP 7   e ProTool or ProTool Lite   User software  stored outside the C7    e OP configuration    e CPU user program  if data from the C7 CPU can no longer be read and no  memory card is inserted     Dismantle the device in the opposite order to the installation  Proceed as  follows to remove the C7     1  Connect a programming device PC to the multipoint interface     2  Use STEP 7 to save t
54.  therefore no longer be used     Password or query window already in use by another  function     Specified remaining buffer space for messages has been  reached     Message buffer overflow     The number of passwords issued has already reached 50   You can not enter any more passwords     The field configured in the PLC job does not exist     Remedy   Check parameters of PLC job   Check recipe configuration     Wait until preceding function has been  completed  or terminate function  and then  call desired function again     1  Floppy drive not present   2  Floppy is read only     3  Disk is not formatted     First format the disk     Delete data records that are no longer  required     Try activating function again  Check  configuration     1  Move function to a different screen   2  Simplify screen structure     3  Do not use any trends on the screen  together with this function     If you are continuing to use the data records   the old version number must be  entered in the recipe configuration     Caution     The structure of the recipe determines the  assignment of data to a data record     Only individual data records of a parameter  record can be edited     Check PLC program  In the case of large  data records no modifications are necessary  as the function is being processed correctly     Change operating mode of PLC     Edit data record and check that all entries  are correct     Complete first function then execute desired  function again     Configure smaller rem
55.  to the C7 CPU  user program  The user program is cyclically supplied with the current count  value  update time 0 5 ms   This means that when reading in the current  process value via the user program  for example  L PIW280   this value is up  to 500 us older  With high counting frequencies there can be an offset of  several count pulses  for example  10 kHz   1 pulse every 100 us  that is  the  counter has already counted up to 4 more pulses      Depending on the application  it is necessary to take this into account  for  example  waiting time of  gt  0 5 ms after the counting encoder has stopped  or  using a hardware interrupt until counter end value         The universal counter inputs are controlled by the user program     Table 8 7 lists the different ways of influencing the counter in the user  program  For a detailed description of the individual bits in PQB287  please  refer to Table 8 4              Table 8 7 Controlling Counters with the User Program  Aim Procedure  Start counter e Enter a valid start value  if counting down  or    a valid comparison value  if counting up    PQW280  PQW282  PQB284  PQB 285   PQB 286     e Activate the new start comparison value   PQB287 rising edge    0    gt    1       e Start the counter by selecting the start bit   PQB287 falling edge  1       gt    0          Stop counter e Reset the start bit   PQB287 falling edge    1       gt    0           Restart counter with counter      Ifnecessary  enter a new start value or retain old
56.  user memory  for  example  in the form of instance data blocks      The SFCs can have parameters assigned which means the block parameters  can be changed dynamically during program processing  This means different  communication partners can be reached in succession using one SFC     On the server side  no SFCs are required in the user program for specific  functions as these communication functions are already being dealt with by  the operating system     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    5 3    Communication Functions       Addressing    Data Consistency    The following SFCs are available for communication via MPI subnet        Blocks    SFC65  SFC66    X_SEND    X_RCV    Description    Safe transfer of a data field to a communication partner     meaning the data exchange is only complete when the  receive function  X_RCV  has accepted the data in the  communication partner        SFC67    X_GET    With this SFC you can read a variable from a  communication partner without having to place a  corresponding SFC on the communication partner   This function is performed in the communication  partner by the operating system        SFC68    X_PUT    With this SFC you can write a variable to a  communication partner without having to place a  corresponding SFC on the communication partner   This function is performed in the communication  partner by the operating system        SFC69          X_ABORT       With this SFC you can cancel an existing connectio
57.  variables for a fixed data structure  You set this  structure in your configuration and assign data to it on the C7 OP  You cannot  modify the structure on the C7 OP later     Since the data structure can be assigned several times  we refer to data  records  These data records are stored  created   loaded  deleted  and  modified on the C7 OP  The data are stored on the C7 OP  thus saving  memory on the C7 CPU     Using recipes insures that  when a data record is transferred to the C7 CPU   several items of data are transferred to the C7 CPU together and ina  synchronized fashion     Data records can be transferred from the C7 OP to the C7 CPU or from the  C7 CPU to the C7 OP  You transfer data records from the C7 OP to the   C7 CPU to set specific values on the C7 CPU   for example  to produce  orange juice  In the same way  you can fetch data from the C7 CPU and store  them on the C7 OP as a data record to save  say  a favorable assignment of  values        Note    Only variables are used to transfer data records  In order to transfer a data  record from the data medium  flash  of the C7 OP to the C7 CPU  it must  first be loaded into the variables        A special feature of recipes is that the data are transferred synchronously and  cannot be inadvertently overwritten  To insure a coordinated procedure for  transferring data records  bits are set in the control and checkback byte 2 of the  interface area     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    4 19   
58. 0  7   Channel type AO of the following channel specific diagnostic information 73H  13 0  7   Number of analog output channels 4  on module  14 0  7   Number of diagnostic bits per 1  channel  15 Channel Vector for Channel Group AO  0 Collective error in AOL O no  l  yes Ol1  1 Collective error in AO2 O no  1  yes Oll  2 Collective error in AO3 O no  l  yes Oll  3 Collective error in AO4 0 no  l  yes Ol1  4 7       0000                               Analog inputs will be reset until the channel functions again    Exception  parameter assignment for wire break check for  setting  lt  gt 4   20 mA  AI 7FFFy        Analog output will be reset until channel functions again    AO 0V 0 mA    xx    No hardware interrupt  no diagnostic interrupt  no disturbance on the  bit 0 of byte 0  0    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    10 7    VO Diagnostics       10 3 Dependencies and Reactions of the Diagnostic Evaluation    Overview The diagnostic entries are interdependent  For example  the message for the  error    wire break    can only become effective if the diagnostic entries     external error    and    channel error    are set simultaneously     Dependency of These dependencies are illustrated in Table 10 3   Error Entry    Table 10 3 Dependencies and Reactions of the Error Entries       Byte 0  BitO 1 Module error       Byte 0  Bit 1 1 Internal error             Byte 2   Bit 3   1 Watchdog  R   Byte 3   Bit 2   1 EEPROM error  R   Byte 3   Bit4  1 ADC error  M R
59. 0 Voltage power idle  substitute value   0     01 Retain last value  10 Global substitute value   byte 14 to 15     1 0 01 Output area 00 Deactivated  01  10 V  10  20 mA   11 4 to 20 mA    13   7  6 00 AO4 Reaction to CPU STOP   00 Voltage power idle  substitute value   0     01 Retain last value  10 Global substitute value   byte 14 to 15     5  4 01 Output area 00 Deactivated  01   10 V  10  20 mA   11 4 to 20 mA          3 2 00 AO3 Reaction to CPU STOP   00 Voltage power idle  substitute value   0     01 Retain last value  10 Global substitute value   byte 14 to 15        1 0 01 Output area 00 Deactivated  01  10 V  10  20 mA   11 4 to 20 mA  14 ooo0y   Global substitute value for  only if    global substitute value    active on at least  AOI to AO4 one of the AO                       15       C7 633 C7 634 Control Systems  9 4 C79000 G7076 C634 01       I O Diagnostics    In This Chapter In this section  you will learn which diagnostic messages you can set and  how the diagnostic buffer is structured     The diagnostics of the C7 analog I O are described     This chapter also tells you how you can correct the reported errors for the  most important diagnostic messages of the C7 analog I O with universal  inputs     The term    module    refers here to a unit consisting of the analog I O and the  universal inputs                    Chapter Section Description Page  Overview 10 1 Diagnostic Messages 110 2  0 2  10 2 Diagnostic Data of the C7 Analog I O and Universal  Input
60. 1 C7 633 with Keyboard and Display    C7 633 C7 634 Control Systems  3 2 C79000 G7076 C634 01    Special Features of C7       SIEMENS       Figure 3 2 C7 634 with Keyboard and Display    C7 633 C7 634 Control Systems  C79000 G7076 C634 01       SIMATIC C7 634    All other keys are  identical to those of  the C7 633    Special Features of C7       3 2 Selecting a C7 CPU Operating Mode    Changing the  C7 CPU Operating  Mode    3 4    You select the CPU operating modes RUN P  RUN  STOP  and MRES as  follows     Each time the mode selector key is pressed  the CPU mode changes  The key  must remain pressed for at least 500 ms for the mode change to take place  and the corresponding LED to light up     To prevent an uncontrolled C7 CPU operating mode transition during control  operation  the key function can be activated or deactivated via an external  authorization input  When the authorization input is activated  operating  mode selection is active and the current CPU mode is displayed by an LED   When the authorization input is deactivated  all status LEDs are off     The authorization input is located on the same connector as the C7 power  supply  see Section 2 4      Authorization activated  A  T bridged  AI   Authorization deactivated  A     open  AI       C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Special Features of C7          Mode  RUN P   R P     Key          iS          Explanation   Procedure    The C7 CPU processes the user program    Programs and data ca
61. 10 4  Diagnostic entry  channel specific   10 6   Diagnostic error   permanent    temporary  10 3     Diagnostic evaluation  10 8  Diagnostic events     Diagnostic messages  reaction  10 9   read   10 3    Diagnostics  analog input  10 4   analog output  10 4   C7 T O             parameter block   Digital input  universal inputs     Digital input function  technical specifications   64     6 4  Digital inputs   universal inputs  8 11      Digital output function  special features   Digital outputs  2 10 6 5    Dimensions  labeling strips  2 3    Display  arene re    Display mode for alarm messages  control job     Dynamic  parameters  7 21    E    Enable diagnostic interru pt  7 22  7 25  Enabling  diagnostics  10 4    Error handling   A 2    Error indicator  LEDs   3 7    Errors  internal   A 2    EU Directive  Machinery  B 12   Event  assignable   8 12    Event message area  setting the bit  4 4    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Events  configurable  7 35   External gate counter  8 22    F    Fetch acknowledgement area  control job    Fetch alarm message bit area  control job    Fetch event message bit area  control job    File  labeling strips  2 2    Flash EPROM  Glossary 4   Flash memory  Glossary 4   FM approval   FRCE    Frequency calculation  8 17     Frequency counter  parameter  8 9  universal inputs     Function keyboard image   Function keys  labeling   Function modules  FM    Functional ground  2 14  Functions  C7                          
62. 117  119  120  124  130  132  129  134  136    A 4    Cause Remedy   Data transfer error  A variable indicating the cause of the Repeat the data transfer  Before doing so   fault is transferred with this message  check the physical connection configured    interface parameters if necessary    Variable  p y   Timeout error   Framing error  receiving    Overrun error   Parity error    No connection established  Checksum error  receiving   Unexpected characters received  7   11 Internalerrors   12 Receive data block too large   13 Memory area not available on PLC    DAnNKRWNFH CO    Fault in connection to PLC     Possible causes        Fault on the transmission link  e g  connecting cable  defective       Incorrect interface parameters set on C7 or on  communication partner     No connection to PLC established  Set different CPU using the menu command     System    and the    Parameters    button in the  dialog box which appears     Restart due to RAM failure   Restart following termination of COM UNI mode   Startup following cancellation of COM UNI mode     Transfer cancelled by operator  Connection with C7 is still  open  the C7 is waiting     Fault resulting in wait message has been eliminated   Restart following activation of COM UNI mode   C7 is in download mode     Restart after change of operating mode from offline to  online     C7 is in    normal    mode    PLC has been restarted    Establishing logical link to PLC    Connection to PLC is OK again following a fault   Au
63. 4   Voltage tests Requirements are met        C7 633 C7 634 Control Systems  B 12 C79000 G7076 C634 01    Technical Specifications for the C7       B 4 Transport and Storage Conditions for Backup Batteries    Transport of  Backup Batteries    Storage of Backup  Batteries    ZN    Rules for Handling  and Using Backup  Batteries    Transport backup batteries where possible in their original packaging   Observe the regulations for the transport of dangerous goods and substances   The backup battery contains approximately 0 25 g of lithium     Note  According to air freight transport regulations  the backup battery is in  Hazardous Goods Class 9     Store backup batteries in a cool  dry place     Backup batteries can be stored for up to five years        Warning    Backup batteries can ignite or explode and constitute a serious fire hazard if  they are heated or damaged     Store batteries in a cool  dry place        To prevent hazards when using backup batteries  you must observe the  following rules     Do not   e Recharge   e Heat   e Burn   e Drill   e Crush   e  Short circuit    backup batteries     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    B 13    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Guidelines for Handling  Electrostatically Sensitive Devices  ESD                    Chapter Section Description Page  Overview ei What is ESD  C2  C 2 Electrostatic Charging of Objects and Persons C 3  C3 General Protective Measures against Electrostatic C 4   
64. 4 Control Systems    C79000 G7076 C634 01    8 5       C7 Universal Inputs       8 2 Use and Function of the Universal Inputs    In This Section In this section you can find     Basic terminology about the function of the universal inputs  How you can use the universal inputs    How you can address and assign parameters to the universal inputs    8 2 1 Addressing Universal Inputs    Overview You can select the following functions by assigning the appropriate  parameters to the universal inputs     Digital input  Interrupt input  Counter   Frequency counter  Period time counter    External gate counter    Universal Input The addresses for the universal inputs are default addresses which cannot be  Addresses changed  According to the application of the universal inputs  the results  occupy differing addresses     For the address allocation  a distinction is made between     8 6    The input range PIW280 to PIB287 for count values or signal state of the  digital inputs  and    The output control range PQW 280 to PQB287 for counters    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Universal Inputs       Input Range The 4 universal inputs of the input range  see Figure 8 1  have the following  addresses and weightings     Table 8 2 Input Address of the Universal Inputs                                                                      Address Designation  PIB280 CI1  Counter input  PIB281  PIB282 CI2  Counter input  PIB283  PIB284 CI3  Counter input  PIB285 Frequency
65. 4 VDC  from 11 to 30 V  from  3 to 5 V    from 6 to 11 5 mA    No   from 1 2 to 4 8 ms  from 1 2 to 4 8 ms  In accordance with    EN 61131 2  IEC  1131  Part 2     Type 2    Possible   lt 2mA             C7 633 C7 634 Control Systems  C79000 G7076 C634 01       C7 Digital I O       6 2 Digital Outputs    Characteristics    Special Feature    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    The digital outputs have the following characteristics   e 16 outputs  isolated   e Output current  0 5 A   e Nominal load voltage  24 VDC    e Suitable for solenoid valves and d c  contactors     When the supply voltage is switched on  the digital outputs send a pulse to  the outputs  A pulse can be approximately 50 us within the permissible  output current range     6 5    C7 Digital I O       Terminal Figure 6 2 shows the terminal connection and the block diagram of the  Connection and digital outputs     Block magram The pages following contain detailed technical specifications of the digital                                                                                                                                                                            outputs   Bottom view of C7  OD  o of 10 0 0 Digital outputs  o ej  3 1  F      0 2 2  gi e   0 3 3     1 2L   o  fel lo  4 A  5 e  10 5 5 Z  g e   0 6 6    4   0 7 7   YEK M gt  REN 3 L   a ef  1 0 0  fb  li 1    l ej  1 2 2 T  o o 1 3 3 2M  o of 11 4 4 Block diagram     e  71 5 5     el  1 6 6  o o   1 7 7  o Load power 
66. 7 633 P 6ES7633 1DF00 0AE3  C7 633 DP 6ES7633 2BF00 0AE3  C7 634 P 6ES7634 2DBF00 0AE3  C7 634 DP 6ES7634 2BF00 0AE3    This manual is intended for personnel with the necessary qualifications for  commissioning  operating  and programming the hardware product described     You should be familiar with the use of computers or devices with similar  functions to a PC  for example  programming devices  under the operating  system Windows 95   NT 4 0 and have some knowledge of the STEP 7  Standard software and the ProTool configuration software and the relevant  documentation     The control systems comprise the following individual components   e SIMATIC S7 300  e SIMATIC Operator Panel    You will find information on these individual components in the version of  the C7 documentation package valid for your control systems  This  documentation package comprises four manuals and an instruction list  You  will find the contents listed in Table 1 1     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    Preface          Manual    65 31165 312    6 7 8    Manual        7 300 Programmable Controller    Hardware and Installation          Operator Panel    OP7  OP17       Instruction List   7 300 Programmable Controller     Reference Manual    CPU 312 IFM  314 IFM  313   314  315  315 2 DP    Module Specifications             Table 1 1    Manual    Manual    C7 633 C7 634 Control Systems    Manual  Operator Panel OP7  OP17    Manual   S7 300 Programmable  Controller  Hardware and  I
67. 7 634 Control Systems  C79000 G7076 C634 01 A 21    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Technical Specifications for the C7    What are the This chapter lists the technical specifications of the C7   Technical    Specifications  These technical specifications include the standards and test values that the    C7 conforms to or the criteria against which the C7 has been tested                       Chapter Section Description Page   Overview B 1 Technical Specifications    Bz     B 2 Notes on the CE Marking  B 3 Notes for Machine Manufacturers  B 4 Transport and Storage Conditions for Backup Batteries B 13                   C7 633 C7 634 Control Systems  C79000 G7076 C634 01 B 1    Technical Specifications for the C7       B 1    Technical Specifications       Order number    6ES7633 2BF00 0AE3 6ES7634 2BF00 0AE3   6ES7633 1DFO0 0OAE3   6ES7634 1DF00 0AE3          Dimensions      Device  B x H x D  240 x 203 5 x 74 4 mm 240 x 203 5 x 89 4 mm      Cutout  B x H  231 x 159 mm 231 x 159 mm   Weight 1600 g 1700 g 1800 g 1900 g          Safety of electrical equipment   e Standards   e Protection against foreign  particles and water    e Fire safety  Plug connectors    Basic connectors in  housing  Housing front    EN 61131 2 according to IEC 1131 2       Front  IP 65 according to IEC 529  Housing  IP 20 according to IEC 529  According to UL 94   V2   vo   vo       Acceptance tests  certification    EN 61131 2  IEC 1131 2    UL Listing UL 508   Canadian Standard As
68. 7 OP and the device is restarted     To use this function  preset the following values when configuring the  C7 OP     e Version number of the configuration  value between 1 and 255  under  System     Settings    e Data type and address of the value stored in the controller for the version   System     Area Pointers   Select User Version in the Type  field     C7 633 C7 634 Control Systems  C79000 G7076 C634 01 4 13    Communication between the CPU and the Operator Panel       4 7 Interface Area    Overview The interface area is only necessary for the C7 CPU if its functions are to be  used or evaluated by the C7 CPU     The interface area must be configured if you want to use the following  functions         Send control jobs to the C7 OP       Synchronize date and time between the C7 CPU and the C7 OP       Evaluate coupling identifier       Recipes  transferring data records        Recognize C7 OP startup in the C7 CPU program       Evaluate the C7 OP operating mode in the C7 CPU program       Evaluate the C7 OP   s ready bit in the C7 CPU program       Set cyclic interrupts  C7 634 only   Layout of the Figure 4 7 shows the layout of the interface area  You can define the interface  Interface Area area in a data block or a memory area  The address of the interface area should    be specified in the configuration  This is necessary so that the OP knows where  to put the data     The interface area should be created once per CPU     Interface area                            
69. 9    630    631    632    634    A 14    Cause    Illegal keyboard ID  submodule number too high or    number of keys does not match keyboard ID     Incorrect parameter transferred  message type    Configured recipe does not fit in recipe mailbox on PLC      gt  512 data words      Internal error    Screen object for    Send Recipe    is not a recipe type  fixed    by COM TEXT      No recipe entries found     Recipe number does not exist   No setpoints have been configured     Internal error  Configured keyboard block number too high     Recipe does not fit in mailboxes     LED image area too small     Keyboard image area too small     Message configuration incomplete or incorrect     Variable x    1 2 Alarm message triggered not configured    3 Process link only created symbolically    4 Actual value field only created symbolically   5 6 Event message triggered not configured    7 Symbolic actual value field only created    symbolically     21  24 Field texts for symbolic actual value do not exist     25 Illegal field type   8  20 Internal error     Configuration error     Variable x   1 4 Information text does not exist    2 Information text ID for messages does not exist    3  6  8  Internal error  11  13  5 Field only created symbolically    9 Screen or recipe entry only created symbolically  12 Process screen or recipe contains no entries    Configuration error     Variable x   0  8  34 Internal error  18 Screen or recipe title not configured    Remedy        Enter confi
70. Actual value of counter  8 14   calculating   8 14     Additional information  8 13    Addresses  analog function  7 18    universal input  8 6  Addressing   6 9   Addressing recipes and data records  4 20  Alarm acknowledgement  number  4 4  Alarm message area  setting the bit   Analog function  parameter  7 21    Analog I O  behavior  7 33    Analog input  diagnostics   isolated   parameter  7 22  Analog input function  7 10    technical specifications   Analog input module  characteristics   7 11     technical specifications   terminal connection diagram  7 12    Analog input module SM 331  AI 8  wire break  check  7 10     Analog inputs  measurement ranges  7 10  7 28  Analog inputs outputs  2 11      Analog output  diagnostics   output ranges     parameters                         C7 633 C7 634 Control Systems  C79000 G7076 C634 01            Analog output function  7 15   technical specifications   terminal connection diagram  7 16    Analog ranges  resolution    7 27    sign conventions  7 27   Analog signal  cable for  7 3    Analog digital conversion   7 31    Area pointer  screen number area  4 12    Assigning parameters  universal inputs    AUX digital inputs  2 12                       storage  11 3  transport and storage  B 13  Basic setting  parameter block  7 25  BATE  3 7   Battery  backup  11 2    Battery fault   Bit number   Bus connector  2 16          C    C7  functions   installing   C7 accessories     C7 cutout     C7 I O diagnostics   10 2  C7 T O modul
71. C634 01    Remedy     Check the configuration  If the fault is not    corrected by performing a restart  please  contact the SIMATIC Hotline     Configure event message      gt  message  number  fully     Configure alarm message      gt  message  number  concerned     Reconfigure interrupt message      gt  message  number      Press key to restart  If the fault is not  corrected by performing a restart  please  contact the SIMATIC Hotline     If the fault is not corrected by performing a  restart  please contact the SIMATIC Hotline     Configure an area pointer     A 15    System Messages       Message  651       652    653    654    655    656  657    658  659  660    661    662    663  664    665    667    A 16    Cause       Internal error    There is not at least one data record for every recipe     Configuration is not compatible with S5     The configured user version number does not match the    version number stored on the PLC     The PLC acknowledgement area has not been configured  to follow on physically from the message area     PLC acknowledgement area does not physically follow on    from the alarm message area      gt  no startup    Configured protocol is not possible     Configured PLC protocol is not possible     Configured PLC protocol is not possible     Illegal process link in recipe  destination does not exist     Invalid destination configured for return reference in    menu     On process screen  recipe setpoint or previous value  configured in recipe  
72. C7 634 Control Systems  C79000 G7076 C634 01    Preface          Table 1 3 Other Manuals that Provide Helpful Information on How to Operate the C7 Control System  Manual Contents  PG 7xx Describes the programming device  PG  hardware     e Setting up and starting up the programming device  e Expansion possibilities  e Configuration    e Error diagnostics       ProTool   ProTool Lite    Manual for creating configurations with ProTool or ProTool Lite   e Using ProTool ProTool Lite   e Configuring   e Displays and messages    e Loading the configuration into the C7       Manual   Communication with SIMATIC          Describes communication in the SIMATIC S7 M7 C7    e Introduction to the theory of communications   e Communication utilities   e Structure and configuration of communication networks    e Examples of the various communication possibilities       Conventions To make it easier to read this manual  we have used C7 throughout the  manual to stand for the device types C7 633 P  C7 633 DP  C7 634 P  and  C7 634 DP    Other Sources of In the literature list at the end of the manual you will find a list of other   Information sources of information on S7 300 and programmable logic controllers    Structure of This To make it easier for you to locate specific information  the manual has been   Manual structured as follows     At the beginning of the manual  you will find a complete table of contents  for the manual     In the individual chapters  the information in the left ma
73. Data bits  5 6 7 8      Stop bits  1 2      Timeout  1   600    Select a different printer or check printer  configuration in ProTool     Enter permissible value     Enter a value that is within the permissible  range     Enter permissible value     This error can occur if the PLC is  temporarily overloaded or if the function  block is not called for more than 1 5 s     Try sending again later when the PLC has  released the recipe mailbox     This error occurs if the PLC sends too many  jobs using    collect message area    within a  certain period of time     Checking of data records by the user at the  PLC end must be carried out more quickly    lt  10s      Please contact the SIMATIC Hotline     A process link with a non existent data  block has been configured in a recipe or the  recipe data contain errors     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    System Messages       Message       S11    512    516    518    520    5215522    523  524  525  526    527  528  529  530  531  532  533  534  535  536  537  538  539    540  541       550  551    Cause       You have used a PLC job to select a recipe or a request  data record that does not exist     Configured data block length is too short     The variable transferred with the message identifies the  number of the data block     SINEC L2 protocol configured but no interface  submodule inserted     Interface submodule inserted and protocol configured do  not match     Excessive number of saved returns has mean
74. Date  1 to 31   RB  Month  1 to 12   Parameter 3 LB  Year  16 Parameters for internal interface  C7 633 RS 232  C7 634  IF1     Parameter      Value for parameter 2    Transmission rate  only for printer     0  300 bps  1  600 bps  2  1200 bps  3  2400 bps  4  4800 bps  5  9600 bps  6  19200 bps    Data bits  only for printer   0  7 data bits  1  8 data bits    Stop bits  only for printer   0  1 stop bit  1  2 stop bits    Parity  only for printer   0  Even   1  Odd   2  None    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       No  Function       Parameter 2 Interface parameters to be set  0  Transmissionrate  1  Data bits  2  Stop bits  3  Parity  Parameter 3         19 Printer parameters  Parameter 1 Value for parameter 2    Number of characters per line  0  20characters line  1  40characters line  2  80characters line    Number of lines per page  0  60 lines page  1  61 lines page    12  72 lines page    Parameter 2 Printer parameters to be set  0  Number of characters per line  1  Number of lines per page    Parameter 3         21 Display mode for alarm messages    Parameter 1 0  First value  oldest message   1  Last value  newest message     Parameters 2  3         22 Set display contrast  Parameter   0 to 15    Parameters 2  3         23 Set password level    Parameter 1 0 to9  0   lowest password level  9   highest password level    Parameters 2  3         24 Password logout    Parameters 1  2 3         31
75. Discharge Damage  C4 Taking Measurements and Working on ESD Modules C 6  C5 Packing Electrostatically Sensitive Devices C 6                C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C 1       Guidelines for Handling Electrostatically Sensitive Devices  ESD        C 1 What is ESD     Definition    C 2    All electronic modules are equipped with large scale integrated ICs or  components  Due to their design  these electronic components are very  sensitive to overvoltages and thus to any electrostatic discharge     These Electrostatically  Sensitive Devices are commonly referred to by the  abbreviation ESD     Electrostatically sensitive devices are labeled with the following symbol              Caution    Electrostatically sensitive devices can be damaged by voltages that are far  below the voltage values that can still be perceived by human beings  These  voltages are present if you touch a component or module without previously  being electrostatically discharged  In most cases  damage caused by an  overvoltage is not immediately noticeable and results in total damage only  after a prolonged period of operation        C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Guidelines for Handling Electrostatically Sensitive Devices  ESD        C 2 Electrostatic Charging of Objects and Persons    Electrostatic  Charging    Limits for  Perceiving  Electrostatic  Discharges    Any object with no conductive connection to the electrical potential of its  surroundings ca
76. LAD  other languages optional          HMI configuration       ProTool  ProTool Lite             Main memory  1 instruction cor   responds to approx  3 bytes     64 Kbytes   20 K instruction RAM 48 Kbytes   16 K instruction RAM       Load memory       e Integrated 96 Kbytes RAM  e External max    512 Kbytes FEPROM  memory card   Data backup  with battery   all data  without battery   max  4736 bytes  can be configured for bit memory  timers  counters  data  max  8 DBs  max     4096 data bytes retentive in total        Programming organization    linear  structured       User program protection    e Knowhow protect  e Password protection       Instruction set    Binary logic  bracketed commands  result assignment  save  count  load  transfer  compare   shift  rotate  generate complement  call blocks  integer math instructions  floating point math  instructions  jump functions       Types of blocks    No  of blocks    Organization blocks  OB   Function blocks  FB   Functions  FC    Data blocks  DB    System functions  SFC   System function blocks  SFB     128 FCs  128 FBs  or 127 DBs       Program processing          As C7 633 634 DP  but without error  handling OB86    Startup  OB 100      Free cycle  OB1    Real time controlled  OB 10   Time driven  OB35    Interrupt driven  OB40    Error handling  OB80  81  82  85  86  87   121  122              B 4    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Technical Specifications for the C7       System functions  SFC     M
77. S7 300    C7 633 DP CPU 315 or CPU 315 2 DP as the C7 CPU and an OP 7 with extended  function keys as the C7 OP  see Section 3 1      The screen display comprises four lines of 20 characters with a character  height of 8 mm     The C7 633 P is fitted with an integrated I O module and has no DP  interface                    Figure 1 1 C7 633 P    The C7 633 DP does not have an integrated on board I O        ee  LE TE       27    ny       ALLA  AE                      Figure 1 2 C7 633 DP    C7 633 C7 634 Control Systems  1 2 C79000 G7076 C634 01    Product Overview       C7 634 P  The C7 634 P and C7 634 DP control systems have a SIMATIC S7 300  C7 634 DP CPU 315 or CPU 315 2 DP as the C7 CPU and an OP 17 as the C7 OP     The screen display can be configured as follows   e Four lines of 20 characters with 11 mm character height or  e Eight lines of 40 characters with 6 mm character height     The different character heights can also be combined with the basic  configuration of 8 40 in a display     The C7 634 P is fitted with an integrated I O module and has no DP  interface                       Figure 1 3 C7 634 P    The C7 634 DP has no integrated on board I O        z SLE  n  a   a      Serres   aT  i  5  2a        SIMATIC C7 634             Figure 1 4 C7 634 DP    C7 633 C7 634 Control Systems  C79000 G7076 C634 01 1 3    Product Overview       PROFIBUS DP Bus  Connection    Scope of  Functions    C7 Components    The C7 633 DP and C7 634 DP control systems can be connect
78. SIEMENS    Preface             Product Overview       Installation and Setup  Guidelines for the C7    NO       SIMATIC    Special Features of C7       C7 633   C7 634 CPU and the Operator Panel       Control Systems    Communication Functions       Manual       This manual is part of the  documentation package with the  order number     O O O O  Ny Ny Ni     S  z ig 3    lt  v 2        S  E    D   O D    O O  E 5  a D     D  D       gt   D    0    J O Ol A oo       Data Set Description  I O  6ES7633 1AF01 8BA0 Parameter Assignment                      I O Diagnostics       Maintenance                  op   2  z  a is  T  S      amp   D   6  o    jab   Q   4 gt    wn       Technical Specifications    O           D  O  N    Guidelines for Handling  Electrostatically Sensitive  Devices  ESD        Literature on SIMATIC S7       and C7  10 98    C79000 G7076 C634  Release 01    Safety Guidelines This manual contains notices which you should observe to ensure your own personal safety  as well as to  protect the product and connected equipment  These notices are highlighted in the manual by a warning  triangle and are marked as follows according to the level of danger        A Warning  indicates that death  severe personal injury or substantial property damage can result if proper precautions are    nottaken           Note    draws your attention to particularly important information on the product  handling the product  or to a particular    part of the documentation        Quali
79. WORD   upper limit  DWORD   channel  DWORD   end_var  var_output  actual value   DWORD   end_var  var_temp  LL DWORD   RANGE_HEX DWORD   PERCENT DWORD   end_var  BEGIN       Case  unipolar or bipolar measuring range      L lower limit     lower limit negative   L 0 0     yes  gt  bipolar measuring range   lt R   JC bipo   L DW 16 000_00000     unipolar range lower limit  TLL  JU comp   bipo  NOP 0   L W 16 9400     bipolar range lower limit  ITD   T LE        Computing the range  hexadecimal      comp NOP 0   L W 16 6C00     upper limit for unipolar and bipolar    range identical  ITD   L LL    D   T RANGE_HEX     buffer difference    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    7 37    C7 Analog I O       Calling FC126 in  OB1    7 38          Relating actual value to total measuring range      L channel     relate input value to total     range   ITD    LLL     D    DTR    L RANGE_HEX    DTR     R    T PERCENT          Computing floating point number      L upper limit     calculate floating point number range  L lower limit     R    L PERCENT    L lower limit     R    T actual value     END_FUNCTION    An example for calling FC126 is described below     Before calling the function  the range limits must be reassigned to memory  double words  This is necessary to enable using variable values  Normally      upper limit    and    lower limit    are fixed values     This can be achieved by setting the    upper limit    and    lower limit     parameters in the decla
80. a specific date  or  daily  and time  for example  at 9 50 or every hour or every minute   It  triggers execution of the relevant organization block     Sum of the currents of all output channels of a digital output module     Data transmission rate in bits per second  bps      Without electrical connection to ground     A diagnostic event recognized by the user which can be entered in the  diagnostic buffer  via SFC52     Note  If the entry is prepared in the diagnostic buffer in clear text and sent  a  message appears     The user memory contains the logic blocks and data blocks of the user  program  The user memory is either integrated in the CPU or in the form of  insertable memory cards or memory submodules  The user program is   however  always executed from the internal RAM memory of the CPU     The user program contains all the statements and declarations and the data  required for signal processing to control a plant or a process  The program is  linked to a programmable module  for example CPU or function module  and  can be structured in the form of smaller units  blocks      Voltage dependent resistor    The work memory is a random access memory  RAM  in the CPU which the  processor accesses while executing the user program     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Index    4 wire transducer    connection     measuring ranges   7 10     A  Accessories   1 5     Acknowledgement   area   4 51  4 6     i  bit  4 5   Acknowledgement areas size  4 7   
81. aining buffer space   clear event interrupt message buffer     The overflow messages are printed out if so  specified in the configuration     If you wish to issue additional passwords   you must first delete some of the existing  ones     Change the parameters of the PLC job and  retransfer the configuration     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    System Messages       Message       303    304  305  306    307        311  312    313  314    315  316  317  318  319    320    321    322    323    324    325    326    327    328  329    330    331  332    Cause       Fault in connection with PLC     S5  this error may occur when transferring large data  records  In such cases the watchdog is activated     Illegal S5 job number or job parameters in a function field     Data block number missing     Incorrect CPU specified under the menu command     System        Parameters    button in the dialog box which  appears     Variable not present on PLC    The printer is already processing a print job and cannot  accept this next job at present     Information message  print job completed     S7 diagnostic buffer not present     No information text available    Active password level insufficient for menu item  Input is password protected    Incorrect password entered when attempting to log in     An existing password was entered when editing the  password     You have attempted to alter the level of the supervisor  password or to delete it     You have attempted to a
82. ake it easier to use the documentation        C7  Programming ae    Assigning Parameters Configuring     STL for S7 300 S7 400  or  LAD for  7 300 S7 400  FBD for S7 300 S7 400  ee    can be used for all SIMATIC C7s and SIMATIC OPs      can be used for all SIMATIC C7s and SIMATIC OPs which do  not support full graphics      Program Design Manual J  If required             C7 633 C7 634 Control Systems  C79000 G7076 C634 01 vV    Preface       Table 1 2 STEP 7 Documentation Package  Order Number  see Catalog ST 70    Manual    User Manual   Standard Software for S7 and  M7    Manual  Statement List  STL  for  S7 300 400   Programming    or  Manual  Ladder Logic  LAD   for S7 300 400   Programming   or   Manual  Function Block    Diagram  FBD  for S7 300 400   Programming    Reference Manual   System Software for S7 300 400   System and Standard Functions    Programming Manual   System Software for S7 300 400   Program Design    vi    Contents  Provides information on working with the STEP 7 applications   e Installing and starting up STEP 7 on a PC programming device  e Handling the applications with the following contents       Managing projects and files      Configuring and assigning parameters to the S7 300      Assigning symbolic names for user programs      Creating and debugging the user program in STL LAD      Creating data blocks  e Configuring communications between several CPUs       Downloading uploading  storing  and deleting the user program      Monitoring and m
83. al output for voltage current  MANA Analog output  reference potential             C7 633 C7 634 Control Systems  C79000 G7076 C634 01 2 11       Installation and Setup Guidelines for the C7       AUX Digital Inputs  X10  Universal    Inputs     DI DO 24 VDC X10  Power Supply    2 12                                                                            Table 2 5 Pin Assignments of the Universal Inputs  Pin No  Explanation  M Relevant ground  DI X1 Universal input 1  digital input  interrupt input or counter input   DI X2 Universal input 2  digital input  interrupt input or counter input   DI X3 Universal input 3  digital input  interrupt frequency or period duration  counter input   DI X4 Universal input 4  interrupt input or digital input   Gatel Gate for counter input DI X1  Gate2 Gate for counter input DI X2  Gate3 Gate for counter input DI X3  Table 2 6 Pin Assignments of the Power Supply DI DO  Pin No  Explanation  1L  24 volt supply for DI 0 0   1 7  1M Relevant ground for DI 0 0   1 7  2L  24 volt supply for DOO 0   DO0 7  approx  2 A   2L  24 volt supply for DOO 0   DO0 7  approx  2 A   2M Relevant ground for DOO 0   DO0 7  3L  24 volt supply fiir DO1 0   DO1 7  approx  2 A   3L  24 volt supply for DO1 0   DO1 7  approx  2 A   3M Relevant ground for DO1 0   DO1 7                C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Installation and Setup Guidelines for the C7       2 4 Connector Assignments    Overview The following interfaces and connectors are 
84. and lightning strikes     Observe the guidelines in Section 4 8 of the manual  10  for laying cables  within buildings     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    2 21    Installation and Setup Guidelines for the C7       2 8 Connecting Shielded Cables    Overview This section describes how to connect the shield of shielded signal lines to  ground  The ground connection is made by directly connecting the shield  with the ground terminal of the C7 633 P or C7 634 P     Procedure Proceed as follows to install the grounding bar and shielding clips supplied  with the C7 633 P and C7 634 P     1  Position the grounding bar as shown in Figure 2 16 and fix this in place  with the screw you removed earlier     2  Attach the shielding clips to the grounding bar as shown in Figure 2 16     3  Press the insulated cable into these shielding clips in such a way as to  achieve optimal contact of the cable shield            Shielding clip    Scale 1 1             Figure 2 16   C7 633 P with Grounding Bar and Shielding Clips    C7 633 C7 634 Control Systems  2 22 C79000 G7076 C634 01    Installation and Setup Guidelines for the C7       2 9 Encoding Connectors    Overview    Keying  Connectors    A set of connectors with solid and profiled coding keys can be ordered as  C7 633 P or C7 634 P accessories  see Section 1 2 under Accessories   The  keying of connectors will be described in the following     The solid coding keys    and profiled coding keys    see Figure 2 17   pr
85. andard configuration accesses the digital I Os of  the first configured programmable controller  Therefore  the first  programmable controller in the list should always be the C7 CPU  Otherwise  it is necessary to adapt the programmable controller access for the image     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Special Features of C7       3 4 Status and Error Indicators on the C7 CPU    Status and Error The C7 has the following status and error indicators   Indicators       SF  BATF  DC5V  FRCE  RUN  STOP    SF IM  SF DP  BUSF       pam 120000 0          Figure 3 4 Status and Error Indicators on the C7       Meaning of the The status and error indicators are explained in the order in which they are  Status and Error positioned on the C7   Indicators  LED Meaning Explanations  SF  red  C7 CPU Lights up for  BrOUp Error e Hardware faults    e  Firmware faults   e Programming errors   e Parameter assignment errors   e Math errors   e Time errors   e Faulty internal memory   e Battery failure or backup missing on POWER ON  e T O error in the internal I O functions    To determine the error fault more exactly  you must use the programming  device and display the diagnostic buffer        BATF  red  Battery fault Lights up if the battery  e Has too low voltage  e   Isdefective    e Is missing       DCSV  green  5 VDC supply for C7   Lights up if the internal 5 VDC supply is functioning correctly       FRCE  yellow    Force job Lights up when a force job is active    
86. ange  10 0004 20 005 20 0007   27649 6C01y  0 4 000 0   0 On   oe   Nominal range  0    ma       6912 E5004          6913 EAFFy    10 0000       20 000     27648 9400H  10 0004       20 0007    27649   93FFy                Lower range   11 7589   o     32502 81004  al o  es     80RF   ew       C7 633 C7 634 Control Systems  7 30 C79000 G7076 C634 01    C7 Analog I O       7 6 7   Conversion and Cycle Time of the Analog Inputs    Introduction    Conversion Time    Cycle Time    Interrupt Cycle    You can find the definitions and relationships between conversion time and  cycle time for the analog inputs in this section     The conversion time consists of the basic conversion time and an additional  conversion time necessary for the input calibration     The analog digital conversion and the transfer of the digitalized measured  values to the C7 CPU is performed sequentially  i e  the analog input  channels are converted one after the other  The cycle time  i e  the elapsed  time before an analog input value is converted again  is the sum of all  conversion times  0 5 ms channel  of all activated analog input channels   Unused analog input channels should be deactivated in the Configuring  Hardware application in order to reduce the cycle time     Figure 7 19 illustrates an overview of how the cycle time for a 4 channel  analog input is composed           y k    Conversion time channel 1             y       Conversion time channel 2          y  gt  Cycle time  max  2 ms   Conve
87. ansferred at one time     e All keys  except SHIFT key     As long as the corresponding key is pressed  the assigned bit in the  keyboard image has the value 1  otherwise it has the value 0     Bit value             Key pressed  0  gt t Yp    e SHIFT key                   When the SHIFT key is first pressed  the assigned bit in the keyboard  image receives the value 1  This state remains even after releasing the  key until the SHIFT key is pressed again     Bit value    1        SHIFT key   gt t    pressed                      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       4 4 1 System Keyboard Image    Layout    Keyboard Group  Bit    The system keyboard image is a data area with a fixed length of two data  words     Every key of the system keyboard is assigned exactly one bit in the system  keyboard image  with the exception of the cursor keys     The system keyboard image must also be specified as    area pointer  type   system keyboard    in the configuration  This image can be assigned once only    and in one CPU     Keyboard image                                                                    Bit number  15 14 13 12 1110 9 8 7 6 5 4 3 2 1  0  INS        SHIFT DEL ENTER  ESC ACK   HELP 4st word    9 8 7 e E e N X a  o       2nd word  Keyboard group bit  Note    Unused bits may not be overwritten by the user program        The keyboard group bit serves as the control bit  It is set to the value 1 for  
88. ansferred spontaneously to the controller  That  means the transfer always happens if a change is registered at the C7 OP  In  this case you do not need to configure a polling time     The screen number area is a data area with a fixed length of 2 data words     The layout of the screen number area for the C7 OP in the memory of the  controller is represented below                                         7 O  7 0  1st word Current screen type Current screen number  2nd word Current entry number Current input field number  Entry Assignment  Current screen type 1  Image  2  Recipe  3  Special image  Current screen recipe number 1 to 99  Current entry number 1 to 99  Current input field number 0 to8             0  Entry number       All bytes of the screen number area are assigned with FFy in the message  level and for the display of a contents directory     For special screens the screen number area is assigned as follows     7 0 7 0       1st word 3 Special screen number                2nd word FFy Current input field number       C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       4 6 User Version    Verwendung You can check whether the C7 OP is connected to the right controller on  startup     The C7 OP compares a value stored in the C7 CPU with the configured  value  This ensures that the configuration data are compatible with the C7  CPU  If the values do not match  the system message  653 is displayed on  the C
89. asking of interrupts  copying of data  real time clock functions  diagnostic functions  error  handling  module parameter assignment       Block nesting depth    8 for each program execution level       Bracket levels    8       Execution times for   e Bit operations   Word operations  Time counter operations  Fixed point addition  Floating point addition    0 3 us  0 3 ms per 1000 binary instructions   l us   12 us   2 us   50 us       Cycle time monitoring    150 ms  preset    selectable 1 to 6000 ms       Bit memories  e  Retentive with battery    e  Retentive without battery    e Clock memory    2048  0 to 2047    0 to 2047  selectable  8  1 memory byte      freely selectable address of a memory byte  clock memory that can be used in the user  program        Counters  e  Retentive with battery    e  Retentive without battery    64  0 to 63    0 to 63  selectable       e  Retentive without battery    e Counting range 1 to 999  Timers  are only updated in 128  OB1    e  Retentive with battery 0 to 127    0 to 127  selectable                e Counting range 10 ms to 9990 s  Process image 0 to 127  e Digital inputs 10 0 to Q127 7  e Digital outputs Q0 0 to Q127 7  On board interface module IM 360  Expansion with  7 300 modules   max  3 tier   7 300 expansion modules max  24  T O expansions  e Digital inputs outputs max    768  e Analog inputs outputs   max    192  Operable modules  FM 8  CP  point to point 4  CP  LAN 2  Clock Real time clock  hardware clock        Run time me
90. ation  CSA  to standard C 22 2  No 142     lt EM gt  FM Standards No  3611  3600  3810 APPROVED for use in  Class I  Division 2  Group A  B  C  D indoor hazardous    APPROVED p  locations     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Technical Specifications for the C7       B 2 Notes on the CE Marking    EU EMC Directive The product meets the requirements of EU Directive 89 336 EEC  89 336 EEC    Electromagnetic Compatibility        CE In accordance with the above mentioned EU Directive  Article 10  1   the EU  declarations of conformity and the relevant documentation are held at the  disposal of the competent authorities at the address below     Siemens Aktiengesellschaft   Bereich Automatisierungs  und Antriebstechnik  A amp D AS E4   Postfach 1963   D 92209 Amberg   Federal Republic of Germany    Areas of Use The C7 633 and C7 634 control systems have been designed for use in the  following areas in accordance with their CE marking     Area of Use Requirements  Emittedinterference Immunity  A aka ada EN 50081 2  1993 EN 50082 2  1995  Renna coat EY langage te 160  EN 50082 1  1992  industry  Observing the SIMATIC products meet the requirements if you observe the installation  Installation guidelines described in the manual when installing and operating the  Guidelines equipment     C7 633 C7 634 Control Systems  C79000 G7076 C634 01 B 11    Technical Specifications for the C7       B 3 Notes for Machine Manufacturers    Introduction The SIMATIC programmable c
91. b  Password logout  control job  4 27   Period  8 19   eal duration counter  universal inputs   8 2   8 4  Period time  lower threshold  8 21    Period time counter  8 19    parameter  8 9   parameter assignment   Period time measurement  8 19   Permanent  diagnostic error  10 3  Plug and socket connectors  view  2 9  Print alarm message buffer  control job 4 27   Print all screens  control job  4 25    Print event message buffer  control job  4 27   Print recipe  control job  4 25  4 29  Print screen  control job  4 29    Printer  1 7  Printer cable    1 5     Printer parameters  control job  4 27   2 2     Printing  labeling strips     PROFIBUS  connecting cable   1 7  PROFIBUS bus cable  2 16   2 16              PROFIBUS bus terminal   PROFIBUS DP  communication   PROFIBUS DP interface  connector    assi gnment   2 15      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Programming device    1 8   connecting for maintenance  2 19    connecting to MPI    2 17  2 18    for service purposes  2 19  in MPI network     Programming device cable  2 16             MPI   TTY   Programming the counters  example    8 23      R    Range overshoot  7 22   Range undershoot   Reaction  to diagnostic messages    10 9    Ready bit  4 16   Recipe  addressing  4 20  Recipes  4 19  overview  4 19   transferring data records  4 19  4 20     Relatively constant frequencies  resolution  8 18   Remedies  system message   Replacing  labeling strips   Resolution  analog ranges  7 27    Respon
92. be     e Parameter error    e Substitute value is connected    The diagnostic area consists of   e Data set 0  the standard diagnostic bytes  0 to 3   e Data set 1  the channel specific diagnostic bytes  for enabled diagnostics          Bytes 4 to 7 and bytes 8 to 11   channel and individual information  analog input  AI  diagnostics        Bytes 12 to 15   channel information  analog output  AO  diagnostics    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    VO Diagnostics       Table 10 2 illustrates the structure of the diagnostic area and the meaning of    the individual entries                                Table 10 2 Structure of the Diagnostic Area  Byte   Bit Meaning Explanation Value  Range  00 0 Module fault 1   error occurred  0   everything OK Oll  1 Internal error 1   watchdog  EPROM  ADC error Oll  2 External error 1   error at AI or AO Oll  3 Channel error 1   with byte 0 bit 2 and channel specific Ol1  diagnostic byte  byte 4     4 External auxiliary voltage missing  Cannot be checked  0  5 Front plug missing  Cannot be checked  0  6 Module not assigned parameters Normal state  standard parameters set  oll  byte O bit 0 0          7 Incorrectparameters 1 with bit 8 9 10 11 0 or 15 0  Standard olt  parameters set for channel  01 0 Module class SM type class  1 Module class SM type class 5  2 Module class SM type class  3 Module class SM type class  4 System orientedchannel specific Yes 1  diagnostic info   5 User defined diagnostic info   diag    No 0  i
93. bolically    22 Symbolic field only created symbolically    23 Fewer than 2 field texts configured for symbolic  field    24 Current field type for symbolic field not  configured     25 Illegal data format for symbolic field  only KF and    KY permissible    26 Recipe setpoint configured with data format KC   33 Illegal data format for setpoint field     35 Data format for cyclic interrupt too short    36 Illegal data format for actual control value    44 If specific reference to menu  menu item not  present    45 If specific reference to screen  Entry or field  number does not exist    46 Too many actual control values on screen   max  200 permitted     48 Too many fields on process screen    50 Process link for soft keys does not exist    51 Soft key number too high    53 Information text for soft key not configured or not  configured in all languages    55 Soft key specified in entry does not exist     Event message is not configured  Missing configuration for an event message    Actual value field for event message has only been created  symbolically     Alarm message is not configured  Alarm message triggered is not configured    The actual value field for alarm message has only been  created symbolically     Internal error   PLC co ordination area is not receivable during startup   The driver number configured cannot be interpreted   Internal error    Driver number configured cannot be interpreted     Missing area pointer     C7 633 C7 634 Control Systems  C79000 G7076 
94. cation   e Counter interrupt of up  counter    e Counter interrupt of down    counter  e Enable    Period Duration Counter  e Principle    Counter range  e Max  period duration    Frequency Counter  e Principle    Counter range  Gate width  Max  frequency    Can be assigned  parameters   10 kHz   Module standard  diagnostics in  conjunction with  analog I O   Nochannel specific  diagnostics   Max  3   Edge counting   up 0 to 216 1  down 216 1 to 0  up 0 to 224 1   down 274 1 to 0   1 value per counter    When limit value is  reached    When    0    is reached  In the program    Max  1   Counting fixed time  units between two  positive edges   0 to 224 1   8 395 s or 0 119 Hz    Max  1   Counting of pulses  within a time period   0 to 224 1   0  1 s  10 s  can be set   10 kHz  limited by  input filter       External Gate Counter Max  3   e Principle Edge counting via  external pin   e Counter range C1 C2 0 to 216 1   e Counter range C3 0 to 224 1   Data for Selecting a Sensor   Input voltage   e Nominal voltage 24 VDC   e For    1    signal from 11 to 30 V   e For    0    signal from  3 to5 V   Input current   e   At   1    signal from 2 to 8 mA   Input delay time   e Configurable No    e From    0    to    1       e From    1    to    0       Inputcharacteristic    Type of input in accordance  with IEC 1131    Input current    e 6At   1    signal    approx  0 01 ms  approx  0 01 ms    In accordance with  IEC 1131  Part 2    Type 2    From 6 to 11 5 mA             C7 633 C7 63
95. cece eee eee  7 6 5 Representation of Analog Values for the Measurement Ranges   of the Analog Inputs              006 eects  7 6 6 Representation of Analog Values for the Output Range   of the Analog Outputs             0 00 e ccc a a a a  7 6 7 Conversion and Cycle Time of the Analog Inputs                         7 6 8 Conversion  Cycle  Settling and Response Times of Analog Outputs              C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Contents          7 6 9 Behavior of the Analog  O            006 ec cece eee ete  7 6 10 Time Interrupt Interrupt Cycle            0 00 0 c cece eee eee ee  7 7 Examples for Programming the Analog  O             0000 eee ee eee  7 7 1 Block for Scaling Analog Input Values                00 cece cece eee  7 7 2 Block for Scaling Analog Output Values             00 00  eee eee eee  8 C7 Universal Inputs           0  000 e eee eee eee eee  8 1 Universal NPWS 4 e0i4d20s io dend eevee ioe Cie deee see Rade ieee  8 2 Use and Function of the Universal Inputs                    02 0 000   8 2 1 Addressing Universal Inputs            0 00  c eee  8 2 2 Assigning Parameters to the Universal Inputs                     00  8 2 3 Interrupt Inputs and Counter Interrupts               00    cece eee eee  8 2 4 GOUNTEIS t caca cede a i Redo beset wees Ah Reed neers  8 2 5 Frequency Counters             000  c cece cece ete  8 2 6 Period Time Measurement              000  e cece eect eens  8 2 7 External Gate Counter            00 00 cece eee e
96. ch could be carrying interference  signals can be placed directly on the grounding potential  Place all shielded  lines with their shielding here  With double shielded signal lines  place only  the outer shield on the grounding potential     Install long signal lines along the cabinet walls  Cabinet design in accordance  with EMC guidelines is an important factor in the reduction of interference   All grounding connections in the cabinet must have large cable cross sections  and be laid over a large area     Insulate analog devices in the switching cabinet and ground them to a single  point in the cabinet using copper tape     Always use equivalent metals for the materials  Never use aluminum  danger  of oxidation      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Installation and Setup Guidelines for the C7       Protection Against  Overvoliage    Connect all doors and metal parts  sides  back panel  and cover  of the  cabinet at least three times to the cabinet frame  short  paint free  and  large area connections         Note    If your system generates high electrostatic voltages  for example  textile  machines  special construction machines   run the grounding lines of the  machine parts carrying interference signals to a separate operating ground  isolated from the central grounding point of the cabinet  surface grounding  with building construction  reinforcement         Observe the guidelines in Section 4 11 of the manual  10  to protect against  overvoltage 
97. chinery Directive  SIMATIC  B 12   Measured value resolution  7 28  Measurement    parameter block  7 22   type of  7 22   Measurement period  frequency calculation   Measurement rang  analog inputs          Memory reset  MRES    Menu selection  control job  4 28   Message  re re    Message areas  4 4   Message bit  4 4   Message level  display number area  4 12   Message log on off  control job  4 26   Message number    Mode selector switch    3 2   MPI interface  connector assignment  2 15   MPI network  connecting programming device   2 17  2 18   MPI subnet  communication   5 3     MRES  3 5     N  Non configured S7 connections  5 3     O   OB 40  7 35   OB40  8 12    OP operation a  4 16     OP startup  4 16   Operating mode  selectin a  13 4    Operator panel  OP    1 7   Output range  addresses    8 8   parameter block   7 25  universal inputs    Output ranges     analog output   7 117 30   Overflow warning on off  control job   4 28          C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Index       P    Parameter  analog function  7 21  analog input  7 22    analog output  7 25     Parameter assignment  universal inputs   8 9   Parameter assignment error 7 22 7 25   Parameter block    basic setting   count inputs                  diagnostics   interrupt cycle    measurement   output range   substitute value  7 25  Parameter characteristics  analog inputs  7 24   analog output  7 26   Parameter tools  universal inputs  8 9   Partial screen updating  control jo
98. cifications for the C7       e Conducted interference on  2kV_ to IEC 1000 4 4  burst  voltage supply lines  1kV_ to IEC 1000 4 5  us pulse   line to line       2kV_ to IEC 1000 4 5  us pulse   line to ground          with protection element lightning conductor KT Type 24 VAD from    Dehn    firm          e Immunity to interference on    2kV at IEC 1000 4 4  burst  signal lines          e Immunity to discharge  6kV  contact discharge  to IEC 1000 4 2  ESD    8 kV  air discharge  to IEC 1000 4 2  ESD  e Immunity to high  10V with 80  amplitude modulation with 1KHz  frequency radiation 10KHz to 80MHz  to IEC 1000 4 6    10V m with 80  amplitude modulation with 1KHz  80KHz to 80MHz  to IEC 1000 4 3  10V m _ pulse modulated 50  ED with 900MHz  to EN 50140       Mechanical loading  e Vibration  tested to IEC 68 2 6          Tested with 10 to 58 Hz  amplitude 0 075 mm  58 to 500 Hz  acceleration 9 8 m s   Storage transport 5 to 9 Hz  amplitude 3 5 mm  9 to 500 Hz  acceleration 9 8 m s2  e Shock tested to IEC 68 2 29  Tested with semi sinusoidal  100 m s2  10 g   16 ms  100 shocks  Storage transport semi sinusoidal  250 m s   25 g   6 ms  1000 shocks  Backup battery Backup time approx    year                Communication functions       e PG OP communication yes  e Global data yes  communication  e Basic communication yes  e Expanded communication yes  Server   e   5 compatible yes  communication  e Standard communication yes  Number of connections  static dynamic 4 8  Multipoint in
99. ck for Scaling Analog Output Values 7 39       C7 633 C7 634 Control Systems    C79000 G7076 C634 01       C7 Analog I O       7 1 Analog Technology    Introduction    Analog I O    Ungrounded  Configuration    7 2    There are different analog inputs and outputs available to you in the C7 for  connecting sensors and or loads actuators     This section covers the following     A description of analog value representation  the measuring types   measuring ranges  and output ranges in the C7    A description of how to connect the sensors or loads actuators to the  analog I O    The principles of using analog I Os  Behavior of the analog I O    The C7 cannot be installed in an ungrounded configuration     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Analog I O       7 2 Connecting Transducers to Analog Inputs    Overview    Cables for Analog  Signals    Isolated Analog  Input    Connecting  Transducers to  Analog Inputs    You can connect various types of transducers to the analog inputs   e Voltage transducers  e Current transducers    This section tells you how to connect up your transducers and what  precautions you have to take when doing so     To reduce electrical interference  you should use twisted pair shielded cables  for the analog signals  The shield of the analog signal cables should be  grounded at both cable ends  If there are potential differences between the  cable ends  an equipotential bonding current can flow over the shield  This  can interfere w
100. configure a PROFIBUS DP network via the PROFIBUS DP interface  only  for C7 633 DP or C7 634 DP      You will find the procedures for configuring an MPI network and  PROFIBUS DP network in the manual  10      C7 633 C7 634 Control Systems  2 26 C79000 G7076 C634 01    Special Features of C7    Chapter  Overview                                     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    Section Description Page   3 1 Variations from the Individual Components CPU and OP 3 2   3 2 Selecting a C7 CPU Operating Mode 3 4   3 3 DI DO Status Displays 3 6   3 4 Status and Error Indicators on the C7 CPU 3 7  3 1    Special Features of C7       3 1 Variations from the Individual Components CPU and OP    Keyboard The arrangement and color of the keys on the C7 633 and C7 634  corresponds mainly to those of the OP 7 and OP 17 operator panels  see the  OP7  OP17 Control Panels manual      Extended OP function keys on the C7 633   The C7 633 and the OP 7 differ in their number of function keys        C7 633  F1 to F4 and K1 to K16   OP 7  F1 to F4 and K1 to K4  Selecting a CPU A CPU is set to the modes MRES  STOP  RUN  and RUN P using a  Operating Mode mechanical keyswitch  On both C7 devices  this keyswitch is emulated as an  Using Keys   f   AS   electronic keyswitch by means of the keys  C7 CPU Function keys Softkeys CPU operating mode  status LEDs selection keys    SIEMENS SIMATIC C7 633    K10 K11 K12  E E          System key  Numeric keys System keys LEDs    Figure 3 
101. counter value C3  MW25 counter image C3     C3  direct monitoring only possible with a counter status  between 0 and 65535  otherwise only indirect monitoring  possible in Monitoring and Modifying Variables     MB40 number of interrupts triggered by C1  MB41 number of interrupts triggered by C2  MB42 number of interrupts triggered by C3  PIB287 status of counters    The OB100 complete restart block contains the following statements     ORGANIZATION_BLOCK OB100  var_temp  start_info   array 0  19  of byte   end_var  BEGIN         Resetting the counters     T PQB287  C1  C2  C3    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Universal Inputs       OB1 Statement  Sequence    CALL SFC 47    wait so that STOP becomes effective   WT  10000     10000 s 10ms         Setting comparison values       L 10     set comparison value C1  T PQW280   L 20     set comparison value C2  T PQW282   L 40     set comparison value C3  T PQW285          Declaring comparison values valid and starting counter     L 3F     declare comparison value valid and start  T PQB287  1 C1  C2  C3    END_ORGANIZATION_BLOCK    OB1 contains the following statements     ORGANIZATION_BLOCK OB1    var_temp  start_info   array 0  19  of byte   status   BYTE    end_var   BEGIN        Check whether all counters are active      L PIB287     scanning status bits   T status    A L20 4     C1 signalled active   A L20 5     C2 signalled active   A L20 6     C3 signalled active   JC run    BEU          Waiting time
102. cs    Diagnostic Buffer    Diagnostic Event    Communications processors are intelligent programmable modules with their  own processor  They form an important group within the components of a  programmable controller  A distinction can be made between various types of  communications processors according to their tasks  For example  CPs for  messages and logging  for point to point connection  for operator interfacing   COROS   for bus connections  SINEC   for diagnostics  and mass storage  applications     When a CPU starts up  for example  when the mode selector is moved from  STOP to RUN or when power is turned on   before cyclic program processing  starts  OB1   either the organization block OB101  restart  only in the  S7 400  or OB100  complete restart  is processed first  In a complete restart  the process image input table is read in and the STEP 7 user program  processed starting with the first statement in OB1     The configuration memory is a flash memory integrated in the C7 OP  It is  used for storing the configuration data     Configuring is the selection and putting together of the individual  components of a programmable logic controller  PLC   and the installation of  the required software  for example  the operating system on an M7  automation computer  and adapting it to the specific task  such as assigning  parameters to the modules          Communications processor    A cyclic interrupt is generated periodically by the CPU according to a time  interval w
103. cs Interrupt  Nominal range Process value        Upper range lower Process value      range  Overflow underflow   7FFFy Message   Diagnostic interrupt                         According to parameter assignment    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    7 33    C7 Analog I O       Influence of the  Value Range for  the Output    Influence of Errors    7 34    The behavior of the analog output is dependent upon the position of the  output values within the value range  Table 7 14 illustrates this dependency  for the analog output values                          Table 7 14 Behavior of the Analog Input in Relation to the Position of the Analog  Input Value in the Value Range  Output Value lies Output Diagnostics Interrupt  in Value   Nominal range C7 value      Upper range lower C7 value          range   Overflow underflow  0 signal                              Errors lead to a diagnostic message and diagnostic interrupt if diagnostic  parameters have been assigned  see Section 10 2      C7 633 C7 634 Control Systems    C79000 G7076 C634 01    C7 Analog I O       7 6 10 Time Interrupt Interrupt Cycle    Interrupt Cycle    Configurable  Events    Hardware Interrupt  OB    Declaration  Section of OB40    Additional  Information Z1    Additional  Information Z2    Additional  Information Z3    Evaluation in the  User Program    If the interrupt cycle mode is assigned parameters  the new measuring cycle  is not started unless the time interrupt is initiated  see Secti
104. d Counter Interrupts       8 2 4    Counters       8 2 5    Frequency Counters       8 2 6    Period Time Measurement       8 2 7    External Gate Counter       8 3          Example for Programming the Counters       C7 633 C7 634 Control Systems  C79000 G7076 C634 01    ac   OT EN  ge  oO    N    SHIP   II 1   Sla Bi    it  wv  N    te       W          C7 Universal Inputs       8 1 Universal Inputs    Overview    8 2    The C7 has 4 digital universal inputs that provide the following functionality     Interrupt input   Counter input   Frequency period duration counter input  Digital input    External gate counter input    These input functions can be set by assigning them parameters  this  determines how the inputs are used     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Universal Inputs                                                                Terminal Figure 8 1 shows the pin assignments of the universal inputs  Connection  Diagram  View of right hand side of C7  Q  0 0     G  0 10  F  0 2  B  0 3     2  0 4  e o  0 50 j  0 6     a  0 708 G  1 0     F  1 1    2  1 2 p6     1 3  e o Parts shaded in this way  1 4 lo o are not relevant for the  1 5 lo o explanation   1 6 Je     1 7  e o  F Pin No   o Universal inputs  M    DI X1 o        Address 287 0  DI X2 o     Address 287 1  DI X3 o        Address 287 2  DI X4    e        Address 287 3  GATE 1 i  GATE 2 o     Dito control ext  gate counter 1  GATE 3 o        DIto control ext  gate counter 2         DIto
105. d memory  can be defined as a directory on the hard disk     A memory card is a memory submodule in credit card format and in the form  of RAM or FEPROM for programmable modules and CPUs which can store  the user program and parameters     The memory reset function deletes the following memories in the CPU   e Work memory   e Read write area of the load memory   e System memory    In S7 M7 C7 the MPI parameters and the diagnostic buffer are retained  In  M7 the operating system is also rebooted if the M7 was reset via the mode  selector  In SIMATIC HMI devices  all buffers are cleared  The MPI address  is reset to the default value         X Memory card        Multipoint interface    A network is the connection of a number of C7 and or S7 300 and other  devices  such as a programming device  via a connecting cable  Data are  exchanged between the connected devices over the network     The multipoint interface  MPI  is the programming device interface in  SIMATIC S7  It allows a number of programmable modules  text display  operator panels  and operator panels  OPs  to be accessed from a CPU  The  nodes on the MPI can communicate with each other     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Glossary       N    Node Number    Non lsolated    O    Operating System    Parameter    Parameter     Dynamic    Parameter  Static    PG    PLC    The node number represents the    access address    of a CPU or a  programming device or other intelligent I O module when it comm
106. due to overload  Logging not  possible     Print buffer overflow due to overload  Printout of  overflow messages not possible     Warning  the event message buffer is full apart from the  specified remaining buffer space     The event message buffer has overflowed     Warning  the interrupt message buffer is full apart from the  specified remaining buffer space     The interrupt message buffer has overflowed     No keyboard connected  internal keyboard with ribbon  cable      The minimum value is greater than the maximum value for  variable limits     The minimum value is equal to the maximum value for  variablescales     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Remedy        Set up relevant memory area   Replace battery   Note     Replace the battery while the unit is  switched on in order to prevent loss of data     Send unit for repair   Send unit for repair   Send unit for repair   Send unit for repair     Make sure printer is ready or disable  message logging     Make sure printer is ready   Check printer  cable  and connectors     Press restart button     Restart C7     Try changing of operating mode again later     Check PLC program and configured screen     Check configuration of actual specified  values in the process link     Send unit for repair     Messages have been lost     Messages have been lost     Clear the buffer or configure a smaller size  for the remaining buffer space     If a printer is connected and buffer overflow  has been configured  
107. dware interrupt as cycle end interrupt    A measuring cycle with a configurable cycle time and generation of a  hardware interrupt as a cycle end interrupt     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    7 23    C7 Analog I O       Parameter  Characteristics of  Analog Inputs    7 24       Hardware interrupt Hardware interrupt Hardware interrupt  to the C7 CPU to the C7 CPU to the C7 CPU  A D conversion of the channels A D conversion of the channels  Al4 Alt Al2 Al3 Al4 Alt Al2 Al3 Al4       Measuring cycle  of all activated  channels    p Cycle time e g  4 ms l Cycle time e g  4 ms t  a    Figure 7 18 Sequence of the Measurement with Four Analog Input Channels with  Generation of Hardware Interrupts as Cycle End Interrupts                   A hardware interrupt from the I Os triggers the start of OB40  hardware  interrupt OB  on the C7 CPU  In this case  the process variable  OB40_POINT_ADDR supplies the value DW 16 10000000     Table 7 4 shows which parameters  e Are static or dynamic    e Can be set for all or individual analog inputs                                Table 7 4 Parameter Characteristics of Analog Inputs  Parameter Static Dynamic Effective Range   Enable diagnostic interrupt   Static Analog inputs   Analog outputs   Universal inputs   Enable diagnostics Static Channel   Wire break test Static Channel   Type of measurement Dynamic Channel   Measurementrange Dynamic Channel   Interrupt cycle Dynamic Analog inputs                   C7 633 C7 634 Cont
108. e     C7 oP  1 4  Glossary 2    C7 simulator module   Cabinet installation     2 5                Index 1    Index       Cable  for analog signals  7 3  7 7   Cables  2 201    Category  system message  Causes  system message  A 2  CE marking    Change language  control job  4 26  Channel specific  diagnostic byte  10 6       Communication   MPI subnet    PROFIBUS DP   Communication functions   Communication SFCs  non configured S7   connections  5 3    Communications processors  CP   1 6   Configurable  events   Configuration error  7 22   Configuration memory  Glossary 3  Connecting cable  PROFIBUS   Connecting cable 368  2 25   Connectors    view  2 13    Control and checkback bits  4 15   Control job  4 24     change language   cursor positioning  4 30  data record to CPU  4 29    data record to OP  4 29  delete alarm message buffer  4 28    delete event message buffer  4 28  display mode for alarm messages  fetch acknowledgement area  4 28  fetch alarm message bit area  fetch event message bit area  4 28  hardcopy  4 25    interface parameters  4 26   keyboard simulation     menu selection  4 28  message log on off  4 26      overflow warning on off  4 28  SEN rier  partial screen updatin g  4 29     password logout    print alarm message buffer  4 27  print all ee re   print event message buffer  4 27   print recipe  4 25  4 29                           Index 2    print screen  4 29      printer parameters  4 27    screen selection  4 29  select contents   select recipe 
109. e absolute value to be output   4  Finally  the lower limit  LL  is added to this value as the offset     5  The resulting bit pattern is output     PERCENT    setpoint   lower limit     upper limit   lower limit   RANGE_DEC   upper limit   lower limit   RANGE_HEX   UL   LL   Channel   PERCENT   RANGE_HEX   LL    The FC127 function contains the following statement lines     FUNCTION FC 127  void    var_input  lower limit  DWORD   upper limit  DWORD   setpoint  DWORD   end_var  var_temp  LL   DWORD   UL   DWORD   RANGE_DEC   DWORD   RANGE_HEX   DWORD   PERCENT   DWORD   end_var    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    7 39    C7 Analog I O       7 40    BEGIN        Case  unipolar or bipolar measuring range       L lower limit     lower limit negative    L 0 0     yes   gt  bipolar measuring range    lt R    JC bipo    L DW 16 0000_0000   funipolar range lower limit   TLL   JU comp    bipo NOP 0   L W 16 9400     bipolar range lower limit   ITD    TLL         Calculating the range  hexadecimal       comp  NOP 0    L W 16 6C00     upper limit for unipolar and bipolar     range identical   ITD    LLL     D    T RANGE_HEX     buffer difference         Relating setpoint to total measuring range      L upper limit     compute range   L lower limit    R    T RANGE_DEC    L setpoint     relate setpoint to total     range   L lower limit     R    L RANGE_DEC     R    T PERCENT         Computing hex pattern to be output      L RANGE_HEX     relate hex value to total 
110. e cece eee  4 10 1 Example of How to Activate a Control Job              0   00 cece eee  Communication Functions            000 cee e eee eee eee eee  5 1 Introduction 3  css e taka or ea eee sahd oes Seen ae weeded onaees  5 2 Communication between C7 S7 Stations  MPI Subnet                   5 3 Communication within a C7 Station  PROFIBUS DP or IM               C7 Digital VO wee  eee eis eee dae Fie eee Seco bee EE ee eeete eee ees  6 1 Digital INPUtS  sccs0ccewd beads ces qian aa i a ES  6 2 Digital Outputs    o sce  nkyskerdaviwere See So7s aves Sie a aE  6 3 DI DO Status Displays              0 00 cece eee  6 4 Addressing the C7 VO 1    ect eee eens  G7 A  alog VO Maer oregano Een ee a E  7 1 Analog Technology               ccc cece eiia oi eiiiai eiie i i  7 2 Connecting Transducers to Analog Inputs                  002 e eee  7 2 1 Connecting Voltage and Current Transducers               2 2  000   7 3 Connecting Loads Actuators to the Analog Output                      7 4 Analog Input Function             0000 cece eee  7 4 1 Characteristics and Technical Specifications of the Analog Input Module  7 5 Analog Output Function           0 00    c cee  7 6 Use and Function of the C7 Analog I O              00 cece eee eee  7 6 1 Addressing the Analog I O         0 600    cece ete  7 6 2 Timing of the Analog I Os          0 000  c cece eee eee  7 6 3 Assigning Parameters to the Analog I O              0 0 cece eee  7 6 4 Representation of Analog Values            0    c 
111. e g  when specifying  parameters for printer interface    You have set graphics printing on the C7 but the  corresponding ESC sequence has not been configured     You have entered an incorrect value  e g  a variable with a  user function that blocks certain input values     You have entered a value that is too great or too small for  the variable type concerned  e g  a value greater than  32767 for a variable of the type Integer     You are attempting to enter an illegal character  e g  letter  in a numerical value  The input is rejected and the existing  entry retained     Cyclic interrupt  counter  date or time data can not be sent     Free ASCII protocol  operator input value could not be  sent     The data record can not be sent as the recipe disable bit on  the PLC is set or because transfer of a recipe is still in  progress     Overload  too many message blocks with the same block  number in transit     Transfer of the data record was not acknowledged by the  PLC within a certain period     Firmware version is different from standard FB version     Data record not present     Remedy     Correct the block length block number as    necessary or send the correct data block     Enter a value that is greater than or equal to  the limit     Enter a value that is less than or equal to the  limit   Enter time correctly     Enter valid value for interface parameters     The following values are valid         Transmission rate  300  600  1200   2400  4800  9600  19200 bps        
112. e number C7 system messages can be subdivided into various categories     The information as to which category a system message belongs to is  contained in the message number as indicated below     Message number    d                         Message text       ji  0 Driver error   1 Startup message  2 Warning   3 Informationmessage  4 Operator error   5  Othermessage   6 Configurationerror   7 Internalerror    The message category enables you to identify the general area in which the  cause of the fault is to be found     Below you will find a selection of system messages listed together with  details of under what circumstances they occur and  where applicable  how  the cause of the fault can be eliminated     Self explanatory system messages are not included        Note    System messages are displayed in the language selected in the configuration   If the C7 does not have access to any configuration data  the messages are  displayed in English        C7 633 C7 634 Control Systems  C79000 G7076 C634 01 A 1    System Messages       Procedure for     Internal Errors       Message       Please wait    Ready for  transfer    Datatransfer    Firmware not  compatible    EPROM  memory failure    RAM memory  failure    Flash memory  failure    A 2       In the case of all system messages that relate to    internal errors     please  follow the procedure outlined below     a  Switch off the C7 and then restart it again     b  During startup  set the C7 to download mode  retransfer t
113. e values of the digital I O are read in and displayed every 400 ms  Any  changes which occur between these times are not displayed        The DI DO image of the standard configuration accesses the digital I Os of  the first configured programmable controller  Therefore  the first  programmable controller in the list should always be the C7 CPU  Otherwise  it is necessary to adapt the programmable controller access for the image     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Digital I O       6 4 Addressing the C7 I O    Overview    The following section describes the addressing of the digital I O  You require    this information to be able to address the channels for the digital inputs and    outputs in the user program     Figure 6 4 shows the diagram for addressing the individual channels of the                                                                  digital I O   Bottom view of C7  O Digital inputs  0 0     P Address 0 0 Byte address   0 1             Address 0 1 Digital I O  0 2     if   Start address  0 3        Byte 0  0 4 f   o  0 5     Hi  0 6         0 7     o        Address 0 7      1 0    o        Address 1 0  1 1    o     Address 1 1  1 2 fe o    13  o 5 Byte address   14 E i     __ Digital I O    Start address  15 i Byte 1  1 6         1 7  e o        Address 1 7      P L Bit address  i Digital outputs  M s  DI X1   f    _    Address 287 0 Byte address   DI X2 o        Address 287 1 Digital I O  DI X3              Address 287 2 Start addre
114. each transfer of the keyboard image from the C7 OP to the C7 CPU  After  evaluation of the data area by the user program  it should be reset     You can determine whether a block has been transferred again by regularly  reading the group bits with the user program     C7 633 C7 634 Control Systems 4 9    C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       4 4 2 Function Keyboard Image    Data Areas The image of the function keyboard can be categorized into separate data  areas     e Maximum number of data areas   4    e Total length of all data areas  words    4    Key Assignment The assignment of the individual keys to the data area bits is defined when  the function keys are configured  The number within the image area is  declared for every key     The function keyboard image must also be specified in the configuration   under    area pointer  type  function keyboard        Keyboard Group The most significant bit in the last data word of every data area is the   Bit keyboard group bit  It serves as a control bit  This bit is set to 1 for every  transfer of the keyboard image  After evaluation of the data area by the user  program  the keyboard group bit should be reset     You can determine whether a block has been transferred again by regularly  reading the group bits with the user program     C7 633 C7 634 Control Systems  4 10 C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       4 4 3 LED Image    Data Areas  
115. ed via the  integrated DP interface to a PROFIBUS DP network     With the C7 devices you can   e Download user programs to the C7 CPU and run them     e Communicate with other nodes in an MPI or PROFIBUS DP network via  an integrated MPI or DP interface     e Process digital and analog signals using the C7   s integral I O     e Use interrupt inputs or counters  for purposes including frequency  metering  period duration measurement      e Load and execute operator interface configurations you created with the  configuration tools    ProTool    or    ProTool Lite        e Using these configurations you can monitor and influence the process  which you control with the user program     e Connect other S7 modules via the IM 361 interface module     e Output data to a connected printer     The C7 contains two units that work independently of each other and  communicate via an internal multipoint interface     e C7 CPU  controls  e C7 Operator Panel  operates and monitors    The C7 CPU is independent of the C7 OP  The C7 OP continues to run  for  example  when the C7 CPU goes into STOP        Note    The C7 CPU and the C7 OP each have an MPI address  You therefore  configure these components exactly the same as the stand alone components  CPU and OP     These components are discussed explicitly in the manual as necessary        C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Product Overview       1 2 Scope of Supply and Accessories for C7    Parts Supplied The following co
116. ediately restarted  after the measurement period has elapsed  so that an updated frequency counter  value is always available     The measurement period is 1 s  During a measurement period  6500 rising  edges of the signal to be measured are counted  The counter value 6500 is  made available to the user program     6500      6500 Hz  ls    Frequency      After starting up the C7  OB1 is processed and the universal input frequency  counter is automatically started     The first valid frequency is calculated after the first measurement period   Before the end of the first measurement period  the frequency counter value  FFFFFFy is available in the C7 CPU                                   Start up  OB100   Cycle  OB1    Cycle  OB1   Cycle  OB1   T    Preallocated  _  1  _ Valid frequency Time        lt  aba a  gt  oni  gt   Start of End of    1st measurement period 1st measurement period      Last frequency before STOP mode or  FFFFFFy if POWER ON              Figure 8 4 Frequency During First Measurement Period    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    8 17    C7 Universal Inputs       Exceeding the  Threshold  Frequency     N    Resolution of  Measurement    Disadvantage of  Long  Measurement  Periods    Disadvantage of a  Short Frequency    8 18    The universal input frequency meter is designed for a maximum frequency    of 10 kHz     A frequency filter is fitted to the input        Warning    If the actual frequency exceeds the threshold frequency of 10 kH
117. ee eens  8 3 Example for Programming the Counters               000eeeeeeee eee  9 Data Set Description  I O Parameter Assignment                  2  00005   9 1 Data Set Description for Parameter Block of C7 Analog I O  and Universal INDUS   ctctot  a ree rad ranae ETA A ee wed 9 2  10 VO DIagGnOStics   2i  dece ie sada e eee ee oe en ea dee  10 1 Diagnostic Messages             0 2  cee eens 10 2  10 2 Diagnostic Data of the C7 Analog I O and Universal Inputs              10 4  10 3 Dependencies and Reactions of the Diagnostic Evaluation              10 8  11 MAaIMONANC6 eeta c2  eset eaaa aa aaa a a aaa aE Ea aaa aaia aa teed due  11 1   11 1 Changing the Backup Battery             0 0 0  c cece eee eee 11 2  11 2 Replacing the G7 scicciraetedareserrSdiadaveteeadevcdieseurieees 11 4  A System Messages  2 icc  ccc cneteee eee ieee eee eee eee ee  B Technical Specifications for the C7           00ccceeceeeeeeeeuceeeueeeees  B 1 Technical Specifications             60    cee eee B 2  B 2 Notes on the CE Marking               0  0c cece teen eee teens B 11  B 3 Notes for Machine Manufacturers           0 0  00ccc cece eeeeeeeees  B 4 Transport and Storage Conditions for Backup Batteries                 B 13  c Guidelines for Handling Electrostatically Sensitive Devices  ESD            C 1  GA What is ESD        nnna nunnu oneenbuaiandiiacneanneaseedeadane  C 2 Electrostatic Charging of Objects and Persons                  000  C 3  C 3 General Protective Measures against Elect
118. eenae eee eENe EE    1 Product Overview wucecctetedentiedueadcheiedes sed tecetweeiadeskdesesans  1 1   1 1 Product VariantS          00    c cece cette eee eens 1 2  1 2 Scope of Supply and Accessories for C7           02 ccc eee eee eee 1 5  1 3 Components for Connection to a C7        1k ee eee 1 6   2 Installation and Setup Guidelines for the C7            00cccecseeeeeeeeees  2 1   2 1 Labeling Stips se seini fea weit deste eda desk seri d tesa deck enea des 2 2  2 2 Mechanical Installation              0 0 ccc cece eee eee 2 5  2 3 Electrical Installation       0    0  cece eens 2 9  2 4 Connector Assignments           0 0000  cece eee eee eee 2 13  2 5 Connecting a Programming Device PC to aC7            6  cee eee eee 2 17  2 6 Connecting a Programming Device PC to Several Nodes               2 18  2 7 Setup Guidelines for Interference Free Installation                     2 20  2 8 Connecting Shielded Cables               0 0c c cece cece eee eens 2 22  2 9 Encoding Connectors           0000  c sin iiia n aen eens 2 23  2 10 Expanding the C7 with S7 300 Modules                000e eeeeeeee 2 24  2 11 Configuring an MPI and PROFIBUS DP Network                      2 26   3 Special Features of C7 saat wcnsicinaiiwsc kw wise wane Manned  3 1   3 1 Variations from the Individual Components CPU and OP                3 2  3 2 Selecting a C7 CPU Operating Mode               00 cece eee eens 3 4  3 3 DI DO Status Displays              000s cece eee ee 3 6  3 4 Status and Err
119. efly  it then remains lit     Note    If data were deleted during the memory reset  which were required by the C7 OP  configuration  the C7 OP reports this using an  error message        C7 633 C7 634 Control Systems  C79000 G7076 C634 01    3 5       Special Features of C7       3 3 DI DO Status Displays    Configuring the  DI DO Status  Display    C7 CPU Access    3 6    The DI DO status display is not a system function but a configured image of  the C7 OP  You can create the DI DO status display image yourself or copy it  from the standard configuration supplied with ProTool  image name   Z_DI_DO      The values represented are read as a direct process image of the digital  inputs and an internal process image of the digital outputs of the digital  C7 I O and displayed in binary format  BIN      Note that the last state set by the program is displayed  although the real  process state of the digital outputs is 0 when the C7 CPU is in STOP mode     The following data are supplied                   DI  11101110  10101010  DO 11101110  10101010    0   a  0   a                Figure 3 3 DI DO Status Display on a C7 633 P                         Table 3 1 Explanation of the DI DO Display in Figure 3 3  Position Explanation     Signal status of the DI DO  e 1 DI DO set  e 0 DI DO reset     Pin no  from   to  Note    The values of the digital I O are read in and displayed every 400 ms  Any  changes which occur between these times are not displayed        The DI DO image of the st
120. equisite   Data Areas   4 8 3 Synchronization during Transfer   Normal Case  4 8 4 Synchronization during Transfer   Special Cases 4 22  4 9 Notes on Optimization 4 23  4 10 Data Exchange via the Interface Area 4 24   4 10 1 Example of How to Activate a Control Job 4 31                   C7 633 C7 634 Control Systems    C79000 G7076 C634 01    a    a    Communication between the CPU and the Operator Panel       4 1 Configured Communications Parameters    Parameters    Configuration Tool    In the configuration software  the following parameters are to be set for  communication via the MPI        Note    The following parameters are already assigned generally applicable default  values and need not be modified unless the C7 is used in connection with  any other S7  C7  or OP units in a network           Parameter    CPU type          Explanation    CPU in programmable controller  The S7 300 is to be set for the C7 CPU  If further CPUs are  connected  they must be set with S7 300 or S7 400        CPU address    MPI address of the C7 CPU in the network configuration  The  default address is 2  The address can be freely assigned  It must  be unique in a network        Slot rack    Here you must set the slot and rack  For the C7 CPU  the  setting is    Slot 2   Rack 0       C7 OP address    MPI address of the C7 OP in the network configuration  The  address can be freely assigned  It must be unique in the  network configuration  The default value is address 1        Interface    H
121. er error when receiving  11 Logging error    Storage medium not ready  contains errors or status  undefinable     Storage medium not initialized     Error accessing module  Flash may not be supported or  initialized by incorrect C7     Internal Flash memory initialized  configuration data  deleted  some recipe data preserved     Inserted submodule initialized  all stored data deleted     Size of selected recipe memory has been reduced     Driver error    If FAP is set  the character delay time setting may be too  short     Fault in connection to PLC     Possible causes        Fault on the transmission link  e g  connecting cable  defective       Incorrect interface parameters set on C7 or on  communication partner     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Remedy        Repeat data transfer after first checking the  physical connection if necessary     Reset hardware  remove then refit Flash  memory module or carry out hardware test     Switch to download mode     Check whether module is properly inserted  and compatible     If restoring  repeat backup with correct C7     Retransferconfiguration     Retransferconfiguration     The reduced size recipe memory can not be  used and all data records must be deleted   The recipe memory is only initialized when  requested     Check physical connection to PLC     Alter character delay time     A 3    System Messages       Message  043       044    045    100  101  103  104    105  107  108  109    110  113  114  115  
122. er not present      The line to be output is larger than the amount of print  memory reserved for it or the number of control sequences  is too great     Internal error   Incorrect data format in process link   Internal error   Incorrect word length in process link     Configuration error in actual control value  bit number  gt   15      Error presetting setpoint  error in data structures      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Remedy        Check configuration  Too many messages  are pending         CPIno   defective CPI submodule      Error    1   Voltage too low   2   Current too high   3   Temperature too high    4   Module not present  failed during  operation     Check configuration  Frequently occurs  with NC variables and when multiplexing     CPU operating system out of date     If 0 is entered the data record will be  overwritten with the new values     Correct the remaining buffer space and  retransferconfiguration     Configure message     Change configuration and retransfer     If the fault is not corrected by performing a  restart  please contact the SIMATIC Hotline     Create data block of required length on the  PLC     Configure log fully     Check configuration as regards logging     Correct the data format     Correct the word length     Bit number for actual control variable must  be  lt  15     Change configuration and retransfer     A 13    System Messages       Message  620       621    622    623    624    625  626  627    628    62
123. ere  you determine which interface of the OP the C7 CPU is  connected to        Transmission rate          The data transfer rate between the C7 OP and the C7 CPU can  be set between 19 2 Kbps and 1 5 Mbps           All settings can be made with ProTool and ProTool Lite under the menu  command System     PLC      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       4 2 Overview of User Data Areas    User Data Areas    Functionality    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    User data areas are used to exchange data between the C7 CPU and the  C7 OP  It is by means of these data areas that the C7 CPU and the C7 OP  communicate     The communication process consists of the C7 OP and the user program  alternately writing and reading information into and out of the data areas   Upon evaluation of the data  the C7 CPU and the C7 OP are triggered into  the various actions     The user data areas can reside in any required memory area in the C7 CPU     The following user data areas are possible     Event messages   Alarm messages   Control jobs   Recipes   System keyboard image  Function keyboard image  LED image   Cyclic intervals  C7 634 only   Date and time   Screen number area    User version    4 3    Communication between the CPU and the Operator Panel       4 3 Event and Alarm Messages    Message  Triggering    Message Areas    Message Bit and  Message Number  Assignment    Messages are triggered by
124. ernal error The following are permissible  Read  Write  Ilegal RIO function   LEDs  outputs  and Initialize    Internal error   Keyboard driver error    Internal error    Too many keyboard image areas  mailboxes  being  transferred to PLC     Internal error  Mailbox type of received message is incorrect   Internal error    Key acknowledgement received when message already  acknowledged     Internal error   Message status not permitted for first alarm event message   Internal error   Buffer type different from event or alarm message buffer   Internal error    Message type different from event or alarm message  buffer     Internal error    Configuration message error     C7 633 C7 634 Control Systems  C79000 G7076 C634 01 A 19    System Messages       Message       744    746    147    748    749    750    751    752    753    754    759    760    761    762    763    764  765    A 20       Cause Remedy        Internal error  Incorrect mailbox type received   Internal error In COM TEXT  change address     Actual control value and process link are identical on a  screen     Internal error  Buffer type different from event or alarm message buffer   Internal error    Message type different from event or alarm message  buffer     Internal error   Error in data structure of a buffer function screen   Internal error   Error in data structure of the password function screen   Internal error   Error in data structure of screen for setting time   Internal error   Error in data structure
125. ers   Storing  backup battery  11 3   Substitute value  parameter block  7 25    System keyboard image    System messages  list of  A 1                               Index 6    T    Template  labeling strips  2 2  Temporary  diagnostic error  10 3     Threshold frequency  coun 4  exceeding  8 14  8 18  Time  4 15   Time interrupt  7 35  Transducer  isolated  7 4   non isolated   Transfer  data records  4 20  4 21  Transfer date time  control job  4 28  Type of en T    U    UL  B 10  Universal input  addresses   8 6   Universal inputs   assigning parameters   8 4    counter  8 14    parameter assignment   8 9    pin assignments   8 4    technical specifications   Update time  4 23   Upper threshold  period time  8 21    User data area  optimization  4 23  User data areas  functionality     User version  4 13         V    Variations  keyboard   Voltage measurement   Voltage measurement range  analog input   analog output   Voltage transducer  7 3  connection              Ww  Wire break  7 22     Wire break check  analog input module SM 331     AI8 7 10     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    a Pa IS ea a eta sao ee ea aI ie Se ie eee eee ee ie eS ee ee eee esi eee Se ee ee See ees    Siemens AG  A amp D AS E 81    Oestliche Rheinbrueckenstr  50  D 76181 Karlsruhe  Federal Republic of Germany    From   Your Name        Your Title        Company Name        Street        City  Zip Code       Country        Phone        Please check any industry that applies to 
126. ers in the user program with  SFCs 55 to 57  see Reference Manual  235       We subdivide the parameters for the two configuration alternatives into   e Static parameters and  e Dynamic parameters    The following table explains when the static and dynamic parameters are  adopted     Table 7 2 Time of Transfer of the Parameters from the C7 CPU to the Analog I O             Parameter Set with Time of Parameter  Transfer   Static         Configuring Hardware   STOP   gt  RUN  Dynamic Configuring Hardware STOP   gt  RUN  SFCs 55 to 57 RUN                   The following parameter blocks permit the assignment of parameters in  Configuring Hardware to define the following characteristics of the analog  TO     e For inputs      Basic settings      Diagnostics      Measurement      Interrupt cycle  e For outputs      Basic settings      Diagnostics      Substitute values        Output range    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    7 21    C7 Analog I O       Analog Input  Parameters    7 22    Table 7 3 provides an overview of the analog input parameters                             Table 7 3 Analog Input Parameters  Parameter Analog Inputs  Value Range Preset Value  Basic settings  e Enable diagnostic interrupt Yes No No  Diagnostics  e Enable Yes No No      Configuration parameter  assignment error      Wire break  only 4 to 20 mA       Range undershoot      Range overshoot Yes No No  e Wire break test  only for  measurement range 4 to 20 mA   Measurement  e Type
127. etailed information regarding the  type and possible cause of the error  This information can be called up by the  user program by means of special system calls  The requirement is that  diagnostics have been enabled  default setting is always    no    in this case      You can set whether the analog I O diagnostic messages should be generated  using STEP 7     Using the STEP 7 application Configuring Hardware  you can also assign  parameters to the diagnostic behavior of the analog I O  i e  you set whether  the analog I O diagnostic messages should be sent to the C7 CPU on request   Furthermore  you can assign parameters to define whether the module  should trigger a diagnostic interrupt in the C7 CPU after the occurrence of an  error     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    VO Diagnostics       Diagnostic In the diagnostic information  we differentiate between permanent and  Information  I O  temporary diagnostic errors     e Permanent diagnostic errors cannot be influenced by the user program  and can only be removed by resetting the C7 CPU  memory reset and  complete restart  or equipment exchange  after a fault      e Temporary diagnostic errors disappear automatically after a renewed  measurement  ADC error  overrange or underrange error   can be  removed by the user program  if necessary  by assigning parameters via  SFC55 during operation  or by hand at the connections  correcting the    wiring    Read Diagnostic Diagnostic messages will be entered 
128. event a connector from being confused with another without polarity  reversal     Proceed as follows     1  Insert the solid coding key    into the notches provided on the connector  part        2  Insert the profiled coding key   into the respective cutouts on the housing  part 8     Solid and profiled coding keys that face each other prevent the connector  from being plugged in     The connector can be plugged in if solid and profiled coding keys do not face  each other                    Figure 2 17 The Coding Ensures that the Correct Connector is Inserted    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    2 23    Installation and Setup Guidelines for the C7       2 10 Expanding the C7 with S7 300 Modules    IM 360 Interface  Module    Connecting  Additional  Modules    2 24    The C7 has an integrated IM 360 interface module for I O expansion with an  external S7 standard I O  This interface module has the following  characteristics     Data transmission from the IM 360 to the IM 361 of the first rack  expansion via a 368 connecting cable    Maximum distance between IM 360 and IM 361 is 10 m     You can expand your C7 by up to three racks using the integrated IM 360  interface module     You can connect the additional modules as follows   1  Install the modules as described for racks 1 to 3 in the manual  10      2  Connect the C7 to the IM 361 via a standard IM cable  see also  Figure 2 12 for connecting the C7      When the C7 is first started up  it detects an
129. f data records completed     Data record required is not on data medium     Information message  transfer of data records from C7 to  data medium or vice versa has been initiated     Information message  transfer of data records from C7 to  PLC or vice versa has been initiated     Data record not found     Activating selected function   De activating selected function   No Help text configured   Illegal key pressed     Value entered could not be converted     Operator error on STATUS VAR or FORCE VAR screen     Incorrect time entered     Incorrect date entered     Operator error on STATUS VAR or FORCE VAR screen     You have attempted to delete the only data record for a  recipe     Lower limit violated  you have attempted to enter a  setpoint that is below the configured lower limit     Upper limit violated  you have attempted to enter a  setpoint that is above the configured upper limit     Illegal screen selection because incorrect PLC type  specified  external driver     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Remedy     Wait until the function has been completed     This message may appear in the case of  recipe functions  for example     System error message issued if S7 messages  are not available     A multiplex index is outside the defined  range     Check the data record selection parameters   recipe  data record name  data medium  or  use the Select function to select the data  record     Possible reason why operation is not  possible    the PLC has 
130. fied Personnel The device system may only be set up and operated in conjunction with this manual     Only qualified personnel should be allowed to install and work on this equipment  Qualified persons  are defined as persons who are authorized to commission  to ground  and to tag circuits  equipment  and  systems in accordance with established safety practices and standards        Correct Usage Note the following   Warning  This device and its components may only be used for the applications described in the catalog or the technical    description  and only in connection with devices or components from other manufacturers which have been  approved or recommended by Siemens     This product can only function correctly and safely if itis transported  stored  set up  and installed correctly  and    operated and maintained as recommended           A N Caution  UL   CSA  Lithium Battery Replacement    Danger of explosion if battery is incorrectly replaced  Replace only with same or equivalent type  recommended by the manufacturer  Dispose of used batteries according to the manufacturer   s instructions                Warning  FM WARNING   DO NOT DISCONNECT WHILE CIRCUIT IS LIVE UNLESS LOCATION IS KNOWN    TO BE NON HAZARDOUS       Trademarks SIMATIC   and SIMATIC NET    and SIMATIC HMI   are registered trademarks of SIEMENS AG     Third parties using for their own purposes any other names in this document which refer to trademarks might  infringe upon the rights of the trademark o
131. field is neither recipe setpoint or    previous value     Invalid destination configured for return reference in    screen     Data record memory full  during startup     Standard data records for the configured recipes require  more than 20 Kbytes  Unit switches to COM TEXT mode     Configuration of interfaces incorrect     printer PLC interfaces have same physical characteristics     Configuration error    Variable x    1 Data type is not DB   2 DB number is greater than 15   3 DB length is greater than 1024   4 DW is in data block header   5 Actual value not in send block   6 Setpoint not in receive block   7 Setpoint actual value not in receive block  8 Initial value not in send block    9 Data type is not DB   10 DB number is greater than 15  11 DB length is greater than 1024  12 DW is in data block header   13 Area is in wrong DB   14 Sum of data blocks too great    Remedy     If the fault is not corrected by performing a    restart  please contact the SIMATIC Hotline     Change configuration and retransfer  If the  fault is not corrected by performing a restart   please contact the SIMATIC Hotline     Change configuration and retransfer     Check protocol in configuration     Use current firmware version or configure  different protocol     Change configuration and retransfer     Break key on C7  complete configuration  and retransfer    Change field type or remove field and  retransferconfiguration    Change configuration and retransfer     Configure fewer or smaller 
132. fields                      Online languages 3   Password levels 9   Clock Software clock Hardware clock Software clock Hardware clock  Load printer interface RS 232   TTY          Input voltage   e Rated value   e With signal    1     e With signal    0       24 V DC  11 to 30 V   3 t05 V       Isolation    Yes  via optocouplers in groups of 16       Input delay    typ  max     3 4 8 ms       Input current with signal    1          max           11 5 mA          B 6    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Technical Specifications for the C7       Connecting 2 wire Beros          e Permissible closed circuit 2 mA  current max   Cable lengths  e Unshielded 600 m  e Shielded 1000 m  Load rated voltage 24 V DC  e permissible range 20 4 to 28 8 V  Output voltage  e with signal    1    max  L     0 8 V   Isolation Yes  via optocouplers  two groups of 8       Output current    e with signal    1    rated value 0 5 A  minimum current 5mA   e with signal    0    max  0 5 mA  Cumulative current per group of   8 4A  e at 20  C 2A  e   at50  C  Lamp load max  SW  Switching frequency  e under impedance load 100 Hz  e under inductive load 0 5 Hz    Limiting of voltage induced on       circuit interruption to L     48 V    Short circuit protection Yes  electronically clocked  Cable lengths   e Unshielded 600 m   e Shielded 1000 m    Can be used as   UIl Digital interrupt input 24 V DC  or up down counter or  external gate counter   UI2 Digital interrupt input 24 V DC  or 
133. for 7 300 modules via an  IM 361 connecting cable    Illustration                                                                                                                                                                                    Signal modules  SM      adapt different process signal   digital input modules  levels to the C7 CPU  They can be    digital output modules  connected to the C7 via an IM 361  analog input modules       analog output modules  m  analog I O modules   o    Function modules  FM      for time critical and  memory intensive process signal    processing tasks  for example   positioning or closed loop control      O    Communications processors  CP      relieves the CPU of  communication tasks  for example   CP 342 5 DP for supporting FMS  mm     services  point to point connections   S5 connections  etc                                            S7 300  CPU         communicates via the MPI DP  interface with the C7 and or other  nodes in an MPI network                                        S7 400  CPU               communicates via the MPI DP  interface with the C7 and or other  nodes in an MPI DP network             Lya an                               1 6    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Product Overview                                                                                                                                                                                                                      
134. ggered by the control  program  such as         Displaying screens      Setting the time and date      Changing general settings    A control job is identified by its job number  Up to three parameters can be  transferred depending on the control job     A control job comprises four data words  The first data word contains the job  number  Depending on the function  up to three parameters can be passed in  data words 2 to 4  Figure 4 8 shows the general structure of a control job                    Address Left byte  LB  Right byte  RB   Word 1 0 Job no   Word 2 Parameter 1  Word 3 Parameter 2  Word 4 Parameter 3                      Figure 4 8 Structure of a Control Job    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       Listing The following table lists all possible control jobs with their parameters  The  column No  gives the job number for the controller  Control jobs can only be  triggered by the controller when the C7 is in online operation     No  Function       3 Hardcopy    Parameters 1 2 3         5 Select contents directory    Parameter 1 1  Contents  screens  display  2  Contents  recipes  display  4  Contents  print screens  5  Contents  print recipes  7  Contents  recipes  data record transfer    Parameters 2  3         7 Print all screens    Parameters 1  2 3         10 Print recipe with all data records  Parameter 1 Recipe number  1 to 99     Parameters 2  3         11 Select special screens    T
135. guration to match hardware     Set required value by way of standard  screen or PLC     Reduce configured size of recipe and  retransferconfiguration     If the fault is not corrected by performing a  restart  please contact the SIMATIC Hotline     Set up area pointers and retransfer  configuration     Reconfigurerecipe     Correct the block number     Increase configured size of recipe mailbox  or succeeding recipe mailbox     Increase size of LED image area according  to bit numbers used     Increase size of keyboard image area  according to bit numbers used     Complete configuration   If the fault is not corrected by performing a  restart  please contact the SIMATIC Hotline     Check the configuration  If the fault is not  corrected by performing a restart  please  contact the SIMATIC Hotline     Screen or recipe title not configured  If the  fault is not corrected by performing a restart   please contact the SIMATIC Hotline     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    System Messages       Message       635    636  637  638  639    640  641  642  643    645    648  649    650       Cause   Configuration error    Variable x    1 Screen or recipe entry only created symbolically    3 Field only created symbolically    6 Message  entry or information text not configured  for current language    7   9  Internalerror    19  28    41   43   18 Screen or recipe title not configured    20 Process link only created symbolically    21 Information text only created sym
136. haft    If you know the number of pulses that are supplied by the transducer for each  revolution of the barrel extruder  then you can calculate the speed with which  the barrel extruder is rotating  An example follows     N   16 pulses are generated per revolution of the barrel extruder  N is known  as the slot number of the transducer   The interval between 2 pulses is 50000  increments  fixed time interval   The rotational speed of the barrel extruder is  calculated as follows     1 _ 1  N x ti minimum 16 x 50 000 x 0 5 us       ve   2 51   1502   S min    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Universal Inputs       Lower Threshold    Upper Threshold    Thresholds    Counter Overflow    Assigning  Parameters    The period time counter generates a 24 bit counter value  These 3 bytes can  represent values up to FF FF FEy  16777214 decimal   From this  the lower  threshold frequency for N   1 is  when taking into account the maximum  period time stated below  tp   8 39 s       fu     tp   16777214   0 5us   8 39s  fu   0 119 Hz    And for N   1  the lower threshold rotation speed  1 1      N x minimum x ti   Tx 8 395         0 1194   7 1472  min    v    The upper threshold frequency results from the condition that the universal  inputs are designed for a maximum frequency of 10 kHz  The minimum  period time of 0 1 ms follows  Therefore the upper threshold frequency is  10 kHz  corresponding to 600 000 rev min      If this frequency is exceeded  then the in
137. has not been configured for the  current PLC mode     A print function has been initiated on the C7  When  attempting to print it has been ascertained that the printer is  offline     You are attempting to enter a setpoint that contains an  illegalcharacter     Remedy        1  Printer is not switched on   2  Printer is not ready     3  Connecting lead between printer  lt     gt   C7 is not connected or defective     4  No interface submodule inserted     Communication with PLC has been  resumed     Max  addresses   S7 MPI  32  PROFIBUS DP  128    This operating mode may be set by the PLC  programmer     Minimum and maximum values are being  confused by C7  To prevent this  enter  correct minimum and maximum values     Log on with a higher password level     Switch the printer online     Check the connection between the C7 and  the printer     Has the printer been connected to the correct  interface     Enter a correct value     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    System Messages       Message  358    359    365    370  371  372  383  384    385    386    387    388  389  391  400  401  402    403  404  406    407    409    410    411    Cause    The C7 is currently executing a function which does not  permit use of the C7 while it is in progress     The CPU is in STOP mode     Incorrect index     Hard copy printout has been cancelled manually    Print function disabled at present    The function started has been cancelled    Information message  transfer o
138. he DP  slaves and evaluate diagnostics  On Off e DP configuration missing or faulty  also if     Evaluate diagnostics  reconfigure or correct  CPU was not set as DP master  errors if necessary  Off Off e Noerror             C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication between the CPU and the  Operator Panel    In This Chapter    Chapter  Overview    This chapter provides you with information on configuration parameters that  are necessary for the communication between the C7 OP and the C7 CPU     The communication is achieved using two data areas   e The user data area   and or  e The interface area     The functions  structure  and special features of the various user data areas  and the interface areas are described in this chapter     For those who are not yet familiar with OPs  we recommend the manual First  Steps with ProTool Lite                             Section Description Page  4 1 Configured Communications Parameters 4 2  4 2 Overview of User Data Areas  4 3 Event and Alarm Messages 4 4  4 4 Keyboard and LED Image 4 8   4 4 1 System Keyboard Image 4 9  4 4 2 Function Keyboard Image 4 10       4 4 3 LED Image             4 5 Screen Number Area  4 6 User Version  4 7 Interface Area       AIETE TEE  SE EW Ene     PBT  o  Roy pe    4 7 1 Control and Checkback Bits                               4 7 2 Data Areas in the Interface Area 4 17  4 8 Recipes 4 19  4 8 1 Transferring Data Records 4 20  4 8 2 Addressing Recipes and Data Records  and the R
139. he configuration  and then restart the C7 again     c  If the fault occurs again  please contact your nearest Siemens  representative  When doing so  please quote the number of the error that  has occurred and any variables referred to in the message     Cause Remedy       Mode change in progress or recipe function  started    Waiting for data from programming device PC    Data transfer between programming device PC  and C7 in progress    The firmware can not be used for the current  configuration    Send unit for repair quoting details of error  message    Memory module defective or internal  hardware fault    Memory module defective or transmission Retransfer configuration or send C7 for repair    error    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    System Messages       Message  005       006    026   029    030  032    033    034  035    040    041    Cause       Internal error     Error message returned if nothing configured for a system    message    Error during data transfer in download mode  Two    variables are transferred with this message which contain    information about the function in which the error has  occurred  variable 1  and the cause of the error   variable 2      Variable 1    Initialize function  Receive data   Send data   Send message block  Terminate function    AUuUnNeo    Variable 2   1 Internal error   3 Timeout error   5 Parity error   6 Framing error   7 Overrun error   8 Break in line   9 Receive buffer overflow   10 Control charact
140. he following screens integrated in the firmware can be selected via their  fixed     object number    Parameter 1 LB  Cursor lock  0  off  1  on   RB  Special screen number  Alarm message buffer    1 Buffer output   2 Output number of messages  3 Overflow warning on off   4 Delete buffer yes no    Event message buffer   5 Buffer output   6 Output number of messages  7 Overflow warning on off   8 Delete buffer yes no    Programming device functions  25 Status VAR  26 Modify VAR    Special functions  30 Language  brightness  contrast   31 Change operating mode    Settings  35 Set time date  36 Internalinterface  C7 633  RS 232   C7 634  IF1   37 Submoduleinterface  C7 633  TTY  C7 634  IF2   38 Printerparameters  40 Message type    Message texts  45 Display alarm message texts  46 Display event message texts    C7 633 C7 634 Control Systems  C79000 G7076 C634 01 4 25    Communication between the CPU and the Operator Panel       4 26                      No  Function  System messages  50 Output system message buffer  Passwords  55 Login  56 Password input  Parameters 2  3    12 Message log on off  Parameter 1 0  Off  1  On  Parameters 2  3    13 Change language  Parameter 1 0  Ist language  1  2nd language  2  3rd language  Parameters 2  3    14 Set time  BCD coded   Parameter   LB     RB  Hours  0 to 23   Parameter 2 LB  Minutes  0 to 59   RB  Seconds  0 to 59   Parameter 3    15 Set date  BCD coded   Parameter 1 LB     RB  Weekday  1 to 7  Sunday to Saturday   Parameter 2 LB  
141. he on board I O of the  C7 633 P or C7 634 P are provided        Analog Input  X14          Analog Output  X13     Digital Input  X12     Digital Output  X11     AY    Gt    DI DO 24V DC Power Supply   X10                                                           AUX Digital Input  X10   Figure 2 9 A View of the C7 633 P with On Board I O Interfaces  Digital Inputs  X12   Table 2 1 Pin Assignments of the Digital Inputs  Pin No  Signal Explanation   0 0 10 0 Digital input 0   0 1 10 1 Digital input 1   0 2 10 2 Digital input 2   0 3 10 3 Digital input 3   0 4 10 4 Digital input 4   0 5 10 5 Digital input 5   0 6 10 6 Digital input 6   0 7 10 7 Digital input 7   1 0 11 0 Digital input 8   1 1 I1 1 Digital input 9   1 2 11 2 Digital input 10   1 3 11 3 Digital input 11                   C7 633 C7 634 Control Systems  C79000 G7076 C634 01 2 9    Installation and Setup Guidelines for the C7                            Table 2 1 Pin Assignments of the Digital Inputs  Pin No  Signal Explanation  1 4 11 4 Digital input 12  1 5 11 5 Digital input 13  1 6 11 6 Digital input 14  1 7 11 7 Digital input 15                   Digital Outputs   X11     Table 2 2 Pin Assignments of the Digital Outputs                                                                Pin No  Signal Explanation  0 0 Q0 0 Digital output 0  0 1 Q0 1 Digital output 1  0 2 Q0 2 Digital output 2  0 3 Q0 3 Digital output 3  0 4 Q0 4 Digital output 4  0 5 Q0 5 Digital output 5  0 6 Q0 6 Digital output 6  0 7 Q0 7 Digital 
142. he user program on the C7 CPU to a programming  device PC or remove the memory card on which the CPU user program is  stored    If the C7 CPU is defective and the user program can no longer be read  out  remove the C7 without any further safety measures     The configuration loaded on the C7 cannot be displayed  It must be available  on a programming device PC     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Maintenance       Installation    The mechanical and electrical installation is as described in Sections 2 2 and  2 3  Once you have obtained a new C7  install it as follows     I   2   3     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    Connect a programming device PC to the multipoint interface   Perform a memory reset on the C7 CPU     Without a memory card    Transfer the previously saved CPU user program from the programming  device PC with the relevant data to the C7 CPU  with STEP 7     With a memory card    Insert the memory card and perform another memory reset  MRES  on the  C7 CPU       Connect the C7 operator panel to the serial interface of the programming    device PC     Load your configuration onto the C7 operator panel using ProTool or  ProTool Lite       Start the CPU user program  by selecting a CPU mode      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    System Messages    In This Chapter This chapter lists the most important system messages  when they occur and   where applicable  how you can eliminate the error     Messag
143. hich can be assigned parameters  It triggers execution of the  relevant organization block     A collective term for system diagnostics  process error diagnostics  and  user defined diagnostics     The diagnostic buffer is a retentive area of memory within the CPU which  stores the diagnostic events in the order they occurred     Diagnostic events include errors in a digital function in the C7  system faults  in the C7 caused  for example  by programming errors or operating mode  transitions     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    Glossary 3    Glossary       Diagnostic  Functions    Diagnostic  Interrupt    Equipotential  Bonding    Error Display    Flash EPROM    Flash Memory    Functional Ground    Function Module   FM     Glossary 4    The diagnostic functions comprise the complete scope of system diagnostics   process error diagnostics  and user defined diagnostics  and the detection   evaluation  and signaling of faults within the C7     Modules with diagnostics capability signal system errors to the CPU by  means of diagnostic interrupts     Electrical connection  equipotential bonding conductor  that brings the  bodies of electrical resources to the same or approximately the same  potential as foreign bodies in order to prevent interference or hazardous  voltages arising between the bodies     The error display is one of the possible responses of the operating system to a  run time error  The other possible responses are  error response in the use
144. i Pinout diagram             ANA    ANA    ANA                       fs         ANA          Pin No  Parts shaded in this way are not relevant  to this example                Figure 7 7 Terminal Connection Diagram of the Analog Inputs    Connecting a You can connect either a power sensor or a voltage sensor to an analog input   Power Voliage but never both at the same time    Sensor   Unused Analog To prevent interference from occurring  all unused analog inputs should be  Inputs short circuited     C7 633 C7 634 Control Systems  7 12 C79000 G7076 C634 01    C7 Analog I O       Channels    Block Diagram    Three pins are combined to form a channel                                                  Table 7 1 Channels of the Analog Input Module  Pin No  Value Channel   AIl U   Voltage input Channel 1  All I Current input  AN    AIl M   Referencepotential   AI2 U_   Voltage input Channel 2  AI2 I Current input  AI2    AI2 M_   Referencepotential   AI3 U   Voltage input Channel 3  AI3 I Current input  AT3    AIB M   Referencepotential   AI4 U   Voltage input Channel 4  Al4 I Current input  AI4    AI4 M   Referencepotential                   Figure 7 8 shows the block diagram of the analog input module  The next    page contains detailed technical specifications of the analog input module        All    Al4                                                                      Galvanic  isolation                      es          ADC  b  Internal     supply  Fil  o    n                 
145. ics     4 outputs   The outputs can be selected either as      Voltage output or       Current output   12 bit resolution incl  sign  Configurable diagnostics    Isolated       Note    If you modify the output ranges while the analog output module is active   intermediate values can arise at the output        C7 Analog I O                                                          Terminal Figure 7 9 shows the terminal connection diagram of the analog output  Connection module   Diagram  View of right hand side of C7  a g  4 Analog output Voltage output Current output  a  1  g AO1    _        Wie 2  gt  8  HE 4           S Mana E  o AO3 5    Maya e      O        A AO4 a  5 M g  U        ANA      Terminal connection diagram  Pin No  Parts shaded in this way are not relevant to  this example          Figure 7 9 Terminal Connection Diagram of the Analog Output Module    Block Diagram Figure 7 10 shows the block diagram of the analog output module  You will  find detailed technical specifications of the analog output module on the  following pages           Galvanic  isolation    1 pt                      WH                            l    AO4                Figure 7 10 Block Diagram of the Analog Output Module    C7 633 C7 634 Control Systems  7 16 C79000 G7076 C634 01    C7 Analog I O       Technical  Specifications       Data Specific to Analog Outputs    Status  Interrupts  Diagnostics          Number of outputs 4   Cable length  shielded 200 m   Voltages  Currents  Potentials 
146. ignal output modules or which are used in the user program instead of  a process variable in the case of faulty signal input modules  The substitute  values can be specified in advance by the user  for example  retain last  value   They are values which the outputs are to output when the CPU goes  into STOP     System diagnostics comprises the detection  evaluation  and signaling of  errors which occur within the programmable controller  Examples of such  errors include  program errors or module faults     The system memory is integrated in the S7 CPU in the form of RAM  The  address areas  for example  timers  counters  bit memory  and data areas  required internally by the operating system  for example  backup for  communication  are stored in the system memory  In M7  the system memory  is not a separate area but is integrated in the work memory     The time delay interrupt belongs to one of the priority classes in SIMATIC  S7 program processing  It is generated when a timer has expired in the user  program  It triggers execution of the relevant organization block     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    Glossary 9    Glossary       Time of Day  Interrupt    Total Current    Transmission Rate    U    Ungrounded    User Defined  Diagnostic Event    User Memory    User Program    V    Varistor    W    Work Memory    Glossary 10    The time of day interrupt belongs to one of the priority classes in the  program processing of the C7 CPU  It is generated at 
147. ines for the C7           lt          230 5495        gt          Cutout in front panel    158 540 5                                                                                                                                                                                                                                lt  240       ai  203 5  a  a  gt      Figure 2 5 Dimension Drawings for Cutout in Control Panel  All Device Variants   Installation When installing a C7  please note the following     Guidelines The plate of a control panel may be 2 to 4 mm thick  Make sure the seal  ring fits tightly in all places     When you tighten the fixings  the seal ring should be visible   min  0 5 mm      Gaps of at least 50 and 70 mm must be left on the sides of the C7 for  outgoing cables and air circulation as shown in Figure 2 6     The seal ring on the front panel must sit perfectly   The tabs of the insertion strips must not be trapped     The C7 must be protected from direct sunlight        Note    The C7 can be mounted and operated in different positions  whereby  horizontal mounting is preferable     It is also possible to mount the system rotated around a horizontal axis  see  Appendix B 1 Technical Specifications    Operational ambient temperature         Operation is not permissible in a position that is tilted around a vertical axis        C7 633 C7 634 Control Systems  2 6 C79000 G7076 C634 01    Installation and Setup Guidelines for the C7                           
148. into the diagnostic buffer only if the  Messages diagnostic interrupt OB  OB82  occurs  The requirement is that the    parameter    diagnostic interrupt enable   yes    was assigned  Then you can  read out the detailed diagnostic messages in addition to the standard  diagnostic information using the STEP 7 application Module Information   see Manual  231    No entry is made in the diagnostic buffer of the C7 CPU  in all other cases  Therefore the diagnostic message cannot be read out     C7 633 C7 634 Control Systems  C79000 G7076 C634 01 10 3    VO Diagnostics       10 2 Diagnostic Data of the C7 Analog I O and Universal Inputs    Overview    Analog Input  Diagnostics    Analog Output  Diagnostics    Layout of  Diagnostic Area of  the Module    10 4    This section describes the C7 analog I O and universal inputs with regard to  their module specific diagnostic messages     Table 10 1 provides an overview of the channel specific diagnostic messages  of the analog input     The diagnostic information is allocated to the individual channels     Table 10 1 Diagnostic Message of the Analog Input                                           Diagnostic message Analog Input  Parameter assignment error Yes  Common mode error No  P short circuit No  M short circuit No  Wire break  only for 4 to 20mA by software  Yes  Reference error No  Underrange  underflow  Yes  Overrange  overflow  Yes       Only one group error exists for the analog output   Possible causes of the group error could 
149. iod                       10 10    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Maintenance    Chapter  Overview                         Section Description Page  11 1 Changing the Backup Battery 11 2  11 2 Replacing the C7 11 4       C7 633 C7 634 Control Systems    C79000 G7076 C634 01       Maintenance       11 1 Changing the Backup Battery    Change During  Power On Only    You must always change the backup battery during power on  This prevents  any data loss in the internal user memory while changing the battery           Battery cover    Cable tie          Figure 11 1   Removing the Cover of the C7 633 DP                   Figure 11 2 Battery Cover       Note    Observe the ESD guidelines  Do not use any metal objects  screwdriver   inside the C7  Electrical components and printed circuit boards are not  sufficiently protected        C7 633 C7 634 Control Systems  C79000 G7076 C634 01       Maintenance       Proceed as follows to change the backup battery     1   2     Unscrew the cover of the C7 battery compartment  see Figure 11 1      Lift the cover up and to the right  see Figure 11 2   Make sure you raise  the cover only as far as the battery connections allow     Unplug the battery connector from the old backup battery  see Figure  11 3      Loosen the cable ties with which the battery is attached to the cover  see  Figure 11 3        Attach the new backup battery to the cover using the cable ties       Plug the battery connector of the new battery into
150. ional capability     Select the appropriate recipe number     Configure missing recipe or select a  different one     Enter different numbers     A 7    System Messages       Message       333    335  336  337  338    339    340    341    342    343    350    351    352    353    354    355    356    357    A 8    Cause       Data record number not present when selecting a recipe  screen     Information message  alarm message will be suppressed   No process screens have been configured   No recipes have been configured     C7 can not establish a connection to the printer     Startup completed     Status processing in progress on programming device PC   The C7 cannot be used during this time     Internal error    In the case of external connections   data block error    Network node has illegal address     You are attempting to edit a variable of a type that cannot  be edited in a recipe  currently applies to ARRAY  variables only     PLC is performing initialization  You cannot enter any  setpoints during initialization  Scrolling of screens is  possible     PLC has completed initialization  You can resume entering  setpoints once this message has appeared     You are attempting to select a screen that does not exist or  has been disabled by the function Hide     The minimum value is greater than the maximum value for  variablescales     You are attempting to enter a value in an input field when  the current password level is insufficient for input     Entry of this variable 
151. ith the analog signals  In such a case  you should ground the  shield at one end of the cable only     The analog input is isolated and so there is no electrical connection between  the reference point of the measuring circuit Mana and the M terminal of the  C7 power supply  see Figure 7 1      A potential difference Urso can occur between the reference point of the  measuring circuit Mana and the M terminal of the C7  Make sure that Urso  does not exceed the permissible value  Where it is possible that the  permissible value might be exceeded  see technical specifications   establish  a connection between the Mana terminal and the M terminal of the C7     A potential difference Ucp  common mode voltage  may occur between the  measuring line AIx M of the input channels and the reference point of the  measuring circuit Mana  However  this potential difference must not exceed  the permissible value  see technical specifications   Where it is possible that  the permissible value for Uc might be exceeded  or where you cannot  determine the difference in potential accurately  you must connect AIx M to  Mana  Please observe this also for the unused inputs     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    7 3    C7 Analog I O       Abbreviations    Isolated  Transducers    The abbreviations used in Figures 7 1 to 7 3 have the following meanings   AIx X  Measuring line AIx U or AIx I  AIx M  Reference potential of the measuring line    Mana  Reference potential of the anal
152. l  find a detailed description in  71      C7 633 C7 634 Control Systems    C79000 G7076 C634 01    Communication Functions       5 2 Communication between C7 S7 Stations  MPI Subnet     Properties    Blocks    The communication SFCs offer the possibility of acknowledged data  exchange via non configured S7 connections to other C7 S7 stations  Using  these communication SFCs  you can reach all communication partners on the  MPI subnet and transfer small quantities of data  max  76 bytes      From S7 M7 C7 CPUs you can also access variables in another C7 S7 CPU   X_PUT X_GET       The connections to the communication partners are established dynamically  when the SFC is called  A free connection resource in each of the  communication partners will be required for this     If there are no free connections resources available on the communication  partners  no new connections can be established  temporary lack of  resources  indicated as SFC error class in RET_VAL      The communication SFCs must not be deleted in RUN mode  otherwise any  connection resources in use may not be able to be freed up  program changes  only in STOP      The number of communication partners that can be reached one after the  other is greater than the number of connections that can be set up  simultaneously  corresponds to a CPU specific quantity  see  70       Communication is also possible if the communication partners are in other  S7 projects     The communication SFCs do not require any additional
153. lding machine     Calculation of low frequencies and rotation speeds     The period time counter counts the number of increments  fixed time  intervals  of tz    0 5 us between two rising edges  The first period starts at  the first transition from    0    to    1     rising edge   It ends at the next rising  edge  This is also the start of the next period     From this  a period time can be calculated   tp   number of counted increments   0 5 us    In addition  for every rising edge  a counter is started that increases its value  by 1 every 0 5 us until the next positive edge occurs     The period time counter can be defined with a resolution of 0 5 us     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    8 19    C7 Universal Inputs       Explanation of  Principle Based  upon a Simple  Transducer    8 20    Figure 8 5 illustrates a simple transducer  The transducer supplies a    1    when  the light passes through one of the slots in the disc  If the disc rotates  then  the transducer delivers the signal shown in the diagram                                                                       e Signal     Slot disc  Signal  1st period 2nd period 3rd period  1 Pi Pa     0 i E  s r    Increments   t  A  pee Ly TL oe  tai   ti 0 5 us  Period Time   l   k i  Counter A        S E E er  on a      od p           144        3 7 g  Counter value Counter value  1st period 2nd period  tp   Counter value   0 5 us          Figure 8 5 A Simple Transducer such as a Slot Disc on a S
154. liarize you with the principles of programming the C7 I O     7 7 1 Block for Scaling Analog Input Values    Function of Block The FC126 block is used to convert the actual value entered as a  hexadecimal number in a peripheral input word into a corresponding point  number   analog value  to be output to a memory double word  For this  purpose  a simple calculation using the rule of three is programmed     1  First  the actual value is related to the total range  RANGE_HEX   resulting from the difference  UL   LL     The result is a percentage of the absolute actual value  This is identical in  the floating point number and in the hexadecimal representation    2  Then the total range resulting from the difference  UL   LL  is calculated  in floating point number representation  depending on whether the  measuring range is unipolar or bipolar    3  Now the percentage  PERCENT  calculated before is related to the total  floating point number range    The result is the absolute read in value   4  Finally  the lower limit  LL  is added to this value as the offset   5  The resulting floating point number is output   Summary of PERCENT  channel   LL     UL   LL   Formulae RANGE_HEX UL   LL    actual value PERCENT  upper limit   lower limit    lower limit    7 36    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Analog I O       FC126 Sequence  of Statements    The FC126 function contains the following statement lines     FUNCTION FC 126  void    var_input  lower limit  D
155. lt   m  1                               MANA  e      A02   Channel 1  Address PQW274     MANA  i A03   Channel 2  Address PQW276  J   Mov  i M   Channel 3  Address PQW278  o ANA      _ Pin number       Inputs marked with this  hatching are not relevant to  this example             Figure 7 11 Analog Input Output Addresses    C7 633 C7 634 Control Systems  7 18 C79000 G7076 C634 01    C7 Analog I O       7 6 2 Timing of the Analog I Os    Analog Inputs The timing of the analog inputs depends on the current parameter assignment  of the analog I Os  see Section 7 6 3   The duration of the measuring cycle  depends on the number of activated analog input channels  Deactivated  channels reduce the length of the measuring cycle    The measuring cycle is the sum of the conversion times of the activated  analog inputs        A D conversion of the channels  Alt Al2 Al3 Al4 Ali    OT LOT LT LOT LTI     Processing time   Processing time Processing time  of a channel of a channel of a channel      Measuring cycle J                         Figure 7 12 Measuring Cycle when All Analog Input Channels are Activated       A D conversion of the channels    Alt Al3 Al4 All Al3    GOT LOT LT LOT L    Processing time   Processing time Processing time  of a channel of a channel of a channel      Measuring cycle J                         Figure 7 13 Measuring Cycle when Analog Input Channel 2 is Deactivated    C7 633 C7 634 Control Systems  C79000 G7076 C634 01 7 19    C7 Analog I O       Analog Outp
156. lter the level of an invalid  password     The password entered is too short     You have pressed  lt   Statistics or Message Text     gt  on a  buffer screen but there is no entry for the current message     The entry number specified does not exist on the selected  screen     The FM NC    MPI partner  has no alarm message buffer     You have attempted to collect a recipe number other than  the active recipe number from the PLC     Recipe number not present when selecting a recipe     Recipe number  gt 99 when selecting a recipe     The same number has been entered for source and  destination on the    Data Record Transfer    screen     Full details of source and destination not entered when  initiating data record transfer function     The data record specified as the source does not exist     Data record number  gt 99 when selecting a recipe screen     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Remedy   Check PLC status        S5  set value in data word 98 to at least  2000     Set up data block or change configuration     Change configuration and retransfer     Check configuration of process link     Wait until the printer is free again and repeat  the print job     The CPU has no diagnostic buffer   hardware problem      Enter password with higher password level     Enter password     Enter a different password     First enter the password then specify the  level     Password must be at least three characters  long     A node does not have the required  funct
157. m Message and Acknowledgement Areas    Every alarm message has a message number  To this message number  the  same bit of the alarm message area and the bit multiplying of the  acknowledgement area are assigned  This is also valid for more than one  acknowledgement area  if the length of the previous acknowledgement area  does not encompass the entire length of the alarm message area  Figure 4 3  clarifies this situation        Alarm message area 1 Acknowledgement area 1  _ Alarm message no  1   neknowiecoR bit f   r alarm message no  1  Bit  7 ol7 ol Bit  7 ol7 o                         Alarm message area 2 Acknowledgement area 2  Alarm message no  49 Acknowledge bit for alarm message no  49                      Figure 4 3 Assignment of Acknowledge Bit and Message Number    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       Acknowledgement  Area C7 CPU  gt   C7 OP    Acknowledgement  Area C7 OP      C7 CPU    One of the bits set in the C7 CPU area  causes the acknowledgement of the  corresponding alarm message at the C7 OP  Reset this bit when you reset the  bit in the alarm message area  Figure 4 4 shows the timing diagram     The acknowledgement area C7 CPU     C7 OP  e Must be immediately connected to the relevant alarm message area  e Must have exactly the same polling time and    e Can have the same maximum length as the corresponding alarm message  area     If the acknowledgement area C7 CPU     C7 OP is 
158. m one recipe to  another   V3 0 or later  plastic functions      The following question appears   Save yes no      If you elect to save  the array data are set to  0     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    System Messages       Message  567  568    569    570    571    572    600  601  602    604  605  606  607  608  609    610    611    613    614    615    616    617    618    619    Cause    If the message buffer has to be cleared  pending  event alarm messages also have to be deleted in order to  make space for new message events     Fault on CPI submodule     Variable contains errors  variable name from ProTool is  used as parameter     S7 system diagnosis INTERRUPT_S returns error if C7  logs on off     Query  data record already exists on data medium     Configuration error  overflow warning at basic setting 1  Configuration error  message logging at basic setting 1    Configuration of remaining buffer space incorrect     Message does not exist    Process link is only configured symbolically   Too many message variables configured   Data type configured does not exist    The process screen number does not exist     Special object or operator object for message text does not  exist or is not permissible     Operator object for header or footer does not exist or is not  permissible     Special operator object for buffer printout does not exist or  is not permissible     Data block not available or too short     No entry present for log  header and foot
159. mber     The possible control jobs are listed with job numbers and parameters in  Section 4 10     Byte n 13   The C7 OP enters the coupling identifier 0 for the multipoint interface in  byte 13     Time   bytes n 15 to n 17   Date   bytes n 21 to n 24   The date and time can be transferred from the C7 OP to the C7 CPU via  control job 41     The following screens show the structure of the data area  All inputs are  coded in Binary Coded Decimal  BCD                        Time   Address   7 0  n 15 Hours  0   23   n 16 Minutes  0   59   n 17 Seconds  0   59   Date     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    4 17    Communication between the CPU and the Operator Panel                            Address   7 0  n 21 Weekday  1   7   n 22 Day  1   31   n 23 Month  1   12   n 24 Year  0   99   Cyclic Interrupt Bytes n 26 to n 31     Bits  C7 634 only  A cyclic interrupt is a periodically recurring point in time  hourly  daily   weekly  annually  at which a predefined function is executed   for example     e Print message buffer or screen  e Select screen     When a cyclic interrupt is reached on the C7 OP  the corresponding bit is set             in this area   Address   7 0 7 0  n 26 16 1  32 17  n 30 48 33                   Cyclic Interrupt No     C7 633 C7 634 Control Systems  4 18 C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       4 8 Recipes    Overview    Transferring Data  Records    Synchronization    A recipe is a group of
160. mber  0  First menu item  1 to 20 Other menu items  Parameter 3    49 Delete event message buffer  Parameters 1  2 3    50 Delete alarm message buffer    Parameters 1 2 3      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication between the CPU and the Operator Panel                            No  Function   51  Screenselection  Parameter 1 LB  Cursor lock  0  off  1  on    RB  Screen number 1 to 99  Parameter 2 Entry number  0 to 99   0  cursor set to the first available entry   Parameter 3 Field number   1lto8 for C7 633  1 to 32 for C7 634  Output fields are ignored in the serial numbering system   Note   The input fields of an entry are numbered consecutively   0 Entry number field  1 First input field  n Last input field  The numbering of the input fields starts from 1 again for each  entry    52    Print screen  Parameter 1 Screen number  1 to 99  in byte format  Parameters 2  3     53 Select recipe  Parameter 1 LB  Cursor lock  0  off  1  on    RB  Recipe number  1 to 99   Parameter 2 Data record number  1 to 99   Parameter 3 LB  Entry number  0 to 99    RB  Field number  0 1    54 Print recipe  Parameter   Recipe number  1 to 99   Parameter 2 Data record number  1 to 99   Parameter 3     69 Transfer recipe data record from C7 CPU to C7 OP  Parameter 1 Recipe number  1 to 99   Parameter 2 Data record number  1 to 99   Parameter 3 0  1   0  Data record is not overwritten  1  Data record is overwritten   70 Transfer recipe data record from C7 OP to C7 CPU
161. me  Mo  Fr  0 00 to 24 00  Phone   49  911  895 7777  Fax   49  911  895 7001    GMT   01 00                       Soe  Ty x  G  Singapore  MEE Ete  y Z  SIMATIC Basic Hotline   Johnson City Singapore  SIMATIC BASIC Hotline SIMATIC BASIC Hotline  Localtime  Mo  Fr  8 00 to 17 00 Localtime  Mo  Fr  8 30 to 17 30  Phone   1 423 461 2522 Phone   65740 7000  Fax   1 423 461 2231 Fax   65740 7001  E Mail  simatic hotline  E Mail  simatic    sea siemens com singnet com sg  GMT   5 00 GMT   8 00    SIMATIC Customer The SIMATIC Customer Support team provides you with comprehensive  Support Online additional information on SIMATIC products via its online services     Services    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    You can obtain general current information     On the Internet under  http    www ad siemens de simatic html1_00 simatic   htm    Using fax polling no  08765 93 02 77 95 00       Current Product Information leaflets and downloads which you may find  useful for your product are available     On the Internet under  http   www ad siemens de support htm1 00     Via the Bulletin Board System  BBS  in Nuremberg  SIMATIC  Customer Support Mailbox  under the number  49  911  895 7100     To access the mailbox  use a modem with V 34  28 8 Kbps  capability  whose parameters you should set as follows  8  N  1  ANSI  or dial in  using ISDN  x 75  64 Kbps      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Contents    Pref  c   ccacecdbneiewe eieabniee enia ae 
162. ments of an MPI or ai  L2 DP network Je                                                          1 8    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Product Overview                                                                                                                                                             Example Figure 1 5 shows some possible connections to other devices    7 300 CPU  S7 300 modules a  Ui  p  IM 361  OP 25  C7                   Eh 8      oo0o0000       20000000    Ooo0  6 o  Oooo    ooo                                                              RS 232  V 24  TTY     MPI  Printer e g  FM 355      PROFIBUS DP connection  Figure 1 5 Some C7 Connection Possibilities    C7 633 C7 634 Control Systems  C79000 G7076 C634 01 1 9    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Installation and Setup Guidelines    for the C7    Chapter  Overview                                                       C7 633 C7 634 Control Systems    C79000 G7076 C634 01    Section Description Page  2 1 Labeling Strips 2 2  2 2 MechanicalInstallation  2 3 ElectricalInstallation  2 4 Connector Assignments  2 5 Connecting a Programming Device PC to a C7  2 6 Connecting a Programming Device PC to Several Nodes 2 18  2 7 Setup Guidelines for Interference Free Installation 2 20  2 8 Connecting Shielded Cables 2 22  2 9 Encoding Connectors  2 10 Expanding the C7 with S7 300 Modules  2 11 Configuring an MPI and PROFIBUS DP Network 2 26   2 1       Installatio
163. mponents are included in the scope of supply of a C7  device     C7 633 P  C7 633 DP  C7 634 P  or C7 634 DP  Battery  integrated in the device    One grounding bar  C7 633 P and C7 634 P only   Six shielding clips  C7 633 P and C7 634 P only   Seal and four screw in tensioners   Power supply connector  4 pin    Product Information  as required     Connector set  C7 633 P and C7 634 P only     Accessories The following components can be ordered as important C7 standard  accessories        Component Identifying Data Order Number    PG cable  MPI  See catalog ST 70     connects C7 to PG        PG cable  TTY    serial transfer  ProTool         PC MPI cable 5m          Printer cable  for RS 232 serial interface   max  16 m                 Spare Parts The following components can be ordered as spare parts for the C7        Service package Seal and 4 screw in See catalog ST 70    Component Identifying Data Order Number    tensioners       Backup battery          Connector set for C7 I Os  with solid and profiled  coding keys                C7 633 C7 634 Control Systems    C79000 G7076 C634 01    1 5    Product Overview       1 3 Components for Connection to a C7    In addition to the connections to the process  you can also connect different  components to the C7  The most important components and their functions  are listed in Table 1 1     Table 1 1    Connectable Components of a C7       Component  Interface module  IM 361     Function        connects a C7 to an expansion  rack 
164. n  explicitly without transferring data  This frees up the  corresponding connection resources again on both  sides        For the above blocks  addressing the communication partner is done via the  MPI address configured in STEP 7  The communication partner can also be  in another S7 project     The maximum data area which can be read written as a contiguous field of  data by the operating system in the S7 300 S7 400 CPUs  X_PUT X_GET  is  shown in the table below     An array of the data types Byte  Word  and Double Word can be transferred  consistently up to a CPU specific maximum length  see table         CPU 31x  C7     8 bytes       CPU 412  32 bytes       CPU 413  32 bytes    CPU 414  32 bytes    CPU 416  32 bytes                If larger amounts of user data are transferred using X_PUT X_GET   inconsistencies may arise     C7 633 C7 634 Control Systems  C79000 G7076 C634 01          Communication Functions       5 3 Communication within a C7 Station  PROFIBUS DP or IM     Properties    Blocks    Addressing    Data Consistency    The communication SFCs offer the possibility of acknowledged data  exchange via non configured S7 connections to PROFIBUS DP partners     Using these communication SFCs  you can reach all communication partners  which can be addressed via the I O addresses of a station  for example   function modules  FMs       The connections to the communication partners are established dynamically  when the SFC is called  A free connection resource in each 
165. n and Setup Guidelines for the C7       2 1 Labeling Strips    Plant Specific  Labeling    Making Labeling  Sirips    2 2    The function keys are labeled using labeling strips which are inserted into the  keypad from the side  When shipped  the function keys are labeled as  follows     C7 633  F1 to F4  K1 to K8  and K9 to K16   C7 634  F1 to F8  K1 to K8  and K9 to K16     By exchanging the labeling strips  you can label the function keys of your C7  specifically for your plant     To make your own labeling strips  use transparent foil so that the LEDs in the  function keys remain visible  Label the foil using either a printer or an  indelible pen so it cannot be erased  Cut the strips out using the templates  shown in Figures 2 1  C7 633  and 2 2  C7 634         Note    Laser printouts are not indelible  You should therefore protect the printed  sheet with transparent adhesive foil        Shipped with the ProTool configuration software are the Word   files  SLIDE633 DOC and SLIDE634 DOC  The files contain formatted  templates for labeling the function keys of C7 633 and C7 634 and can also  be used to edit and print your own individual labeling strips with a minimum  of effort  You will find the SLIDE63x DOC and SLIDE634 DOC files in  the ProTool directory    Utility                    C7 633 C7 634 Control Systems  C79000 G7076 C634 01          Installation and Setup Guidelines for the C7                                                                                     
166. n be    e Read out from the C7 CPU with the  programming device  C7     gt  PG     e Downloaded to the C7 CPU and changed  there  PG     gt  C7         RUN   R            lt            or          iS          The C7 CPU processes the user program    Programs and data can be    e Read out from the C7 CPU with the  programming device  C7     PG      e cannot be downloaded to the C7 CPU and  changed there  PG     gt  x C7         STOP   S            lt i          The C7 CPU does not process the user   program    Programs can be       Read out from the C7 CPU with the  programming device  C7     gt  PG    e Downloaded to the C7 CPU and changed  there  PG     gt  C7     Note    The STOP mode is only valid for the C7 CPU    and not for the C7 OP  It is possible to continue  working with the C7 OP        MRES   M               lt I                Memory Reset    Executing a memory reset on the C7 CPU   clear memory  reload user program from flash  memory if a memory card is inserted  requires a  special sequence of operations with the modes  STOP and MRES     1  Select STOP mode by pressing the DOWN  key  The key must remain pressed for at  least 300 ms for the transition to take place   The key LED    S    and the CPU status LED     STOP    light up     2  Select the mode MRES by keeping the  DOWN key depressed  The key LED    M     lights up  Immediately after the second time  the CPU status LED    STOP    lights up   release the key briefly and press it again   After flashing bri
167. n be charged electrostatically  Small charges up to 100 V are  very common  these can  however  very quickly rise up to 15 000 V     Examples    e Plastic covers up to 5000 V  e Plastic cups up to 5000 V  e Plastic bound books and notebooks upto 8000 V  e Desoldering device with plastic parts up to 8000 V  e Walking on plastic flooring up to 12 000 V  e Sitting on a padded chair up to 15 000 V  e Walking on a carpet  synthetic  up to 15 000 V    An electrostatic discharge   e of 3500 V and upwards can be felt   e of 4500 V and upwards can be heard  e of 5000 V and upwards can be seen     Just a fraction of these voltages is capable of destroying or damaging your  electronic devices components     Carefully note and apply the protective measures described below to protect  and prolong the life of your modules and components     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    C 3    Guidelines for Handling Electrostatically Sensitive Devices  ESD        C 3 General Protective Measures against Electrostatic Discharge    Damage    Keep Plastics  Away    Provide Sufficient  Grounding    Avoid Direct  Contact    Special  Precautions for  Modules without a  Casing    C 4    Keep plastics away from sensitive devices  Most plastic materials have a  tendency to build up electrostatic charges easily     Make sure that the personnel  working surfaces  and packaging are  sufficiently grounded when handling electrostatically sensitive devices  This  helps to avoid static charges  
168. n no longer be exited using the cursor keys  or the ESC key  The cursor lock will only be disabled again by     Repeating the job with the cursor lock   0     Another job which causes a change to the display on the screen     If you try to exit the input field with the cursor lock activated  the system  message     400 Invalid key pressed    is displayed     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       4 10 1 Example of How to Activate a Control Job    Procedure for The following describes the procedure for activating a control job     Control Job    1     Set up the interface block  contains the interface area  in the C7 CPU  for  example  DB52      In the configuration  enter the interface block  DB52  in the    area  pointer     This informs the C7 OP that this block exists     The job is entered in the interface block by means of a C7 CPU program   see Figure 4 9        The C7 OP reads the interface block and executes the job           Program for control job 51    Screen selection      CALL DB52 Call the interface block   L ScreenNo Enter parameter 1  screen number  in the  T DBW6 job area of the interface block    L EntryNo Enter parameter 2  entry number  in the   T DBW8 job area of the interface block   L FieldNo Enter parameter 3  field number  in the   T DBW10 job area of the interface block   L 51 Enter the job number in the job area of the  T DBW4 interface block to activate the job          Figu
169. n only be  calibration values for the 7FFFy and the counter restarted after a reset on the  compensation of the offset values become bus  restart C7 CPU  or the  error of the analog I O from   FFFFq FFFFFFy  analog I O must be  the serial EEPROM  recalibrated at the   manufacturer s factory   equipment exchange     External error The error bit is set when Refer to the grouping See error under the grouping  channel specific errors of    External error    in Table    External error    in Table  the analog inputs or outputs   10 3  10 3   occur    Channel error A channel caused an error  Refer to the grouping See error under the grouping          Diagnosis of the channel  causing the error has been  enabled          External error    in Table  10 3        Channel error    in Table  10 3              C7 633 C7 634 Control Systems    C79000 G7076 C634 01    10 9    VO Diagnostics                               Table 10 4 Diagnostic Messages and Reaction Possibilities  Reason for the Source of Error Reaction of the Module Possible Elimination   Diagnostic Message   Wire break Requirement  An error counter will be Check the connection of the  The measurement range incremented  If the error appropriatemeasurement  0 to 20 mA has been set for   counter reaches a fixed value   channel   the channel  of 3  then the error    wire  If a wire break check has break    is reported   been assigned  then the error  is identified by evaluation of  the input current of the  analog input channel  
170. ne whether     e A count pulse is triggered by a rising or falling edge at the corresponding  universal input    e Counting is up or down    e A hardware interrupt is to be triggered or not     The counter calculates the actual value according to the following formula   Actual value  counter up    number of edges  or    Actual value  counter down    start value minus number of edges    Counting up starts at zero or is continued from the last counter value until the  selected comparison value is reached or to the end of the count range  default  setting   The start value after resetting the counter is always zero  The  comparison value is set by the user program     Counting down starts counting backwards from the selected start value or is  continued from the last counter value until the value zero is reached  The  start value is set by the user program     The universal input counter counts count pulses up to a maximum frequency  of 10 kHz     A frequency filter is fitted to the inputs        Warning    If the actual frequency exceeds the threshold frequency of 10 kHz  then the  correct function of the universal inputs can no longer be guaranteed  since  count pulses will be lost     Before activating a counter in OB100  it is necessary to insert a delay time  of at least 5 ms via SFC47        C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Universal Inputs       Starting and  Stopping Counters       Note    The counting process on the C7 I O module is asynchronous
171. nels     Type 2 ms max  4 ms       Transient recovery time    e For resistive load max   e For capacitative load max   e For inductive load max     0 1 ms  3 3 ms  0 5 ms       Applicable substitute values    Yes  configurable       Operational limit  0 to 60   C   with reference to output range        e Voltage   e Current   0 8     1    Basic error limit  operational   limit at 25   C  with   reference to output range    e     Voltage   0 5     e Current   0 6         Interrupts  e Diagnostic interrupt    Yes  configurable  for parameter error       Cable length  shielded max              200 m          C7 633 C7 634 Control Systems  C79000 G7076 C634 01    B 9    Technical Specifications for the C7       24 VDC Power  Supply    ZN    Important for the  USA and Canada    FM Approval    B 10    The whole 24 VDC power supply for the C7  operating voltage  load voltage   relay power supply etc   must be provided in the form of safety extra low  voltage  SELV         Warning  Personal injury and property damage can occur     If you do not provide the correct 24 VDC power supply for your C7  this  may result in damage to components of your programmable controller or  injury to personnel     Use only safety extra low voltage  SELV  for the 24 VDC power supply to  your C7        If the device carries any of the following markings  the respective approval  has been obtained     Underwriters Laboratories  UL  to UL 508 standard    WY UL Recognition Mark    Q Canadian Standard Associ
172. nfo  not configured by system   6         0  7            0  02 0 Coding connector incorrect missing       0  1 Communications failure Error during transfer of parameters input data 0  2 Operating mode RUN STOP 0  3 Watchdog activated with bit 1 of byte 0        oll  4 Internal voltage failed     0  J Battery 1 empty     0  6 Entire backup battery failed     0  7            0  03 0 Rack failure     0  1 Processor failure     0  2 EEPROM error Serial calibration EEPROM for analog measured Oll  value calibration  set with bit 1 of byte 0         3 RAM error     0  4 ADC error with bit 1 of byte 0    0                         C7 633 C7 634 Control Systems  C79000 G7076 C634 01    10 5    VO Diagnostics                                                       Table 10 2 Structure of the Diagnostic Area  Byte   Bit Meaning Explanation Value  Range  5 Fuse failure     0  6 Hardware interrupt lost     0  7        0  Channel Specific Diagnostic Entries  04 0  7   Channel type AI of the following channel specific diagnostic information Tly  05 0  7   Number of analog input channels 4  06 0  7   Number of diagnostic bits per 8  channel  07 Channel Vector Channel Group AI  0 Error assigning parameters to DI1 O no  l  yes Oll  1 Error assigning parameters to DI2 0 no  1  yes Oll  2 Error assigning parameters to DI3 0 no  1  yes Oll  3 Error assigning parameters to DI4 0 no  l  yes Oll  4 Error in channel AI1 O no  l  yes Oll  5 Error in channel AI2 O no  l  yes Oll  6 Error in channel AI3 0
173. ng this  parameter block  the C7 CPU then transfers the parameters to the appropriate  universal inputs at every operating mode change from STOP     gt  RUN     If the universal inputs are used as interrupt inputs  a hardware interrupt will  be triggered on the C7 CPU for the assigned rising or falling edge at the  input  The default is the rising edge     The universal inputs 1 to 3 can be assigned as    e Counter input  16 bit  counters 1 and 2    e Counter input  24 bit  counter 3    e Frequency counter  input 3 only    e Period time counter  input 3 only    e External gate counter  16 bit  inputs 1 and 2 only   e External gate counter  24 bit  input 3 only     The counter values are made available to the user program as 16 bit or 24 bit  values and the frequency and period time counter values as 24 bit values   The counter values of the external gate counter are either 16 bit or 24 bit  values  depending on the input     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    8 9    C7 Universal Inputs       Table 8 5 lists the parameters for the above mentioned functions                                   Table 8 5 Parameter Block of the Count Inputs  Parameter Explanation Value Range Default Setting  Count input 1 Activate the count input and define the type of Standard Standard   counting Interrupt   Counter   HW gate counter  Define the count direction Up Up  Down  Set edge to be used for counting Rising edge Rising edge  Falling edge  Counter can trigger a hardware i
174. not physically located  behind the alarm message area  the system message  655 is issued when the  device starts up              Alarm message area ____  es     Acknowledgement   area C7 CPU  gt    C7 OP Acknowledgement  via C7 CPU                   Figure 4 4 Pulse Diagram for Acknowledgement Area C7 CPU     C7 OP    If a bit is set in the alarm message area  the CP OP sets the corresponding bit  in the acknowledgement area  If an alarm message is acknowledged at the  C7 OP  the corresponding bit is set in the acknowledgement area C7 OP    C7 CPU  In this way  the S7 can recognize that the alarm message has been  acknowledged     The acknowledgement area C7 OP     C7 CPU can have the same maximum  length as the corresponding alarm message area              Alarm message area ____  E       Acknowledgementarea  C7 OP  gt  C7 CPU       Acknowledgement  via C7 OP             Figure 4 5 Pulse Diagram forAcknowledgement Area C7 OP C7 CPU    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       Size of the  Acknowledgement  Areas    The acknowledgement areas may not be larger than the corresponding alarm  message area  It can  however  be configured to be smaller if it is not    necessary to acknowledge every alarm message  Figure 4 6 clarifies this  case                 Alarm message area Reduced alarm message  Alarm messages acknowledgementarea  that can be  acknowledged Bit O Bito  l  es a fast ta  Bit m  Alarm messages
175. not reset the relevant  control checkback bit in the interface area  that unlocks the recipe mailbox     There is no data record relating to the  selected recipe on the data medium     Check configuration     Only 10 entries are permitted  after pressing  INS if 10th line already used      Values can only be changed after update  operation has been cancelled  BREAK key      Enter a value that is greater than or equal to  the specified value  No limit is indicated for  data of the type DOUBLE     Enter a value that is less than or equal to the  specified value  No limit is indicated for  data of the type DOUBLE     Change configured interface parameter     A 9    System Messages       Message       442    450    451    452    453  454    455    456    458    459    500       504    505    506    507    509  510    A 10    503    Cause       Data block error x DB no  y   This message indicates a data block error  The variables x  and y identify the cause of the fault  X  and the number of  the receive block concerned  y      Variable x   0O Incorrect block length entered in receive block no  y  1 Incorrect block number entered in receive block no  y    When entering a value  you have attempted to press a key  that is not compatible with the defined input field     You have entered a setpoint that is below the configured  lower limit     You have entered a setpoint that is above the configured  upper limit     Time not entered correctly     Interface parameters incorrectly set  
176. nstallation    Reference Manual    S7 300 and M7 300  Programmable Controllers   Module Specifications    Instruction List   S7 300 Programmable  Controller CPU 312 IFM  314  IFM  313  314  315 2DP    C7 Documentation Package    Contents    Provides information on the topics     Installation and installation guidelines for the C7 633 and C7 634  Connecting the C7 systems to a programming device and other devices  Connecting an IM 361 interface module    Features of the C7 and differences from SIMATIC S7 300 and  SIMATIC Operator Panels    Communication between the CPU and the OP    Provides information on     Functionality  Device description    Operating modes and how to operate the OP    Detailed description of     Configuring the mechanical and electrical structure  Installation and wiring  Preparing the S7 300 for commissioning    Features and technical specifications of the S7 300 CPUs    Describes the hardware of the S7 300 modules     Analog modules   Digital modules   Interface modules   Characteristics and technical specifications of the S7 300 modules  List of instructions for the CPUs    Brief description of the instructions and the execution times    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Preface       Further There is a range of user manuals which are intended to be used selectively to   Documentation support you with the programming  expansion  and configuration of a C7  control system  The figure below and the explanations which follow should  m
177. nterrupt after Yes No  reaching the comparison value  when counting up  No  or on zero transition  when counting down   No further parameters for external gate counter           16 bit   Count input 2 Activate the count input and define the type of Standard Standard   counting Interrupt   Counter   HW gate counter  Define the count direction Up Up  Down  Set edge to be used for counting Rising edge Rising edge  Falling edge   Counter can trigger a hardware interrupt after Yes No  reaching the comparison value  when counting up  No  or on zero transition  when counting down   No further parameters for external gate counter           16 bit                                   8 10    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Universal Inputs             Table 8 5 Parameter Block of the Count Inputs  Parameter Explanation Value Range Default Setting  Count input 3 Activate the count input and define the type of Standard Standard  counting Interrupt  Counter  Frequency counter  Period duration  counter  HW gate counter  If counter activated then define the count direction Up Up  Down  If counter activated then define the edge to be used Rising edge Rising edge  for counting Falling edge  If counter activated  then the counter can trigger a Yes No  hardware interrupt after reaching the comparison No  value  when counting up  or on zero transition   when counting down   If frequency counter selected  then select the gate O 1s Is  time for the frequency counting Is  10
178. odifying the user program  for example  variables         Monitoring and modifying the CPU  for example  operating state  memory  reset  compressing memory  protection levels     Reference manuals for programming with STL  LAD  or FBD     e Basics of working with STL LAD FBD   for example  structure of STL LAD FBD  number formats  syntax     e Description of all instructions in STEP 7   with sample programs     e Description of the various methods of addressing in STEP 7   with examples     e Description of all integrated functions of the CPUs    e Description of the CPU internal registers    Detailed description of    e All organization blocks  OB  and their priority classes   e All standard functions  FC  integrated in STEP 7   e All system functions  SFC  integrated in the operating system of a CPU  Teaches the basic requirements for creating STEP 7 programs     e Guide to the efficient solution of the programming task using a  PC programming device and STEP 7    e How the CPUs work  for example  memory concept  access to inputs outputs   addressing  blocks  data types  data management     e Description of STEP 7 data management   e Using the STEP 7 data types   e Using linear and structured programming  with program samples   e Using block call instructions    e Overview of using the STEP 7 applications for developing projects  with  detailedexample     e Using test and diagnostics functions of the CPUs in the user program   for example  error OBs  status word     C7 633 
179. of the  communication partners will be required for this     The number of communication partners that can be reached in succession  within the station is not restricted     The following SFCs are available for communication within a station        Block Description    SFC72 I GET With this SFC you can read a variable from a  communication partner without having to place a  corresponding SFC on the communication partner   This function is performed in the communication    partner by the operating system        SFC73 I PUT With this SFC you can write a variable to a  communication partner without having to place a  corresponding SFC on the communication partner   This function is performed in the communication    partner by the operating system     SFC74 I_ ABORT With this SFC you can cancel an existing connection  explicitly without transferring variables  This frees up  the corresponding connection resources again on both  sides                    For the above blocks  addressing the communication partner is done via the  module start address  I O address  configured in STEP 7     The maximum data area which can be read written as a contiguous field of  data by the operating system in the S7 300 CPUs  I_PUT I_GET  is shown in  the table below     An array of the data types Byte  Word  and Double Word can be transferred  consistently up to a CPU specific maximum length  see table         CPU 31x  C7  CPU 412 CPU 413 CPU 414 CPU 416  8 bytes 32 bytes 32 bytes 32 bytes 32 bytes
180. og measuring circuit    M  Ground terminal of the C7   Uc  Potential difference between inputs and Mana   Ujso  Potential difference between Mana and the M terminal of the  C7    The isolated transducers are not connected with the local ground potential   They can be operated free of potential  Local conditions or interference can  cause potential differences Ucy  static or dynamic  to occur between the  measuring lines M of the input channels and the reference point of the  measuring circuit Mana  However  this potential difference must not exceed  the permissible value  Where it is possible that the permissible value for UcM  might be exceeded  or where you cannot determine the difference in potential  accurately  you must connect AIx M to Mana     Figure 7 1 shows the principle of connecting isolated transducers to an  isolated analog input                                                                                                                                         Alx X   lt  Alx M  aes Alx x   ADC 2  ransducers r4 AxM 9 C7 CPU  Ucm  Y MANA  C7 5 n  2 JL  Uiso 5 ri        T Ground bus  Figure 7 1 Connecting Isolated Transducers to an Isolated Analog Input    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Analog I O       Non lsolated  Transducers    The non isolated transducers are connected on site with the ground potential   Depending on local conditions or interference  potential differences  static or  dynamic  can occur between the locally distrib
181. on 7 6 3      Use the STEP 7 application Configuring Hardware for parameter assignment     If a hardware interrupt is transferred from the I O to the C7 CPU  the  hardware interrupt OB  OB40  is called in the C7 CPU  The event which  called OB40 is stored in the start information  declaration section  of OB40   You have to evaluate the additional information Z1 to Z3 in the start  information     The entries in the declaration section of OB40 are listed in Table 7 15  The  bytes relevant to the user are hatched in the table     Table 7 15 Declaration Section of OB40                                                    Byte Meaning Meaning Byte  O  Class  Identifier   Eventnumber       I  2 Priority class Current OB number 3  4 Data identifiers Z2 3 Data identifier Z1 5  6 Additional information Z1 7  8 Additional information Z2 9  10 Additional information Z3 11  12 Time stamp of event 13  14 15  16 17  18 19                   Additional information Z1 contains the start address of the C7 I O module   bytes 6 7      Address  272 or 01104    Bit 4 of byte 8   1 in the case of an end of cycle interrupt     Additional information Z3 is not used and assigned the value 0000y     The evaluation of hardware interrupts in the user program is described in the  manual  234      C7 633 C7 634 Control Systems    C79000 G7076 C634 01    7 35    C7 Analog I O       7 7 Examples for Programming the Analog I O    Overview The following examples for programming the analog I O will help to  fami
182. ontroller is not a machine as defined in the EU  Machinery Directive  There is therefore no declaration of conformity for  SIMATIC with regard to the EU Machinery Directive 89 392 EEC     EU Machinery The EU Machinery Directive 89 392 EEC regulates requirements relating to  Directive machinery  A machine is defined here as an assembly of linked parts or  89 392 EEC components  see also EN 292 1  paragraph 3 1      SIMATIC is part of the electrical equipment of a machine and must therefore be  included by the machine manufacturer in the declaration of conformity       procedure   Electrical The EN 60204 1 standard  Safety of Machinery  Electrical Equipment of  Equipment of Machines  Part 1  Specificationfor General Requirements  applies for electrical  Machinery in equipment of machinery   AN PAE wah The table below is designed to help you with the declaration of conformity and   to show which criteria apply to SIMATIC according to EN 60204 1  as of June   1993     EN 60204 1 Subject Criterion Remarks  Paragraph 4 Generalrequirements Requirements are met if the devices    are mounted installed in accordance  with the installation guidelines   Observe the explanations on the          previous pages   Paragraph 11 2   Digital I O interfaces Requirements are met   Paragraph 12 3   Programmable equipment Requirements are met if the devices    are installed in locked cabinets for  protection of memory contents against  change by unauthorized persons                    Paragraph 20 
183. or Indicators on the C7 CPU               0 000s eee eee 3 7   4 Communication between the CPU and the Operator Panel                    4 1 Configured Communications Parameters              2 000 eee eee eee 4 2  4 2 Overview of User Data Areas             000 cece eee nee eee 4 3  4 3 Event and Alarm Messages             0000 e cece eee e eee teen eens 4 4  4 4 Keyboard and LED Image    4 4 1 System Keyboard Image  4 4 2 Function Keyboard Image  4 4 3 LED IMAQe  sareei toni  a hark aware edge E E hae eae       C7 633 C7 634 Control Systems     C79000 G7076 C634 01 xI    Contents       xii    4 5 Screen Number Area acc 4 0 ead adnn eared Meare end aard wang dea    ates  4 6 User Versio ss serti anann dike atin aisnarea ae ahh ae duaate dune wang E aeees  4 7 Interface  Area o g ccivnscee ed wid Geko heed ieee edseg Rebar REE We  4 7 1 Control and Checkback Bits             0 0 ccc ccc cece eee eee  4 7 2 Data Areas in the Interface Area    1    ees  4 8 PROGID OS esc hee tes teases cate ea ere Wek at catys e ae tae See Se  4 8 1 Transferring Data Records              000 e cece eee eens  4 8 2 Addressing Recipes and Data Records  and the Requisite   Data ArGaS  sci actacdekad deed ads dienes bea ee doe ead eh ee  4 8 3 Synchronization during Transfer   Normal Case                  0005  4 8 4 Synchronization during Transfer   Special Cases                 0005  4 9 Notes on Optimization              0 0 nasienia eee  4 10 Control Jobs and Their Parameters              00 cec
184. ords     Change mode from    Loop through  operation    to    Normal operation        Check the physical connection     Repeat uncompleted accessing operation     If data records are stored in the Flash  memory they will remain valid     Change configuration and retransfer     Check MPI station addresses and wiring     A 11    System Messages       Message  552       553    554    555    556  357    558    559    560    561    562    563    564    565    566    A 12    Cause    Query  safety check as to whether the selected data record    is to be deleted  The data record is only deleted if 0 is  entered  If not the function is cancelled     Information message  selected data record has been  deleted     Query  Ist safety check as to whether the data medium for  storing data records is to be formatted  Any data records  already on the disk will be deleted when the function is  executed  The function is only executed if 0 is entered     Query  2nd safety check as to whether the data medium for    storing data records is to be formatted  Any data records  already on the disk will be deleted when the function is  executed  The function is only executed if 0 is entered     Information message  disk has been formatted     Query  if 0 is entered the data record will be adopted with  the new values  If anything else is entered  you may  continue editing     Query  if 0 is entered the edited data record is rejected  The    data remain as they were before editing  If anything else is 
185. ot be entered in the buffer    because the corresponding message or a message in the  same acknowledgement group is missing     Recipe request will not be processed as another request is    already active     Internal error    S7 message task error     Internal error    Incorrect mailbox type     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Remedy        Change configuration and retransfer     Lengthen standard clock pulse or configure  fewer variables on screen     Check S7 programs   Check message server configuration   Change configuration and retransfer     Check the interface parameters     Configure fewer process links for the screen  displayed     Correct the limits and retransfer  configuration     Check PLC program C7 configuration     Only use trend request area 2 for trends with  switch buffer     Change interface or configure area pointer   Restrict the configuration     Change configuration and retransfer     A 17    System Messages       Message  709       710    711    712  713    714    715    716    717    718    719    720    721    722    723    724    725    726    A 18       Cause Remedy        Internal error   Invalid mailbox type   Internal error   Incorrect operating mode   Internal error   Display status invalid   No submenu configured   Internal error   No special operator object configured   Internal error   Menu number invalid     Internal error       Mailbox type of received message is incorrect   Internal error    The setting for the ma
186. output 7  1 0 Q1 0 Digital output 8  1 1 Q1 1 Digital output 9  1 2 Q1 2 Digital output 10  1 3 Q1 3 Digital output 11  1 4 Q1 4 Digital output 12  1 5 Q1 5 Digital output 13  1 6 Q1 6 Digital output 14  1 7 Ql1 7 Digital output 15                C7 633 C7 634 Control Systems  2 10 C79000 G7076 C634 01    Installation and Setup Guidelines for the C7       Analog Inputs X14    Table 2 3 Pin Assignments of the Analog Inputs                                                                                  Pin No  Explanation   All U Analog input 1  signal input for voltage  All I Analog input 1  signal input for current  AIl M Analog input 1  reference potential  AI2 U Analog input 2  signal input for voltage  AI2 I Analog input 2  signal input for current  AI2 M Analog input 2  reference potential  AI3 U Analog input 3  signal input for voltage  AI3 I Analog input 3  signal input for current  AI3 M Analog input 3  reference potential  Al4 U Analog input 4  signal input for voltage  AI4 I Analog input 4  signal input for current    Not connected    Not connected    Not connected   Analog Outputs   X13 Table 2 4 Pin Assignments of the Analog Outputs   Pin No  Explanation   Aol sid Analog output  signal output for voltage current   MANA Analog output  reference potential  AO2 Analog output  signal output for voltage current  MANA Analog output  reference potential  A03 Analog output  signal output for voltage current  MANA Analog output  reference potential  AO4 Analog output  sign
187. ply Voltage  and the Operating  Mode    Behavior of the Analog I O    This section decribes     e The dependency of the analog input and output values on the supply  voltages of the analog I O and the operating modes of the C7     e The behavior of the analog I O depending on the position of the analog  values in the respective value range     e The influence of errors on the analog I O     The input and output values of the analog I O are dependent upon the supply  voltage of the analog I O and the operating mode of the C7     The triggering of a diagnostic interrupt is dependent upon the parameter  assignment     Table 7 12 gives an impression of these inter relationships                          Table 7 12 Dependencies Between Analog Input and Output Values upon the Operating State of the C7 and upon  the Supply Voltage L   Operating state of C7 Input value of the analog input Output value of the analog output  POWER ON   RUN Process value C7 value  STOP Process value Substitute value or   Retain last value   configurable    POWER OFF   STOP   0 signal                      Influence of the  Value Range on  the Input    The behavior of the analog input is dependent upon the position of the input  values within the value range  Table 7 13 illustrates this dependency for the  analog input values                          Table 7 13 Behavior of the Analog Input Depending on the Position of the Analog  Input Value in the Value Range  Process Value lies in   Input Value Diagnosti
188. potential of the analog measuring circuit    Figure 7 3 shows the connection of voltage transducers to an isolated analog  input                                                          Alx U  oO Alx M    o    Alx U   ADC  __   gt   O Alx M   S   C7 CPU  Mana  Figure 7 3 Connecting Voltage Transducers to an Isolated Analog Input    4 wire transducers possess a separate voltage supply  Figure 7 4 shows the  connection of current transducers as 4 wire transducers to a non isolated  analog input                                                                             Transducers  e g   pressure gauges  Alx U  on  t a  P Do Alx M o  24 Alx U  ADC   _    gt   P 32 i Alx M   9  C7 CPU   5 m  L  M             Figure 7 4 Connecting 4 Wire Transducers to a Non Isolated Analog Input    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Analog I O       7 3 Connecting Loads Actuators to the Analog Output    Overview You can provide loads actuators with current or voltage using the analog  output     Cables for Analog To reduce electrical interference  you should use twisted pair shielded cables   Signals for the analog signals  The shield of the analog signal cables should be  grounded at both cable ends  If there are potential differences between the  cable ends  an equipotential bonding current can flow over the shield  This  can interfere with the analog signals  In such a case  you should ground the  shield at one end of the cable only     Isolated Analog The analog output
189. present on the C7 for connecting  it to other devices  The connector assignments are listed in the following  tables                                               Functional  ground  RS 232 TTY  serial interface   X2   Input 24 VDC  Author  X1  W             Figure 2 10 C7 633 DP and C7 634 DP  View with Power Supply and RS 232 TTY                               SerialInterface  24 VDC Input X1 Pin No  Explanation   C7 Power 1 7  Suppl  pply  2 M  ground M24V   3 A   authorization input   4 AI ground  authorization input   Note    When connecting the power supply  observe the information on the 24 V DC  power supply listed in the Technical Specifications in Appendix B 1       C7 633 C7 634 Control Systems  C79000 G7076 C634 01 2 13    Installation and Setup Guidelines for the C7                                                    RS 232 TTY  X2  Pin No  Explanation  Serial Interface 1 C7 ground  reference potential   2 DRxM  3 RxD  4 TxD  5 CTS  6 DTxP  7 DTxM  8 C7 ground  reference potential   9 DRxP  10 RTS  11     12 C7 ground  reference potential   13     14     15 C7 ground  reference potential              Functional Ground Connect the functional ground terminal dy  see Figure 2 10  to the cabinet  ground using a cable lug and a cable with a minimum cross section of    4 mm2  taking the shortest route        IM   X5        Memory Card   X6           MPI   X3                                                                        Analog Input  X14     Analog Output  X13   
190. put values will be erroneous  since  individual pulses will be suppressed by the input filter  of 10 kHz      The relative measuring discrepancy gets smaller as the period time increases     These thresholds are applicable for a transducer that generates one pulse per  revolution  If you use transducers that generate several pulses per revolution   then you must reconsider the threshold frequencies     The counter value FF FF FFy indicates a shortfall of the lower threshold   Diagnostic messages will not be generated in this case     In order to use the universal input 3 as a period time counter  this must also  be assigned as such  parameters   This is performed with the STEP 7  application Configuring Hardware     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    8 21    C7 Universal Inputs       8 2 7 External Gate Counter    Gate Time  Measurement    Start Bit    16 Bit and 24 Bit  Counters    Default Value    Counter Overflow    8 22    You can count pulses within a gate time with an external gate counter  The  counting direction is forwards  The counting process starts at zero with a  rising edge on the external gate pin and ends with a falling edge     After the falling edge  a hardware interrupt can be generated and the new  count value is written to the output area     Figure 8 6 illustrates gate time measurement with an external gate counter        Overflow    Upper count limit    Current counter status    Zero       External gate pin ff EEE                  
191. r  program  CPU STOP mode     FEPROMs correspond to the electrically erasable EEPROMs  but can be  erased much faster  FEPROM   Flash Erasable Programmable Read Only  Memory   They are used on the memory cards         Flash EPROM    Grounding with the sole purpose of ensuring the intended purpose of the  electrical resources  Function grounding has the effect of short circuiting  interference voltages that would otherwise have an impermissible influence  on the resources     A function module  FM  is a module which relieves the CPU in the S7 300  and S7 400 programmable logic controllers of time critical and  memory intensive process signal processing tasks  Function modules  generally use the internal communication bus for high speed data exchange  with the CPU  Examples for function module applications are  counting   positioning  closed loop control     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Glossary       G    Ground    Ground  Verb     H    Hardware Interrupt    Information  Function    Interrupt    Isolated    Conductive ground whose electrical potential at any point can be taken as  zero  In the area of grounding electrodes  the ground can have a potential  other than zero  This is frequently referred to as the    reference ground        To connect an electrically conductive part with the grounding electrode  one  or more conductive parts that have very good contact to ground  by means of  a grounding point     A hardware interrupt is triggered by inter
192. range   DTR    L PERCENT     R    LLL     add offset   DTR     R    RND     convert floating point number to     32 bit integer   T channel     output result    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Analog I O       Calling FC127 in  OB1    An example for calling FC127 is described below     Before calling the function  the range limits and the setpoint must be  reassigned to memory double words  This is necessary to enable using  variable values  Normally     upper limit    and    lower limit    are fixed values   the    setpoint    is variable     This can be achieved by setting the    upper limit    and    lower limit     parameters in the declaration section of FC127 to    REAL     To enhance  flexibility in a test environment  this variant has been omitted     Sequence of Statements in OB1    ORGANIZATION_BLOCK OB1  var_temp  start_info array  0  19  of byte   end_var  BEGIN    L  10 0   T MDO     L 10 0   T MD4     L22   T MD8     CALL FC 127    lower limit  MDO0   upper limit  MD4   setpoint  MD8   channel  PQW272        END_ORGANIZATION_BLOCK    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    7 41    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Universal Inputs       Chapter Overview Section    8 1       Description       Universal Inputs       8 2    Use and Function of the Universal Inputs       8 2 1    Addressing Universal Inputs       8 2 2    Assigning Parameters to the Universal Inputs       8 2 3    Interrupt Inputs an
193. ration section of FC126 to    REAL     To enhance  flexibility in a test environment  this variant has been omitted     Sequence of Statements in OB1    ORGANIZATION_BLOCK OB1  var_temp  start_info array  0  19  of byte   end_var   BEGIN     L10 0   T MD4     L  10 0   T MDO     CALL FC 126    lower limit  MD0   upper limit  MD4   channel  PIW272  actual value  MD8      END_ORGANIZATION_BLOCK    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Analog I O       7 7 2 Block for Scaling Analog Output Values    Function of Block    Summary of  Formulae    FC127 Sequence  of Statements    The FC127 block is used to convert the setpoint to be specified in a memory  double word as a floating point number to the corresponding hexadecimal  pattern   analog value  which must be output to a peripheral output word   For this purpose  a simple calculation using the rule of three is programmed     1  First  the setpoint is related to the total range  RANGE_DEC  resulting  from the difference  upper limit   lower limit      The result is a percentage of the absolute setpoint value  This is identical  in the floating point number and in the hexadecimal representation     2  Then the total range  RANGE_HEX   resulting from the difference  UL    LL  is calculated in hexadecimal representation  depending on whether  the measuring range is unipolar or bipolar     3  Now the percentage  PERCENT  calculated before is related to the total  hexadecimal range  RANGE_HEX      The result is th
194. re 4 9 Example of a C7 CPU Program    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    4 31    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Communication Functions    Chapter  Overview                Section Description Page  5 1 Introduction 5 2  5 2 Communication between C7 S7 Stations  MPI Subnet  5 3  53 Communication within a C7 S7 Station 5 5        PROFIBUS DP or IM              C7 633 C7 634 Control Systems    C79000 G7076 C634 01    5 1    Communication Functions       5 1    5 2    Introduction    The C7 offers the following methods of communication     e Communication between C7 S7 stations    The controller can exchange data with other stations in the MPI subnet  via the multipoint interface and the communication functions  X_SEND X_RCV  X_GET  X_PUT  SFC65  SFC66  SFC67  SFC68  and       global data     e Communication within a C7 station    The controller can read or write data to and from intelligent modules via  the PROFIBUS DP interface or IM interface and the communication    functions I GET  SFC72  and I_PUT  SFC73                                 S7 300 modules  e g  FM    ih                                                                                              OO0o0000  200000  Oooo _ a  2000 ag  000    ooo       oo oo    mi              IM 361  C7 ET 200 with  7 g e g  FM 355  oeenn PROFIBUS DP  C7 MPI    S7 300 station    cel       oo                            These communication system functions  SFCs  are described below  You wil
195. recipes     Check interface parameters     x   1  8  Change the configuration of the  process link and retransfer    x   9  13  Change configuration of area  pointer and retransfer    x 14  Restrict configuration and  retransfer    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    System Messages       Message       668    669    670    671    672    681    682    683    684    685  701    702  703  704    705    706    707    708    Cause       Incorrectconfiguration    Meaning of variables    1  Incompatible PLC types configured   2  No PLC configured     3  Incorrect transmission rate configured     Too many actual values   gt  512  have been configured for    cyclic reading in a screen variable     Too many variables requested simultaneously     Configuration of message variables incompatible   Differences between configuration and PLC     Message not configured     Overload caused by too many variables  setpoints actual  values      Fault in connection between the C7 and PLC     Incorrect interface parameters configured     Configuration error   upper limit   lower limit    Non existent trend switch buffer requested     Illegal job issued to send task for parallel interface     Internal error    Incorrect assignment of    head     gt  res    when receiving  variable     Job can not be executed   Flash memory full     Incorrect CPU specified under the menu command     System        Parameters    button in the dialog box which  appears     An acknowledged message cann
196. rface  Serial cable  printer cable  See catalog C7     Printer  ST80 1  Serial cable  transfer ProTool  See catalog C7  lt  gt  PG PC  ST80 1       IM 361       IM 361 cable                   C7  lt   additional  T O  S7 300        2 16    C7 633 C7 634 Control Systems  C79000 G7076 C634 01       Installation and Setup Guidelines for the C7       2 5 Connecting a Programming Device PC to a C7    Procedure    Cable Lengths    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    You can connect the programming device or a PC to the multipoint interface   MPI  of the C7 using a preassembled programming device cable     Alternatively  you can make up the connecting cable yourself using the  PROFIBUS bus cable and bus connectors     Figure 2 13 shows the components required for connecting a programming  device PC to a C7        C7                oo       00000000    0000000   gt                                     Programming device  cable  RS 232 TTY     Programming device cable  MPI     Figure 2 13 Connecting a Programming Device PC to a C7                                  PG PC          The C7 operator panel is loaded via the RS 232 TTY interface  The  connection to the C7 CPU is made via the multipoint interface     You will find information on the possible cable lengths and what you should  observe when setting up an MPI or PROFIBUS DP network in the manual    no     2 17       Installation and Setup Guidelines for the C7       2 6 Connecting a Programming Device PC to Se
197. rgin gives an  overview of the contents of each section     Following the appendices  there is a glossary containing definitions of the  important technical terms used in the manual     At the end of the manual  you will find a detailed index giving you fast  access to the information you seek     Standards The C7 control system conforms to the standards listed in Appendix B 1     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    vii       Preface       Further Support If you have any questions about using the C7 control systems described in  this manual and cannot find an answer here  please contact the Siemens  representative in your area  You can obtain a list of addresses of Siemens  representatives worldwide from the SIMATIC Customer Support Hotline     If you have any questions or comments on this manual  please fill out the  remarks form at the end of the manual and return it to the address shown on  the form  We would be grateful if you could also take the time to answer the  questions giving your personal opinion of the manual     ee C7 633 C7 634 Control Systems  Vill C79000 G7076 C634 01    Preface       SIMATIC Customer Open round the clock  world wide     Support Hotline    S    Ga                            Nuremberg   SIMATIC BASIC Hotline  Localtime  Mo  Fr  7 00 to 19 00  Phone   49  911  895 7000    Fax   49  911  895 7002  E Mail  simatic support    nbgm siemens de  GMT   1 00    SIMATIC Premium Hotline     Calls charged  only with  SIMATIC Card     Ti
198. rogrammable Controller  Quick Start     70 _ Manual  S7 300 Programmable Controller   Hardware and Installation     71 _ Reference Manual  S7 300 and M7 300  Programmable Controllers   Module Specifications     72  Instruction List  S7 300 Programmable Controller     230  User Manual  Standard Software for S7   Converting S5 Programs     232  Manual  Statement List  STL  for S7 300 and S7 400   Programming     233  Manual  Ladder Logic  LAD  for S7 300 and S7 400   Programming     235  Reference Manual  System Software for S7 300 and S7 400   System and Standard Functions     236  Manual  Function Block Diagram  FBD  for S7 300 and S7 400   Programming     280  Programming Manual  System Software for M7 300 and M7 400   Program Design    C7 633 C7 634 Control Systems  C79000 G7076 C634 01 D 1    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Glossary    C7 633 C7 634 Control Systems  C79000 G7076 C634 01 Glossary 1    Glossary       A    Analog I O    Assigning  Parameters    B    Backup Battery    Backup Memory    Bus    C7    C7 CPU    C7 OP    Glossary 2    The analog I O converts analog process values  for example  temperature   into digital values that can be processed by the C7 CPU or converts digital  values into analog manipulated variables     Assigning parameters means setting the behavior of a module     The backup battery guarantees that the user program in the C7 CPU is stored  safe from power failures and that data areas  bit memory  timers  and  counter
199. rol Systems  C79000 G7076 C634 01    C7 Analog I O       Analog Output Table 7 5 provides an overview of the analog output parameters   Parameters    Table 7 5 Analog Output Parameters                      Parameter Analog Output  Value Range Preset Value  Basic setting  e Enable diagnostic interrupt Yes No No  Diagnostics  e Enable Yes No No        Configuration parameter  assignment error        Substitute value switched on          Substitute value   e Idle power and voltage  value 0  Yes No Yes   e Retain last value Yes No No   e Global substitute value 9400y   6C00H 0   Output range   e Type of output Deactivated Voltage  Voltage  Current   e Output range  10V  10V   20 mA  4 to 20 mA                   C7 633 C7 634 Control Systems  C79000 G7076 C634 01 7 25    C7 Analog I O       Parameter  Characteristics of  Analog Outputs    7 26    Table 7 6 shows which parameters    e Are static or dynamic    e Can be set                             Table 7 6 Parameter Characteristics of Analog Outputs  Parameter Static Dynamic Effective Range   Enable diagnostic interrupt   Static Analog inputs    Analog outputs   Universal inputs   Enable diagnostics Static Outputs   Substitute value   e Idle power and voltage   Dynamic Outputs    value 0  Dynamic Outputs   e Retain last value Dynami   Outp  ts   e Global substitute value   Type of output Dynamic Outputs   Output range Dynamic Outputs                C7 633 C7 634 Control Systems  C79000 G7076 C634 01       C7 Analog I O       7 6
200. rostatic Discharge Damage    C 4 Taking Measurements and Working on ESD Modules                  C 6  C 5 Packing Electrostatically Sensitive Devices                 0000e000e C 6    C7 633 C7 634 Control Systems a  C79000 G7076 C634 01 XIII    Contents       D Literature on SIMATIC C7 and S7         0 0c ccc eee eee  RIGGS AY oosa anaa RAN ESAE E E ESE  LC  E E E E ee    xiv    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Product Overview    In This Chapter       Accessories for  Operating a C7  Control System    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    This chapter introduces the different variants of the device  A brief overview  of the scope of functions of the device helps to give you a first impression of  the C7 control systems     In addition  this chapter also explains which other components you can  connect to a C7 control system     To operate a C7 control system you will require the following accessories     Programming device  PG  or PC with multipoint interface  MPI    An MPI cable   A serial cable  RS 232 TTY     A 24 V power supply    The following programs must be loaded on the programming device or  PC         The STEP 7 or STEP 7 Mini applications        The configuration tool ProTool or ProTool Lite    1 1    Product Overview       1 1 Product Variants    Overview The C7 devices are available in the following variants   e  7 633 P  C7 633 DP  e C7 634 P  C7 634 DP  C7 633 P  The C7 633 and C7 633 DP control systems have a SIMATIC 
201. rrupt bit in the interface area   it also sets the corresponding bit in the control and checkback bits   You therefore need only scan this bit to detect a change in the cyclic  interrupt bit  Following evaluation  the bit has to be reset in the S7  program   Description of The following diagram shows the layout of byte n 1  Afterwards follows the  Byte n 1 description of the individual bits   Address  n 1  7 6 5 4 3 2 140  C7 OP ready bit  C7 OP operating mode  C7 OP startup    C7 633 C7 634 Control Systems  C79000 G7076 C634 01          4 15    Communication between the CPU and the Operator Panel       Description of  Byte n 3    4 16    Bit 0    Bit 1    Bit 2    C7 OP startup  1   C7 OP has been started    Bit 0 is reset by the C7 OP following startup  You can reset the bit  in the C7 CPU program and thus recognize when the C7 OP is  being restarted     C7 OP operating mode  1  C7 OP in offline mode  0   C7 OP in normal mode    Bit 1 is set if the operator switches the C7 OP to offline  The bit  has a value 0 in an online condition     C7 OP ready bit   The C7 OP inverts the ready bit within   second  In the C7 CPU  program  you can recognize whether a connection to the C7 OP  exists     Byte n 3 serves to synchronize the transfer of data records and indirect  variables  The meanings of the individual bits are described below  Exactly  how the transfer works is described in Section 4 8 3     Bit 0 1   Data mailbox is disabled  set only by the C7 OP     Bit 1  Bit 2  Bit 3 
202. rsion time channel 3          Y  Conversion time channel 4      A                               Figure 7 19 Cycle time of an Analog Input    If the interrupt cycle mode is assigned parameters  the new measuring cycle  is not started unless the time interrupt is initiated  see Section 7 6 3      C7 633 C7 634 Control Systems    C79000 G7076 C634 01    7 31    C7 Analog I O       7 6 8 Conversion  Cycle  Settling and Response Times of Analog    Outputs    Introduction    Conversion Time    Cycle Time    Settling Time    Response Time    7 32    This section contains the definitions and relationships between relevant times  for the analog outputs     The conversion time includes the acceptance of the digitalized output values  from the internal memory and the digital analog conversion     The cycle time  i e  the elapsed time before an analog output value is next  converted is equal to the time for the conversion of the analog outputs     The settling time  tz to t3   that is the elapsed time between the creation of  the converted value and the attainment of the specific value at the analog  output  is load dependent  You must differentiate between resistive   capacitive  and inductive load     The response time  that is the interval between providing the digital output  value and attaining the specified value at the analog output  is between  100 us and 2 ms     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Analog I O       7 6 9    Overview    Influence of the  Sup
203. rupt triggering modules as the result  of certain events in the process  The hardware interrupt is signaled to the C7  CPU  Depending on the priority of the interrupt  the corresponding  organization block is then executed     The information functions of the STEP 7 programming software permit the  display of status information from the CPU  for example  information about  memory space or cycle time statistics      SIMATIC S7 recognizes 28 different priority classes which control the  processing of the user program  These priority classes include interrupts  such  as hardware interrupts  When an interrupt occurs  the relevant organization  block is called automatically by the operating system in which the user can  program the required reaction to the interrupt  for example  in a function  block  FB       In isolated I O modules  the reference potentials of the control circuit and the  load circuit are electrically isolated by  for example  optocouplers  relay  contactors  or transformers  Input output circuits can be connected to  common potential     C7 633 C7 634 Control Systems    C79000 G7076 C634 01    Glossary 5    Glossary       Load Memory    Memory Card    Memory Reset   MRES     Memory    Submodule    MPI    MPI Network    Multipoint  Interface    Glossary 6    The load memory is part of a programmable module  It contains objects  created by the programming device  load objects   It can be either a plug in  memory card or an integrated memory  In SIMATIC M7 the loa
204. s  10 3 Dependencies and Reactions of the Diagnostic 10 8  Evaluation                   C7 633 C7 634 Control Systems  C79000 G7076 C634 01 10 1    VO Diagnostics       10 1 Diagnostic Messages    Overview    Advantages    Diagnostic Events    C7 CPU I O  Diagnostics    Assigning I O  Diagnostic  Parameters    10 2    The C7 CPU possesses a diagnostic buffer in which detailed information is  provided for all diagnostic events in the order of their occurrence  The  contents of the diagnostic buffer is preserved even after a memory reset on  the C7 CPU  The diagnostic entries in the diagnostic buffer can be read and  interpreted by the user program     Errors in the system can be evaluated after a long time delay using the  diagnostic buffer in order be able to identify the cause of a STOP  for  example  or to trace and assign the occurrence of individual diagnostic  events     Diagnostic events can be    e Errors in an I O  module    e System errors in the C7 CPU   e Change in operating modes  for example  from RUN to STOP     e Program errors in the CPU program    The I O diagnostics are divided into two groups     e Standard diagnostics  general malfunction of the C7 analog I O module  and universal inputs     e Module specific diagnostics    The standard diagnostics are always entered into the diagnostic buffers of the  C7 CPU after the occurrence of a diagnostic interrupt  The requirement is  that the module is able to diagnose     The module specific diagnostics provide d
205. s  No further parameters for period time counter          No further parameters for external gate counter           24 bit                                                  Digital Inputs    If the universal inputs are deactivated in the parameter block  default  setting   then the inputs react as digital inputs  However  no automatically  updated process image will be made available to the user program for these  inputs  The current state of the input can only be read by means of a direct  T O access   See Table 8 2 or 8 3 for address      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    8 11    C7 Universal Inputs       8 2 3    Introduction to  Interrupt Inputs    Introduction to  Counter Interrupts    Assignable Events    Hardware Interrupt  OB    Declaration  Section of OB40    Additional  Information Z1    8 12    Interrupt Inputs and Counter Interrupts    If universal inputs are used as interrupt inputs  then a hardware interrupt will  be generated every time there is a corresponding  assigned  edge at one of  the inputs     The universal input counters can be assigned parameters for hardware  interrupts  In this case  a forward counter triggers a hardware interrupt when  it reaches the comparison value  and a backward counter when it passes  through zero     The parameter assignment can be performed with STEP 7 application  Configuring Hardware or with one of the system functions SFC55 to SFC58     If a hardware interrupt is sent from the I O to the C7 CPU  then 
206. s remain retentive     The backup memory backs up memory areas of the CPU without the need for  a backup battery  The memory backs up a programmable number of timers   counters  bit memory  and data block bytes     A bus is a transfer medium that connects two or more nodes together  Data  transfer can be serial or parallel  via electrical conductors or fiber optic  cables     The C7 control system integrates a SIMATIC S7 300 CPU  a SIMATIC OP   the possibility of connecting to the S7 300 I O  for example  via an  integrated IM 360   and a communication connection  for example  ASi  master  PROFIBUS DP master slave      The C7 CPU is the central processing unit for the C7  complete with  processor  arithmetic unit  memory  operating system  and interfaces for  programming devices  The C7 CPU is independent of the     gt  C7 OP  The   C7 CPU has its own MPI address and is connected to the C7 OP via the MPI   multipoint interface      The C7 OP handles the OP functions  It is independent of the     gt  C7 CPU and  continues to operate  for example  if the C7 CPU goes into STOP mode  The  C7 OP has its own MPI address and is connected to the C7 CPU via the MPI   multipoint interface   It is via the MPI that the C7 OP is connected to a  configuring computer  programming device PC      C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Glossary       Communications  Processor    Complete Restart    Configuration  Memory    Configuring    CP    Cyclic Interrupt    D    Diagnosti
207. se time  analog output  RS 232 TTY interface  2 14    RS 485 re peater  1 8   RUN   3 5 3 7  RUN P  3 5    S   S7 300  CPU    S7 400  CPU    Screen number area  4 12     Screen selection  control job  Select contents  control job  4 25   Select count  edge  8 10    Select recipe  control job  4 29     Select special screens  control job  4 25   Set contrast  control   Set date  control job  4 26     Set password level  control job   4 27   Set time  control job    Settling time  analog output  7 32             Index 5    Index       SF   Shielding  2 20   Shielding clips  2 22   SHIFT keys   Sign conventions  analog ranges  7 27    Signal modules  SM   1 6   SIMATIC S7  alarm messages   control jobs  4 17  date and time  4 15    event messages   function keyboard image  4 10                    images   LED image  4 11     recipes  4 19   screen number area  4 12   system keyboard image   transferring data records   user version  4 13    SIMATIC S7 connection  cyclic interrupt bits   4 15   SIMATIC S7 coupling  control and checkback bits  4 15   coupling identifier   date and time  4 17   job area  4 17   OP operating mode  4 16   OP startup  4 16   ready bit  4 16   SIMATIC TOP Connect   Size  labeling strips   SLIDE633 DOC  file   SLIDE634 DOC  file  2 2  Slot number  8 20  Spare parts     Special screens  screen number area  4 12   Start counter  8 15   State  universal input   Static  parameter  7 21  Status display  DI DO  3 6   Status indicator  LEDs   STOP    Stop count
208. set  the input responds like a normal digital input  see  Section 6 1   The only difference here is that the current process signal is not  automatically given to the control program but must first be read in from the  VO     These universal inputs enable you to capture counter pulses up to a frequency  of 10 kHz  The counter can count either up or down  You can also assign  parameters to the count edge     This enables you to count pulses within a programmed length of time  From  this you can calculate a frequency  lt  10 kHz     This function enables you to count fixed timer ticks between two positive  edges  From this you can calculate the duration of an interval period     This function enables you to count pulses within a gate time that starts with a  rising edge on the external gate pin and ends with a falling edge     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Universal Inputs       Technical  Specifications of  the Universal                      Inputs  Specific Data of the Universal Inputs  Number of inputs 4   3  gate pins   Cable length  shielded 1000 m   unshielded 600m   Voltages  Currents  Potentials  Nominal load voltage L   24 VDC  Number of simultaneously 4  3  gate pins   energizable inputs  Galvanic isolation No       Function  Interrupts  Diagnostics          Interrupts    Counter functions    Max  counter frequency  Diagnostic function    Counters  e Principle  e Counter range C1 C2    e Counter range C3    e Limit value  setpoint   specifi
209. sociation  CSA  acc  to Standard C22 2 Number 142   FM approval  FM standards No  3611  3600  3810 Class I  Div  2 Group A  B  C  D  ISO 9001 certification of manufacture and development       Operational ambient    temperature   e when mounted vertically  through 455   e when mounted horizontally  through 455    e     storage transport    tested to IEC 68 2 1  IEC 68 2 2     0 to  50  C        0 to  45  C     20  C to  70  C       Relative humidity  e operation  e     storage transport    tested to IEC 68 2 3  5 to 95   at 25  C  no moisture condensation   5 to 95   at 25  C  no moisture condensation        Air pressure  e operation  e     storage transport    795 1080 hPa  corresponds to  1000 m to  2000 m   660 1080 hPa  corresponds to  1000 m to  3500 m        Isolation        yes  digital inputs outputs  analog inputs   outputs  not for universal inputs   500 V DC       Supply voltage  e rated voltage  Vyn   e permissible range    e polarized input voltage  e open circuit   can be jumpered     e current consumption  Iy     typ    max     e power loss    Safety extra low voltage  SELV   24 VDC   20 4 VDC to 30 2 VDC   Note    The C7 has no integrated protection against high energy glitches in ms range  surges      yes     gt  20 ms    550 mA  1A  12 W          Electromagnetic compatibility     EMC   e Limit class for emitted  interference       Class B to EN55022  corresponds to CISPR 22           B 2    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Technical Spe
210. ss        The OP sets bit 3 to 1    data transfer terminated         The data record or the variable can be evaluated in the control program   You then have to acknowledge in the control program whether the transfer  was correct or faulty    Correct  bit 2 is set to 1   Faulty  bit 1 is set to 1       Reset bit 0 in the control program              The C7 OP resets the bits set in step 3 and step 4        C7 633 C7 634 Control Systems    C79000 G7076 C634 01    4 21       Communication between the CPU and the Operator Panel       4 8 4 Synchronization during Transfer   Special Cases    Transfer C7 OP  gt  Make sure that the values of the data record are only read by the internal data             C7 CPU medium  The current values are not relevant to the data record transfer    Initiated by  C7 CPU  z  Step Explanation  1 In the control program  request the data mailbox disable by setting bit 6 to  L  2 If a disable is possible  the C7 OP sets bit 0 to 1 and simultaneously resets  bit 6 to 0   3 In the control program  inform the C7 OP via the data mailbox which data    record it should transfer  To do this  enter the identifications of the data  record in the data mailbox        4 Set bit 4 to 1    request data via data mailbox  in the control program        The C7 OP reads the data mailbox        6 The C7 OP resets bit 4 and transfers the data record or the variable as  described for case 1 from step 2 onwards                          Transfer Direct transfer from the C7 CPU 
211. ss  DI X4   lo     Address 287 3 Byte 287  GATE 1        GATE 2 o  GATE 3 o      Pin number  O Inputs marked with this      hatching are not relevant to  this example  Figure 6 4 Digital I O Addresses    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    6 9    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Analog I O    Chapter  Overview                                                                                  Section Description Page  Val Analog Technology 7 2  7 2 Connecting Transducers to Analog Inputs 7 3   7 2 1 Connecting Voltage and Current Sensors 7 6  73 Connecting Loads Actuators to the Analog Output 7 7  7 4 Analog Input Function 7 10   7 4 1 Characteristics and Technical Specifications of the Analog   Input Module  T5 Analog Output Function  7 6 Use and Function of C7 Analog I O 7 18   7 6 1 Addressing the Analog I O 7 18   7 6 2 Timing of the Analog I O 7 19   7 6 3 Assigning Parameters to the Analog I O 7 21   7 6 4 Representation of Analog Values   7 6 5 Representation of Analog Values for the Measurement   Ranges of the Analog Inputs   7 6 6 Representation of Analog Values for the Output Range of 7 30   the Analog Outputs   7 6 7 Conversion and Cycle Time of the Analog Inputs 7 31   7 6 8 Conversion  Cycle  Settling  and Response Times of   Analog Outputs  7 6 9 Behavior of the Analog I O  7 6 10 Time Interrupt Interrupt Cycle 7 35  TT Examples for Programming the Analog I O 7 36  7 71 Block for Scaling Analog Input Values 7 36  TAIZ Blo
212. supply  2L e  gt     424V  2L  ie   Do o 0t00 7  2M    Ground  3L    je  aL  We  gt      24V  3M pio 1 0 to 1 7  z Ground  o     Channel number  o L    PinNo   O Ges  Parts with this shading  f are not relevant to this  Pin No  example   Figure 6 2 Terminal Connection and Block Diagram of the Digital Outputs  Connection of If the maximum permissible current is utilized for the load power supply   Load Power both pins should be wired to avoid overloading of the contacts  For relatively    Supply low currents  wiring of only one  24V pin is sufficient     C7 633 C7 634 Control Systems  6 6 C79000 G7076 C634 01    C7 Digital I O          Specific Data of the Digital Output Function    Data for Selecting an Actuator             Number of outputs 16   Cable length   e Unshielded 600 m   e Shielded 1000 m  Voltages  Currents  Potentials   Nominal load voltage L   24 VDC 0 5A  Total current of the outputs    per group    e Upto20  C 4A   e Upto45  C 2A   Galvanic isolation Yes  optocoupler   e In groups of 8    Insulationresistance    Urso   500 VDC          Status  Interrupts  Diagnostics  Interrupts    Diagnostic functions    No          C7 633 C7 634 Control Systems  C79000 G7076 C634 01       Output voltage  e At   l    signal  Output current    e At   l    signal  nominal value    Permissible range   e At   0    signal  quiescent  current    Lamp load    Parallel switching of 2 outputs    e For logic operations    e For enhancing  performance    Activating a digital input  Max 
213. t that  maximum nesting level has been exceeded     Screen can not be constructed or selected because there is  not enough memory available     Message 522 triggers a restart with memory optimization     No text found   Object class does not exist   Illegal address     Loop through operation is set on the C7     Access to recipe data is not possible at present   Recipe does not exist    File does not exist    Data record not present    Data record can not be loaded    Information message  data record memory is full   Floppy connection unclear    Information message  disk is full    Disk access error    Disk transfer error     Information message  disk is blank     Simultaneous accessing of data record by job and operator     The data records in the RAM for recipe no  x contained  errors and have been deleted     The maximum number of data records has already been  created     Specified variable not available on PLC     An MPI PPI connection to the PLC cannot be established  using the specified station address     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Remedy        Change configuration and retransfer     Change configuration and retransfer     Change configuration and retransfer     Go to Message Level  by pressing ESC key  ifnecessary      You can optimize memory availability by    1  Removing unused fields from the  configuration     2  Configuring the screen with fewer  fields  or splitting it into more than one  screen     3  Creating fewer recipe data rec
214. tailed technical specifications of the digital  inputs     Bottom view of C7  0 0     0  0 1       1  Peal   2   __ Digital inputs  0 3  e 3  0 4     4  0 5     5  0 6     6  0 7 j   7  1 0    0  1 1 je 1  1 2 Jo 2  1 3 Jo 3  1 4  o 4 hy  1 5 Jo 5 24 V  1 6 Jo 6  l    _   1 7  o 7 F  IL  24 V for DI Ea  1M Ground for DI JE  TM  Minternal  Block diagram         Channel number  O  Parts with this shading  Ls bin are not relevant to this  maxo  example              Figure 6 1 Terminal Connection and Block Diagram of the Digital Inputs    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Digital I O          Specific Data of the Digital Input    Data for Selecting a Sensor             Number of inputs 16   Cable length   e Unshielded 600 m   e Shielded 1000 m  Voltages  Currents  Potentials   Nominal load voltage L   24 VDC   Number of simultaneously 16   energizable inputs   Galvanic isolation Yes  optocoupler   e In groups of 16    Permissible potential  difference    e Between the M terminals  of the groups    e Insulationresistance    Urso   500 VDC       Status  Interrupts  Diagnostics    Interrupts       Diagnostic functions       Input voltage   e Nominal voltage  e For    1    signal   e For    0    signal  Input current   e For    1    signal  Input delay time   e Programmable   e At    0    to    1      e At    1    to    0       Inputcharacteristic    Type of input in accordance  with IEC 1131  Connection of 2 wire BEROs    e Permissible quiescent  current    2
215. ter  e     Value range  e Granularity  e  Retentive          0 to 32767 hours  1 hour  yes       C7 633 C7 634 Control Systems    C79000 G7076 C634 01    B 5       Technical Specifications for the C7                                                                Built in configuration memory 128 Kbyte Flash 256 Kbyte Flash 128 Kbyte Flash 256 Kbyte Flash  Display STN LC display  LED backlighting  e Operating life of approx  100 000 h  approx  11 years   backlighting  e Number of lines x 4x 20 4x 20 8x 40 4x 20 4x 20 8x 40  characters per line selectable selectable  e Line height 8 mm 11 mm   6 mm 8 mm 11 mm   6 mm  Keyboard Membrane keyboard   Membrane keyboard   Membrane keyboard   Membrane keyboard  e  Softkeys 4 8 4 8  e Function keys 16 16 16 16  Function keys that can be  configured as softkeys 6 8 6 8  e System keys 24 24 24 24  e Number of LEDs   of which   32 16 32 16 32 16 32 16  two color LEDs  Event messages max    499 999 499 999  e Event message buffer max  256 entries  e Page event messages max  256  Alarm messages 499 999 499 999  e Alarm message buffer max  256 entries  No  of variables in message text   max  8  No  of displays 99  Entries per display 99  Recipes max  99  e Recipe data memory 4 Kbytes 20 Kbytes 4 Kbytes 20 Kbytes  e Data records per recipe max  99  e Entries per data record max  99       Semi graphics    Symbols character sets    According to character set    1       Dynamic objects    Input  output  I O fields  date time fields  symbolic I O 
216. terface MPI yes  2 nodes occupied per device  1x CPU  1x OP   e No  of nodes max    32 nodes  programming device PC  OP  S7 300   per node max  4 active connections to programming device PC or OP  e Transfer rate max   e Distance between 2 187 5 Kbps  neighboring nodes without repeaters  50 m  with 2 repeaters  1100 m  with 10 repeaters in series  9100 m  via fiber optic cables  23 8km  with star coupler or OLM   e  Connectable PG 720 720C  PG 740  PG 760  PC  AT  with MPI connection  programming devices  e Guaranteed connections 1 for connection of programming device  1 for connection of operator panel  8 for program controlled communication  e Free connections 2 for free programming device OP program controlled communication                C7 633 C7 634 Control Systems  C79000 G7076 C634 01 B 3    Technical Specifications for the C7          PROFIBUS DP interface    Integrated   external    1   CP342 5  via IM expansion        CP342 5  via IM expansion        e Transfer procedure    e Transmission rate    e Number of DP stations per  master  integrated or  external interface     e Address area per DP station    PROFIBUS DP to DIN 19245 Part 3  DP master   slave    12 Mbps  64    122 bytes inputs and 122 bytes outputs  configurable in up to 32 address areas  max  32 bytes  per address area       e Modules per ET200M    e Master or slave          8    yes          Programming  Configuration   PLC    e Programming software  e Programming languages    STEP 7  STEP 7 Mini  STL  
217. the hardware  interrupt OB  OB40  will be called on the C7 CPU  The event that called the  OB40 is stored in the start information  declaration section  of the OB40   You must evaluate the additional information Z1 to Z3 in the start  information     The entries in the declaration section of OB40 can be found in Table 8 6  The  bytes that are relevant to the user are hatched in the table                                                     Table 8 6 Declaration section of OB40  Byte Meaning Meaning Byte  0   Class   Identifier   Eventnumber 1  2 Priority class Current OB number 3  4 Data identifier Z2 3 Data identifier Z1 5  6 Additional information Z1 7  8 Additional information Z2 9  10 Additional information Z3 11  12 Time stamp of event 13  14 15  16 17  18 19                   The start address of the C7 I O module is contained in the additional  information Z1  byte 6 7    Address  272 or 01104    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Universal Inputs       Additional  Information Z2 for  Interrupt Inputs    Additional  Information Z2 for  Counter Interrupts    Additional  Information Z3    Evaluation in the  User Program    The consecutive number of the universal input that triggered the hardware  interrupt can be found in byte 8 of the additional information Z2  Byte 9 is  irrelevant     You can find the additional information broken down into bits in Figure 8 2        Byte 8    76543210  GE  LL                            0 0 0 0 1       1  when uni
218. the overflow messages  will automatically be printed out     Clear the buffer or configure a smaller size  for the remaining buffer space     If a printer is connected and buffer overflow  has been configured  the overflow messages  will automatically be printed out     Correct the limit settings     Correct the scale on the C7     A 5    System Messages       Message  250  251  252       253    254    255    256    257    258    259    260  261    262    263    264    265    266    A 6    Cause       You can not switch to the desired operating mode   Error transferring data record to PLC     Function can not be executed as a function of the same  group has not yet been completed  e g   setpoint entry is  active  password list can not be opened      Access to data medium is not possible     The disk must be formatted before a data record can be  saved for the first time     Not enough space on disk for this data record     Not enough system memory available to execute the  desired function     Data record has been stored with a different version stamp  than defined in the current configuration     A parameter record has been selected as a recipe   Parameter records can not be edited directly     Transfer of a data record to the PLC is taking too long   Example     PLC is not acknowledging data record or very large data  records are being transferred     Operating mode of PLC does not match the configuration     The data in this data record are no longer consistent and it  can
219. to the C7 OP always takes place without  C7 CPU     C7 OP coordination  The values are read directly from the address  Variables without   Initiated by addresses are ignored   C7 OP   Transfer The values are written from the C7 CPU into the internal data medium   C7 CPU     C7 OP   Initiated by  C7 CPU  Step Explanation  1 In the S7 program  request the data mailbox disable by setting bit 6 to 1   2 If a disable is possible  the C7 OP sets bit 0 to 1 and simultaneously resets  bit 6 to 0   3 In the S7 program  inform the C7 OP via the data mailbox which data    record it should fetch by entering the recipe number and data record num   ber in the mailbox        4 Set bit 5 to 1    C7 OP is to read data mailbox         When the C7 OP has fetched the data record  it sets bit 7 to 1    C7 OP has  read data mailbox   By setting bit 7  the C7 OP specifies that the read pro   cess is terminated        6 Set bit 7 to 0                 Transfer Using A data record can be transferred from the C7 OP to the C7 CPU via control  Control Jobs job No  70  Control job 69 initiates transfer from the C7 CPU to the C7 OP     C7 633 C7 634 Control Systems  4 22 C79000 G7076 C634 01    Communication between the CPU and the Operator Panel       4 9 Notes on Optimization    Decisive Factors    The structure of the user data areas described in Section 4 3 and the  configured polling times in the area pointers are significant factors for the  update times that can actually be achieved  The update time
220. tomaticrestart    Restart after change of S5 S7 protocol    Restart following selection of different language   Startup due to loop through operation when online   Startup due to loop through operation when offline   SINEC L1 or SINEC L2 parameter has been changed   Restart due to offline operation    PLC not responding  Check program sequence on PLC     Check physical connection     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    System Messages       Message  138  200       201  202  203  204  205    206  207  210    212    213  214    217  218    219  220    221    222    224    225    227    229    230    231    Cause  Data block not available on PLC    Battery power no longer sufficient for internal data buffer  on C7     Battery on memory card is discharged  data may no longer  be readable    Hardware fault in timer    Error reading date    Error reading time    Error reading day     Printer not ready and internal storage of print jobs is no  longer possible     Printer not ready  Print job placed in temporary storage   Buffer printout or print screen function cancelled     Internal error    C7 co ordination area not receivable during startup     Internal error    Bit for changing operating mode has been inverted  erroneously     Offline mode not possible at present     The job number sent by the PLC or configured in a  function field is too large     Overlapping specified actual values     Hardware fault  relay or port could not be set     Print buffer overflow 
221. u can use to influence the characteristics of the analog  input module     The following measurement types are available on the analog input module   e Voltage measurement    e Current measurement    The measurement ranges are   e Voltage    10V  e Current   20mA  4 to 20mA    For the current range 4 to 20 mA  a current of  lt  1 6 mA is interpreted by the  software as a wire break     Measurement ranges for current measurement with 4 wire transducers   e  20mA  e 4to 20mA    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Analog I O       7 4 1 Characteristics and Technical Specifications of the Analog Input    Module    Characteristics    The analog input module has the following characteristics   e 4 inputs  e Measured value resolution      12 bits incl  sign  e Measurement type selectable       Voltage      Current  e Choice of measurement range per input  e Configurable diagnostics  e Configurable diagnostic interrupt  e Configurable interrupt cycle    e Isolated    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    7 11    C7 Analog I O       Terminal Figure 7 7 shows the terminal connection diagram of the analog inputs   Connection  Diagram       View of right hand side of C7                oO Analog inputs Voltage measurement Current measuremt   e Al1 U     EO a  a   e    Alt T 3 8  a6 Al1 M 4 4  3   o Al2 U p cy    eel  fel     az o KO    e 6    S     e Al2 M 7 7  3   e Al3 U ac  g  J p As  O     G AI3 M o        Al4 U T   e w O            Al4M 12    
222. unicates  with other nodes via a network  The node number is assigned to the CPU or  the programming device using the    S7 Configuration    application     In non isolated I O modules  the reference potentials of the control circuit  and the load circuit are electrically connected     A collective term for all functions which  in conjunction with the hardware   control and monitor the execution of the user programs  the distribution of  the operational equipment among the individual user programs  and the  maintenance of the operating mode  for example  MS DOS      1  A parameter is a variable in a STEP 7 logic block  see block parameter   actual parameter  formal parameter     2  A parameter is also a variable for setting the behavior of a module  one or  more per module     Every programmable module has a basic parameter setting when it is shipped  from the factory  but this can be changed by configuring the hardware  There  are two types of parameters  static and dynamic parameters     Dynamic parameters of modules  in contrast to static parameters  can be  changed by the user program during operation by calling an SFC in S7 and  by calling a function in M7  for example  limit values of an analog input  module     Static parameters of modules  in contrast to dynamic parameters  cannot be  changed by the user program  but only by configuring the hardware  for  example  the input delay of a digital input module         Programming device        Programmable logic controller
223. up down counter or  external gate counter   UL Digital interrupt input 24 V DC  or up down counter or  frequency period duration counter or  external gate counter   UI4 Digital interrupt input 24 V DC       Isolation No       Input voltage          e Rated value 24 V DC  e With signal    1    11 to 30 V  e With signal    0     3toS V  Input current with signal    1      typ  2 to 8 mA  Cable lengths  e Unshielded 600 m  e Shielded 1000 m                   C7 633 C7 634 Control Systems  C79000 G7076 C634 01 B 7    Technical Specifications for the C7       Counter frequency max     10 kHz       Counters max   e Principle  e Count range C1 C2    e Count range C3    e Limit value  nominal   default  e Count interrupt up counter  e Count interrupt  down counter  e Enable    3  Edge counting  up  0 to 65535  down  65535 to 0  up  0 to 16777215  down  16777215 bis 0  1 value per counter    On reaching the limit value  On reaching    0       Within the program       Period duration counter max   e Principle    e Count range  e Period duration max     1   Counting fixed time units between two  positive edges   0 to 16777215   8 388 s or 0 119 Hz       Frequency counter max   e Principle    e Count range  e Gate width    1  Counting pulses within a timer period    0 to 16777215  0 1 s  1 s  10 s  selectable        External gate counter max   e Principle    e Count range C1 C2  e Count range C3    Input range  selectable    input  resistance    3   Counting edges within a gate time via 
224. usly  PQB287           Generate hardware interrupt  and reset counter       Requirement is that the option    hardware  interrupt   yes    has been assigned for the counter    When counting direction is forwards  if count  value   comparison value    When counting direction is backwards  if count  value   zero          C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Universal Inputs       8 2 5    Overview    Application    Frequency  Calculation    Measurement  Period    Example of  Frequency  Calculation    Frequency During  First Measurement  Period    Frequency Counters    The universal input 3  assigned as frequency counter  provides you with the  option of continuously counting identical edges within an assigned time  period for a frequency  lt  10 kHz     Calculation of high frequencies     The frequency is calculated from the measured value and the assigned  measurement period     The signal to be measured is to be connected to the universal input 3  see  Sections 8 2 1 and 8 2 2  of the C7  The frequency counter counts the rising  edges of the signal to be measured within the assigned time period     From this  the user program can derive the actual frequency using the  following formula     Number of positive edges  Measurement period       Frequency      You can assign parameters for the measurement period using the STEP 7  application Configuring Hardware  You can choose between the measurement  periods 0 1 s  1 s  or 10 s  The measurement process is imm
225. ustrates the precautions for handling  electrostatically sensitive devices           Conductive flooring material   Table with conductive  grounded surface  Anti static shoes   Anti static coat   Grounded ESD wristband   Grounded connection of cabinet  Grounded chair       oro aod ww                                  C7 633 C7 634 Control Systems  C79000 G7076 C634 01 C 5    Guidelines for Handling Electrostatically Sensitive Devices  ESD        C 4 Taking Measurements and Working on ESD Modules    Use Grounded Measurements may be taken on electrostatically sensitive devices only if   Measuring Devices  Only    The measuring device is grounded  for example  via protective conductor   or    e The tip of the isolated measuring device has previously been discharged  before use  for example  by briefly touching grounded metal parts      C 5 Packing Electrostatically Sensitive Devices    Using Conductive Always use conductive materials for packing modules without a casing and  Material for components  You may also use metal clad plastic boxes or metal containers   Packing Modules Always store ESD modules in conductive packing material     without a Casing    Cover Batteries When packing modules incorporating batteries  cover the battery connections  with insulating tape or insulating material to avoid short circuiting the  battery  Remove the battery if possible     C7 633 C7 634 Control Systems  C 6 C79000 G7076 C634 01    Literature on SIMATIC C7 and S7 D     30  Primer  S7 300 P
226. uted measuring points  To  prevent these potential differences  you must provide equipotential bonding  conductors between the measured value points     In addition  potential differences Uc  static or dynamic  can arise between  the measuring lines AIx M of the input channels and the reference point of  the measuring circuit Mana  However  these potential differences must not  exceed the permitted value  Where it is possible that the permissible value  for Ucp might be exceeded  or where you cannot determine the difference in  potential accurately  you must connect AIx M to Mana     Figure 7 2 shows the principle of connecting non isolated transducers to an  isolated analog input                                                                                                                                              Alx X  Non isolated Alx M  transducers L    Alx X ADC  gt   U    MANA  C7 Ae  Uiso AES      L   2  M          Ground bus  Figure 7 2 Connecting Non Isolated Transducers to an Isolated Analog Input    C7 633 C7 634 Control Systems    C79000 G7076 C634 01    7 5    C7 Analog I O       7 2 1 Connecting Voltage and Current Transducers    Abbreviations and  Mnemonics    Connecting  Voltage  Transducers    Connecting  Current  Transducers as  4 Wire  Transducers    7 6    The abbreviations and mnemonics used in Figures 7 3 to 7 4 have the  following meanings     AIx X  Measuring line AIx I or AIx U  AIx M  Reference potential of the measuring line    Mana  Reference 
227. uts    7 20    The duration of the output cycle does not depend on the number of activated  analog output channels  This is always constant and deactivated channels do  not reduce the output cycle     toutput cycle   4 X t conversion time of a channel   Const        D A conversion of the channels    Output time Output time Output time  of a channel of a channel of a channel      Output cycle    Figure 7 14 Output Cycle when All Analog Output Channels are Activated                            D A conversion of the channels    AO1 AO3 AO4 AO1  AO2 AO2    Output time Deactivated Output time Output time  of a channel channel of a channel of a channel      Output cycle                         Figure 7 15 Output Cycle when Analog Output Channel 2 is Deactivated    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    C7 Analog I O       7 6 3 Assigning Parameters to the Analog I O    Overview    Parameter  Assignment    Assignment of  Parameters for  Characteristics    This chapter contains an overview of the analog I O and their parameters     You set the parameters for the analog I O using the S7 application  Configuring Hardware  A parameter block is generated that contains all the  currently selected I O parameters  After loading this parameter block  the  parameters are not immediately transferred to the analog I O  The C7 CPU  then transfers the parameters to the analog I O after every operating mode  change from STOP    RUN     Alternatively  you can also change some paramet
228. veral Nodes    Overview    Fixed Installation  of Programming  Device PC    2 18    When you connect a programming device or a PC to several nodes  you must  differentiate between two types of configuration     Fixed installation of the programming device or PC in the MPI network    A programming device or PC connected for startup and maintenance  purposes     Depending on the type you require  connect the programming device or PC  to the other nodes as follows              Configuration Type Connection  Fixed installation of the programming The programming device PC is linked  device PC in the network directly into the MPI network  Programming device PC connected for The programming device PC is connected  startup and maintenance to one node via a spur line          With fixed installation of a programming device or PC in the MPI network   you connect the programming device PC via bus connectors directly to the  other nodes in the MPI network     Figure 2 14 shows a C7 network with two C7s  The C7 devices are connected  together by means of a PROFIBUS bus cable                                                                                                                                            o   Lro oa      OO000000   ooooo0o0 cy      Oooo    q ik    0000 m_m o   oo   oo       PG PC    PROFIBUS bus cable                                                                               g  ronm oo       00000000    00000000   0000   m q   0000 m_m o   Oooo   oo    MPI       
229. versal input 1  has triggered hardware interrupt    1  when universal input 2  has triggered hardware interrupt    1  when universal input 3  has triggered hardware interrupt       J  when universal input 4  has triggered hardware interrupt             Figure 8 2 Additional Information Z2    The consecutive number of the universal input that triggered the hardware  interrupt can be found in byte 8 of the additional information Z2  Byte 9 is  irrelevant     You can find the additional information broken down into bits in Figure 8 3                                            Byte 8  76543210  0  0  0  O  oj ojojo 1  1 1  E i when counter input 1  has triggered hardware interrupt  1  when counter input 2  has triggered hardware interrupt  1  when counter input 3  has triggered hardware interrupt  Figure 8 3 Structure of Additional Information Z3 in Declaration Section of OB40    Additional information Z3 is not used and is set to 00004     The evaluation of hardware interrupts in the user program is described in the  manual  280      C7 633 C7 634 Control Systems    C79000 G7076 C634 01    8 13    C7 Universal Inputs       8 2 4 Counters    Counter    Actual Value of  Counter    Counting Up    Counting Down    Exceeding the  Threshold  Frequency    ZN    8 14    The counter calculates the actual value of the count from the count pulses  up  or down      You can assign parameters with the STEP 7 application Configuring  Hardware or with the system functions SFC55 to SFC58 to defi
230. ware for programming SIMATIC  programmable controllers     The Random Access Memory or RAM is a read write memory in which each  memory location can be addressed individually and have its contents  changed  RAM is used as a memory for data and programs     The reference ground is the total of all connected conductive inactive parts of  an operating resource that cannot carry a hazardous touch voltage even in the  event of a fault     Potential from which the voltages of the connected circuits are considered  and or measured     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Glossary       S    Scan Cycle Time    Signal Module    STEP 7    STEP 7  Application    Substitute Value    System  Diagnostics    System Memory    T    Time Delay  Interrupt    The scan cycle time is the time the CPU takes to run the user program once  through  The scan cycle time for analog modules is the time in which all the  channels  input and output channels  are converted and the next conversion  can start     Signal modules  SM  form the interface between the process and the  programmable controller  There are digital input modules  output modules   and in out modules and analog input modules  output modules  and in out  modules     Programming software for creating user programs for SIMATIC S7  programmable controllers     A STEP 7 application is a tool of STEP 7 which is tailored to a specific task     Substitute values are values which are output to the process in the case of  faulty s
231. wing program example  the universal inputs are assigned  parameters as follows     Ul counter C1  UI2 counter C2  UB counter C3  UI4 standard digital input  not used in the example    The three counters are assigned parameters as follows     Interrupt  yes  Counting direction  up  Edge  rising    Execution of block   OB100  1  First  all three counters are stopped on startup     This is necessary so that the counter will start counting from zero after a  complete restart  If this is not required  that is if the counter must  continue after a restart with its    old    value  the counters must not be  stopped     2  After a waiting time of about 10 ms  a comparison value is written for  each counter     This waiting time is required so that the STOP command for the counters  can become effective on the C7 module  In the complete restart OB   OB100   the times are not critical since the cycles are not monitored     3  Immediately after the comparison value has been written  the comparison  values are declared valid and the counters are started     4  OB1  The counter values can be read cyclically in OB1  The counter status bits  are evaluated to ensure that the counters are active  OB1 is ended if not  all counters are activated     If all counters are active  the read counter values are reassigned  This is  an optional feature which can be useful for specific applications  If the  same value must always be used within an OB1 cycle  re assignment is  recommended  for example in
232. wners     Copyright    Siemens AG 1998 All rights reserved    The reproduction  transmission or use of this document or its  contents is not permitted without express written authority   Offenders will be liable for damages  All rights  including rights  createdby patent grant or registration of a utility model or design  are  reserved     Siemens AG   Bereich Automatisierungs  und Antriebstechnik  Geschaeftsgebiet Industrie Automatisierungssysteme  Postfach 4848  D 90327 Nuernberg    Disclaimer of Liability    We have checked the contents of this manual for agreement with the  hardware and software described  Since deviations cannot be  precluded entirely  we cannot guarantee full agreement  However   the data in this manual are reviewed regularly and any necessary  corrections included in subsequent editions  Suggestions for  improvementare welcomed        Siemens AG 1998  Subject to change without prior notice        Siemens Aktiengesellschaft    C79000   G7076   C634    Preface    Purpose of the  Manual    Where is this  Manual Valid     Audience and  Requirements    C7 Documentation  Package    This manual provides you with a complete overview of the C7 633 P   C7 633 DP  C7 634 P and C7 634 DP control systems  It offers support for  the installation and commissioning of these systems  outlines the possibilities  for connecting other devices  and introduces the components required for  this     This manual is valid for the following device variants     C7 Order Number  C
233. ximum number of messages is too  high  variable overflow      Internal error  Incorrect message status when entering in statistics   Internal error    Incorrect message status when entering in event message  buffer     Internal error    Incorrect message status when entering in alarm message  buffer     Internal error   Error reading messages from message buffer    Internal error   Configuration message error    Internal error   Incorrect mailbox type received  OP15   gt  OPS    Internal error Change area pointer list     OPS  more than 500 messages are specified in the area  pointer lists     Internal error   Mailbox type not implemented   Internal error   Block number does not exist   Internal error    Incorrect mailbox type     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    System Messages       Message       727    728    729    731    732    733    734    735    736    737    738    739    740    741    742    743       Cause Remedy        Internal error   Illegal screen type    Internal error   Return reference number incorrect   Internal error    Error in internal mailbox buffer management for direct  message logging     Internal error    Transfer parameter LEDSTATUS is incorrect in RIO  function    Change LED Status        Internal error    Key number can not be higher than 7 15 23   8 key 16 key 24 key keyboard      Internal error    Key number must be less than 4 as a maximum of 4 keys  is possible     Internal error    The submodule number must be 0     Int
234. y additional connected modules     C7 633 C7 634 Control Systems  C79000 G7076 C634 01    Installation and Setup Guidelines for the C7                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    z  Rack 3  O  o  o o o  Slot number IM 361 3 4 5 6 7 8 9 10 11  368 connecting cable    z  Rack 2  O  ojo mj o o o  Slot number IM 361 3 4 5 6 7 8 9 10 11  368 connecting cable    2  Rack 1  O  ia  o o o  Slot number IM 361 3 4 5 6 7 8 9 10 1i  368 connecting cable  Slot number 2 3 4  5     only for C7 63x P             Figure 2 18 Maximum Configuration of the Slots of a C7    C7 633 C7 634 Control Systems  C79000 G7076 C634 01 2 25    Installation and Setup Guidelines for the C7       2 11 Configuring an MPI and PROFIBUS DP Network    You can integrate the C7 devices in an MPI network via the MPI and  
235. you     Automotive   Chemical   Electrical Machinery  Food   Instrument and Control    Nonelectrical Machinery    CO   OG Go         Petrochemical    C7 633 C7 634 Control Systems  C79000 G7076 C634 01    OOoddo       Pharmaceutical  Plastic   Pulp and Paper  Textiles  Transportation  Other       Remarks Form    Your comments and recommendations will help us to improve the quality and usefulness  of our publications  Please take the first available opportunity to fill out this questionnaire  and return it to Siemens     Please give each of the following questions your own personal mark within the range  from    very good  to 5  poor         Do the contents meet your requirements              Is the information you need easy to find           Is the text easy to understand        Does the level of technical detail meet your requirements                 le es Ea    Please rate the quality of the graphics tables        Additional comments                                         C7 633 C7 634 Control Systems  2 C79000 G7076 C634 01    
236. z  then the  correct function of the universal inputs can no longer be guaranteed  since  count pulses will be lost        With relatively constant frequencies  the resolution of the measurement is    higher if you set a longer measurement period  Table 8 8 displays the    resolution of the measurement according to the configured measurement          period   Table 8 8 Resolution of the Measurement  Measurement Resolution Example of Frequency  Period Count Value During  Calculated   First Measurement  0 1s   Frequency can be calculated in   900 T9000 Hz  10 Hz increments 901 9010 Hz  Is Frequency can be calculated in 900 900 Hz  1 Hz increments 901 901 Hz  10s Frequency can be calculated in 900 90 Hz  0 1 Hz increments 901 90 1 Hz                               The frequency meter calculates the frequency in longer intervals  This means  that with long measurement periods  an updated frequency value is more  seldom available  If the frequency continuously changes  then only average  values are available     Due to the principle of measurement  the measurement error increases with a  reduction in the measured frequency     C7 633 C7 634 Control Systems  C79000 G7076 C634 01       C7 Universal Inputs       8 2 6 Period Time Measurement    Overview    Application    Principle    The universal input 3 can be assigned as period time counter  This universal  input reads pulses from a transducer  The transducer could  for example  be  fitted to the barrel extruder of an injection mou
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Digital Timing Relay/Counter    VSP 618 User Manual V1.5    E Fusão A Frio - LENR    Operating manual - Libero  Page 1 Page 2 [特集] 秋田料理 一 い冬は、あったかい鍋料理が 恋しく  Mode d`emploi HMO - KERN & SOHN GmbH  EPSON ELPIU02 取扱説明書    Copyright © All rights reserved. 
   Failed to retrieve file