background image

TO:
Siemens AG
A&D MC PM 4
Frauenauracher Strasse 80
D-91056 Erlangen

FROM:
Your name:

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Your title:

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Your company: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Street:

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

City:

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Telephone:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Please tick your branch.

-

Automotive industry

-

Chemical industry

-

Electrical industry

-

Foodstuffs

-

Process control technology

-

Mechanical engineering

-

Petrochemistry

-

Pharmaceutics industry

-

Plastics processing

-

Paper industry

-

Textiles industry

-

Transportation industry

-

Other _ _ _ _ _ _ _ _ _ _ _ _ _

Summary of Contents for SIMATIC CM35

Page 1: ...SIMATIC Counter Module CM35 Manual Release 06 2000 ...

Page 2: ...he CM35 4 Pulse Counter Operating Mode 5 Period Duration Measurement Operating Mode 6 Timer Operating Mode 7 Positioning Operating Mode 8 Appendices Literature A EC Declaration of Conformity B Glossary Release 06 2000 4 J31069 D0416 U001 A5 7618 Counter Module Manual This manual describes the counter module with order no 6AT1 735 0AA01 0AA0 CM35 ...

Page 3: ...cription When used with devices and components of other manufacturers these devices and components must be approved or recommended by Siemens Correct and safe operation of the product is dependent on proper transportation storage setup and installation and careful operator control and maintenance SIMATICR is a registered brand of SIEMENS AG The other designations in this publication may be brands ...

Page 4: ... was published We reserve the right to modify the functionality of the CM35 These changes will be described in product information sheets This manual describes S The CM35 counter module order no 6AT1 735 0AA01 0AA0 S The configuration package order no 6AT1 735 0DA01 0YA0 If you are using the previous version of the CM35 counter module order no 6AT1 735 0AA00 0AA0 please use the configuration packa...

Page 5: ...Siemens representative at your nearest Siemens office or the SIMATIC hotline telephone no 0911 895 7000 or fax no 0911 895 7002 for questions on the products described in this manual for which you are un able to find answers For questions or comments on the manual itself please fill out the response sheet at the end of the manual and return it to the address indicated We would also appreciate your...

Page 6: ...2 1 Connection Allocation of the 25 Pin Sub D Socket 3 10 3 2 2 Connection Allocation of the 15 Pin Sub D Socket 3 12 3 3 Configuration and Parameterization 3 13 3 3 1 Installation of the Object Manager for STEP 7 3 14 3 3 2 Central Integration into the SIMATIC S7 300 3 15 3 3 3 Distributed Integration into the SIMATIC S7 3 16 3 3 4 Distributed Integration into the SIMATIC S5 3 17 3 3 4 1 Hardware...

Page 7: ...s 5 18 6 Period Duration Measurement Operating Mode 6 1 6 1 Function Description 6 2 6 2 Parameterization 6 4 6 2 1 Description of the Parameter Data 6 5 6 2 2 Structure of the Parameter Block 6 6 6 3 Starting and Stopping the Measuring Channels 6 7 6 4 Controlling the Digital Outputs 6 8 6 5 Hardware Interrupt Evaluation 6 9 6 6 Reading the Measured Values 6 10 7 Timer Operating Mode 7 1 7 1 Func...

Page 8: ...8 8 3 Starting and Stopping the Axes 8 14 8 4 Controlling the Digital Outputs 8 16 8 5 Hardware Interrupt Evaluation 8 18 8 6 Reading the Actual Positions 8 19 A Literature A 1 B EC Declaration of Conformity B 1 Glossary Glossary 1 Table of Contents ...

Page 9: ...vi CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Table of Contents ...

Page 10: ...1 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Product Overview 1 ...

Page 11: ...o sub D sockets on the front When not used for the operating mode the outputs can be used as desired by the user program as process I O The module can be used for position encoding and positioning as well as in the following systems Proportioning systems Filling systems Packaging systems Sorting systems Systems with defined time intervals The counter module can be used centrally on the SIMATIC S7 ...

Page 12: ... Sample Configuration Example CPU 312 IFM CPU 313 CPU 314 CPU 614 PS CM35 CPU The full function scope of the module can be utilized Parameterization is performed with system function SFC 55 Possible Modules Sample Configuration Master S7 CPU with DP interface CP 443 5 Ext IM 467 Slave IM 153 1 IM 153 2 PS CPU 315 2 DP PS CM35 IM 153 1 S7 300 ET 200M PROFIBUS DP Central integration into the SIMATIC...

Page 13: ...IM 153 1 IM 153 2 PS CM35 IM 153 1 ET 200M PROFIBUS DP IM 308 C S5 115U Prerequisites for the coupling are an IM 153 1 MLFB no 6ES7 153 1AA02 0XB0 or later and CM35 modules MLFB no 6AT1 735 0AA01 0AA0 release status 4 or later Up to 7 CM35 modules can be connected with each IM 153 1 interface Exception Maximum of one CM35 per IM 153 1 when distributed connection to a SIMATIC S5 95U master DP is us...

Page 14: ... IM 153 2 interface Exception Maximum of one CM35 per IM 153 2 when distributed connection to a SIMATIC S5 95U master DP is used Maximum of 8 CM35s per IM 153 2 when distributed connection to a SIMATIC S7 CPU 318 2 DP CPU 417 4 DP CP 443 5 Ext IM 467 is used The present version of the CM35 does not support S The setup with active bus modules for ET 200M S Use on high availability programmable cont...

Page 15: ... 735 0AA01 0AA0 xxxxxxx x 2 3 4 SF CM35 Counter Module Figure 1 1 View of the front with front door closed SF Digital inputs 25 pin sub D socket Digital outputs 15 pin sub D socket Figure 1 2 View of the front with front door open View of the module with front door closed View of the module with front door open Product Overview ...

Page 16: ...e connection for the exter nal supply voltage for the digital outputs The outputs are isolated against the module logic but are not isolated among one another They are powered with a supply voltage of 24 V DC The red SF LED on the front indicates that the module is not ready for opera tion This LED goes off when a valid parameterization was transferred to the module after a warm restart or hot res...

Page 17: ...78 min S Positioning 4 axes with a max of 231 increments up to a top frequency of 2 kHz The desired operating mode is selected via the configuration user interface Note The following applies when the CM35 is used to acquire frequencies S For lower frequencies period duration measurement operating mode is recommended the period duration can be converted to a frequency S For higher frequencies pulse...

Page 18: ...al Typical 4 7 mA S For 5 V and H signal Typical 10 mA Potential isolation Yes Maximum signal rise time From L to H typ 10 msec From H to L typ 15 msec Permissible cable length shielded For 24 V 25 m For 5 V 5 m Connection 25 pin sub D socket Number 8 Signal level 24 Volt P switching Output current short circuit proof Per DO Max of 0 5 A Total current Max of 4 A Switching frequency Max of 10 Hz wi...

