Sample Program For Archiving Diagnostic Information On A Pc Or A Pg - Siemens SIMATIC Vision Sensor VS 130-2 Manual

Hide thumbs Also See for SIMATIC Vision Sensor VS 130-2:
Table of Contents

Advertisement

Process Interface
6.6.3
Sample Program for Archiving Diagnostic Information on a PC
or a PG
You will find the program described here on the manuals/commissioning CD in
Examples\Diagnostics.
With the "mmidiag" sample, you can archive diagnostic data records in the form of
csv files and diagnostic images as bitmaps on a PC. In addition to the diagnostic
images, a text file is transferred that contains details of the image.
Process interfacing
The configuration described in the section Reading codes or checking quality in a
PROFINET environment and outputting over Ethernet is used as the basis. It is
characterized by the PC or PG for archiving the diagnostic data records and/or
diagnostic images not being connected to the processing unit over RS-232 but over
Ethernet.
Setup support
Make the following settings on the setup support:
Connections dialog, Ports tab:
In "Archiving/MMI", enter the IP address and the port of the PC/PG on which
you want to archive the diagnostic information.
Connections dialog, Integration tab:
In "Diagnostic transfer", select what you want to archive. only diagnostic data
records, only diagnostic images or both
Example Program
Make sure that set the same values in the "Connection" sample as on the setup
support in the Connections dialog, Ports tab.
Enter the maximum size of a csv file in "Options". If the current csv file exceeds this
size, the sample program creates a new csv file. In the "Timeout" input box, you
can also specify the time in seconds after which the sample program stops itself if it
has not received a response from the processing unit during this time. This allows
you to check whether the connection to the processing unit is still established.
In "Output", you specify the folders in which the diagnostic images and the csv files
will be stored.
Once you have clicked the "Start" button, the program waits for the connection to
be established by the processing unit. The transfer of the diagnostic data begins
after the connection has been established.
The file names have the following structure:
csv files: diagrecs_<date>_<time>.csv
Bitmaps: diagimg_<date>_<time>.bmp
Details of the image: diagimg_<date>_<time>.txt
6-34
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
A5E00475759-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic vision sensor vs 130-2vcr

Table of Contents