Siemens S7-1200 Manual

Siemens S7-1200 Manual

Gateway to maguire 12-12 weigh scale blender
Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

Siemens S7-1200 interfacing via HMS Anybus Gateway
to Maguire 12-12 Weigh Scale Blender
V1.00
Siemens S7-1200 interfacing via HMS Anybus
Gateway to Maguire 12-12 Weigh Scale Blender
Starter Pack Documentation
Revision History
Version
Revision Description
Date
1.00
First Release
14/11/2014
Berkshire Systemic Solutions Ltd
Unit B8, Grovelands Avenue Workshops, Grovelands Avenue, Winnersh, Wokingham. Berkshire RG41 5LB
Version 1.00 – 14/11/2014

Advertisement

Table of Contents
loading

Summary of Contents for Siemens S7-1200

  • Page 1 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender Starter Pack Documentation Revision History Version Revision Description Date 1.00 First Release 14/11/2014 Berkshire Systemic Solutions Ltd Unit B8, Grovelands Avenue Workshops, Grovelands Avenue, Winnersh, Wokingham.
  • Page 2: Table Of Contents

    Hardware Configuration ......................... 6 Anybus module settings ........................6 Serial Cable HMS - WSB ........................7 Profibus Cable HMS – S7-1200 Profibus Master ................. 7 Hardware Wiring ............................. 8 S7-1200 Wiring ............................ 8 Anybus Module & Maguire WSB Wiring ................... 10 Settings Required in the Maguire WSB Control ..................
  • Page 3 Anybus Configuration Manager: ....................43 Anybus Communicator User Manual: ................... 43 GSD files Profibus: ......................... 43 How to configure an Anybus Profibus slave with Siemens Step 7* ..........43 Table of Figures ............................. 44 Ref: S7-1200-12-12-WSB Berkshire Systemic Solutions Ltd Page 3 of 44 www.bss-ltd.biz...
  • Page 4: Introduction

    Maguire 12-12 Weigh Scale Blender (WSB). The example only shows one WSB connected to a HMS Anybus Profibus Slave via an RS232C serial connection which in turn is connected over Profibus to an S7-1200 PLC. Figure 1: System Architecture...
  • Page 5: Tested Software Platform

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Description Type Part Number S7-1200 PLC: Work memory 75 KB; 24VDC CPU 1214C DC/DC/DC 6ES7 214-1AG31-0XB0 power supply with DI14 x 24VDC SINK/SOURCE, V3.0 DQ10 x 24VDC and AI2 on board; 6 high-speed counters and 4 pulse outputs on board;...
  • Page 6: Hardware Configuration

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Hardware Configuration Anybus module settings Anybus Slave: The address setting is achieved with the two rotary switches on the Anybus Slave module. However in some applications the application interface is used to set the addresses with software. The address is set to 11 in this example.
  • Page 7: Serial Cable Hms - Wsb

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Figure 3: Node Settings in Step 7 Changed to Node 1 Serial Cable HMS - WSB Figure 4: Serial Cable Profibus Cable HMS – S7-1200 Profibus Master...
  • Page 8: Hardware Wiring

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 (3) Contact cover for insulation-piercing connecting device - insert the green and red cores into the open contact cover right up to the end - close the contact cover (press it down as tight as possible)
  • Page 9: Figure 7: Profinet Connection And 24Vdc For Tp700

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Wire the S7-1200 Module as shown in figure 6 connect the TP700 Comfort to the 24VDC PSU and patch cable as shown in figure7. Figure 7: Profinet Connection and 24VDC for TP700 Connect the Profinet cable (green) to the “X1 P1"...
  • Page 10: Anybus Module & Maguire Wsb Wiring

    Figure 10: Anybus Module Connections Note: In the wiring shown the colour red denotes 24VDC + and the colour black denotes 0VDC. Siemens usually use "L+" on terminal to denote 24VDC + and "M" to denote 0VDC. Ref: S7-1200-12-12-WSB Berkshire Systemic Solutions Ltd Page 10 of 44 www.bss-ltd.biz...
  • Page 11: Settings Required In The Maguire Wsb Control

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 The only connections remaining is the serial cable between the Anybus Module and the Maguire WSB Control this is connected to the 9 way D connectors on the Anybus module(see figure 11) and the Maguire WSB Control (see Figure 12).
  • Page 12: Plc - Hms Anybus - Wsb Data Exchange

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 PLC - HMS Anybus - WSB Data Exchange Figure 13: Data Exchange Principle The gateway holds the Maguire MLAN commands, there are a number of commands embedded in the gateway.
  • Page 13: Plc Configuration

    PLC configuration The PLC system hardware configuration is done solely with the Siemens TIA Portal. The starter package contains a project named S7-1200 WSB V1_00_V13. Open the project and open the devices and networks section. Figure 14: Devices and Networks Double click on the WSB 1 Graphic at the bottom of the display as shown in figure 14.
  • Page 14: Data Relocation

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 listed they come to 214 input bytes and 88 output bytes. These values need to match the input and output areas that are being used by the gateway see figure 16.
  • Page 15: Figure 17: Fc300 Wsb 1 Send And Receive

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Figure 17: FC300 WSB 1 Send and Receive Ref: S7-1200-12-12-WSB Berkshire Systemic Solutions Ltd Page 15 of 44 www.bss-ltd.biz...
  • Page 16: Figure 18: Fc300 Wsb 1 Send And Receive

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Figure 18: FC300 WSB 1 Send and Receive Ref: S7-1200-12-12-WSB Berkshire Systemic Solutions Ltd Page 16 of 44 www.bss-ltd.biz...
  • Page 17: Wsb (Mlan) Commands Programmed In Gateway

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 In network 7 of FC300 we move a value of 1 into DB301.DBB0 this is the target address of the WSB which we set earlier using *66 in the WSB Controller you may wish to change this value for clarity in a multiple blender application just makes sure whatever you set the value to using *66 then move the same value into DB301.DBB0.
  • Page 18 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Get Settings Description: Returns the mix percentages, component types, work order #, and operator #. Command Format Field # Name Size Range Description Address 0 to 255...
  • Page 19: Figure 20: Mlan Command Get Setting Query In Gateway

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Figure 20: MLAN Command Get Setting Query In Gateway As you can see the command is broken up in to the same sections as detailed in the MLAN Protocol Manual, address, command and checksum.
  • Page 20 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Address: Data length 0x0001, Data Location 0x200 If you look back at figure 16 you will see that the output area for the gateway for the gateway begins at address 0200 and this in turn is mapped to DB301.DBB0 which as described earlier (see figure 18)
  • Page 21 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Field # Name Size Range Description Setting Hopper 8 0 to 999 Implied decimal point ##.# Type Hopper 9 0 to 3 Always zeros (implied 1=regrind)
  • Page 22 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Ref: S7-1200-12-12-WSB Berkshire Systemic Solutions Ltd Page 22 of 44 www.bss-ltd.biz...
  • Page 23: Figure 21: Mlan Command Get Setting Response In Gateway

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Figure 21: MLAN Command Get Setting Response In Gateway The first screen capture shows the address, and the data address it will be sent to in this case 0x0000 and its length this matches the protocol and can be viewed in DB300.DBB0.
  • Page 24: Memory Map Anybus To S7-1200 Read (Input)

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Memory Map Anybus to S7-1200 Read (Input) Byte # Description DB300 Byte 1 WSB ID DB300 Byte 2 Clear Totals DB300 Byte 3 Clear Totals Immediately...
  • Page 25 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Byte # Description DB300 Byte 25 Get Display (short) Removed DB300 Byte 26 Get Display (short) Removed DB300 Byte 27 Get Display (short) Removed DB300 Byte 28...
  • Page 26 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Byte # Description DB300 Byte 50 Get Display (long) DB300 Byte 51 Get Display (long) DB300 Byte 52 Get Display (long) DB300 Byte 53 Get Display (long)
  • Page 27 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Byte # Description DB300 Byte 75 Reserved DB300 Byte 76 Reserved DB300 Byte 77 Reserved DB300 Byte 78 Reserved DB300 Byte 79 Reserved DB300 Byte 80...
  • Page 28 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Byte # Description DB300 Byte 98 Get Settings - Setting Hopper 5 - Implied decimal point r/a ##.# or n ### DB300 Byte 99 Get Settings - Type Hopper 6 1=regrind, 2=natural, 3=additive/colour, 0=none...
  • Page 29 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Byte # Description DB300 Byte 123 Get Settings - Operator Number DB300 Byte 124 Get Settings - Works Order No DB300 Byte 125 Get Settings - Works Order No...
  • Page 30 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Byte # Description DB300 Byte 139 Grams (or tenths of grams) per hour DB300 Byte 140 Grams (or tenths of grams) per hour DB300 Byte 141...
  • Page 31 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Byte # Description DB300 Byte 162 Get Totals - 12 Software - Total Component 4 DB300 Byte 163 Get Totals - 12 Software - Total Component 4...
  • Page 32 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Byte # Description DB300 Byte 187 Get Totals - 12 Software - Total Component 10 DB300 Byte 188 Get Totals - 12 Software - Total Component 10...
  • Page 33: Memory Map Anybus To S7-1200 Write (Output)

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Byte # Description DB300 Byte 212 Set Steady State Rate DB300 Byte 213 Set Yield DB300 Byte 214 Not used, dummy "free" command in Anybus Gateway...
  • Page 34 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Byte # Description DB301 Byte 20 Send Settings - Type Hopper 6 1=regrind, 2=natural, 3=additive/colour, 0=none DB301 Byte 21 Send Settings - Setting Hopper 6 - Implied decimal point r/a ##.# or n ###...
  • Page 35 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Byte # Description DB301 Byte 45 Send Settings - Works Order No DB301 Byte 46 Send Settings - Operator No DB301 Byte 47 Send Settings - Operator No...
  • Page 36 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Byte # Description DB301 Byte 70 Silence Alarm - Trigger Address DB301 Byte 71 Set Parameter - Trigger Address DB301 Byte 72 Set Parameter - Ascii data, three letter acronym that designates the parameter...
  • Page 37: Hmi Software

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 HMI Software Default or Initial Screen Figure 22: Default or Initial HMI Screen The screen shown above will be displayed when the HMI boots up, this can take several minutes.
  • Page 38: Alarm Message Window

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Along the bottom of the screen there are six navigation and control buttons these are from left to right: 1. Home: Changes the screen to the one shown in figure 22.
  • Page 39 Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Text 10 WSB1 Component 10 Alarm 11 WSB1 Component 11 Alarm 12 WSB1 Component 12 Alarm 13 WSB1 Batch Alarm 14 WSB1 Bail Alarm 15 WSB1 Dump Alarm...
  • Page 40: Settings Screen

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Settings Screen Figure 24: Settings Screen The screen shown in figure 24 allows the user to alter the settings in the WSB controller, as the page is loaded the last known settings are copied into the settings on this screen so the user can change the very latest settings even if the settings have been changed at the controller.
  • Page 41: Totals Screen

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 Totals Screen Figure 25: Totals Screen The screen shown in figure 25 is displayed when the totals button is pressed this screen simply shows the totals accumulated for each hopper. Pressing the reset totals button displays a "are you sure"...
  • Page 42: System Screens

    Siemens S7-1200 interfacing via HMS Anybus Gateway to Maguire 12-12 Weigh Scale Blender V1.00 System Screens Figure 26: System Screens The system screens page allows the user to access a few screens that may be useful. They have no bearing on functionality and they are not explained further in this manual as they are self explanatory.
  • Page 43: Useful Information Sources

    Communicator Anybus Configuration Manager: http://www.anybus.com/upload/Anybus%20Communicator-6858- Anybus%20Configuration%20Manager%20-%20Communicator%20RS232-422- 485%20version%204.3.1.1.zip Anybus Communicator User Manual: http://www.anybus.com/upload/104-1238-ABC_PDP_User_Manual_3_01_SCM-1200-092.pdf GSD files Profibus: http://www.anybus.com/upload/104-2712-GSD_ABC_PDP.zip How to configure an Anybus Profibus slave with Siemens Step 7* http://www.anybus.com/upload/104-1910-PROFIBUS_Slave_Step7_2.1.zip Ref: S7-1200-12-12-WSB Berkshire Systemic Solutions Ltd Page 43 of 44 www.bss-ltd.biz...
  • Page 44: Table Of Figures

    Figure 6: S7-1200 Wiring ......................... 8 Figure 7: Profinet Connection and 24VDC for TP700 ................9 Figure 8: Profinet Connection From TP700 to S7-1200 ................9 Figure 9: Profibus Master Connections ....................10 Figure 10: Anybus Module Connections ....................10 Figure 11: Anybus Serial Connector ......................

Table of Contents