Page 19: ...31069 D0416 U001 A5 7618 Input voltage 5 V via P bus Current consumption Typ 0 150 A UL CSA FM No CM 35 counter module 6AT1 735 0AA01 0AA0 or later Configuration package 6AT1 735 0DA01 0YA0 or later Other MLFB no Product Overview ...

Page 20: ...2 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Function Description 2 ...

Page 21: ...e is reached Not possible Counting down from 65535 to 0 with comparison function Period dura tion mea surement Measuring the time between 2 falling edges of the applied signal 1 kHz CPU control Possible Timer Outputting the speci fied switching times via the digital outputs Operating mode CPU control Expiration of the switch on time Possible Positioning Acquiring the actual position of axes via in...

Page 22: ...ting mode the CM35 acquires low frequencies with the aid of period duration measurement The CM35 measures the exact time between two falling edges of the count ing signal by counting the pulses of an internal precision quartz reference frequency 2 4 Timer In timer operating mode precisely defined switch on times of 10 millisec onds to 278 minutes can be implemented for every digital output 2 5 Pos...

Page 23: ...2 4 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Function Description ...

Page 24: ...to the warnings on the cabinet of the device system can cause severe personal in jury or property damage Only qualified personnel may perform work on this device system Note This device has been developed manufactured tested and documented in accordance with pertinent safety standards Under normal conditions the device does not endanger property or human health Caution Commissioning is prohibited ...

Page 25: ...uidelines and safety notes in the manuals and supplementary documentation must be adhered to for both the programmable controller and the CM35 S To achieve maximum EMC immunity all signal lines to the CM35 must be shielded and applied to a grounded shield retainer rail S On the CM35 the cable shield may not be applied to the sub D plug con nector Commissioning ...

Page 26: ...SIMATIC S7 which can be assigned to signal modules SM are available to the CM35 For additional information see the manual of the SIMATIC S7 300 The maximum number of CM35 modules which can be installed on SIMA TIC programmable controllers depends on the following factors S Maximum number of modules in the central rack expansion unit or the modular ET 200M I O device S Memory requirements of the S5...

Page 27: ...A CPU 314 24 8 MOD 8 8 MOD 1 8 MOD CPU 314 IFM 32 1200 mA Total of 1100 mA 1 850 mA Exceptions Max of 8 MOD per ET 200M with CPU 315 48 plus ET 200M with CPU 318 2 DP CPU 417 4 DP CP 443 5 E t CPU 315 2 DP 64 3 8 MOD CP 443 5 Ext IM 467 Max of 1 MOD per CPU 316 128 3 800 mA p ET 200M with SIMATIC S5 95U DP master CPU 318 2 DP 512 of these max of 256 for code 256 for data Exception With CPU 314 IFM...

Page 28: ...5 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Table 3 2 Requirements on the CM35 side With Use of Current requirements 5 V from S7 Backplane Bus m CM35 m 150 mA m Number of CM35 modules Commissioning ...

Page 29: ... to power cables and shield the cables in the manner described above Two sided shield application is usually recommended When interference is primarily low frequency one sided shield application can be more advanta geous Adhere to the grounding concept of the SIMATIC S7 300 to avoid problems with potential The setup guidelines AR of the SIMATIC S7 see manual on setting up S7 300 programmable contr...

Page 30: ...f the SAE 4 Plug in bus connector See AR A bus connector is supplied with each CM35 Insert the bus connector on the module occupying the slot to the left of the CM35 5 Hang in CM35 See AR 6 Secure CM35 with screw See AR 7 Label CM35 See AR For how to set up replace modules in the system see manual 70 or 140 A simplified version of removal is given here 1 Switch the CPU to STOP 2 Turn off the power...

Page 31: ...ously supply the sum of the required output currents The outputs are P switches which can handle a load current of 0 4 A They are protected against overload and short circuits The size of the shield clamp depends on the diameter of the cable To mount a cable with the shield clamp bare the shield by cutting out approximately 1 5 cm of the cable insulation at the appropriate location on the cable 1 ...

Page 32: ...3 9 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Shield connecting element Figure 3 2 Shield connecting element Commissioning ...

Page 33: ... pulse 2 Ground 21 3 Counting pulse 9 Ground 3 4 Counting pulse 16 Ground 10 5 Counting pulse 23 Ground 17 6 Counting pulse 5 Ground 24 7 Counting pulse 12 Ground 6 8 Counting pulse 19 Ground 13 24 V 1 Counting pulse 1 Ground 14 2 Counting pulse 8 Ground 21 3 Counting pulse 15 Ground 3 4 Counting pulse 22 Ground 10 5 Counting pulse 4 Ground 17 6 Counting pulse 11 Ground 24 7 Counting pulse 18 Grou...

Page 34: ...Ground 14 21 2 A 9 B 16 Ground 3 10 3 A 23 B 5 Ground 17 24 4 A 12 B 19 Ground 6 13 24 V 1 A 1 B 8 Ground 14 21 2 A 15 B 22 Ground 3 10 3 A 4 B 11 Ground 17 24 4 A 18 B 25 Ground 6 13 Note Connect the two ground connections for an axis Example of an encoder connection Incremental encoder with 5 V supply Axis 1 Þ Track A Pin 20 Track B Pin 2 Ground Pin 14 pin 21 connect these two Wiring for operat ...

Page 35: ... backwards 5 O3 OUT Digital output 3 Axis 2 forwards 6 O4 OUT Digital output 4 Axis 2 backwards 7 GND 2 IN Ground load voltage for digital outputs 8 GND 2 IN Ground load voltage for digital outputs 9 VCC1 IN Load voltage 24 V 10 VCC1 IN Load voltage 24 V 11 O5 OUT Digital output 5 Axis 3 forwards 12 O6 OUT Digital output 6 Axis 3 backwards 13 O7 OUT Digital output 7 Axis 4 forwards 14 O8 OUT Digit...

Page 36: ...iguration Parameterization With SFC 55 WR_PARM Via I O direct accesses The object manager from the included data medium must be installed first see chapter 3 3 1 so that STEP 7 will be able to recognize the CM35 during configuration The current GSD files must be loaded to subdirectory GSD so that COM PROFIBUS is able to recognize the CM35 during configuration Parameterization is performed by the u...

Page 37: ...in Windows 2 Insert the data medium 3 Call the SETUP EXE program The CM35 counter module is located in the path shown below under STEP 7 HW Config Catalog Figure 3 3 Counter module CM35 in the hardware catalog In addition to the dialogs of the object manager help information is available which you can call during every phase of parameterization either with the F1 key or with the Help button Prereq...

