communication with siwarex fta securedisplay · pdf file · 2015-05-26it describes...

26
SIMOTION Communication with SIWAREX FTA SecureDisplay Function Manual 04/2015 Preface Description 1 Requirements 2 Supplement to SIWAREX FTA manual 3 Installation 4 Error diagnostics 5 Appendix A

Upload: nguyendieu

Post on 20-Mar-2018

232 views

Category:

Documents


2 download

TRANSCRIPT

SIMOTION Communication with SIWAREX FTA SecureDisplay

Function Manual

04/2015

Preface

Description 1

Requirements 2

Supplement to SIWAREX FTA manual 3

Installation 4

Error diagnostics 5

Appendix A

1 Legal information

Warning notice system

This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent

damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert

symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are

graded according to the degree of danger.

DANGER

indicates that death or severe personal injury will result if proper precautions are not taken.

WARNING

indicates that death or severe personal injury may result if proper precautions are not taken.

CAUTION

indicates that minor personal injury can result if proper precautions are not taken.

NOTICE

indicates that property damage can result if proper precautions are not taken.

If more than one degree of danger is present, the warning notice representing the highest degree of danger will

be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to

property damage.

Qualified Personnel

The product/system described in this documentation may be operated only by personnel qualified for the specific

task in accordance with the relevant documentation, in particular its warning notices and safety instructions.

Qualified personnel are those who, based on their training and experience, are capable of identifying risks and

avoiding potential hazards when working with these products/systems.

Proper use of Siemens products

Note the following:

WARNING

Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems. The permissible ambient conditions must be complied with. The information in the relevant documentation must be observed.

Trademarks

All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication

may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.

Disclaimer of Liability

We have reviewed the contents of this publication to ensure consistency with the hardware and software

described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the

information in this publication is reviewed regularly and any necessary corrections are included in subsequent

editions.

Siemens AG

Industry Sector

Postfach 48 48

90026 NÜRNBERG

GERMANY

Ⓟ 04/2015 subject to modifications

Copyright © Siemens AG 2015.

All rights reserved

Communication with SIWAREX FTA SecureDisplay

Function Manual, 04/2015 3

Preface Content

This document is a supplement to the SIMOTION Function Manual "Supplement to SIWAREX FTA Weighing Module“. It describes the weight display with calibration capability SIWAREX FTA SecureDisplay for a SIMATIC HMI device (e. g. Comfort Panel or PC system as well).

Further aspects are described in the SIWAREX FTA device manual. These concern the verification demands placed on the device itself (calibration switch, protection against mechanical manipulation, calibration seal, etc.) as well as the individual parameters and commands. Printing templates, calibration stickers etc. are included in the calibration kit which must be ordered separately. You can find the order number of the calibration kit in the accessories for the electronic weighing system.

You can find the parameters and commands required for the SecureDisplay as well as the procedure for verification in chapter 3 of this document.

This document describes the function block FBSiwarexFtaSecureDisplay() to establish a TCP/IP connection between a SIMOTION controller and a SIWAREX FTA SecureDisplay. The SecureDisplay is a display with verification capability for the SIWAREX FTA electronic weighing system with verification capability. It is the successor to the WinCCflexible-based solution using "SecureOCX" and is independent of the WinCCflexible or TIA Portal used.

You can find the SIMOTION Function Manual "Supplement to SIWAREX FTA Weighing Module“ here: https://support.industry.siemens.com/cs/at/en/view/51787186.

Preface

Communication with SIWAREX FTA SecureDisplay

4 Function Manual, 04/2015

Hotline and internet addresses

Additional information

Any further questions concerning the use of SIWAREX? Please contact your Siemens representative or the technical support for SIWAREX.

Tel.: +49 (0)721 595 2811

You can find the latest information of the SIWAREX weighing system on the Internet site.

http://www.siemens.com/weighing

Please send any questions about the technical documentation (e. g. suggestions for improvement, corrections) to the following e-mail address:

[email protected]

My Documentation Manager

Click the following link for information on how to compile documentation individually on the basis of Siemens content and how to adapt it for the purpose of your own machine documentation:

