Burster DIGIFORCE 9311 Operation Manual

For monitoring press-fit, joining, rivet and caulking operations
Hide thumbs Also See for DIGIFORCE 9311:

Advertisement

PROFIBUS Integration into TIA Portal
© 2018
burster
praezisionsmesstechnik gmbh & co kg
Alle Rechte vorbehalten
01.08.2018
Valid from:
Applies to:
DIGIFORCE
OPERATION MANUAL
DIGIFORCE
®
9311-VXXX2
®
9311
Manufacturer:
burster
praezisionsmesstechnik gmbh & co kg
Talstr. 1 - 5
76593 Gernsbach
Germany
Tel.: +49-7224-645-0
Fax.: +49-7224-645-88
Email: info@burster.com
www.burster.com
2767-BA9311PRTIAEN-5770-071525
P.O.Box 1432
76587 Gernsbach
Germany

Advertisement

Table of Contents
loading

Summary of Contents for Burster DIGIFORCE 9311

  • Page 1 & co kg praezisionsmesstechnik gmbh & co kg Alle Rechte vorbehalten Talstr. 1 - 5 P.O.Box 1432 76593 Gernsbach 76587 Gernsbach Germany Germany 01.08.2018 Valid from: Tel.: +49-7224-645-0 ® Applies to: DIGIFORCE 9311-VXXX2 Fax.: +49-7224-645-88 Email: info@burster.com www.burster.com 2767-BA9311PRTIAEN-5770-071525...
  • Page 2: Table Of Contents

    Table of Contents Introduction ................................3 Creating new project ............................4 Installation of GSD file ............................6 Creation of network connections ........................7 Create a sample program: ..........................13 Further Examples ............................18 5.1 Reading and Writing of string data types ....................19 5.2 Retrieving of measurement results ......................
  • Page 3: Introduction

    Introduction ® This quick start guide describes an approach how you can configure the DIGIFORCE 9311 via TIA Portal using the example of S7-1511 CPU with a CM 1542-5 PROFIBUS Module. Please note that the samples here cannot be directly used in your production line because they have beed extremely simplified to reach a better understanding.
  • Page 4: Creating New Project

    1. Creating new project  Start the Totally Integrated Automation Protal, select Create New Project (a), assign the project a name (b) and click Create (c): of 27...
  • Page 5  Go to Devices & networks (a) on the left side select Add new device (b) and look for yor CPU (c). Afterwards click the Add button (d). of 27...
  • Page 6: Installation Of Gsd File

     Go to Options->Manage general station description files (GSD) ®  Navigate to your DIGIFORCE 9311 GSD directory (a)(you will find the GSD files on burster DVD ® that you got with your DIGIFORCE 9311 device or on burster.com), select the GSD file (b) and click...
  • Page 7: Creation Of Network Connections

    3. Creation of network connections  Double click Device Configuration (a) in the project tree und switch to Network view (b) : of 27...
  • Page 8 ®  Now select the DIGIFORCE 9311 device in the catalog and drag & drop it into the working area (a): of 27...
  • Page 9  Please select the port (pink rectangle) at the PROFIBUS module and hold the left mouse button ® down to connect the module with DIGIFORCE 9311: of 27...
  • Page 10 ®  If the DIGIFORCE 9311 has not been automatically assigned to the master, click on the link “Not ® assigned” (a) of DIGIFORCE 9311 and select your master (b): of 27...
  • Page 11 ® 9311 device, goto Device view (a) and click the tabs Properties ->  Select the DIGIFORCE General (b). Finally select in the tree view on the left side PROFIBUS address (c) to see the assigned PROFIBUS addresss (d) ® ...
  • Page 12  To select the I/O-Mode 1 just drag the the I/O-Mode 1 entry from the hardware catalog into device overview table: Please refer to the section Meaning of the content of the different protocol modes of DIGIFORCE® 9311 PROFIBUS manual to get more information about available PROFIBUS DP-V0 Modes of 27...
  • Page 13: Create A Sample Program

    4. Create a sample program: In this section, you will learn how to create a simple program to start and stop a measurement periodically. ® You will need to refer to sections 6.2 PLC inputs and 6.3 PLC outputs of DIGIFORCE 9311 PROFIBUS manual to understand the meaning of inputs and outputs bytes.
  • Page 14  Select in the new window Organization block (a) and then Cyclic interrupt (b). As language set SCL (c), change the cyclic time to 1.000.000 µs (d) and click OK (e):  Type in the following source code in the code fild of the new block: TRUE THEN %Q2.0 = is IN_START (measurement start) set?
  • Page 15 You will also see that the TIA-Editor replaces the input/output addresses with tags. You can change the tags names in PLC Tag table (e.g. to IN_START and OUT_READY): of 27...
  • Page 16  Before you load the project into the CPU you have to set the IP addresse of your CPU. To do this please go to Device view and select Ethernet addresses (a) in General tab. Set now the IP- Address and a subnet mask(b) assigned to your in section IP-Protocol: of 27...
  • Page 17  To load the configuration into the CPU select it first go to Online->Download to device and click on Start search (a) to look for your controller. Then select the controller and click on Load (b): ® The DIGIFORCE 9311 starts now a new measurement, waits a second, stops the measurement, waits a second and starts the measurement again and so on.
  • Page 18: Further Examples

    5. Further Examples In the followed examples, a Hardware-ID is used to access a certain slot. To find this, please select a ® 9311 device in Topology view or Network view and then switch to Device view. Click with DIGIFORCE the right mouse button on the Slave module and select Properties: You will see the hardware indentifier in the tab General: of 27...
  • Page 19: Reading And Writing Of String Data Types

    5.1 Reading and Writing of string data types In this example, we perform an indirect read access on slot 30/Subslot 1/index 10 to get the device type of ® ® DIGIFORCE 9311 and then we will set the first nine characrters of this string as DIGIFORCE 9311 station name on Slot 30/Subslot 1/Index 17.
  • Page 20 #Error = TRUE OR SHR(IN := #Status, N := 24) <> 0 THEN // Check Status and Error RETURN; END_IF; REPEAT "RDREC_DB"(REQ := TRUE, ID := 281, // HW-ID of Slot 1 (see introduction of 'Further examples') INDEX := 10, // Read from index 10: Device Detection MLEN := 18, // Max.
  • Page 21 Sourcecode: #serial := 'SN123456789'; #data[0] := 0; // Byte 0 of slot number to access #data[1] := 30; // Byte 1 of slot number to access Strg_TO_Chars(Strg:= #serial, // Serial as String pChars:= 0, // Position in serialAsByteArray Cnt => #bytesWritten, // Number of Bytes have been written to serialAsByteArray Chars:= #serialAsByteArray);...
  • Page 22: Retrieving Of Measurement Results

    REPEAT "WRREC_DB"(REQ := TRUE, ID := 281, // HW-ID of Slot 1 (see introduction of 'Further examples') INDEX := 65, // Index 65: Order sheet - Serial number 1 LEN := INT_TO_UINT(LEN(#serial)), // Length of serial DONE => #Done, // Write done BUSY =>...
  • Page 23 INDEX := 1, // Index 1: Slot number for indirect addressing LEN := 2, // Length of data to write DONE => #Done, // Write done BUSY => #Busy, // Write not completed yet ERROR => #Error, // Error STATUS => #Status, // State RECORD := #data);...
  • Page 24 VALID => #Valid, // Index BUSY => #Busy, // Max. lengt h to read ERROR => #Error, STATUS => #Status, LEN => #lenRead, RECORD := #lastIndex); // Number of bytes read UNTIL NOT #Busy // Number of values in the curve - 1 END_REPEAT;...
  • Page 25: Changing Of Window Limits

    "RDREC_DB"(REQ := TRUE, // Index from which a coordinate should be read ID := 281, // Max. length to read INDEX := #i + 20, MLEN := 4, VALID => #Valid, BUSY => #Busy, ERROR => #Error, // Number of bytes read STATUS =>...
  • Page 26 #data[1] := 39; // Byte 1 of slot number to access REPEAT "WRREC_DB"(REQ := TRUE, ID := 281, // HW-ID of Slot 1 (see introduction of 'Further examples') INDEX := 1, // Index 1: Slot number for indirect addressing LEN := 2, // Length of data to write DONE =>...
  • Page 27 ERROR => #Error, // Error STATUS => #Status, // State RECORD := #xMin); UNTIL NOT #Busy #Done END_REPEAT; REPEAT "WRREC_DB"(REQ := TRUE, ID := 281, // HW-ID for Evaluation Window 1 (see introduction of 'Further examples') INDEX := 12, // Index 12: Window 1 limit Xmax LEN := 4, // Length of Real DONE =>...

Table of Contents