Page 38: ...m the module catalog of HW Config and place it in the module rack Based on its position on the mounting rail the required input and output ad dress areas are automatically assigned to the CM35 and entered in the config uration table When certain CPUs are used these address areas can be changed For de tails see manual 70 The operating mode of the CM35 must have already been set during the con figur...

Page 39: ...onfigura tion table Address gaps in the address areas of the CPU rack are utilized The preset address areas can be changed in accordance with certain rules For more information on free address assignment see manual 70 Proceed as shown below 1 In the configuration table select the line with the CM35 and select the menu command Edit Object Properties 2 In the indicated dialog box open the tab Addres...

Page 40: ...an IM 308 C starting with release 6 When release status 2 of the FB 192 is used all versions of the IM 308 C can be used starting with release status 3 Release 2 or later The maximum transmission speed is 9600 Kbaud to 1 5 Mbaud depending on the length of the cable Prerequisites for the coupling are an IM 153 1 MLFB no 6ES7 153 1AA02 0XB0 or later and CM35 modules MLFB no 6AT1 735 0AA01 0AA0 relea...

Page 41: ...to the appropriate directory of COM PROFIBUS Which files must be copied depends on the version of COM PROFIBUS S With COM PROFIBUS version 3 2 Copy the type files to the direc tory TYPDAT5X S With COM PROFIBUS version 3 3 Copy the GSD files to the direc tory GSD Figure 3 4 Selecting the CM35 module during configuration of the ET 200M Table 3 7 Type and GSD files File Name Use SI801DV 200 Type file...

Page 42: ...elow 1 Start COM PROFIBUS and open the desired master system 2 Open a DP slave ET 200M with IM 153 1 or set up a new one 3 Place the module in the ET 200M In the configuration table select the desired slot and select the button Order No In the dialog box Select select the order number of the CM35 6AT1 735 0AA01 0AA0 and select the Accept button 4 Leave the configuration table open to set the addre...

Page 43: ...6 Possible CM35 addresses Q 0 16 32 48 64 80 96 112 CM35 number 17 18 19 20 21 22 23 24 Possible CM35 addresses Q 128 144 160 176 192 208 224 240 1 A fixed relationship between CM35 number and address does not exist A maximum of 24 CM35 modules can be ad dressed per IM 308 C interface Input output bytes 64 to 127 are used for both the local I O e g analog in put output modules slots 0 to 7 and the...

Page 44: ...select the desired operating mode and confirm with OK 3 Repeat this step in the second line of the table 8 with the same operating mode See figure 3 5 4 In the Parameterize dialog box click the OK button and close the configuration table with OK Figure 3 5 Setting the operating mode with COM PROFIBUS Note When distributed integration into the SIMATIC S5 is used only the operat ing modes period dur...

Page 45: ...ds only word ac cesses may be used and only even addresses may be accessed so that consis tency is ensured Data consistency is specified via the COM PROFIBUS configuration Word consistency has already been set for the CM35 in the type or GSD files in cluded in the configuration package Figure 3 6 Setting of the consistency via COM PROFIBUS For more information see the manual on the distributed I O...

Page 46: ... the CM35 lose their validity Parameter memory and the input and output area are deleted This is indicated by the group error LED When the CPU assumes the STOP state running operation of the CM35 is terminated The digital outputs are switched off i e reset Although the operating mode is retained the parameters are no longer valid Since the CM35 is completely powered by the backplane bus of the SIM...

Page 47: ...3 24 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Commissioning ...

Page 48: ...4 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Data Communication with the CM35 4 ...

Page 49: ...selected mode e g counting direction and comparison values for pulse counting mode are transferred to the CM35 with the parameterization The parameters must be transferred at least once to the CM35 after CPU STOP RUN With centralized use of the CM35 and with distributed use on S7 masters the parameters are written with system function SFC 55 WR_PARM With DP use with S5 masters the parameters are w...

Page 50: ...ual channels can be adjusted to the particular state of the process The parameter blocks can be transferred in any sequence The order has no effect on their use Note Before a channel can be reparameterized it must be stopped The parameters for a channel may not be changed or written while the channel is running A parameter block consists of the following A control word Up to 6 words of data area p...

Page 51: ...rmissible allocations of the control word Table 4 2 Allocation of the control word for parameterization Bit Address Description Allocation 0 to 3 Identifier for the set operating mode 0001 Pulse counter operating mode 0010 Period duration measurement operating mode 0011 Timer operating mode 0100 Positioning operating mode 4 to 5 Number of the current parameter block 01 Parameter block 1 10 Paramet...

Page 52: ...irect I O accesses Write parameter block 2 To write data assign W 16 0023 to control word To accept data via CM35 assign W 16 0063 to control word The parameter blocks for the parameterization of the CM35 can be written in one of the following ways Use of data record number 1 with SFC 55 WR_PARM Write the analog I O address area with direct I O accesses The data are written with SFC 55 when the CM...

Page 53: ..._Start_Va lue_Chan_1 WORD W 16 00 Comparison value start value channel 1 4 0 Cmp_Start_Va lue_Chan_2 WORD W 16 00 Comparison value start value channel 2 6 0 Cmp_Start_Va lue_Chan_3 WORD W 16 00 Comparison value start value channel 3 8 0 Cmp_Start_Va lue_Chan_4 WORD W 16 00 Comparison value start value channel 4 10 0 Cmp_Start_Va lue_Chan_5 WORD W 16 00 Comparison value start value channel 5 12 0 C...

Page 54: ...stead SFC 55 should then be called based on this flag bit to parameterize the CM35 after the automation system is turned on If an error occurs while the function is being processed the error code is indi cated in parameter RET_VAL and BIE is set to 0 For a description of the parameterization of the system functions and the re turn values see STEP 7 reference manual 235 Data Communication with the ...

Page 55: ...ency of the written values within one parameter block The CM35 does not evaluate the transferred values of one parameter block as long as the C bit is not set These values do not become valid until the con trol word is written with C bit 1 The following sequence must be used to transfer the pafameter blocks 1 Transfer the control word with C bit 0 2 Transfer all required data of the parameter bloc...

Page 56: ...or timer 6 8 Timebase_Timer_7 BYTE B 16 01 Time base for timer 7 9 Timebase_Timer_8 BYTE B 16 01 Time base for timer 8 10 Factor_Timer_1 WORD W 16 01 Factor for timer 1 12 Factor_Timer_2 WORD W 16 01 Factor for timer 2 14 Control_word WORD W 16 53 C bit 1 parameter block 1 timer operating mode A DB20 Open data block L DBW0 Load control word with C bit 0 T PW 130 Module start address 2 L DBW2 Load ...