http://www.siemens.com/mdm

Training

Click the following link for information on SITRAIN - Siemens training courses for automation products, systems and solutions:

http://www.siemens.com/sitrain

FAQs

Frequently Asked Questions can be found in SIMOTION Utilities & Applications, which are included in the scope of delivery of SIMOTION SCOUT TIA, and in the Service&Support pages in Product Support:

http://support.automation.siemens.com

Technical Support

Country-specific telephone numbers for technical support are provided on the Internet under Contact:

http://www.siemens.com/automation/service&support

Communication with SIWAREX FTA SecureDisplay

Function Manual, 04/2015 5

Table of contents

Preface ..........................................................................................................................................3 Table of contents ...........................................................................................................................5 1 Description ...........................................................................................................................7

1.1 General ...................................................................................................................... 7 1.2 Function description .................................................................................................. 8

2 Requirements .......................................................................................................................9 2.1 Hardware ................................................................................................................... 9 2.2 Software .................................................................................................................... 9

3 Supplement to SIWAREX FTA manual ............................................................................... 11 3.1 General .................................................................................................................... 11 3.2 Communication between SIMOTION and SecureDisplay ....................................... 11 3.3 Settings in the SIWAREX FTA device ..................................................................... 15 3.3.1 New parameter „Factor for minimum display size “ ................................................. 15 3.3.2 New parameter „Version of SecureDisplay“ ............................................................ 16 3.3.3 Supplement to the command list of the SecureDisplay .......................................... 17

4 Installation .......................................................................................................................... 19 4.1 General .................................................................................................................... 19 4.2 Installation of .NET Compact Framework 3.5 ......................................................... 19 4.3 Parameterization of the display position and size ................................................... 20 4.4 Downloading the SecureDisplay to the HMI device ................................................ 22 4.5 Calling SecureDisplay on a SIMATIC HMI panel .................................................... 22 4.5.1 Hide SecureDisplay ................................................................................................. 23 4.5.2 Show SecureDisplay ............................................................................................... 23 4.6 Logging / records ..................................................................................................... 23

5 Error diagnostics ................................................................................................................ 25 A. Appendix ............................................................................................................................ 26

A.1. Contact .................................................................................................................... 26 A.2. Internet addresses ................................................................................................... 26

Table of contents

Communication with SIWAREX FTA SecureDisplay

6 Function Manual, 04/2015

Communication with SIWAREX FTA SecureDisplay

Function Manual, 04/2015 7

1 Description 1

1.1 General

The SIWAREX SecureDisplay software can be used to implement a display with verification capability for a SIWAREX electronic weighing system with verification capability. To achieve this, a program is installed on the SIMATIC HMI device which displays the weight value and certain status information in a manner suitable for verification. All data relevant to verification is output on the display. The contents of the verification display can be controlled using commands to the SIWAREX module. The contents to be displayed are generated and coded in the SIWAREX module, and the display is provided with them either directly from the SIWAREX module or via the connected SIMOTION CPU depending on the configuration. It is possible to configure the displays of several scales on one screen.

Fig. 1: Example output of SIWAREX SecureDisplay in a SIMATIC TP700

Description

Communication with SIWAREX FTA SecureDisplay

8 Function Manual, 04/2015

1.2 Function description

The SIWAREX weighing module generates a measured value with verification capability which is displayed on a SIMATIC HMI together with the status information and further data relevant to the verification.

The measuring component of the software and the component for generating and coding the displayed value are present in the SIWAREX electronic weighing system. The function relevant to the verification capability for checking the displayed value, as well as display of the current measured values, are implemented on the display of the HMI device by means of the SecureDisplay.

The SecureDisplay is an application which is started once when the runtime is started, for example by means of a VB script in the WinCC configuration. The application is subsequently active in the background, and "waits" for instructions from the scale. Using special commands, the SecureDisplay can be switched into the foreground, for example, and then made "invisible" again in the background.

The mechanisms integrated in the electronic weighing system continuously guarantee that the displayed value cannot be changed accidentally or intentionally without the operator noticing this. In addition, use in the HMI device of the authentic SecureDisplay relevant to verification is continuously checked by the SIWAREX module.