Page 57: ...OP RUN transition before the module is para meterized via direct I O accesses The wait time depends on the PROFIBUS transmission speed set It can be configured in OB 100 or OB 1 The following standard values apply 187 5 kbit sec 500 msec wait time 1 5 kbit sec 100 ms wait time 12 kbit sec 10 ms wait time Wait time OB1 OB100 Data Communication with the CM35 ...

Page 58: ... stop byte Byte n 1 Coordination byte Oper mode Start stop byte enable Consistency bit disregard Start stop byte Table 4 6 shows the permissible assignments of the control word Table 4 6 Allocation of the control word for controlling the channels Bit Address Description Allocation 0 to 3 Identifier for the operating mode set 0001 Pulse counter operating mode 0010 Period duration measurement operat...

Page 59: ...ounter Module 4 J31069 D0416 U001 A5 7618 Example Pulse counter operating mode To start all channels write control word W 16 FF81 To stop all channels write control word W 16 0081 Data Communication with the CM35 ...

Page 60: ...utputs Bit Address Description Allocation 0 Digital output 1 0 Digital output off 1 Di it l t t 1 Digital output 2 1 Digital output on 2 Digital output 3 3 Digital output 4 4 Digital output 5 5 Digital output 6 6 Digital output 7 7 Digital output 8 Example S7 Set outputs 1 and 5 of the pulse counter operating mode Parameterize DO mode with CPU control The CM35 has the module start address 256 L 2 ...

Page 61: ...rt command for channel 1 may be overwritten by the start command for chan nel 4 This is particularly apt to happen if you are using distributed connection of the CM35 with low bus transmission rates In this case the 1st start com mand channel 1 is overwritten by the 2nd start command channel 4 before the 1st start command can be sent to the module via PROFIBUS The following measures should be take...

Page 62: ...and L PIW or L PID can be used to read the desired value This means that an actual value in double word format must be read with one double word access L PID Use of two word accesses L PIW can cause data inconsistency in this case SIMATIC S5 or standard DP master distributed Only word accesses to even addresses may be used to read access the de sired value Table 4 9 shows an example of the address...

Page 63: ...6 U001 A5 7618 Example Pulse counter mode Read counting value of counting channel 4 The CM35 has module start address 256 L PIW 262 Address 256 6 read counting value channel 4 T MW 8 Save the counting value Data Communication with the CM35 ...

Page 64: ...d OB 40 is called The hardware interrupt is acknowledged when OB 40 is exited The following local data are located in the start information of OB 40 OB 40_MDL_ADDR The base address of the module which trig gered the interrupt OB 40_POINT_ADDR Information on the event which triggered the interrupt Variable OB40_POINT_ADDR consists of four bytes The process interrupt information of the CM35 is enter...

Page 65: ...ration Measurement Timer for Selective Interrupt for Group Interrupt Positioning Bit 0 Counter channel 1 has re ached the comparison va lue No hardware inter rupts are reported in this operating mode Timer 1 has expired a timer has expired Axis 1 has reached setpoint position Bit 1 Counter channel 2 has re ached the comparison va lue Timer 2 expired disregard Reserved Bit 2 Counter channel 3 has r...

Page 66: ... 1 start XXXX X XX Channel 3 0 stop 1 start XXXX XXX Channel 4 0 stop 1 start XXX XXXX Channel 5 0 stop 1 start XX X XXXX Channel 6 0 stop 1 start X XX XXXX Channel 7 0 stop 1 start XXX XXXX Channel 8 0 stop 1 start If the channel was already started the procedure is continued when another 1 occurs Operating mode Positioning XXXX XX Axis 1 01 start 10 stop XXXX XX Axis 2 01 start 10 stop XX XXXX A...

Page 67: ...on data Pulse counter Parameter blocks 1 to 3 Period duration measurement Parameter block 1 Timer Parameter blocks 1 to 3 Positioning Parameter block 1 subnumbers 0 to 4 Parameter block 2 subnumbers 1 to 4 Note With parameterization via SFC55 the data to be transferred are set up the same as output words 2 to 14 Note Only word or double word accesses to even addresses can be used for I O accesses ...

Page 68: ...value channel 2 Measured period duration average value channel 2 Reserved 4 Current counting value channel 3 Measured period duration average value channel 3 Reserved Current actual position axis 2 6 Current counting value channel 4 Measured period duration average value channel 4 Reserved 8 Current counting value channel 5 Measured period duration average value channel 5 Reserved Current actual p...

Page 69: ...onclude processing Change in coordination byte Start stop byte enable 1 Consistency bit 1 Conclude processing Evaluate DO byte and conclude proc essing Evaluate start stop byte and conclude processing Evaluate parameter block and conclude processing Yes No Yes No Yes No Yes No Note Remember that either a change in the DO byte or a change in the coordina tion byte is evaluated Order of evaluation D...

Page 70: ...5 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Pulse Counter Operating Mode 5 ...

Page 71: ...nting limit and continues to count from there without losing an impulse When the counting value reaches the lower counting limit when counting down and an additional counting pulse occurs the counting value jumps to the upper counting limit and continues to count from there without losing an impulse Table 5 1 Counting range Counting Range Lower Counting Limit Upper Counting Limit Counting Frequenc...

Page 72: ...t When the comparison value is reached the digital output is switched off and a hardware interrupt is triggered Comparison value Digital output 0 Counter stop Counter start 1 0 Figure 5 2 Switching the digital output counting direction up The counting value is changed with every falling edge on the related counter input Counting value Encoder pulses Counter stop 0 1 2 3 4 5 6 7 8 8 8 0 1 Counter s...

Page 73: ...t to change channel specific parameters this channel must be stopped If you want to change parameters affecting more than one channel all channels must be stopped The new parameterization data take effect when the channel is started again For general layout and transmission of the parameter blocks see chapter 4 2 5 2 1 Description of the Parameterization Data When you specify the direction of coun...

Page 74: ...arted The counting value is set to the specified start value The counting value is decremented with each encoder pulse When the counting value reaches the comparison value 0 the parameter ized reactions are triggered e g reset digital output trigger hardware inter rupt The comparison value start value can be specified for a specific channel Table 5 3 Comparison and start value Variable Comparison ...

Page 75: ...arameterized Counting value Start 0 Stop Start Stop Parameterized a Counting up b Counting down Upper counting limit comparison value start value Figure 5 4 Use of the comparison value start value parameter delete counting value after stop Pulse Counter Operating Mode ...