A security value (hash value) is unambiguously assigned to each version of a SecureDisplay. This guarantees that there are no different software contents for a software version. The safety values are required during the verification and are displayed following the software version if activated per command. In the case of weighing modules with logbook, the logbook entries for the FW version of the SecureDisplay also include the associated security values.

If the requirements for verification are not fulfilled (for example incorrect parameterization of the SIWAREX, interruption in the connection between control panel and CPU, or similar), a weight value suitable for verification is not displayed, the weighing commands are disabled (with a non-automatic scale), and logging is not possible.

Up to 6 independent scales can be configured on one SIMATIC HMI device. 5 different display positions and sizes can be defined for each scale (each SecureDisplay). Therefore the appropriate size and position can be defined depending on the space on a faceplate. The possible positions and sizes are defined on the HMI device using an .xml file. Switching over is carried out per command to the SIWAREX electronics. The SIWAREX SecureDisplay checks that no displays overlap in a faceplate. The smallest possible display size of the SecureDisplay is defined in data record DS3, enabling this to be checked for readability during the verification.

With SIWAREX FTA, the following data can be superimposed live for information purposes:

current minimum weighing range,

current maximum weighing range and

current digit interval.

All required software components can be downloaded on:

http://support.automation.siemens.com/WW/view/en/107196401

Communication with SIWAREX FTA SecureDisplay

Function Manual, 04/2015 9

2 Requirements 2

2.1 Hardware

SIMATIC HMI panel

Windows CE-based SIMATIC control panels containing an Ethernet interface must be used on which the .net CompactFramework 3.5 can be installed / used.