Page 76: ...alue is retained until the next start Parameterization applies to all channels Table 5 4 Delete counting value Variable Parameter Block Offset Data Type Value Range Delete_CountVal 2 7 5 Bool 0 Delete counting value at stop 1 Delete counting value at start 65 535 30 000 Start value Counting value Start 0 Stop Start Stop Start value Old counting value a Delete counting value at stop b Delete counti...

Page 77: ...t linked to the counting procedure e g for adjustment mode DO mode can be specified for specific channels Table 5 5 DO mode Variable DO_Mode Parameter Block Offset Data Type Value Range DO_Mode_Chan_1 2 6 0 Bool 0 Automatic 1 CPU l DO_Mode_Chan_2 2 6 1 Bool 1 CPU control DO_Mode_Chan_3 2 6 2 Bool DO_Mode_Chan_4 2 6 3 Bool DO_Mode_Chan_5 2 6 4 Bool DO_Mode_Chan_6 2 6 5 Bool DO_Mode_Chan_7 2 6 6 Boo...

Page 78: ...ly one hardware interrupt is triggered even when the comparison value is reached a second time Parameterization applies to all channels Table 5 6 Interrupt generation Variable Parameter Block Offset Data Type Value Range Interrupt_ Generation 2 7 6 Bool 0 No hardware interrupts 1 Hardware interrupts enabled Upper counting limit Compari son value Counter start Start value Hardware interrupt No hard...

Page 79: ...nting pulses Counter start Figure 5 8 Generation of the counting value with a scanning rate factor of 3 counting up Enabling of a scanning rate factor applies to all channels Table 5 7 Scanning rate Variable Parameter Block Offset Data Type Value Range Scanning Rate 2 7 7 Bool 0 Scanning rate not enabled 1 Scanning rate enabled The scanning rate factor can be specified for each channel If you spec...

Page 80: ... 1 to 6 Table 5 9 Parameter block 1 Address Name Type Initial Value Commentary Para_Block_1_Data STRUCT 0 0 Control_word WORD W 16 11 Parameter block no 1 counter mode 2 0 Cmp_Start_Value_Chan_1 WORD W 16 00 Comparison value start value channel 1 4 0 Cmp_Start_Value_Chan_2 WORD W 16 00 Comparison value start value channel 2 6 0 Cmp_Start_Value_Chan_3 WORD W 16 00 Comparison value start value chann...

Page 81: ...BOOL FALSE 6 4 DO_Mode_Chan_5 BOOL FALSE 6 5 DO_Mode_Chan_6 BOOL FALSE 6 6 DO_Mode_Chan_7 BOOL FALSE 6 7 DO_Mode_Chan_8 BOOL FALSE 7 0 C_Direction BOOL FALSE Counting direction 0 Up 1 Down 7 1 Enable_Mode BOOL FALSE Enable mode only applicable to automatic DO mode 0 Continuous enable 1 Enable control by DO byte 7 2 Reserve_1 BOOL FALSE Reserved 7 3 Reserve_2 BOOL FALSE 7 4 Reserve_3 BOOL FALSE 7 5...

Page 82: ...3 Address Name Type Initial Value Commentary Para_Block_3_Data STRUCT 0 0 Control_word WORD W 16 31 Parameter block no 3 counter mode 2 0 ScanRate_F_Chan_7 BYTE B 16 0 Encoder scanning rate channel 7 3 0 ScanRate_F_Chan_8 BYTE B 16 0 Encoder scanning rate channel 8 4 0 Res_4 ARRAY 0 9 B 16 0 In reserve 1 0 BYTE 14 0 END_STRUCT Pulse Counter Operating Mode ...

Page 83: ...ss Name Type Initial Value Commentary Start_Stop_Block STRUCT 0 0 Start_Stop_Chan_1 BOOL FALSE 0 Stop channel 1 S h l 0 1 Start_Stop_Chan_2 BOOL FALSE 1 Start channel 0 2 Start_Stop_Chan_3 BOOL FALSE 0 3 Start_Stop_Chan_4 BOOL FALSE 0 4 Start_Stop_Chan_5 BOOL FALSE 0 5 Start_Stop_Chan_6 BOOL FALSE 0 6 Start_Stop_Chan_7 BOOL FALSE 0 7 Start_Stop_Chan_8 BOOL FALSE 1 0 CoordinationByte BYTE B 16 81 S...

Page 84: ...d on output is forcibly switched off 1 Output enabled The output is switched on at start of counting The output is switched off when the comparison value is reached or counting is stopped Enable mode continuous enable Control via the counter status is continuously enabled for the outputs A switched on output can be forcibly switched off with the DO byte 0 A switched on output is forcibly switched ...

Page 85: ...Digital output off 0 4 Digital_Output_Chan_5 BOOL FALSE g p 1 Digital output enabled Note 0 5 Digital_Output_Chan_6 BOOL FALSE Note You can use a parameterization bit to specify whether enabling is to be 0 6 Digital_Output_Chan_7 BOOL FALSE to specify whether enabling is to be controlled with the DO byte or whether continuous enable is to be 0 7 Digital_Output_Chan_8 BOOL FALSE whether continuous ...

Page 86: ...sists of four bytes The hardware in terrupt information of the CM35 in pulse counter mode is entered in the low byte local byte 11 of OB 40 By evaluating local byte 11 you can determine which channel triggered the interrupt Remember that more than one bit can be set Table 5 14 Assignment of the hardware interrupt information OB 40 local byte 11 Local Byte Bit Meaning Value Range 11 0 Counter 1 has...

Page 87: ...nt of the output area for reading the counting values Offset to the Module Start Address Meaning Value Range 0 Counting value channel 1 0 to 65535 2 Counting value channel 2 4 Counting value channel 3 6 Counting value channel 4 8 Counting value channel 5 10 Counting value channel 6 12 Counting value channel 7 14 Counting value channel 8 Example Pulse counter mode Read counting value of counting ch...

Page 88: ...6 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Period Duration Measurement Operating Mode 6 ...

Page 89: ...g value width of 16 bits and a reference frequency of 100 kHz period duration measurements between 655 msec counting value 65500 and 1 msec counting value 100 can be performed with a resolution of 1 with out switching the range Note The resolution depends on the lower counting value i e the minimum period duration The reference frequency can be adjusted for measurement of longer period durations T...

Page 90: ...l Start Measuring interval Reference signal 1st meas 2nd meas 3rd meas 1st meas Figure 6 1 Principle of period duration measurement over 3 periods of the input signal The user program starts the individual channels After a channel is started the period duration is acquired based on the parameterization The channel must be stopped before a new measurement can be made Period number Starting and stop...

Page 91: ...n of the individual parame ter data includes the number of the parameter block and the offset in the structure You must transfer parameter block 1 to the CM35 before you can use period duration measurement mode Note The channel must be stopped before it can be reparameterized You must stop the channel before you can change the channel specific pa rameters The new parameters take effect the next ti...

Page 92: ...Chan_4 1 5 0 Byte PeriodNumber_Chan_5 1 6 0 Byte PeriodNumber_Chan_6 1 7 0 Byte PeriodNumber_Chan_7 1 8 0 Byte PeriodNumber_Chan_8 1 9 0 Byte By selecting the measuring range you can also increase the period duration which is measured The parameterized measuring range applies to all channels Table 6 3 Setting the reference frequency Variable Measuring Range Parameter Block Offset Data Type Value R...

Page 93: ... data structure Address Name Type Initial Value Commentary Para_Block_1_Data STRUCT 0 0 Control_word WORD W 16 12 Parameter block no 1 period duration measurement mode 2 0 PeriodNumber_Chan_1 BYTE B 16 1 Period number channel 1 3 0 PeriodNumber_Chan_2 BYTE B 16 1 Period number channel 2 4 0 PeriodNumber_Chan_3 BYTE B 16 1 Period number channel 3 5 0 PeriodNumber_Chan_4 BYTE B 16 1 Period number ch...

Page 94: ...ck Address Name Type Initial Value Commentary Start_Stop_Block STRUCT 0 0 Start_Stop_Chan_1 BOOL FALSE 0 Stop channel 1 S h l 0 1 Start_Stop_Chan_2 BOOL FALSE 1 Start channel 0 2 Start_Stop_Chan_3 BOOL FALSE 0 3 Start_Stop_Chan_4 BOOL FALSE 0 4 Start_Stop_Chan_5 BOOL FALSE 0 5 Start_Stop_Chan_6 BOOL FALSE 0 6 Start_Stop_Chan_7 BOOL FALSE 0 7 Start_Stop_Chan_8 BOOL FALSE 1 0 CoordinationByte BYTE B...

Page 95: ... the digital outputs must be programmed with a word access Table 6 7 Assignment of the DO byte Address Name Type Initial Value Commentary DO_Block STRUCT 0 0 Digital_Output_Chan_1 BOOL FALSE 0 1 Digital_Output_Chan_2 BOOL FALSE 0 Digital output off 1 Digital output on 0 2 Digital_Output_Chan_3 BOOL FALSE 1 Digital output on 0 3 Digital_Output_Chan_4 BOOL FALSE 0 4 Digital_Output_Chan_5 BOOL FALSE ...

Page 96: ...6 9 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 6 5 Hardware Interrupt Evaluation Hardware interrupts are not generated in period duration measurement mode Period Duration Measurement Operating Mode ...

Page 97: ...e addresses of the individual channels for reading the mea sured value Table 6 8 Assignment of the output area for reading the measured values Offset to the Module Start Address Meaning Value Range 0 Period duration average value chan 1 0 to 65532 2 Period duration average value chan 2 4 Period duration average value chan 3 6 Period duration average value chan 4 8 Period duration average value cha...

Page 98: ...7 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Timer Operating Mode 7 ...

Page 99: ...er additional processing e g to position the next container in proportioning systems filling systems A timer must be stopped before the user program can execute a new start This can be done after the timer expired hardware interrupt or after a time calculated by the user program which is with certainty longer than the run time of the timer The digital outputs of the timer can also be controlled by...

Page 100: ...umber of the parameter block and the offset in the related structure To be able to utilize timer operating mode you must transfer parameter blocks 1 2 and 3 to the CM35 Note The timer must be stopped before it can be reparameterized When you want to change timer specific parameters you must stop the applicable timer When you want to change timer overlapping parameters you must stop all timers The ...

Page 101: ... msec 1 667 min 100 65 535 6 553 5 sec 109 225 min 255 1 255 msec 4 25 min 255 65 535 16 711 425 sec 278 542 min The default value for time base and factor is 1 Note The minimum switch on duration is 10 msec The time base can be specified for a specific timer Table 7 2 Setting the time base Variable Time Base Parameter Block Offset Data Type Value Range Timebase_Timer_1 1 2 0 Byte 1 to 255 Timebas...

Page 102: ...terrupt in the hardware interrupt OB Possible interrupt events are listed below Timer expired Timer failure The following can be selected for the interrupt No interrupt Group interrupt Selective interrupt A selective interrupt permits you to evaluate which timer triggered the inter rupt Parameterization applies to all timers Table 7 4 Parameterization of the timer Variable Interrupt Generation Par...

Page 103: ...1 and 2 Table 7 5 Parameter block 1 data structure Address Name Type Initial Value Commentary Para_Block_1_Data STRUCT 0 0 Control_word WORD W 16 13 Parameter block no 1 timer mode 2 0 Timebase_Timer_1 BYTE B 16 0A Time base for timer 1 3 0 Timebase_Timer_2 BYTE B 16 0A Time base for timer 2 4 0 Timebase_Timer_3 BYTE B 16 0A Time base for timer 3 5 0 Timebase_Timer_4 BYTE B 16 0A Time base for tim...

Page 104: ... 3 4 0 Factor_Timer_4 WORD W 16 01 Factor for timer 4 6 0 Factor_Timer_5 WORD W 16 01 Factor for timer 5 8 0 Factor_Timer_6 WORD W 16 01 Factor for timer 6 10 0 Factor_Timer_7 WORD W 16 01 Factor for timer 7 12 0 Factor_Timer_8 WORD W 16 01 Factor for timer 8 14 0 END_STRUCT Table 7 8 Parameter block 2 acceptance structure only with SIMATIC S5 Address Name Type Initial Value Commentary Para_Block_...

Page 105: ...D W 16 33 Parameter block no 3 timer mode 2 0 Interrupt_Generation BYTE B 16 0 Interrupt mode for timer expired and timer failure 3 0 Res_3 ARRAY 0 10 B 16 0 In reserve 1 0 BYTE 14 0 END_STRUCT Table 7 10 Parameter block 3 acceptance structure only with SIMATIC S5 Address Name Type Initial Value Commentary Para_Block_3_Accept STRUCT 0 0 Control_word WORD W 16 73 Consistency bit 1 parameter block n...

Page 106: ... to the start stop block must be programmed as a word access Table 7 11 Start stop block Address Name Type Initial Value Commentary Start_Stop_Block STRUCT 0 0 Start_Stop_Timer_1 BOOL FALSE 0 Stop timer 1 S i 0 1 Start_Stop_Timer_2 BOOL FALSE 1 Start timer 0 2 Start_Stop_Timer_3 BOOL FALSE 0 3 Start_Stop_Timer_4 BOOL FALSE 0 4 Start_Stop_Timer_5 BOOL FALSE 0 5 Start_Stop_Timer_6 BOOL FALSE 0 6 Sta...