All SIMATIC Comfort Panels, as well as Windows CE6.0 based devices of the Classic Line (TP 177 4", MP 177, MP 277, MP 377) are possible.

SIMOTION controller

The SIWAREX FTA SecureDisplay running on a SIMATIC HMI panel or PC can communicate with each SIMOTION controller connected via Ethernet.

SIWAREX FTA

As from firmware V8.5.1 or higher

2.2 Software

SIWATOOL

As V4.0.0.3 with SIWAREX FTA firmware database „SIWAREX_FTA_8_5_1.sdf“ or higher

SIMOTION SCOUT

The function block FBSiwarexFtaSecureDisplay() can be used with SIMOTION SCOUT „Classic“ and SCOUT TIA.

Requirements

Communication with SIWAREX FTA SecureDisplay

10 Function Manual, 04/2015

Communication with SIWAREX FTA SecureDisplay

Function Manual, 04/2015 11

3 Supplement to SIWAREX FTA manual 3

3.1 General

The following description is a supplement to the SIMOTION function manual “Supplement to SIWAREX FTA Weighing Module”. It contains the configuration and control of the SIWAREX FTA SecureDisplay.

3.2 Communication between SIMOTION and SecureDisplay

The function block FBSiwarexFtaSecureDisplay() handles the communication between the Software SecureDisplay on the SIMATIC HMI device (or PC) and the SIMOTION controller.

This function block can just be executed in a cyclic task (e. g. BackgroundTask), direct after calling the system function block _FTA_control() for the SIWAREX FTA device.

The SIMOTION controller acts as TCP/IP server. The server functionality is in the function block FBSiwarexFtaSecureDisplay(). Internal following 5x SIMOTION system functions are used:

_tcpOpenServer()

_tcpCloseServer()

_tcpReceive()

_tcpSend()

_tcpCloseConnection()

The SecureDisplay acts as TCP/IP client. It establishes the TCP/IP connection to the SIMOTION controller.

FBSiwarexFtaSecureDisplay

sendData ARRAY[0..31] OF BYTE

ARRAY[0..3] OF USINT

BOOL

connected

enable

connectedClient

IpAddress

ARRAY[0..31] OF BYTE

BOOL

UINT

serverPort

UINT

connectedClientPort

DWORD

receivedData

BOOL

error

WORD

errorId

ARRAY[0..3] OF USINT client

IpAddress

Supplement to SIWAREX FTA manual

Communication with SIWAREX FTA SecureDisplay

12 Function Manual, 04/2015

Table 1: Inputs of FBSiwarexFtaSecureDisplay()

Input Meaning

enable BOOL

With enable = TRUE the FB will be executed. The SIMOTION controller opens the server port. After one client has established the TCP/IP connection, the server port will be closed immediately.

With enable = FALSE the FB will not be executed anymore.

serverPort UINT, range of values: 1024..65535

The SIMOTION CPU acts as server and opens this port number. One client can establish a TCP/IP connection to this server port.

To switch between several SecureDisplays (HMI panels) this input serverPort can be changed during execution. It opens the possibility to use several SIMATIC HMI panels (SecureDisplays). But just one SecureDisplay can access the SIWAREX FTA device at the same time!

This server port must fulfill the port of the „DisplayCali.xml“ file!

clientIpAddress ARRAY[0..3] OF USINT

(optional)

Per default the clientIpAddress is 0.0.0.0, it means just one client with „any“ IP address can establish a TCP/IP connection to the server port.

In general this input is not needed!

In case of clientIpAddress is not 0.0.0.0, just one client with exactly this IP address can establish a TCP/IP connection to the server port.

It opens the possibility to use several SIMATIC HMI panels. Via the input clientIpAddress the related HMI panel can be selected, because each HMI panel has a unique IP address.

Supplement to SIWAREX FTA manual

Communication with SIWAREX FTA SecureDisplay

Function Manual, 04/2015 13

Table 2: Outputs of FBSiwarexFtaSecureDisplay()

Output Meaning

connected BOOL

The output connected = TRUE means that the client (SecureDisplay) is connected to the SIMOTION controller via serverPort.

If the input clientIpAddress in unequal 0.0.0.0, the output connected will just change to TRUE if the connected client has the IP address of the input clientIpAddress. If another client tries to connect, this output will not change to TRUE.

connectedClient IpAddress

ARRAY[0..3] OF USINT

This output shows the IP address of the connected client.

If just a specific client is authorized to connect (clientIpAddress unequal 0.0.0.0), this output will also show the IP address of the wrong connected client just for one cycle and for diagnostics. In this case the TCP connection will be closed immediately. The output connected will not change to TRUE while the wrong client is/was connected!

connectedClient Port

UINT, range of values: 0..65535

This output shows the port number of the connected client.

With each new connection the SecureDisplay uses a new port number.

If just a specific client is authorized to connect (clientIpAddress unequal 0.0.0.0), this output will also show the port number of the wrong connected client just for one cycle and for diagnostics.

receivedData DWORD

This output provides the received data from the SecureDisplay. These data must be forwarded to the FB _FTA_control() for a ‘handshake’ procedure.

Before calling the FB _FTA_control() these data have to be copied to an IN_OUT parameter scalaData.winccOcxWrite in each cycle, e. g.

sSiwarexFta_1.sScaleData.winccOcxWrite :=

fbSiwarexFtaSecureDisplay_1.receivedData;

error BOOL

This output shows an error, e. g. resource bottleneck in the SIMOTION controller (max. number of TCP connections).

A connection reset by the client is not an error. In this case just the server port will be opened again if enable = TRUE.

errorId WORD

This output shows the error number. For more details please check Table 6 of chapter 5.

Supplement to SIWAREX FTA manual

Communication with SIWAREX FTA SecureDisplay

14 Function Manual, 04/2015

Table 3: IN_OUT parameters of FBSiwarexFtaSecureDisplay()

IN_OUT Meaning

sendData ARRAY[0..31] OF BYTE

These data will be sent to the SecureDisplay after the TCP connection is established.

The FB sends the data after each change of sendData, but minimal each 100 msec to reduce the bus load.

Here you have to assign the crypto data of data record DR35 from the IN_OUT parameter scaleData of FB _FTA_control(), e. g.

fbSiwarexFtaSecureDisplay_1(

enable := boEnableSecureDisplay

,serverPort := 2001

//,clientIpAddress := (0,0,0,0)

,sendData := sScale.DR35.cryptoData

//,connected =>

//,connectedClientIpAddress =>

//,connectedClientPort =>

//,receivedData =>

//,error =>

//,errorId =>

);

The FB _FTA_control() should be called direct before the function block FBSiwarexFtaSecureDisplay!

Supplement to SIWAREX FTA manual

Communication with SIWAREX FTA SecureDisplay

Function Manual, 04/2015 15

3.3 Settings in the SIWAREX FTA device

The following parameters must be correctly set in the SIWAREX FTA, and are protected against modification following the verification by means of a calibration bridge:

3.3.1 New parameter „Factor for minimum display size “

The reserve parameter „xxxReserve1“ (BYTE) in data record DR3 is used as factor for the minimum display size in percent (see chapter 4.3, point 6).

Supplement to SIWAREX FTA manual

Communication with SIWAREX FTA SecureDisplay

16 Function Manual, 04/2015

The data record DR3 can be read by cmdNumber = 203. In the example (see figure) means DR3.xxxReserve1 = 16#14 that the smallest display size is 20%.

This value has to fulfill the smallest display size of the DisplayCali.xml file! If the smallest zoom factor defined in DisplayCali.xml does not agree with the zoom factor in data record 3, the weight value is hidden and the text "Start Up" is displayed. With a non-automatic scale, the scale functions are disabled in the status "Start Up". Please adjust the DisplayCali.xml file if needed.

3.3.2 New parameter „Version of SecureDisplay“

The reserve parameter „xxxReserve1“ in data record DR39 is used as additional version number to define the SecureDisplay version. As long as no connection exists between the HMI and the SIWAREX, the version is output at the top right in the SecureDisplay.

V<xxxReserve1>.<versionPrimary>.<versionSecondary>, e. g. V3.0.9

The version in DR39 hat to agree with the SecureDisplay version! With cmdNumber = 439, the data record DR39 resp. the version number in the SIWAREX FTA can be written. With cmdNumber = 239 it can be read.

Supplement to SIWAREX FTA manual

Communication with SIWAREX FTA SecureDisplay

Function Manual, 04/2015 17

3.3.3 Supplement to the command list of the SecureDisplay

The display is switched over depending on the requirements by means of commands to the SIWAREX FTA. The switchover refers either …

to the size and position or

to the content.

Depending on the displayed value, the display contents are either switched over permanently or reset after 5 s or 10 s to the original value.

The following table is a supplement to the table A-3 of the SIMOTION function manual “Supplement to SIWAREX FTA Weighing Module” (Appendix A 2). It shows the commands to control the SecureDisplay of a SIWAREX FTA.

Table 4: Supplement to table A.2 of the function block manual _FTA_control()

cmd Meaning of the command

27 Display regulation code

Display regulation code (OIML, ----…)

28 Display weighing mode

The current mode (AWI, NAWI, SWE…) is displayed.

29 Display SIWAREX FW version

Display of firmware version in DS34 for 5 s

30 Display FW version for SecureDisplay

Display version of SecureDisplay (5 s), subsequent display of hash value/safety code (5 s)

60 Hide display

The SecureDisplay is hidden on the control panel.

61 Show display on position 1

The display size and position defined in Pos. 1 in the DisplayCali.xml file are used for the corresponding scale.

Supplement to SIWAREX FTA manual

Communication with SIWAREX FTA SecureDisplay

18 Function Manual, 04/2015

cmd Meaning of the command

62 Show display on position 2

The display size and position defined in Pos. 2 in the DisplayCali.xml file are used for the corresponding scale.

63 Show display on position 3

The display size and position defined in Pos. 3 in the DisplayCali.xml file are used for the corresponding scale.

64 Show display on position 4

The display size and position defined in Pos. 4 in the DisplayCali.xml file are used for the corresponding scale.

65 Show display on position 5

The display size and position defined in Pos. 5 in the DisplayCali.xml file are used for the corresponding scale.

68 Show smallest display

The smallest display in the DisplayCali.xml file is shown. You can check whether the smallest display is still easy to read.

69 Display weighing range data

The weighing range data can be shown in the display with verification capability to permit a quick overview.

Communication with SIWAREX FTA SecureDisplay

Function Manual, 04/2015 19

4 Installation 4

4.1 General

The SecureDisplay software consists of three files which must be downloaded to the SIMATIC HMI panel (or PC):

DisplayCali.exe,

StartDisplayCali.exe and

DisplayCali.xml

General .NET Compact Framework 3.5 must be installed on the HMI device. It can be installed if required, and is included with the SIWAREX FTA calibration set or online on:

http://support.automation.siemens.com/WW/view/en/107196401

4.2 Installation of .NET Compact Framework 3.5

A matching .NET Compact Framework is not usually installed on a SIMATIC HMI panel. Therefore please install it as follows:

1. Copy the following files to a USB stick. Please select the files depending on your HMI device!

NETCFv35.Messages.EN.cab

NETCFv35.wce.x86.cab (resp. NETCFv35.wce.armv4.cab)

2. Connect the USB stick to the SIMATIC HMI panel.

3. Start Explorer in the HMI device by double-clicking on "My Computer".

4. Navigate to the USB stick "Storage Card USB".

5. Install the two files in succession by double-clicking.

NOTE

Files disappear from the USB stick following the installation.

.NET Compact Framework and SecureDisplay must be reinstalled after a FW update of the HMI panel (e. g. from version 12.0.0.0 to 13.0.0.0)!

Installation

Communication with SIWAREX FTA SecureDisplay

20 Function Manual, 04/2015

4.3 Parameterization of the display position and size

The size and position on the display panel are defined in the DisplayCali.xml file. This must therefore be edited according to the requirements in the project prior to transmission to the panel.

The DisplayCali.xml file can be edited, for example, using the free Microsoft software "XML_Notepad" (included in the calibration kit).

Procedure

1. Install the supplied setup XmlNotepad.msi on the PC if not already present.

2. Extract the SecureDisplay_Vx_yy_zz.zip file.

3. When XML Notepad is started, the DisplayCali.xml file in the “SecureDisplay” folder is opened.

4. Under "TreeView" on the left, expand the "DisplayEntry" and "Pos" folders. There are up to five "Pos" folders in a DisplayEntry directory. These describe the five different display sizes and positions.

Fig. 2: Parameterization of the screen view of SIWAREX SecureDisplay

Installation

Communication with SIWAREX FTA SecureDisplay

Function Manual, 04/2015 21

5. Enter the parameters for the scales to be connected.

Title Name of display window

IP IP address of the SIMOTION CPU (e. g. 192.168.1.1)

Port Destination port number of the SIMOTION controller (e. g. 2001 for scale 1, 2002 for scale 2 etc.). One port should be set per scale.

SubNet Subnet mask (e. g. 255.255.255.0)

Gateway Usually identical with the IP address

Pos 1-5 Settings for the standard display size and position of the window (details in Point 6.)

6. Define the size and position of the display windows.

The "Pos" folder contains the elements …

X in Pixel X position of the top left corner of the display window

Y in Pixel Y position of the top left corner of the display window

Size Size of the display window in percent

The X and Y position data is in pixels. The number of pixels for the width and height is expressed by the screen resolution (example TP700 800x480 pixels).

The size data is a percentage, where 100% represents a size of 380x100 pixels (200%=760x200 pixels etc.). Values from 0% to 200% are possible.

If displays for various scales are to be shown on one faceplate, make sure when configuring that they do not overlap each other.

NOTE

If you wish to use the SecureDisplay for several scales on a panel, copy the “DisplayEntry” directory according to the number of scales and adapt the parameters (see Fig. 2).

X

Y

Installation

Communication with SIWAREX FTA SecureDisplay

22 Function Manual, 04/2015

4.4 Downloading the SecureDisplay to the HMI device

1. Copy the "SecureDisplay" folder to a USB stick.

2. Connect the USB stick to the SIMATIC control panel.

3. Switch on the SIMATIC HMI control panel.

4. Following starting-up of the touch panel, start Explorer by double-clicking on "My Computer".

5. Navigate there on the USB stick "Storage Card USB" to the SecureDisplay folder.

6. Select the "SecureDisplay" folder by clicking (blue background).

7. Copy the folder per “Edit > Copy” into the temporary buffer.

8. Navigate in Explorer to the "flash" folder.

9. Insert the folder there per “Edit >Paste”.

4.5 Calling SecureDisplay on a SIMATIC HMI panel

Following successful parameterization of the SecureDisplay and the function blocks _FTA_control() and FBSiwarexFtaSecureDisplay() in the SIMOTION CPU, it is subsequently necessary in the WinCC project of the control panel to insert a script for single calling of the SecureDisplay when starting up the panel.

To this end, an internal Boolean variable (e. g. SecureDisplayActive) must be created in the panel project.

As a result of the script, SecureDisplay with the configured Position 1 is started during starting-up of the control panel. Commands 62, 63, 64 and 65 (see chapter 3.3.3) can be used to set other display sizes and positions.

Script example for single calling of SecureDisplay (see following figure too):

Sub VBFunction_SecureDisplay_1()

If SecureDisplayActive=False Then

StartProgram "\flash\SecureDisplay\StartDisplayCali", "", _

hmiShowNormal, hmiNo

SetTag SecureDisplayActive, True

End If

End Sub

NOTE

.NET Compact Framework and SecureDisplay must be reinstalled after a FW update of the HMI panel (e. g. from version 12.0.0.0 to 13.0.0.0)!

Installation

Communication with SIWAREX FTA SecureDisplay

Function Manual, 04/2015 23

4.5.1 Hide SecureDisplay

If the SecureDisplay with verification capability is to be hidden when leaving the display, cmdNumber = 60 (see chapter 3.3.3) must be sent to function block _FTA_control() when changing the page.

4.5.2 Show SecureDisplay

The display is shown again using one of the commands 61 to 65. Commands 62, 63, 64 and 65 (see chapter 3.3.3) can be used to set other display sizes and positions. The command for the display contents is also configured with opening of the display or using a separate button in the display.

4.6 Logging / records

With the SIWAREX electronic weighing system with verification capability, the weighing operations can be recorded in a manner suitable for verification. With SIWAREX FTA, the records can only be read out using SIWATOOL.

NOTE

The called display must be designed such that the area of SecureDisplay defined in the xml file is "free". If status information, buttons or I/O fields are present in this area, they are no longer visible or usable since they are overlapped by the SecureDisplay!

Installation

Communication with SIWAREX FTA SecureDisplay

24 Function Manual, 04/2015

Communication with SIWAREX FTA SecureDisplay

Function Manual, 04/2015 25

5 Error diagnostics 5

This chapter will provide you with support for error diagnostics.

Table 5: General errors

Fault description Measure

"Start Up" is displayed instead of the weight value in the SecureDisplay, and at the top right the version of the SecureDisplay (e. g. V3.0.9).

Communication is faulty; check the communication link (e. g. IP address and port in the xml file and/or CPU) and the relevant parameters in data record DS3 (zoom factor) and/or data record DS39 (version of SecureDisplay).

"Start Up" is displayed instead of the weight value in the SecureDisplay, and above this is a message with the scale name and serial number of the module in the top line.

Not all parameterization requirements have been fulfilled. Refer to the error message and adapt data record DS3 and/or data record DS39 or the XML file as necessary.

Display does not start. SecureDisplay or Compact Framework 3.5 missing (for example, was removed during downloading of new FW to the panel).

Table 6: Possible errors of FBSiwarexFtaSecureDisplay

errorId Error description

16#0001 The input serverPort is smaller as 1024. SIMOTION supports port numbers from 1024 to 65535.

16#FFFF Resource bottleneck

16#FFFC Function _tcpOpenServer() is already active in another task.

16#8FFF Server port multiply assigned.

Appendix

A.1 Contact

Communication with SIWAREX FTA SecureDisplay

26 Function Manual, 04/2015

A. Appendix A

A.1. Contact

Siemens AG

Industry Sector

DF FA PMA APC

Frauenauracher Str. 80

D-91056 Erlangen

Fax: +49 (9131) 98-1297

mailto: [email protected]

A.2. Internet addresses

www.siemens.com/simotion

www.siemens.com/sinamics

www.siemens.com/motioncontrol/apc