Page 107: ...Address Name Type Initial Value Commentary DO_Block STRUCT 0 0 Digital_Output_Chan_1 BOOL FALSE 0 Digital output off 1 Di i l 0 1 Digital_Output_Chan_2 BOOL FALSE 1 Digital output on 0 2 Digital_Output_Chan_3 BOOL FALSE 0 3 Digital_Output_Chan_4 BOOL FALSE 0 4 Digital_Output_Chan_5 BOOL FALSE 0 5 Digital_Output_Chan_6 BOOL FALSE 0 6 Digital_Output_Chan_7 BOOL FALSE 0 7 Digital_Output_Chan_8 BOOL F...

Page 108: ... To prevent a just expired timer from being turned on again accidentally or a running timer from being turned off by control of the outputs the outputs should not be controlled unless all timers have expired or have been stopped To be noticed by the CM35 the status of the DO byte must have changed by at least one bit from its last status see also page 4 22 Timer Operating Mode ...

Page 109: ... on the event which triggered the interrupt Variable OB40_POINT_ADDR consists of four bytes The hardware interrupt information of the CM35 in timer mode is stored in local byte 10 timer fail ure and local byte 11 timer expired of OB 40 By evaluating local bytes 10 and 11 you can tell which timer triggered an interrupt Remember that more than one bit can be set Note When a failure occurs on one of ...

Page 110: ...terrupt Selective Interrupt 10 0 Failure of a timer Timer 1 failed 0 1 1 Timer 2 failed 2 Timer 3 failed 3 Timer 4 failed 4 Disregard Timer 5 failed 5 Timer 6 failed 6 Timer 7 failed 7 Timer 8 failed 11 0 Timer expired Timer 1 expired 0 1 1 Timer 2 expired 2 Timer 3 expired 3 Timer 4 expired 4 Disregard Timer 5 expired 5 Timer 6 expired 6 Timer 7 expired 7 Timer 8 expired Timer Operating Mode ...

Page 111: ...reading the status Offset to the Module Start Address Meaning Value Range 0 Bit 0 Status of timer 1 0 Timer is active 1 Ti h i d Bit 1 Status of timer 2 1 Timer has expired and can be started Bit 2 Status of timer 3 and can be started again after a t d Bit 3 Status of timer 4 stop command Bit 4 Status of timer 5 Bit 5 Status of timer 6 Bit 6 Status of timer 7 Bit 7 Status of timer 8 Example S7 Tim...

Page 112: ...8 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Positioning Operating mode 8 ...

Page 113: ... of Traversing Range 32 bits 2 147 483 648 increments 2 147 483 647 increments Note When the position is no longer in the traversing range the actual value jumps from positive to negative or from negative to positive You must ensure that the traversing path is located within the traversing range limits To synchronize actual value acquisition you can execute set actual value with the user program M...

Page 114: ...How the CM35 controls the direction of traversing The positioning sequence is described below Þ Parameterize encoder resolution Þ Move axis to a position whose coordinate is known Þ Set actual value Þ Specify setpoint in increments Þ Start axis with START command Ü Hardware interrupt indicates that setpoint position has been reached Ü Axis is switched off Þ STOP command concludes positioning of th...

Page 115: ...ts for forward and backward can be specified by the user program Asymmetric incremental encoders with two tracks displaced by 90 can be connected to the CM35 Direction evaluation The CM35 determines the counting direction of the signal edges from the time sequence of the encoder signals Track B Track A Counterclockwise actual value is decremented Clockwise actual value is incremented Figure 8 2 Di...

Page 116: ...Double evaluation of the encoder pulses 4 Track B Track A All edges of both tracks 1 3 2 7 6 5 Figure 8 5 Quadruple evaluation of the encoder pulses Note The more edges are evaluated the better the resolution is For example the resolution of the same traversing path is four times higher with quadruple evaluation than with single evaluation Regardless of whether single double or quadruple evaluatio...

Page 117: ...raversing speed 20 mm sec Spindle incline path encoder revolution 10 mm revolution Edge evaluation Double Permissible encoder frequency 1000 Hz Steps Perm enc frequency S path enc revolution Encoder revolu tion Max traversing speed 1000 1 sec S 10 mm revolution 20 mm sec 500 revolution Resolution Path encoder revolution Steps enc revolution S evaluation 10 mm 10 mm 500 S 2 Positioning Operating mo...

Page 118: ... 2 2 The description of the individual parameter data includes the number of the parameter block and subblock and the offset in the related structure Note An axis must be stopped before it can be reparameterized When you want to change an axis specific parameter this axis must be stopped When you want to change an axis overlapping parameter all axes must be stopped The new parameters take effect w...

Page 119: ...ge evaluation Variable Edge Evaluation Parame ter Block Sub num ber Off set Data Type Value Range Encoder_Evaluation 1 0 2 0 2 1 2 2 2 7 Bool Bool Bool Bool Edge evaluation 2 xxxx_xx00 Single 2 xxxx_xx01 Double 2 xxxx_xx10 Quadruple Direction of rotation 2 0xxx_xxxx Inverted 2 1xxx_xxxx Not inverted You can specify an actual value for set actual value to synchronize the ac tual value acquisition o...

Page 120: ...he increment value at which the axis is to be positioned A hardware interrupt is generated when the axis reaches the setpoint position Setpoints are entered in the parameter blocks in twos complement representa tion as shown below 2 147 483 648 1 0 1 2 147 483 647 8000 0000 FFFF FFFF 0 1 7FFF FFFF Specification of the setpoint is axis specific Variable Setpoint Parame ter Block Sub number Off set ...

Page 121: ...ks which were combined into two parameter blocks Each parameter subblock must be transferred separately to the CM35 with an SFC 55 call The first word in the parameter subblocks contains the control word The required assignment is entered as an initial value in the structures Adhere to the information in chapter 4 2 concerning transmission Positioning Operating mode ...

Page 122: ... rotation 2 0xxx_xxxx Inverted 2 1xxx_xxxx Not inverted 3 0 In_reserve BYTE B 16 0 4 0 Res_4 ARRAY 0 9 B 16 0 In reserve 1 0 BYTE 14 0 END_STRUCT 14 0 Para_Block_1_1_Data STRUCT Set actual value for axis 1 0 0 Control_word WORD W 16 114 Parameter block no 1 subnumber 1 positioning mode 2 0 Set_ActualValue_Axis_1 DINT L 0 Set actual value for axis 1 6 0 Res_6 ARRAY 0 7 B 16 0 In reserve 1 0 BYTE 14...

Page 123: ...ber 3 positioning mode 2 0 Set_ActualValue_Axis_3 DINT L 0 Set actual value for axis 3 6 0 Res_6 ARRAY 0 7 B 16 0 In reserve 1 0 BYTE 14 0 END_STRUCT 56 0 Para_Block_1_4_Data STRUCT Set actual value for axis 4 0 0 Control_word WORD W 16 414 Parameter block no 1 subnumber 4 positioning mode 2 0 Set_ActualValue_Axis_4 DINT L 0 Set actual value for axis 4 6 0 Res_6 ARRAY 0 7 B 16 0 In reserve 1 0 BYT...

Page 124: ... WORD W 16 224 Parameter block no 2 subnumber 2 positioning mode 2 0 Setpoint_Axis_2 DINT L 0 Setpoint for axis 2 6 0 Res_6 ARRAY 0 7 B 16 0 In reserve 1 0 BYTE 14 0 END_STRUCT 28 0 Para_Block_2_3_Data STRUCT Setpoint axis 3 0 0 Control_word WORD W 16 324 Parameter block no 2 subnumber 3 positioning mode 2 0 Setpoint_Axis_3 DINT L 0 Setpoint for axis 3 6 0 Res_6 ARRAY 0 7 B 16 0 In reserve 1 0 BYT...

Page 125: ...ion byte is entered in the structure as an initial value For a description of the bit assignment of the coordination byte see chapter 4 3 1 The write access of the start stop block must be programmed as a word access Table 8 5 Start stop block Address Name Type Initial Value Commentary Start_Stop_Block STRUCT 0 0 Start_Axis_1 BOOL FALSE 01 Start axis 1 0 1 Stop_Axis_1 BOOL FALSE 10 Stop axis 1 0 2...

Page 126: ...M35 has the module start address 256 L W 16 4184 Start axes 1 and 4 T PQW 258 Module start address 2 L W 16 8184 Stop axis 4 Axis 1 is not affected T PQW 258 Module start address 2 The axis stops when both bits are set to 1 or 0 for the axis Positioning Operating mode ...

Page 127: ...he DO byte to the axes Note Control of the digital outputs must be programmed with a word access Table 8 6 Assignment of the DO byte Address Name Type Initial Value Commentary DO_Block STRUCT 0 0 Forwards_Axis_1 BOOL FALSE 0 Axis off 1 A i 0 1 Backwards_Axis_1 BOOL FALSE 1 Axis on 0 2 Forwards_Axis_2 BOOL FALSE 0 3 Backwards_Axis_2 BOOL FALSE 0 4 Forwards_Axis_3 BOOL FALSE 0 5 Backwards_Axis_3 BOO...

Page 128: ...ished positioning procedure from being turned on again accidentally or a running positioning procedure from being turned off due to output control the outputs should only be controlled when all positioning procedures have been finished or stopped To be noticed by the CM35 the status of the DO byte must have changed by at least one bit from its last status see also page 4 22 Positioning Operating m...

Page 129: ... the interrupt Variable OB40_POINT_ADDR consists of four bytes The hardware interrupt information of the CM35 in positioning mode is entered in the low byte lo cal byte 11 of OB 40 You can evaluate local byte 11 to determine which axis triggered the inter rupt Remember that more than one bit can be set Table 8 7 Assignment of the hardware interrupt information OB 40 local byte 11 Local Byte Bit Me...

Page 130: ...ing the actual position Table 8 8 Assignment of the output area for reading the actual positions Offset to the Module Start Address Meaning Value Range 0 Actual position of axis 1 2 147 483 648 to 2 147 483 647 4 Actual position of axis 2 2 147 483 647 8 Actual position of axis 3 12 Actual position of axis 4 Example Positioning mode Read actual position of axis 4 The CM35 has the module start addr...

Page 131: ...8 20 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Positioning Operating mode ...

Page 132: ...l manuals referred to in this manual 70 Manual S7 300 Programmable Controller 140 Manual ET 200M Distributed I O Device 231 User s manual Standard Software for S7 and M7 STEP 7 235 Reference manual System Software for S7 300 400 System and Standard Functions Supplementary literature A ...

Page 133: ...A 2 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Literature ...

Page 134: ...B 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 EC Declaration of Conformity B ...

Page 135: ...B 2 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 EC Declaration of Conformity ...

Page 136: ...h are actually installed and the desired configuration The desired configuration is specified with STEP 7 or COM ET 200 Windows or COM PROFIBUS Windows This permits the operating system to detect incorrect configurations when it starts up D When it has sending rights the DP master can send data to other stations in the PROFIBUS DP network and request data from other stations A master which conform...

Page 137: ...P standard part 3 of DIN 19245 The ET 200 utilizes the master slave principle For example the master in terface IM 308 C or the CPU 315 2 DP can be the DP master The distributed periphery ET 200B ET 200C ET 200M and ET 200U can be DP slaves for example H The modules causing the interrupt trigger a hardware interrupt due to a cer tain event in the process The hardware interrupt is reported to the C...

Page 138: ...reactions per module Each module comes with a realistic basic setting You can change this basic setting with the STEP 7 tool HW Config There are two kinds of parameters static parameters and dynamic parame ters Parameterization sets the reaction of a module Programmable Logic Controller PROcess FIeld BUS is the German process and fieldbus standard which is specified in the PROFIBUS standard DIN 19...

Page 139: ... same or an adjacent cabi net Didtributed setup means that the process periphery is not located directly with the CPU in the same module rack or in the same or adjacent switching cabinet Instead the process periphery and the CPU are located at a distance from each other and are connected with a communication bus e g fieldbus The SIMATIC Manager is the graphical user interface for SIMATIC users und...

Page 140: ... a system or a process can be controlled This program is assigned to a programmable module e g CPU or FM and can be structured in smaller units blocks W When a CPU starts up e g after you turn the operating mode switch from STOP to RUN or turn the power on organization block OB 100 warm re start is executed first before cyclic program processing begins OB 1 During a warm restart the process image ...

Page 141: ...Glossary 6 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Glossary ...

Page 142: ...Street _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ City _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Telephone _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Please tick your branch Automotive industry Chemical industry Electrical industry Foodstuffs Process control technology Mechanical engineering Petrochemistry Pharmaceutics industry Plastics processing...

Page 143: ... _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Remarks Suggestions Your remarks and suggestions help us to improve the quality of our documentation Please complete this questionnaire as soon as you have...

Page 144: ...ves Motion Control Systems Frauenauracher Straße 80 D 91056 Erlangen Siemens AG 2000 Subject to change without prior notice Siemens Aktiengesellschaft Bestell Nr J31069 D0416 U001 A5 7618 Printed in the Federal Republic of Germany ...

Reviews: